Name | Type | Description | Notes |
---|---|---|---|
Approved | bool | ||
Ticket | string | ||
Scopes | Pointer to []string | [optional] |
func NewApproval(approved bool, ticket string, ) *Approval
NewApproval instantiates a new Approval 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 NewApprovalWithDefaults() *Approval
NewApprovalWithDefaults instantiates a new Approval 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 *Approval) GetApproved() bool
GetApproved returns the Approved field if non-nil, zero value otherwise.
func (o *Approval) GetApprovedOk() (*bool, bool)
GetApprovedOk returns a tuple with the Approved field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetApproved(v bool)
SetApproved sets Approved field to given value.
func (o *Approval) GetTicket() string
GetTicket returns the Ticket field if non-nil, zero value otherwise.
func (o *Approval) GetTicketOk() (*string, bool)
GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetTicket(v string)
SetTicket sets Ticket field to given value.
func (o *Approval) GetScopes() []string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *Approval) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetScopes(v []string)
SetScopes sets Scopes field to given value.
func (o *Approval) HasScopes() bool
HasScopes returns a boolean if a field has been set.