Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
Subject | string | ||
Commit | string | ||
Parents | Pointer to []string | [optional] | |
Author | CommitDataAuthor | ||
Committer | CommitDataAuthor |
func NewCommitData(id string, createdAt time.Time, subject string, commit string, author CommitDataAuthor, committer CommitDataAuthor, ) *CommitData
NewCommitData instantiates a new CommitData 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 NewCommitDataWithDefaults() *CommitData
NewCommitDataWithDefaults instantiates a new CommitData 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 *CommitData) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CommitData) 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 *CommitData) SetId(v string)
SetId sets Id field to given value.
func (o *CommitData) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *CommitData) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommitData) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *CommitData) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *CommitData) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommitData) SetSubject(v string)
SetSubject sets Subject field to given value.
func (o *CommitData) GetCommit() string
GetCommit returns the Commit field if non-nil, zero value otherwise.
func (o *CommitData) GetCommitOk() (*string, bool)
GetCommitOk returns a tuple with the Commit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommitData) SetCommit(v string)
SetCommit sets Commit field to given value.
func (o *CommitData) GetParents() []string
GetParents returns the Parents field if non-nil, zero value otherwise.
func (o *CommitData) 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 *CommitData) SetParents(v []string)
SetParents sets Parents field to given value.
func (o *CommitData) HasParents() bool
HasParents returns a boolean if a field has been set.
func (o *CommitData) GetAuthor() CommitDataAuthor
GetAuthor returns the Author field if non-nil, zero value otherwise.
func (o *CommitData) GetAuthorOk() (*CommitDataAuthor, bool)
GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommitData) SetAuthor(v CommitDataAuthor)
SetAuthor sets Author field to given value.
func (o *CommitData) GetCommitter() CommitDataAuthor
GetCommitter returns the Committer field if non-nil, zero value otherwise.
func (o *CommitData) GetCommitterOk() (*CommitDataAuthor, bool)
GetCommitterOk returns a tuple with the Committer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommitData) SetCommitter(v CommitDataAuthor)
SetCommitter sets Committer field to given value.