Skip to main content

MachineSubtypeApprovalConfig

Properties​

NameTypeDescriptionNotes
ApproversPointer to stringComma separated string of approvers. Following are the options for approver types: manager, sourceOwner, accountOwner, workgroup:[workgroupId] (Governance group). Approval request will be assigned based on the order of the approvers passed. Multiple workgroups(governance groups) can be selected as an approver. >Note: accountOwner approver type is only for machine account delete approval settings.[optional]
CommentsPointer to stringComment configurations for the approval request. Following are the options for comments: ALL, OFF, APPROVAL, REJECT.[optional]

Methods​

NewMachineSubtypeApprovalConfig​

func NewMachineSubtypeApprovalConfig() *MachineSubtypeApprovalConfig

NewMachineSubtypeApprovalConfig instantiates a new MachineSubtypeApprovalConfig 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

NewMachineSubtypeApprovalConfigWithDefaults​

func NewMachineSubtypeApprovalConfigWithDefaults() *MachineSubtypeApprovalConfig

NewMachineSubtypeApprovalConfigWithDefaults instantiates a new MachineSubtypeApprovalConfig 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

GetApprovers​

func (o *MachineSubtypeApprovalConfig) GetApprovers() string

GetApprovers returns the Approvers field if non-nil, zero value otherwise.

GetApproversOk​

func (o *MachineSubtypeApprovalConfig) GetApproversOk() (*string, bool)

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

SetApprovers​

func (o *MachineSubtypeApprovalConfig) SetApprovers(v string)

SetApprovers sets Approvers field to given value.

HasApprovers​

func (o *MachineSubtypeApprovalConfig) HasApprovers() bool

HasApprovers returns a boolean if a field has been set.

GetComments​

func (o *MachineSubtypeApprovalConfig) GetComments() string

GetComments returns the Comments field if non-nil, zero value otherwise.

GetCommentsOk​

func (o *MachineSubtypeApprovalConfig) GetCommentsOk() (*string, bool)

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

SetComments​

func (o *MachineSubtypeApprovalConfig) SetComments(v string)

SetComments sets Comments field to given value.

HasComments​

func (o *MachineSubtypeApprovalConfig) HasComments() bool

HasComments returns a boolean if a field has been set.