Name | Type | Description | Notes |
---|---|---|---|
ApprovalId | Pointer to string | The Approval ID | [optional] |
Approvers | Pointer to []ApprovalIdentity | Object representation of an approver of an approval | [optional] |
CreatedDate | Pointer to string | Date the approval was created | [optional] |
Type | Pointer to string | Type of approval | [optional] |
Name | Pointer to []ApprovalName | The name of the approval for a given locale | [optional] |
BatchRequest | Pointer to ApprovalBatch | The name of the approval for a given locale | [optional] |
Description | Pointer to []ApprovalDescription | The description of the approval for a given locale | [optional] |
Priority | Pointer to string | The priority of the approval | [optional] |
Requester | Pointer to ApprovalIdentity | Object representation of the requester of the approval | [optional] |
Comments | Pointer to []ApprovalComment | Object representation of a comment on the approval | [optional] |
ApprovedBy | Pointer to []ApprovalIdentity | Array of approvers who have approved the approval | [optional] |
RejectedBy | Pointer to []ApprovalIdentity | Array of approvers who have rejected the approval | [optional] |
CompletedDate | Pointer to string | Date the approval was completed | [optional] |
ApprovalCriteria | Pointer to string | Criteria that needs to be met for an approval to be marked as approved | [optional] |
Status | Pointer to string | The current status of the approval | [optional] |
AdditionalAttributes | Pointer to string | Json string representing additional attributes known about the object to be approved. | [optional] |
ReferenceData | Pointer to []ApprovalReference | Reference data related to the approval | [optional] |
func NewApproval() *Approval
NewApproval instantiates a new Approval 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
func NewApprovalWithDefaults() *Approval
NewApprovalWithDefaults instantiates a new Approval 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
func (o *Approval) GetApprovalId() string
GetApprovalId returns the ApprovalId field if non-nil, zero value otherwise.
func (o *Approval) GetApprovalIdOk() (*string, bool)
GetApprovalIdOk returns a tuple with the ApprovalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetApprovalId(v string)
SetApprovalId sets ApprovalId field to given value.
func (o *Approval) HasApprovalId() bool
HasApprovalId returns a boolean if a field has been set.
func (o *Approval) GetApprovers() []ApprovalIdentity
GetApprovers returns the Approvers field if non-nil, zero value otherwise.
func (o *Approval) GetApproversOk() (*[]ApprovalIdentity, 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.
func (o *Approval) SetApprovers(v []ApprovalIdentity)
SetApprovers sets Approvers field to given value.
func (o *Approval) HasApprovers() bool
HasApprovers returns a boolean if a field has been set.
func (o *Approval) GetCreatedDate() string
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
func (o *Approval) GetCreatedDateOk() (*string, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetCreatedDate(v string)
SetCreatedDate sets CreatedDate field to given value.
func (o *Approval) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (o *Approval) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Approval) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetType(v string)
SetType sets Type field to given value.
func (o *Approval) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Approval) GetName() []ApprovalName
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Approval) GetNameOk() (*[]ApprovalName, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetName(v []ApprovalName)
SetName sets Name field to given value.
func (o *Approval) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Approval) GetBatchRequest() ApprovalBatch
GetBatchRequest returns the BatchRequest field if non-nil, zero value otherwise.
func (o *Approval) GetBatchRequestOk() (*ApprovalBatch, bool)
GetBatchRequestOk returns a tuple with the BatchRequest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetBatchRequest(v ApprovalBatch)
SetBatchRequest sets BatchRequest field to given value.
func (o *Approval) HasBatchRequest() bool
HasBatchRequest returns a boolean if a field has been set.
func (o *Approval) GetDescription() []ApprovalDescription
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Approval) GetDescriptionOk() (*[]ApprovalDescription, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetDescription(v []ApprovalDescription)
SetDescription sets Description field to given value.
func (o *Approval) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Approval) GetPriority() string
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *Approval) GetPriorityOk() (*string, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetPriority(v string)
SetPriority sets Priority field to given value.
func (o *Approval) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *Approval) GetRequester() ApprovalIdentity
GetRequester returns the Requester field if non-nil, zero value otherwise.
func (o *Approval) GetRequesterOk() (*ApprovalIdentity, bool)
GetRequesterOk returns a tuple with the Requester field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetRequester(v ApprovalIdentity)
SetRequester sets Requester field to given value.
func (o *Approval) HasRequester() bool
HasRequester returns a boolean if a field has been set.
func (o *Approval) GetComments() []ApprovalComment
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *Approval) GetCommentsOk() (*[]ApprovalComment, 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.
func (o *Approval) SetComments(v []ApprovalComment)
SetComments sets Comments field to given value.
func (o *Approval) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *Approval) GetApprovedBy() []ApprovalIdentity
GetApprovedBy returns the ApprovedBy field if non-nil, zero value otherwise.
func (o *Approval) GetApprovedByOk() (*[]ApprovalIdentity, bool)
GetApprovedByOk returns a tuple with the ApprovedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetApprovedBy(v []ApprovalIdentity)
SetApprovedBy sets ApprovedBy field to given value.
func (o *Approval) HasApprovedBy() bool
HasApprovedBy returns a boolean if a field has been set.
func (o *Approval) GetRejectedBy() []ApprovalIdentity
GetRejectedBy returns the RejectedBy field if non-nil, zero value otherwise.
func (o *Approval) GetRejectedByOk() (*[]ApprovalIdentity, bool)
GetRejectedByOk returns a tuple with the RejectedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetRejectedBy(v []ApprovalIdentity)
SetRejectedBy sets RejectedBy field to given value.
func (o *Approval) HasRejectedBy() bool
HasRejectedBy returns a boolean if a field has been set.
func (o *Approval) GetCompletedDate() string
GetCompletedDate returns the CompletedDate field if non-nil, zero value otherwise.
func (o *Approval) GetCompletedDateOk() (*string, bool)
GetCompletedDateOk returns a tuple with the CompletedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetCompletedDate(v string)
SetCompletedDate sets CompletedDate field to given value.
func (o *Approval) HasCompletedDate() bool
HasCompletedDate returns a boolean if a field has been set.
func (o *Approval) GetApprovalCriteria() string
GetApprovalCriteria returns the ApprovalCriteria field if non-nil, zero value otherwise.
func (o *Approval) GetApprovalCriteriaOk() (*string, bool)
GetApprovalCriteriaOk returns a tuple with the ApprovalCriteria field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetApprovalCriteria(v string)
SetApprovalCriteria sets ApprovalCriteria field to given value.
func (o *Approval) HasApprovalCriteria() bool
HasApprovalCriteria returns a boolean if a field has been set.
func (o *Approval) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Approval) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Approval) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Approval) GetAdditionalAttributes() string
GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise.
func (o *Approval) GetAdditionalAttributesOk() (*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.
func (o *Approval) SetAdditionalAttributes(v string)
SetAdditionalAttributes sets AdditionalAttributes field to given value.
func (o *Approval) HasAdditionalAttributes() bool
HasAdditionalAttributes returns a boolean if a field has been set.
func (o *Approval) GetReferenceData() []ApprovalReference
GetReferenceData returns the ReferenceData field if non-nil, zero value otherwise.
func (o *Approval) GetReferenceDataOk() (*[]ApprovalReference, bool)
GetReferenceDataOk returns a tuple with the ReferenceData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Approval) SetReferenceData(v []ApprovalReference)
SetReferenceData sets ReferenceData field to given value.
func (o *Approval) HasReferenceData() bool
HasReferenceData returns a boolean if a field has been set.