Skip to content

Latest commit

 

History

History
311 lines (168 loc) · 9.57 KB

UpdateResourceInfo.md

File metadata and controls

311 lines (168 loc) · 9.57 KB

UpdateResourceInfo

Properties

Name Type Description Notes
ResourceId string The ID of the resource.
Name Pointer to string The name of the resource. [optional]
Description Pointer to string A description of the resource. [optional]
AdminOwnerId Pointer to string The ID of the owner of the resource. [optional]
MaxDuration Pointer to int32 The maximum duration for which the resource can be requested (in minutes). Use 0 to set to indefinite. [optional]
RequireManagerApproval Pointer to bool A bool representing whether or not access requests to the resource require manager approval. [optional]
RequireSupportTicket Pointer to bool A bool representing whether or not access requests to the resource require a support ticket. [optional]
FolderId Pointer to string The ID of the folder that the resource is located in. [optional]
RequireMfaToApprove Pointer to bool A bool representing whether or not to require MFA for reviewers to approve requests for this resource. [optional]
AutoApproval Pointer to bool A bool representing whether or not to automatically approve requests to this resource. [optional]
RequestTemplateId Pointer to string The ID of the associated request template. [optional]

Methods

NewUpdateResourceInfo

func NewUpdateResourceInfo(resourceId string, ) *UpdateResourceInfo

NewUpdateResourceInfo instantiates a new UpdateResourceInfo 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

NewUpdateResourceInfoWithDefaults

func NewUpdateResourceInfoWithDefaults() *UpdateResourceInfo

NewUpdateResourceInfoWithDefaults instantiates a new UpdateResourceInfo 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

GetResourceId

func (o *UpdateResourceInfo) GetResourceId() string

GetResourceId returns the ResourceId field if non-nil, zero value otherwise.

GetResourceIdOk

func (o *UpdateResourceInfo) GetResourceIdOk() (*string, bool)

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

SetResourceId

func (o *UpdateResourceInfo) SetResourceId(v string)

SetResourceId sets ResourceId field to given value.

GetName

func (o *UpdateResourceInfo) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UpdateResourceInfo) GetNameOk() (*string, 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.

SetName

func (o *UpdateResourceInfo) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *UpdateResourceInfo) HasName() bool

HasName returns a boolean if a field has been set.

GetDescription

func (o *UpdateResourceInfo) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *UpdateResourceInfo) GetDescriptionOk() (*string, 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.

SetDescription

func (o *UpdateResourceInfo) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateResourceInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetAdminOwnerId

func (o *UpdateResourceInfo) GetAdminOwnerId() string

GetAdminOwnerId returns the AdminOwnerId field if non-nil, zero value otherwise.

GetAdminOwnerIdOk

func (o *UpdateResourceInfo) GetAdminOwnerIdOk() (*string, bool)

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

SetAdminOwnerId

func (o *UpdateResourceInfo) SetAdminOwnerId(v string)

SetAdminOwnerId sets AdminOwnerId field to given value.

HasAdminOwnerId

func (o *UpdateResourceInfo) HasAdminOwnerId() bool

HasAdminOwnerId returns a boolean if a field has been set.

GetMaxDuration

func (o *UpdateResourceInfo) GetMaxDuration() int32

GetMaxDuration returns the MaxDuration field if non-nil, zero value otherwise.

GetMaxDurationOk

func (o *UpdateResourceInfo) GetMaxDurationOk() (*int32, bool)

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

SetMaxDuration

func (o *UpdateResourceInfo) SetMaxDuration(v int32)

SetMaxDuration sets MaxDuration field to given value.

HasMaxDuration

func (o *UpdateResourceInfo) HasMaxDuration() bool

HasMaxDuration returns a boolean if a field has been set.

GetRequireManagerApproval

func (o *UpdateResourceInfo) GetRequireManagerApproval() bool

GetRequireManagerApproval returns the RequireManagerApproval field if non-nil, zero value otherwise.

GetRequireManagerApprovalOk

func (o *UpdateResourceInfo) GetRequireManagerApprovalOk() (*bool, bool)

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

SetRequireManagerApproval

func (o *UpdateResourceInfo) SetRequireManagerApproval(v bool)

SetRequireManagerApproval sets RequireManagerApproval field to given value.

HasRequireManagerApproval

func (o *UpdateResourceInfo) HasRequireManagerApproval() bool

HasRequireManagerApproval returns a boolean if a field has been set.

GetRequireSupportTicket

func (o *UpdateResourceInfo) GetRequireSupportTicket() bool

GetRequireSupportTicket returns the RequireSupportTicket field if non-nil, zero value otherwise.

GetRequireSupportTicketOk

func (o *UpdateResourceInfo) GetRequireSupportTicketOk() (*bool, bool)

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

SetRequireSupportTicket

func (o *UpdateResourceInfo) SetRequireSupportTicket(v bool)

SetRequireSupportTicket sets RequireSupportTicket field to given value.

HasRequireSupportTicket

func (o *UpdateResourceInfo) HasRequireSupportTicket() bool

HasRequireSupportTicket returns a boolean if a field has been set.

GetFolderId

func (o *UpdateResourceInfo) GetFolderId() string

GetFolderId returns the FolderId field if non-nil, zero value otherwise.

GetFolderIdOk

func (o *UpdateResourceInfo) GetFolderIdOk() (*string, bool)

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

SetFolderId

func (o *UpdateResourceInfo) SetFolderId(v string)

SetFolderId sets FolderId field to given value.

HasFolderId

func (o *UpdateResourceInfo) HasFolderId() bool

HasFolderId returns a boolean if a field has been set.

GetRequireMfaToApprove

func (o *UpdateResourceInfo) GetRequireMfaToApprove() bool

GetRequireMfaToApprove returns the RequireMfaToApprove field if non-nil, zero value otherwise.

GetRequireMfaToApproveOk

func (o *UpdateResourceInfo) GetRequireMfaToApproveOk() (*bool, bool)

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

SetRequireMfaToApprove

func (o *UpdateResourceInfo) SetRequireMfaToApprove(v bool)

SetRequireMfaToApprove sets RequireMfaToApprove field to given value.

HasRequireMfaToApprove

func (o *UpdateResourceInfo) HasRequireMfaToApprove() bool

HasRequireMfaToApprove returns a boolean if a field has been set.

GetAutoApproval

func (o *UpdateResourceInfo) GetAutoApproval() bool

GetAutoApproval returns the AutoApproval field if non-nil, zero value otherwise.

GetAutoApprovalOk

func (o *UpdateResourceInfo) GetAutoApprovalOk() (*bool, bool)

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

SetAutoApproval

func (o *UpdateResourceInfo) SetAutoApproval(v bool)

SetAutoApproval sets AutoApproval field to given value.

HasAutoApproval

func (o *UpdateResourceInfo) HasAutoApproval() bool

HasAutoApproval returns a boolean if a field has been set.

GetRequestTemplateId

func (o *UpdateResourceInfo) GetRequestTemplateId() string

GetRequestTemplateId returns the RequestTemplateId field if non-nil, zero value otherwise.

GetRequestTemplateIdOk

func (o *UpdateResourceInfo) GetRequestTemplateIdOk() (*string, bool)

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

SetRequestTemplateId

func (o *UpdateResourceInfo) SetRequestTemplateId(v string)

SetRequestTemplateId sets RequestTemplateId field to given value.

HasRequestTemplateId

func (o *UpdateResourceInfo) HasRequestTemplateId() bool

HasRequestTemplateId returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]