Skip to content

Latest commit

 

History

History
224 lines (119 loc) · 5.93 KB

RevisionTypeMerge.md

File metadata and controls

224 lines (119 loc) · 5.93 KB

RevisionTypeMerge

Properties

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

Methods

NewRevisionTypeMerge

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

NewRevisionTypeMergeWithDefaults

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

GetObject

func (o *RevisionTypeMerge) GetObject() string

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

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.

SetObject

func (o *RevisionTypeMerge) SetObject(v string)

SetObject sets Object field to given value.

GetId

func (o *RevisionTypeMerge) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *RevisionTypeMerge) SetId(v string)

SetId sets Id field to given value.

GetParents

func (o *RevisionTypeMerge) GetParents() []string

GetParents returns the Parents field if non-nil, zero value otherwise.

GetParentsOk

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.

SetParents

func (o *RevisionTypeMerge) SetParents(v []string)

SetParents sets Parents field to given value.

GetPages

func (o *RevisionTypeMerge) GetPages() []RevisionPage

GetPages returns the Pages field if non-nil, zero value otherwise.

GetPagesOk

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.

SetPages

func (o *RevisionTypeMerge) SetPages(v []RevisionPage)

SetPages sets Pages field to given value.

GetFiles

func (o *RevisionTypeMerge) GetFiles() []RevisionFile

GetFiles returns the Files field if non-nil, zero value otherwise.

GetFilesOk

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.

SetFiles

func (o *RevisionTypeMerge) SetFiles(v []RevisionFile)

SetFiles sets Files field to given value.

GetGit

func (o *RevisionTypeMerge) GetGit() RevisionBaseGit

GetGit returns the Git field if non-nil, zero value otherwise.

GetGitOk

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.

SetGit

func (o *RevisionTypeMerge) SetGit(v RevisionBaseGit)

SetGit sets Git field to given value.

HasGit

func (o *RevisionTypeMerge) HasGit() bool

HasGit returns a boolean if a field has been set.

GetUrls

func (o *RevisionTypeMerge) GetUrls() RevisionBaseUrls

GetUrls returns the Urls field if non-nil, zero value otherwise.

GetUrlsOk

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.

SetUrls

func (o *RevisionTypeMerge) SetUrls(v RevisionBaseUrls)

SetUrls sets Urls field to given value.

GetType

func (o *RevisionTypeMerge) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *RevisionTypeMerge) SetType(v string)

SetType sets Type field to given value.

GetMergedFrom

func (o *RevisionTypeMerge) GetMergedFrom() ChangeRequest

GetMergedFrom returns the MergedFrom field if non-nil, zero value otherwise.

GetMergedFromOk

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.

SetMergedFrom

func (o *RevisionTypeMerge) SetMergedFrom(v ChangeRequest)

SetMergedFrom sets MergedFrom field to given value.

[Back to Model list] [Back to API list] [Back to README]