Name | Type | Description | Notes |
---|---|---|---|
ResourceId | string | The ID of the resource. | |
AppId | Pointer to string | The ID of the app. | [optional] |
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] |
RemoteResourceId | Pointer to string | The ID of the resource on the remote system. | [optional] |
RemoteResourceName | Pointer to string | The name of the resource on the remote system. | [optional] |
ResourceType | Pointer to ResourceTypeEnum | [optional] | |
MaxDuration | Pointer to int32 | The maximum duration for which the resource can be requested (in minutes). | [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] |
func NewResource(resourceId string, ) *Resource
NewResource instantiates a new Resource 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 NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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 *Resource) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *Resource) GetAppId() string
GetAppId returns the AppId field if non-nil, zero value otherwise.
func (o *Resource) GetAppIdOk() (*string, bool)
GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetAppId(v string)
SetAppId sets AppId field to given value.
func (o *Resource) HasAppId() bool
HasAppId returns a boolean if a field has been set.
func (o *Resource) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetName(v string)
SetName sets Name field to given value.
func (o *Resource) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Resource) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Resource) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Resource) GetAdminOwnerId() string
GetAdminOwnerId returns the AdminOwnerId field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetAdminOwnerId(v string)
SetAdminOwnerId sets AdminOwnerId field to given value.
func (o *Resource) HasAdminOwnerId() bool
HasAdminOwnerId returns a boolean if a field has been set.
func (o *Resource) GetRemoteResourceId() string
GetRemoteResourceId returns the RemoteResourceId field if non-nil, zero value otherwise.
func (o *Resource) GetRemoteResourceIdOk() (*string, bool)
GetRemoteResourceIdOk returns a tuple with the RemoteResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetRemoteResourceId(v string)
SetRemoteResourceId sets RemoteResourceId field to given value.
func (o *Resource) HasRemoteResourceId() bool
HasRemoteResourceId returns a boolean if a field has been set.
func (o *Resource) GetRemoteResourceName() string
GetRemoteResourceName returns the RemoteResourceName field if non-nil, zero value otherwise.
func (o *Resource) GetRemoteResourceNameOk() (*string, bool)
GetRemoteResourceNameOk returns a tuple with the RemoteResourceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetRemoteResourceName(v string)
SetRemoteResourceName sets RemoteResourceName field to given value.
func (o *Resource) HasRemoteResourceName() bool
HasRemoteResourceName returns a boolean if a field has been set.
func (o *Resource) GetResourceType() ResourceTypeEnum
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *Resource) GetResourceTypeOk() (*ResourceTypeEnum, bool)
GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetResourceType(v ResourceTypeEnum)
SetResourceType sets ResourceType field to given value.
func (o *Resource) HasResourceType() bool
HasResourceType returns a boolean if a field has been set.
func (o *Resource) GetMaxDuration() int32
GetMaxDuration returns the MaxDuration field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetMaxDuration(v int32)
SetMaxDuration sets MaxDuration field to given value.
func (o *Resource) HasMaxDuration() bool
HasMaxDuration returns a boolean if a field has been set.
func (o *Resource) GetRequireManagerApproval() bool
GetRequireManagerApproval returns the RequireManagerApproval field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetRequireManagerApproval(v bool)
SetRequireManagerApproval sets RequireManagerApproval field to given value.
func (o *Resource) HasRequireManagerApproval() bool
HasRequireManagerApproval returns a boolean if a field has been set.
func (o *Resource) GetRequireSupportTicket() bool
GetRequireSupportTicket returns the RequireSupportTicket field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetRequireSupportTicket(v bool)
SetRequireSupportTicket sets RequireSupportTicket field to given value.
func (o *Resource) HasRequireSupportTicket() bool
HasRequireSupportTicket returns a boolean if a field has been set.
func (o *Resource) GetFolderId() string
GetFolderId returns the FolderId field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetFolderId(v string)
SetFolderId sets FolderId field to given value.
func (o *Resource) HasFolderId() bool
HasFolderId returns a boolean if a field has been set.
func (o *Resource) GetRequireMfaToApprove() bool
GetRequireMfaToApprove returns the RequireMfaToApprove field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetRequireMfaToApprove(v bool)
SetRequireMfaToApprove sets RequireMfaToApprove field to given value.
func (o *Resource) HasRequireMfaToApprove() bool
HasRequireMfaToApprove returns a boolean if a field has been set.
func (o *Resource) GetAutoApproval() bool
GetAutoApproval returns the AutoApproval field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetAutoApproval(v bool)
SetAutoApproval sets AutoApproval field to given value.
func (o *Resource) HasAutoApproval() bool
HasAutoApproval returns a boolean if a field has been set.
func (o *Resource) GetRequestTemplateId() string
GetRequestTemplateId returns the RequestTemplateId field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetRequestTemplateId(v string)
SetRequestTemplateId sets RequestTemplateId field to given value.
func (o *Resource) HasRequestTemplateId() bool
HasRequestTemplateId returns a boolean if a field has been set.