Skip to main content

ApprovalApproveRequest

Properties​

NameTypeDescriptionNotes
AdditionalAttributesPointer to map[string]stringAdditional attributes as key-value pairs that are not part of the standard schema but can be included for custom data.[optional]
CommentPointer to stringComment associated with the request.[optional]
OverrideApproverIDPointer to stringOptional field for ServiceNow Administrators to specify which member of a governance group to override/approve on behalf of.[optional]

Methods​

NewApprovalApproveRequest​

func NewApprovalApproveRequest() *ApprovalApproveRequest

NewApprovalApproveRequest instantiates a new ApprovalApproveRequest 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

NewApprovalApproveRequestWithDefaults​

func NewApprovalApproveRequestWithDefaults() *ApprovalApproveRequest

NewApprovalApproveRequestWithDefaults instantiates a new ApprovalApproveRequest 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

GetAdditionalAttributes​

func (o *ApprovalApproveRequest) GetAdditionalAttributes() map[string]string

GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise.

GetAdditionalAttributesOk​

func (o *ApprovalApproveRequest) GetAdditionalAttributesOk() (*map[string]string, bool)

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

SetAdditionalAttributes​

func (o *ApprovalApproveRequest) SetAdditionalAttributes(v map[string]string)

SetAdditionalAttributes sets AdditionalAttributes field to given value.

HasAdditionalAttributes​

func (o *ApprovalApproveRequest) HasAdditionalAttributes() bool

HasAdditionalAttributes returns a boolean if a field has been set.

GetComment​

func (o *ApprovalApproveRequest) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk​

func (o *ApprovalApproveRequest) GetCommentOk() (*string, bool)

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

SetComment​

func (o *ApprovalApproveRequest) SetComment(v string)

SetComment sets Comment field to given value.

HasComment​

func (o *ApprovalApproveRequest) HasComment() bool

HasComment returns a boolean if a field has been set.

GetOverrideApproverID​

func (o *ApprovalApproveRequest) GetOverrideApproverID() string

GetOverrideApproverID returns the OverrideApproverID field if non-nil, zero value otherwise.

GetOverrideApproverIDOk​

func (o *ApprovalApproveRequest) GetOverrideApproverIDOk() (*string, bool)

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

SetOverrideApproverID​

func (o *ApprovalApproveRequest) SetOverrideApproverID(v string)

SetOverrideApproverID sets OverrideApproverID field to given value.

HasOverrideApproverID​

func (o *ApprovalApproveRequest) HasOverrideApproverID() bool

HasOverrideApproverID returns a boolean if a field has been set.