5.8 KiB
DeclareResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Changed | Pointer to bool | [optional] | |
| Commit | Pointer to string | [optional] | |
| Created | Pointer to bool | [optional] | |
| Declaration | Pointer to Declaration | [optional] | |
| Live | Pointer to bool | [optional] | |
| Mode | Pointer to string | [optional] | |
| Ref | Pointer to string | [optional] | |
| Review | Pointer to string | [optional] |
Methods
NewDeclareResult
func NewDeclareResult() *DeclareResult
NewDeclareResult instantiates a new DeclareResult 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
NewDeclareResultWithDefaults
func NewDeclareResultWithDefaults() *DeclareResult
NewDeclareResultWithDefaults instantiates a new DeclareResult 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
GetChanged
func (o *DeclareResult) GetChanged() bool
GetChanged returns the Changed field if non-nil, zero value otherwise.
GetChangedOk
func (o *DeclareResult) GetChangedOk() (*bool, bool)
GetChangedOk returns a tuple with the Changed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChanged
func (o *DeclareResult) SetChanged(v bool)
SetChanged sets Changed field to given value.
HasChanged
func (o *DeclareResult) HasChanged() bool
HasChanged returns a boolean if a field has been set.
GetCommit
func (o *DeclareResult) GetCommit() string
GetCommit returns the Commit field if non-nil, zero value otherwise.
GetCommitOk
func (o *DeclareResult) 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.
SetCommit
func (o *DeclareResult) SetCommit(v string)
SetCommit sets Commit field to given value.
HasCommit
func (o *DeclareResult) HasCommit() bool
HasCommit returns a boolean if a field has been set.
GetCreated
func (o *DeclareResult) GetCreated() bool
GetCreated returns the Created field if non-nil, zero value otherwise.
GetCreatedOk
func (o *DeclareResult) GetCreatedOk() (*bool, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreated
func (o *DeclareResult) SetCreated(v bool)
SetCreated sets Created field to given value.
HasCreated
func (o *DeclareResult) HasCreated() bool
HasCreated returns a boolean if a field has been set.
GetDeclaration
func (o *DeclareResult) GetDeclaration() Declaration
GetDeclaration returns the Declaration field if non-nil, zero value otherwise.
GetDeclarationOk
func (o *DeclareResult) GetDeclarationOk() (*Declaration, bool)
GetDeclarationOk returns a tuple with the Declaration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeclaration
func (o *DeclareResult) SetDeclaration(v Declaration)
SetDeclaration sets Declaration field to given value.
HasDeclaration
func (o *DeclareResult) HasDeclaration() bool
HasDeclaration returns a boolean if a field has been set.
GetLive
func (o *DeclareResult) GetLive() bool
GetLive returns the Live field if non-nil, zero value otherwise.
GetLiveOk
func (o *DeclareResult) GetLiveOk() (*bool, bool)
GetLiveOk returns a tuple with the Live field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLive
func (o *DeclareResult) SetLive(v bool)
SetLive sets Live field to given value.
HasLive
func (o *DeclareResult) HasLive() bool
HasLive returns a boolean if a field has been set.
GetMode
func (o *DeclareResult) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
GetModeOk
func (o *DeclareResult) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMode
func (o *DeclareResult) SetMode(v string)
SetMode sets Mode field to given value.
HasMode
func (o *DeclareResult) HasMode() bool
HasMode returns a boolean if a field has been set.
GetRef
func (o *DeclareResult) GetRef() string
GetRef returns the Ref field if non-nil, zero value otherwise.
GetRefOk
func (o *DeclareResult) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRef
func (o *DeclareResult) SetRef(v string)
SetRef sets Ref field to given value.
HasRef
func (o *DeclareResult) HasRef() bool
HasRef returns a boolean if a field has been set.
GetReview
func (o *DeclareResult) GetReview() string
GetReview returns the Review field if non-nil, zero value otherwise.
GetReviewOk
func (o *DeclareResult) GetReviewOk() (*string, bool)
GetReviewOk returns a tuple with the Review field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReview
func (o *DeclareResult) SetReview(v string)
SetReview sets Review field to given value.
HasReview
func (o *DeclareResult) HasReview() bool
HasReview returns a boolean if a field has been set.