Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "revision" | |
Id | string | Unique identifier for the revision | |
Parents | []string | IDs of the parent revisions | |
Pages | []RevisionPage | ||
Files | []RevisionFile | ||
Git | Pointer to RevisionBaseGit | [optional] | |
Urls | RevisionBaseUrls | ||
Type | string | Revision created when merging a change request with primary. | |
MergedFrom | ChangeRequest |
func NewRevisionTypeMerge(object string, id string, parents []string, pages []RevisionPage, files []RevisionFile, urls RevisionBaseUrls, type_ string, mergedFrom ChangeRequest, ) *RevisionTypeMerge
NewRevisionTypeMerge instantiates a new RevisionTypeMerge 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 NewRevisionTypeMergeWithDefaults() *RevisionTypeMerge
NewRevisionTypeMergeWithDefaults instantiates a new RevisionTypeMerge 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 *RevisionTypeMerge) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetObject(v string)
SetObject sets Object field to given value.
func (o *RevisionTypeMerge) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetId(v string)
SetId sets Id field to given value.
func (o *RevisionTypeMerge) GetParents() []string
GetParents returns the Parents field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetParentsOk() (*[]string, bool)
GetParentsOk returns a tuple with the Parents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetParents(v []string)
SetParents sets Parents field to given value.
func (o *RevisionTypeMerge) GetPages() []RevisionPage
GetPages returns the Pages field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetPagesOk() (*[]RevisionPage, bool)
GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetPages(v []RevisionPage)
SetPages sets Pages field to given value.
func (o *RevisionTypeMerge) GetFiles() []RevisionFile
GetFiles returns the Files field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetFilesOk() (*[]RevisionFile, bool)
GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetFiles(v []RevisionFile)
SetFiles sets Files field to given value.
func (o *RevisionTypeMerge) GetGit() RevisionBaseGit
GetGit returns the Git field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetGitOk() (*RevisionBaseGit, bool)
GetGitOk returns a tuple with the Git field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetGit(v RevisionBaseGit)
SetGit sets Git field to given value.
func (o *RevisionTypeMerge) HasGit() bool
HasGit returns a boolean if a field has been set.
func (o *RevisionTypeMerge) GetUrls() RevisionBaseUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetUrlsOk() (*RevisionBaseUrls, bool)
GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetUrls(v RevisionBaseUrls)
SetUrls sets Urls field to given value.
func (o *RevisionTypeMerge) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetType(v string)
SetType sets Type field to given value.
func (o *RevisionTypeMerge) GetMergedFrom() ChangeRequest
GetMergedFrom returns the MergedFrom field if non-nil, zero value otherwise.
func (o *RevisionTypeMerge) GetMergedFromOk() (*ChangeRequest, bool)
GetMergedFromOk returns a tuple with the MergedFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionTypeMerge) SetMergedFrom(v ChangeRequest)
SetMergedFrom sets MergedFrom field to given value.