Name | Type | Description | Notes |
---|---|---|---|
Author | CommitAuthorDraft | ||
Committer | CommitAuthorDraft | ||
Commit | string | ||
Parents | []string | ||
Subject | string |
func NewCommitDraft(author CommitAuthorDraft, committer CommitAuthorDraft, commit string, parents []string, subject string, ) *CommitDraft
NewCommitDraft instantiates a new CommitDraft 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 NewCommitDraftWithDefaults() *CommitDraft
NewCommitDraftWithDefaults instantiates a new CommitDraft 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 *CommitDraft) GetAuthor() CommitAuthorDraft
GetAuthor returns the Author field if non-nil, zero value otherwise.
func (o *CommitDraft) GetAuthorOk() (*CommitAuthorDraft, 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 *CommitDraft) SetAuthor(v CommitAuthorDraft)
SetAuthor sets Author field to given value.
func (o *CommitDraft) GetCommitter() CommitAuthorDraft
GetCommitter returns the Committer field if non-nil, zero value otherwise.
func (o *CommitDraft) GetCommitterOk() (*CommitAuthorDraft, 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 *CommitDraft) SetCommitter(v CommitAuthorDraft)
SetCommitter sets Committer field to given value.
func (o *CommitDraft) GetCommit() string
GetCommit returns the Commit field if non-nil, zero value otherwise.
func (o *CommitDraft) 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 *CommitDraft) SetCommit(v string)
SetCommit sets Commit field to given value.
func (o *CommitDraft) GetParents() []string
GetParents returns the Parents field if non-nil, zero value otherwise.
func (o *CommitDraft) 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 *CommitDraft) SetParents(v []string)
SetParents sets Parents field to given value.
func (o *CommitDraft) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *CommitDraft) 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 *CommitDraft) SetSubject(v string)
SetSubject sets Subject field to given value.