| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | The branch name | |
| Head | string | An ID representing the branch HEAD. For example, a commit SHA. | |
| UpdateSequenceId | Pointer to int64 | An optional ID used to prevent older data from overwriting newer data. If no sequence ID is included, the newly submitted data will always be saved. | [optional] |
| SyncTime | int64 | ||
| References | Pointer to []ReferenceRep | An array of flag references found on the branch | [optional] |
| CommitTime | Pointer to int64 | [optional] |
func NewPutBranch(name string, head string, syncTime int64, ) *PutBranch
NewPutBranch instantiates a new PutBranch 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 NewPutBranchWithDefaults() *PutBranch
NewPutBranchWithDefaults instantiates a new PutBranch 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 *PutBranch) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PutBranch) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetName(v string)
SetName sets Name field to given value.
func (o *PutBranch) GetHead() string
GetHead returns the Head field if non-nil, zero value otherwise.
func (o *PutBranch) GetHeadOk() (*string, bool)
GetHeadOk returns a tuple with the Head field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetHead(v string)
SetHead sets Head field to given value.
func (o *PutBranch) GetUpdateSequenceId() int64
GetUpdateSequenceId returns the UpdateSequenceId field if non-nil, zero value otherwise.
func (o *PutBranch) GetUpdateSequenceIdOk() (*int64, bool)
GetUpdateSequenceIdOk returns a tuple with the UpdateSequenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetUpdateSequenceId(v int64)
SetUpdateSequenceId sets UpdateSequenceId field to given value.
func (o *PutBranch) HasUpdateSequenceId() bool
HasUpdateSequenceId returns a boolean if a field has been set.
func (o *PutBranch) GetSyncTime() int64
GetSyncTime returns the SyncTime field if non-nil, zero value otherwise.
func (o *PutBranch) GetSyncTimeOk() (*int64, bool)
GetSyncTimeOk returns a tuple with the SyncTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetSyncTime(v int64)
SetSyncTime sets SyncTime field to given value.
func (o *PutBranch) GetReferences() []ReferenceRep
GetReferences returns the References field if non-nil, zero value otherwise.
func (o *PutBranch) GetReferencesOk() (*[]ReferenceRep, bool)
GetReferencesOk returns a tuple with the References field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetReferences(v []ReferenceRep)
SetReferences sets References field to given value.
func (o *PutBranch) HasReferences() bool
HasReferences returns a boolean if a field has been set.
func (o *PutBranch) GetCommitTime() int64
GetCommitTime returns the CommitTime field if non-nil, zero value otherwise.
func (o *PutBranch) GetCommitTimeOk() (*int64, bool)
GetCommitTimeOk returns a tuple with the CommitTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutBranch) SetCommitTime(v int64)
SetCommitTime sets CommitTime field to given value.
func (o *PutBranch) HasCommitTime() bool
HasCommitTime returns a boolean if a field has been set.