Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 4.73 KB

Commit.md

File metadata and controls

187 lines (100 loc) · 4.73 KB

Commit

Properties

Name Type Description Notes
CreatedAt time.Time
GitCommitId string
Tag string
Message string
AuthorName string
AuthorAvatarUrl Pointer to string [optional]
CommitPageUrl Pointer to string [optional]

Methods

NewCommit

func NewCommit(createdAt time.Time, gitCommitId string, tag string, message string, authorName string, ) *Commit

NewCommit instantiates a new Commit 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

NewCommitWithDefaults

func NewCommitWithDefaults() *Commit

NewCommitWithDefaults instantiates a new Commit 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

GetCreatedAt

func (o *Commit) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Commit) 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.

SetCreatedAt

func (o *Commit) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetGitCommitId

func (o *Commit) GetGitCommitId() string

GetGitCommitId returns the GitCommitId field if non-nil, zero value otherwise.

GetGitCommitIdOk

func (o *Commit) GetGitCommitIdOk() (*string, bool)

GetGitCommitIdOk returns a tuple with the GitCommitId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGitCommitId

func (o *Commit) SetGitCommitId(v string)

SetGitCommitId sets GitCommitId field to given value.

GetTag

func (o *Commit) GetTag() string

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

func (o *Commit) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTag

func (o *Commit) SetTag(v string)

SetTag sets Tag field to given value.

GetMessage

func (o *Commit) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *Commit) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMessage

func (o *Commit) SetMessage(v string)

SetMessage sets Message field to given value.

GetAuthorName

func (o *Commit) GetAuthorName() string

GetAuthorName returns the AuthorName field if non-nil, zero value otherwise.

GetAuthorNameOk

func (o *Commit) GetAuthorNameOk() (*string, bool)

GetAuthorNameOk returns a tuple with the AuthorName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuthorName

func (o *Commit) SetAuthorName(v string)

SetAuthorName sets AuthorName field to given value.

GetAuthorAvatarUrl

func (o *Commit) GetAuthorAvatarUrl() string

GetAuthorAvatarUrl returns the AuthorAvatarUrl field if non-nil, zero value otherwise.

GetAuthorAvatarUrlOk

func (o *Commit) GetAuthorAvatarUrlOk() (*string, bool)

GetAuthorAvatarUrlOk returns a tuple with the AuthorAvatarUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuthorAvatarUrl

func (o *Commit) SetAuthorAvatarUrl(v string)

SetAuthorAvatarUrl sets AuthorAvatarUrl field to given value.

HasAuthorAvatarUrl

func (o *Commit) HasAuthorAvatarUrl() bool

HasAuthorAvatarUrl returns a boolean if a field has been set.

GetCommitPageUrl

func (o *Commit) GetCommitPageUrl() string

GetCommitPageUrl returns the CommitPageUrl field if non-nil, zero value otherwise.

GetCommitPageUrlOk

func (o *Commit) GetCommitPageUrlOk() (*string, bool)

GetCommitPageUrlOk returns a tuple with the CommitPageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCommitPageUrl

func (o *Commit) SetCommitPageUrl(v string)

SetCommitPageUrl sets CommitPageUrl field to given value.

HasCommitPageUrl

func (o *Commit) HasCommitPageUrl() bool

HasCommitPageUrl returns a boolean if a field has been set.

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