Name | Type | Description | Notes |
---|---|---|---|
Path | string | File path of the reference | |
Hint | Pointer to string | Programming language used in the file | [optional] |
Hunks | []HunkRep |
func NewReferenceRep(path string, hunks []HunkRep, ) *ReferenceRep
NewReferenceRep instantiates a new ReferenceRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewReferenceRepWithDefaults() *ReferenceRep
NewReferenceRepWithDefaults instantiates a new ReferenceRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ReferenceRep) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *ReferenceRep) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReferenceRep) SetPath(v string)
SetPath sets Path field to given value.
func (o *ReferenceRep) GetHint() string
GetHint returns the Hint field if non-nil, zero value otherwise.
func (o *ReferenceRep) GetHintOk() (*string, bool)
GetHintOk returns a tuple with the Hint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReferenceRep) SetHint(v string)
SetHint sets Hint field to given value.
func (o *ReferenceRep) HasHint() bool
HasHint returns a boolean if a field has been set.
func (o *ReferenceRep) GetHunks() []HunkRep
GetHunks returns the Hunks field if non-nil, zero value otherwise.
func (o *ReferenceRep) GetHunksOk() (*[]HunkRep, bool)
GetHunksOk returns a tuple with the Hunks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReferenceRep) SetHunks(v []HunkRep)
SetHunks sets Hunks field to given value.