Skip to main content

Requestability

Properties​

NameTypeDescriptionNotes
CommentsRequiredPointer to boolWhether the requester of the containing object must provide comments justifying the request[optional] [default to false]
DenialCommentsRequiredPointer to boolWhether an approver must provide comments when denying the request[optional] [default to false]
ApprovalSchemesPointer to []AccessProfileApprovalSchemeList describing the steps in approving the request[optional]

Methods​

NewRequestability​

func NewRequestability() *Requestability

NewRequestability instantiates a new Requestability 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

NewRequestabilityWithDefaults​

func NewRequestabilityWithDefaults() *Requestability

NewRequestabilityWithDefaults instantiates a new Requestability 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

GetCommentsRequired​

func (o *Requestability) GetCommentsRequired() bool

GetCommentsRequired returns the CommentsRequired field if non-nil, zero value otherwise.

GetCommentsRequiredOk​

func (o *Requestability) GetCommentsRequiredOk() (*bool, bool)

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

SetCommentsRequired​

func (o *Requestability) SetCommentsRequired(v bool)

SetCommentsRequired sets CommentsRequired field to given value.

HasCommentsRequired​

func (o *Requestability) HasCommentsRequired() bool

HasCommentsRequired returns a boolean if a field has been set.

GetDenialCommentsRequired​

func (o *Requestability) GetDenialCommentsRequired() bool

GetDenialCommentsRequired returns the DenialCommentsRequired field if non-nil, zero value otherwise.

GetDenialCommentsRequiredOk​

func (o *Requestability) GetDenialCommentsRequiredOk() (*bool, bool)

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

SetDenialCommentsRequired​

func (o *Requestability) SetDenialCommentsRequired(v bool)

SetDenialCommentsRequired sets DenialCommentsRequired field to given value.

HasDenialCommentsRequired​

func (o *Requestability) HasDenialCommentsRequired() bool

HasDenialCommentsRequired returns a boolean if a field has been set.

GetApprovalSchemes​

func (o *Requestability) GetApprovalSchemes() []AccessProfileApprovalScheme

GetApprovalSchemes returns the ApprovalSchemes field if non-nil, zero value otherwise.

GetApprovalSchemesOk​

func (o *Requestability) GetApprovalSchemesOk() (*[]AccessProfileApprovalScheme, bool)

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

SetApprovalSchemes​

func (o *Requestability) SetApprovalSchemes(v []AccessProfileApprovalScheme)

SetApprovalSchemes sets ApprovalSchemes field to given value.

HasApprovalSchemes​

func (o *Requestability) HasApprovalSchemes() bool

HasApprovalSchemes returns a boolean if a field has been set.