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 |
func NewRevisionBase(object string, id string, parents []string, pages []RevisionPage, files []RevisionFile, urls RevisionBaseUrls, ) *RevisionBase
NewRevisionBase instantiates a new RevisionBase 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 NewRevisionBaseWithDefaults() *RevisionBase
NewRevisionBaseWithDefaults instantiates a new RevisionBase 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 *RevisionBase) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetObject(v string)
SetObject sets Object field to given value.
func (o *RevisionBase) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetId(v string)
SetId sets Id field to given value.
func (o *RevisionBase) GetParents() []string
GetParents returns the Parents field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetParents(v []string)
SetParents sets Parents field to given value.
func (o *RevisionBase) GetPages() []RevisionPage
GetPages returns the Pages field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetPages(v []RevisionPage)
SetPages sets Pages field to given value.
func (o *RevisionBase) GetFiles() []RevisionFile
GetFiles returns the Files field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetFiles(v []RevisionFile)
SetFiles sets Files field to given value.
func (o *RevisionBase) GetGit() RevisionBaseGit
GetGit returns the Git field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetGit(v RevisionBaseGit)
SetGit sets Git field to given value.
func (o *RevisionBase) HasGit() bool
HasGit returns a boolean if a field has been set.
func (o *RevisionBase) GetUrls() RevisionBaseUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *RevisionBase) 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 *RevisionBase) SetUrls(v RevisionBaseUrls)
SetUrls sets Urls field to given value.