Name | Type | Description | Notes |
---|---|---|---|
Condition | Pointer to Condition | [optional] | |
AllowRequests | bool | A bool representing whether or not to allow requests for this resource. | |
AutoApproval | bool | A bool representing whether or not to automatically approve requests for this resource. | |
RequireMfaToRequest | bool | A bool representing whether or not to require MFA for requesting access to this resource. | |
MaxDurationMinutes | Pointer to int32 | The maximum duration for which the resource can be requested (in minutes). | [optional] |
RecommendedDurationMinutes | Pointer to int32 | The recommended duration for which the resource should be requested (in minutes). -1 represents an indefinite duration. | [optional] |
RequireSupportTicket | bool | A bool representing whether or not access requests to the resource require an access ticket. | |
RequestTemplateId | Pointer to string | The ID of the associated request template. | [optional] |
ReviewerStages | []ReviewerStage | The list of reviewer stages for the request configuration. | |
Priority | int32 | The priority of the request configuration. |
func NewRequestConfiguration(allowRequests bool, autoApproval bool, requireMfaToRequest bool, requireSupportTicket bool, reviewerStages []ReviewerStage, priority int32, ) *RequestConfiguration
NewRequestConfiguration instantiates a new RequestConfiguration 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 NewRequestConfigurationWithDefaults() *RequestConfiguration
NewRequestConfigurationWithDefaults instantiates a new RequestConfiguration 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 *RequestConfiguration) GetCondition() Condition
GetCondition returns the Condition field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetConditionOk() (*Condition, bool)
GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetCondition(v Condition)
SetCondition sets Condition field to given value.
func (o *RequestConfiguration) HasCondition() bool
HasCondition returns a boolean if a field has been set.
func (o *RequestConfiguration) GetAllowRequests() bool
GetAllowRequests returns the AllowRequests field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetAllowRequestsOk() (*bool, bool)
GetAllowRequestsOk returns a tuple with the AllowRequests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetAllowRequests(v bool)
SetAllowRequests sets AllowRequests field to given value.
func (o *RequestConfiguration) GetAutoApproval() bool
GetAutoApproval returns the AutoApproval field if non-nil, zero value otherwise.
func (o *RequestConfiguration) 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 *RequestConfiguration) SetAutoApproval(v bool)
SetAutoApproval sets AutoApproval field to given value.
func (o *RequestConfiguration) GetRequireMfaToRequest() bool
GetRequireMfaToRequest returns the RequireMfaToRequest field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetRequireMfaToRequestOk() (*bool, bool)
GetRequireMfaToRequestOk returns a tuple with the RequireMfaToRequest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetRequireMfaToRequest(v bool)
SetRequireMfaToRequest sets RequireMfaToRequest field to given value.
func (o *RequestConfiguration) GetMaxDurationMinutes() int32
GetMaxDurationMinutes returns the MaxDurationMinutes field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetMaxDurationMinutesOk() (*int32, bool)
GetMaxDurationMinutesOk returns a tuple with the MaxDurationMinutes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetMaxDurationMinutes(v int32)
SetMaxDurationMinutes sets MaxDurationMinutes field to given value.
func (o *RequestConfiguration) HasMaxDurationMinutes() bool
HasMaxDurationMinutes returns a boolean if a field has been set.
func (o *RequestConfiguration) GetRecommendedDurationMinutes() int32
GetRecommendedDurationMinutes returns the RecommendedDurationMinutes field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetRecommendedDurationMinutesOk() (*int32, bool)
GetRecommendedDurationMinutesOk returns a tuple with the RecommendedDurationMinutes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetRecommendedDurationMinutes(v int32)
SetRecommendedDurationMinutes sets RecommendedDurationMinutes field to given value.
func (o *RequestConfiguration) HasRecommendedDurationMinutes() bool
HasRecommendedDurationMinutes returns a boolean if a field has been set.
func (o *RequestConfiguration) GetRequireSupportTicket() bool
GetRequireSupportTicket returns the RequireSupportTicket field if non-nil, zero value otherwise.
func (o *RequestConfiguration) 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 *RequestConfiguration) SetRequireSupportTicket(v bool)
SetRequireSupportTicket sets RequireSupportTicket field to given value.
func (o *RequestConfiguration) GetRequestTemplateId() string
GetRequestTemplateId returns the RequestTemplateId field if non-nil, zero value otherwise.
func (o *RequestConfiguration) 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 *RequestConfiguration) SetRequestTemplateId(v string)
SetRequestTemplateId sets RequestTemplateId field to given value.
func (o *RequestConfiguration) HasRequestTemplateId() bool
HasRequestTemplateId returns a boolean if a field has been set.
func (o *RequestConfiguration) GetReviewerStages() []ReviewerStage
GetReviewerStages returns the ReviewerStages field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetReviewerStagesOk() (*[]ReviewerStage, bool)
GetReviewerStagesOk returns a tuple with the ReviewerStages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestConfiguration) SetReviewerStages(v []ReviewerStage)
SetReviewerStages sets ReviewerStages field to given value.
func (o *RequestConfiguration) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *RequestConfiguration) GetPriorityOk() (*int32, 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 *RequestConfiguration) SetPriority(v int32)
SetPriority sets Priority field to given value.