Skip to main content

ApprovalSchemeForRole

Properties

NameTypeDescriptionNotes
ApproverTypePointer to stringDescribes the individual or group that is responsible for an approval step. Values are as follows. OWNER: Owner of the associated Role MANAGER: Manager of the Identity making the request GOVERNANCE_GROUP: A Governance Group, the ID of which is specified by the approverId field[optional]
ApproverIdPointer to NullableStringId of the specific approver, used only when approverType is GOVERNANCE_GROUP[optional]

Methods

NewApprovalSchemeForRole

func NewApprovalSchemeForRole() *ApprovalSchemeForRole

NewApprovalSchemeForRole instantiates a new ApprovalSchemeForRole 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

NewApprovalSchemeForRoleWithDefaults

func NewApprovalSchemeForRoleWithDefaults() *ApprovalSchemeForRole

NewApprovalSchemeForRoleWithDefaults instantiates a new ApprovalSchemeForRole 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

GetApproverType

func (o *ApprovalSchemeForRole) GetApproverType() string

GetApproverType returns the ApproverType field if non-nil, zero value otherwise.

GetApproverTypeOk

func (o *ApprovalSchemeForRole) GetApproverTypeOk() (*string, bool)

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

SetApproverType

func (o *ApprovalSchemeForRole) SetApproverType(v string)

SetApproverType sets ApproverType field to given value.

HasApproverType

func (o *ApprovalSchemeForRole) HasApproverType() bool

HasApproverType returns a boolean if a field has been set.

GetApproverId

func (o *ApprovalSchemeForRole) GetApproverId() string

GetApproverId returns the ApproverId field if non-nil, zero value otherwise.

GetApproverIdOk

func (o *ApprovalSchemeForRole) GetApproverIdOk() (*string, bool)

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

SetApproverId

func (o *ApprovalSchemeForRole) SetApproverId(v string)

SetApproverId sets ApproverId field to given value.

HasApproverId

func (o *ApprovalSchemeForRole) HasApproverId() bool

HasApproverId returns a boolean if a field has been set.

SetApproverIdNil

func (o *ApprovalSchemeForRole) SetApproverIdNil(b bool)

SetApproverIdNil sets the value for ApproverId to be an explicit nil

UnsetApproverId

func (o *ApprovalSchemeForRole) UnsetApproverId()

UnsetApproverId ensures that no value is present for ApproverId, not even an explicit nil