Skip to main content

AccessRequestPreApproval2

Properties​

NameTypeDescriptionNotes
ApprovedboolWhether or not to approve the access request.
CommentstringA comment about the decision to approve or deny the request.
ApproverstringThe name of the entity that approved or denied the request.

Methods​

NewAccessRequestPreApproval2​

func NewAccessRequestPreApproval2(approved bool, comment string, approver string, ) *AccessRequestPreApproval2

NewAccessRequestPreApproval2 instantiates a new AccessRequestPreApproval2 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

NewAccessRequestPreApproval2WithDefaults​

func NewAccessRequestPreApproval2WithDefaults() *AccessRequestPreApproval2

NewAccessRequestPreApproval2WithDefaults instantiates a new AccessRequestPreApproval2 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

GetApproved​

func (o *AccessRequestPreApproval2) GetApproved() bool

GetApproved returns the Approved field if non-nil, zero value otherwise.

GetApprovedOk​

func (o *AccessRequestPreApproval2) GetApprovedOk() (*bool, bool)

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

SetApproved​

func (o *AccessRequestPreApproval2) SetApproved(v bool)

SetApproved sets Approved field to given value.

GetComment​

func (o *AccessRequestPreApproval2) GetComment() string

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

GetCommentOk​

func (o *AccessRequestPreApproval2) 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 *AccessRequestPreApproval2) SetComment(v string)

SetComment sets Comment field to given value.

GetApprover​

func (o *AccessRequestPreApproval2) GetApprover() string

GetApprover returns the Approver field if non-nil, zero value otherwise.

GetApproverOk​

func (o *AccessRequestPreApproval2) GetApproverOk() (*string, bool)

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

SetApprover​

func (o *AccessRequestPreApproval2) SetApprover(v string)

SetApprover sets Approver field to given value.