Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
CreatedAt | time.Time | ||
RepoId | string | ID of the repo that the commit was made against. | |
ConfigType | string | The type of the config file found in the commit (Config itself is not included in the document). | |
Sha | string | The unique SHA hash of the commit. | |
Message | string | The commit message. | |
AuthorId | string | The ID of the legal entity that authored the commit, if known. | |
AuthorName | string | The author name recorded on the commit. | |
AuthorEmail | string | The author email address recorded on the commit. | |
CommitterId | string | The ID of the legal entity that committed the commit, if known. | |
CommitterName | string | The committer name recorded on the commit, if any. | |
CommitterEmail | string | The committer email address recorded on the commit, if any. | |
Link | string | A link (URL) to the Commit in the SCM, for users to browse to. | |
CommitterUrl | string | URL to fetch additional information about the committer of this commit. | |
AuthorUrl | string | URL to fetch additional information about the author of this commit. |
func NewCommit(id string, createdAt time.Time, repoId string, configType string, sha string, message string, authorId string, authorName string, authorEmail string, committerId string, committerName string, committerEmail string, link string, committerUrl string, authorUrl 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
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
func (o *Commit) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Commit) 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 *Commit) SetId(v string)
SetId sets Id field to given value.
func (o *Commit) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
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.
func (o *Commit) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Commit) GetRepoId() string
GetRepoId returns the RepoId field if non-nil, zero value otherwise.
func (o *Commit) GetRepoIdOk() (*string, bool)
GetRepoIdOk returns a tuple with the RepoId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetRepoId(v string)
SetRepoId sets RepoId field to given value.
func (o *Commit) GetConfigType() string
GetConfigType returns the ConfigType field if non-nil, zero value otherwise.
func (o *Commit) GetConfigTypeOk() (*string, bool)
GetConfigTypeOk returns a tuple with the ConfigType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetConfigType(v string)
SetConfigType sets ConfigType field to given value.
func (o *Commit) GetSha() string
GetSha returns the Sha field if non-nil, zero value otherwise.
func (o *Commit) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetSha(v string)
SetSha sets Sha field to given value.
func (o *Commit) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
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.
func (o *Commit) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *Commit) GetAuthorId() string
GetAuthorId returns the AuthorId field if non-nil, zero value otherwise.
func (o *Commit) GetAuthorIdOk() (*string, bool)
GetAuthorIdOk returns a tuple with the AuthorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetAuthorId(v string)
SetAuthorId sets AuthorId field to given value.
func (o *Commit) GetAuthorName() string
GetAuthorName returns the AuthorName field if non-nil, zero value otherwise.
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.
func (o *Commit) SetAuthorName(v string)
SetAuthorName sets AuthorName field to given value.
func (o *Commit) GetAuthorEmail() string
GetAuthorEmail returns the AuthorEmail field if non-nil, zero value otherwise.
func (o *Commit) GetAuthorEmailOk() (*string, bool)
GetAuthorEmailOk returns a tuple with the AuthorEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetAuthorEmail(v string)
SetAuthorEmail sets AuthorEmail field to given value.
func (o *Commit) GetCommitterId() string
GetCommitterId returns the CommitterId field if non-nil, zero value otherwise.
func (o *Commit) GetCommitterIdOk() (*string, bool)
GetCommitterIdOk returns a tuple with the CommitterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetCommitterId(v string)
SetCommitterId sets CommitterId field to given value.
func (o *Commit) GetCommitterName() string
GetCommitterName returns the CommitterName field if non-nil, zero value otherwise.
func (o *Commit) GetCommitterNameOk() (*string, bool)
GetCommitterNameOk returns a tuple with the CommitterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetCommitterName(v string)
SetCommitterName sets CommitterName field to given value.
func (o *Commit) GetCommitterEmail() string
GetCommitterEmail returns the CommitterEmail field if non-nil, zero value otherwise.
func (o *Commit) GetCommitterEmailOk() (*string, bool)
GetCommitterEmailOk returns a tuple with the CommitterEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetCommitterEmail(v string)
SetCommitterEmail sets CommitterEmail field to given value.
func (o *Commit) GetLink() string
GetLink returns the Link field if non-nil, zero value otherwise.
func (o *Commit) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetLink(v string)
SetLink sets Link field to given value.
func (o *Commit) GetCommitterUrl() string
GetCommitterUrl returns the CommitterUrl field if non-nil, zero value otherwise.
func (o *Commit) GetCommitterUrlOk() (*string, bool)
GetCommitterUrlOk returns a tuple with the CommitterUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetCommitterUrl(v string)
SetCommitterUrl sets CommitterUrl field to given value.
func (o *Commit) GetAuthorUrl() string
GetAuthorUrl returns the AuthorUrl field if non-nil, zero value otherwise.
func (o *Commit) GetAuthorUrlOk() (*string, bool)
GetAuthorUrlOk returns a tuple with the AuthorUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Commit) SetAuthorUrl(v string)
SetAuthorUrl sets AuthorUrl field to given value.