Files

4.4 KiB

Decision

Properties

Name Type Description Notes
Defaults Pointer to Grants [optional]
Floor Pointer to int32 [optional]
Mode Pointer to string [optional]
Refused Pointer to bool [optional]
Region Pointer to string [optional]
Version Pointer to int32 [optional]

Methods

NewDecision

func NewDecision() *Decision

NewDecision instantiates a new Decision 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

NewDecisionWithDefaults

func NewDecisionWithDefaults() *Decision

NewDecisionWithDefaults instantiates a new Decision 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

GetDefaults

func (o *Decision) GetDefaults() Grants

GetDefaults returns the Defaults field if non-nil, zero value otherwise.

GetDefaultsOk

func (o *Decision) GetDefaultsOk() (*Grants, bool)

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

SetDefaults

func (o *Decision) SetDefaults(v Grants)

SetDefaults sets Defaults field to given value.

HasDefaults

func (o *Decision) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

GetFloor

func (o *Decision) GetFloor() int32

GetFloor returns the Floor field if non-nil, zero value otherwise.

GetFloorOk

func (o *Decision) GetFloorOk() (*int32, bool)

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

SetFloor

func (o *Decision) SetFloor(v int32)

SetFloor sets Floor field to given value.

HasFloor

func (o *Decision) HasFloor() bool

HasFloor returns a boolean if a field has been set.

GetMode

func (o *Decision) GetMode() string

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *Decision) 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 *Decision) SetMode(v string)

SetMode sets Mode field to given value.

HasMode

func (o *Decision) HasMode() bool

HasMode returns a boolean if a field has been set.

GetRefused

func (o *Decision) GetRefused() bool

GetRefused returns the Refused field if non-nil, zero value otherwise.

GetRefusedOk

func (o *Decision) GetRefusedOk() (*bool, bool)

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

SetRefused

func (o *Decision) SetRefused(v bool)

SetRefused sets Refused field to given value.

HasRefused

func (o *Decision) HasRefused() bool

HasRefused returns a boolean if a field has been set.

GetRegion

func (o *Decision) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *Decision) GetRegionOk() (*string, bool)

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

SetRegion

func (o *Decision) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *Decision) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetVersion

func (o *Decision) GetVersion() int32

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *Decision) GetVersionOk() (*int32, bool)

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

SetVersion

func (o *Decision) SetVersion(v int32)

SetVersion sets Version field to given value.

HasVersion

func (o *Decision) HasVersion() bool

HasVersion returns a boolean if a field has been set.

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