From 316ac6efbe2bba5252cb23a31adccce8e750face Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Mon, 16 Dec 2024 16:35:56 +0000 Subject: [PATCH] Automated build 'Automated commit 'ISCARP-14924 - Add reauthorizationEnabled to access-request-config api docs (#1900) * ISCARP-14924 - Add reauthorizationEnabled to access-request-config api docs * ISCARP-14924 - add disclaimer' by github action: 12357062869' go sdk: 12357070776 --- api_beta/api/openapi.yaml | 8 +++++ api_beta/docs/AccessRequestConfig.md | 26 +++++++++++++++ api_beta/model_access_request_config.go | 42 ++++++++++++++++++++++++ api_v2024/api/openapi.yaml | 8 +++++ api_v2024/docs/AccessRequestConfig.md | 26 +++++++++++++++ api_v2024/model_access_request_config.go | 42 ++++++++++++++++++++++++ api_v3/api/openapi.yaml | 8 +++++ api_v3/docs/AccessRequestConfig.md | 26 +++++++++++++++ api_v3/model_access_request_config.go | 42 ++++++++++++++++++++++++ 9 files changed, 228 insertions(+) diff --git a/api_beta/api/openapi.yaml b/api_beta/api/openapi.yaml index 32856b5d6..1c2e110c5 100644 --- a/api_beta/api/openapi.yaml +++ b/api_beta/api/openapi.yaml @@ -65013,6 +65013,7 @@ components: deniedCommentsRequired: false allowEntitlementRequest: true grantRequestApprovalSchemes: "entitlementOwner, sourceOwner, manager, workgroup:2c918084660f45d6016617daa9210584" + reauthorizationEnabled: true approvalsMustBeExternal: true properties: approvalsMustBeExternal: @@ -65028,6 +65029,13 @@ components: \ the request is automatically approved." example: true type: boolean + reauthorizationEnabled: + default: false + description: "If this is true, reauthorization will be enforced for appropriately\ + \ configured access items. Enablement of this feature is currently in\ + \ a limited state." + example: true + type: boolean requestOnBehalfOfConfig: $ref: '#/components/schemas/RequestOnBehalfOfConfig' approvalReminderAndEscalationConfig: diff --git a/api_beta/docs/AccessRequestConfig.md b/api_beta/docs/AccessRequestConfig.md index 3ccbad4db..fa939c06b 100644 --- a/api_beta/docs/AccessRequestConfig.md +++ b/api_beta/docs/AccessRequestConfig.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApprovalsMustBeExternal** | Pointer to **bool** | If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn't an org admin. | [optional] [default to false] **AutoApprovalEnabled** | Pointer to **bool** | If this is true and the requester and reviewer are the same, the request is automatically approved. | [optional] [default to false] +**ReauthorizationEnabled** | Pointer to **bool** | If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. | [optional] [default to false] **RequestOnBehalfOfConfig** | Pointer to [**RequestOnBehalfOfConfig**](RequestOnBehalfOfConfig.md) | | [optional] **ApprovalReminderAndEscalationConfig** | Pointer to [**ApprovalReminderAndEscalationConfig**](ApprovalReminderAndEscalationConfig.md) | | [optional] **EntitlementRequestConfig** | Pointer to [**EntitlementRequestConfig1**](EntitlementRequestConfig1.md) | | [optional] @@ -79,6 +80,31 @@ SetAutoApprovalEnabled sets AutoApprovalEnabled field to given value. HasAutoApprovalEnabled returns a boolean if a field has been set. +### GetReauthorizationEnabled + +`func (o *AccessRequestConfig) GetReauthorizationEnabled() bool` + +GetReauthorizationEnabled returns the ReauthorizationEnabled field if non-nil, zero value otherwise. + +### GetReauthorizationEnabledOk + +`func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool)` + +GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReauthorizationEnabled + +`func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool)` + +SetReauthorizationEnabled sets ReauthorizationEnabled field to given value. + +### HasReauthorizationEnabled + +`func (o *AccessRequestConfig) HasReauthorizationEnabled() bool` + +HasReauthorizationEnabled returns a boolean if a field has been set. + ### GetRequestOnBehalfOfConfig `func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig` diff --git a/api_beta/model_access_request_config.go b/api_beta/model_access_request_config.go index 0bac04c8f..25b26a191 100644 --- a/api_beta/model_access_request_config.go +++ b/api_beta/model_access_request_config.go @@ -23,6 +23,8 @@ type AccessRequestConfig struct { ApprovalsMustBeExternal *bool `json:"approvalsMustBeExternal,omitempty"` // If this is true and the requester and reviewer are the same, the request is automatically approved. AutoApprovalEnabled *bool `json:"autoApprovalEnabled,omitempty"` + // If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. + ReauthorizationEnabled *bool `json:"reauthorizationEnabled,omitempty"` RequestOnBehalfOfConfig *RequestOnBehalfOfConfig `json:"requestOnBehalfOfConfig,omitempty"` ApprovalReminderAndEscalationConfig *ApprovalReminderAndEscalationConfig `json:"approvalReminderAndEscalationConfig,omitempty"` EntitlementRequestConfig *EntitlementRequestConfig1 `json:"entitlementRequestConfig,omitempty"` @@ -41,6 +43,8 @@ func NewAccessRequestConfig() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -53,6 +57,8 @@ func NewAccessRequestConfigWithDefaults() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -120,6 +126,38 @@ func (o *AccessRequestConfig) SetAutoApprovalEnabled(v bool) { o.AutoApprovalEnabled = &v } +// GetReauthorizationEnabled returns the ReauthorizationEnabled field value if set, zero value otherwise. +func (o *AccessRequestConfig) GetReauthorizationEnabled() bool { + if o == nil || IsNil(o.ReauthorizationEnabled) { + var ret bool + return ret + } + return *o.ReauthorizationEnabled +} + +// GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.ReauthorizationEnabled) { + return nil, false + } + return o.ReauthorizationEnabled, true +} + +// HasReauthorizationEnabled returns a boolean if a field has been set. +func (o *AccessRequestConfig) HasReauthorizationEnabled() bool { + if o != nil && !IsNil(o.ReauthorizationEnabled) { + return true + } + + return false +} + +// SetReauthorizationEnabled gets a reference to the given bool and assigns it to the ReauthorizationEnabled field. +func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool) { + o.ReauthorizationEnabled = &v +} + // GetRequestOnBehalfOfConfig returns the RequestOnBehalfOfConfig field value if set, zero value otherwise. func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig { if o == nil || IsNil(o.RequestOnBehalfOfConfig) { @@ -232,6 +270,9 @@ func (o AccessRequestConfig) ToMap() (map[string]interface{}, error) { if !IsNil(o.AutoApprovalEnabled) { toSerialize["autoApprovalEnabled"] = o.AutoApprovalEnabled } + if !IsNil(o.ReauthorizationEnabled) { + toSerialize["reauthorizationEnabled"] = o.ReauthorizationEnabled + } if !IsNil(o.RequestOnBehalfOfConfig) { toSerialize["requestOnBehalfOfConfig"] = o.RequestOnBehalfOfConfig } @@ -265,6 +306,7 @@ func (o *AccessRequestConfig) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "approvalsMustBeExternal") delete(additionalProperties, "autoApprovalEnabled") + delete(additionalProperties, "reauthorizationEnabled") delete(additionalProperties, "requestOnBehalfOfConfig") delete(additionalProperties, "approvalReminderAndEscalationConfig") delete(additionalProperties, "entitlementRequestConfig") diff --git a/api_v2024/api/openapi.yaml b/api_v2024/api/openapi.yaml index 2df9686e7..c180cb361 100644 --- a/api_v2024/api/openapi.yaml +++ b/api_v2024/api/openapi.yaml @@ -79169,6 +79169,7 @@ components: deniedCommentsRequired: false allowEntitlementRequest: true grantRequestApprovalSchemes: "entitlementOwner, sourceOwner, manager, workgroup:2c918084660f45d6016617daa9210584" + reauthorizationEnabled: true approvalsMustBeExternal: true properties: approvalsMustBeExternal: @@ -79184,6 +79185,13 @@ components: \ the request is automatically approved." example: true type: boolean + reauthorizationEnabled: + default: false + description: "If this is true, reauthorization will be enforced for appropriately\ + \ configured access items. Enablement of this feature is currently in\ + \ a limited state." + example: true + type: boolean requestOnBehalfOfConfig: $ref: '#/components/schemas/RequestOnBehalfOfConfig' approvalReminderAndEscalationConfig: diff --git a/api_v2024/docs/AccessRequestConfig.md b/api_v2024/docs/AccessRequestConfig.md index 3ccbad4db..fa939c06b 100644 --- a/api_v2024/docs/AccessRequestConfig.md +++ b/api_v2024/docs/AccessRequestConfig.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApprovalsMustBeExternal** | Pointer to **bool** | If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn't an org admin. | [optional] [default to false] **AutoApprovalEnabled** | Pointer to **bool** | If this is true and the requester and reviewer are the same, the request is automatically approved. | [optional] [default to false] +**ReauthorizationEnabled** | Pointer to **bool** | If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. | [optional] [default to false] **RequestOnBehalfOfConfig** | Pointer to [**RequestOnBehalfOfConfig**](RequestOnBehalfOfConfig.md) | | [optional] **ApprovalReminderAndEscalationConfig** | Pointer to [**ApprovalReminderAndEscalationConfig**](ApprovalReminderAndEscalationConfig.md) | | [optional] **EntitlementRequestConfig** | Pointer to [**EntitlementRequestConfig1**](EntitlementRequestConfig1.md) | | [optional] @@ -79,6 +80,31 @@ SetAutoApprovalEnabled sets AutoApprovalEnabled field to given value. HasAutoApprovalEnabled returns a boolean if a field has been set. +### GetReauthorizationEnabled + +`func (o *AccessRequestConfig) GetReauthorizationEnabled() bool` + +GetReauthorizationEnabled returns the ReauthorizationEnabled field if non-nil, zero value otherwise. + +### GetReauthorizationEnabledOk + +`func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool)` + +GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReauthorizationEnabled + +`func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool)` + +SetReauthorizationEnabled sets ReauthorizationEnabled field to given value. + +### HasReauthorizationEnabled + +`func (o *AccessRequestConfig) HasReauthorizationEnabled() bool` + +HasReauthorizationEnabled returns a boolean if a field has been set. + ### GetRequestOnBehalfOfConfig `func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig` diff --git a/api_v2024/model_access_request_config.go b/api_v2024/model_access_request_config.go index 892d02d91..380d400fa 100644 --- a/api_v2024/model_access_request_config.go +++ b/api_v2024/model_access_request_config.go @@ -23,6 +23,8 @@ type AccessRequestConfig struct { ApprovalsMustBeExternal *bool `json:"approvalsMustBeExternal,omitempty"` // If this is true and the requester and reviewer are the same, the request is automatically approved. AutoApprovalEnabled *bool `json:"autoApprovalEnabled,omitempty"` + // If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. + ReauthorizationEnabled *bool `json:"reauthorizationEnabled,omitempty"` RequestOnBehalfOfConfig *RequestOnBehalfOfConfig `json:"requestOnBehalfOfConfig,omitempty"` ApprovalReminderAndEscalationConfig *ApprovalReminderAndEscalationConfig `json:"approvalReminderAndEscalationConfig,omitempty"` EntitlementRequestConfig *EntitlementRequestConfig1 `json:"entitlementRequestConfig,omitempty"` @@ -41,6 +43,8 @@ func NewAccessRequestConfig() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -53,6 +57,8 @@ func NewAccessRequestConfigWithDefaults() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -120,6 +126,38 @@ func (o *AccessRequestConfig) SetAutoApprovalEnabled(v bool) { o.AutoApprovalEnabled = &v } +// GetReauthorizationEnabled returns the ReauthorizationEnabled field value if set, zero value otherwise. +func (o *AccessRequestConfig) GetReauthorizationEnabled() bool { + if o == nil || IsNil(o.ReauthorizationEnabled) { + var ret bool + return ret + } + return *o.ReauthorizationEnabled +} + +// GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.ReauthorizationEnabled) { + return nil, false + } + return o.ReauthorizationEnabled, true +} + +// HasReauthorizationEnabled returns a boolean if a field has been set. +func (o *AccessRequestConfig) HasReauthorizationEnabled() bool { + if o != nil && !IsNil(o.ReauthorizationEnabled) { + return true + } + + return false +} + +// SetReauthorizationEnabled gets a reference to the given bool and assigns it to the ReauthorizationEnabled field. +func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool) { + o.ReauthorizationEnabled = &v +} + // GetRequestOnBehalfOfConfig returns the RequestOnBehalfOfConfig field value if set, zero value otherwise. func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig { if o == nil || IsNil(o.RequestOnBehalfOfConfig) { @@ -232,6 +270,9 @@ func (o AccessRequestConfig) ToMap() (map[string]interface{}, error) { if !IsNil(o.AutoApprovalEnabled) { toSerialize["autoApprovalEnabled"] = o.AutoApprovalEnabled } + if !IsNil(o.ReauthorizationEnabled) { + toSerialize["reauthorizationEnabled"] = o.ReauthorizationEnabled + } if !IsNil(o.RequestOnBehalfOfConfig) { toSerialize["requestOnBehalfOfConfig"] = o.RequestOnBehalfOfConfig } @@ -265,6 +306,7 @@ func (o *AccessRequestConfig) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "approvalsMustBeExternal") delete(additionalProperties, "autoApprovalEnabled") + delete(additionalProperties, "reauthorizationEnabled") delete(additionalProperties, "requestOnBehalfOfConfig") delete(additionalProperties, "approvalReminderAndEscalationConfig") delete(additionalProperties, "entitlementRequestConfig") diff --git a/api_v3/api/openapi.yaml b/api_v3/api/openapi.yaml index 8db5a3b2a..b659891f4 100644 --- a/api_v3/api/openapi.yaml +++ b/api_v3/api/openapi.yaml @@ -47260,6 +47260,7 @@ components: deniedCommentsRequired: false allowEntitlementRequest: true grantRequestApprovalSchemes: "entitlementOwner, sourceOwner, manager, workgroup:2c918084660f45d6016617daa9210584" + reauthorizationEnabled: true approvalsMustBeExternal: true properties: approvalsMustBeExternal: @@ -47275,6 +47276,13 @@ components: \ the request is automatically approved." example: true type: boolean + reauthorizationEnabled: + default: false + description: "If this is true, reauthorization will be enforced for appropriately\ + \ configured access items. Enablement of this feature is currently in\ + \ a limited state." + example: true + type: boolean requestOnBehalfOfConfig: $ref: '#/components/schemas/RequestOnBehalfOfConfig' approvalReminderAndEscalationConfig: diff --git a/api_v3/docs/AccessRequestConfig.md b/api_v3/docs/AccessRequestConfig.md index abc4bdf2d..211c77d14 100644 --- a/api_v3/docs/AccessRequestConfig.md +++ b/api_v3/docs/AccessRequestConfig.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApprovalsMustBeExternal** | Pointer to **bool** | If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn't an org admin. | [optional] [default to false] **AutoApprovalEnabled** | Pointer to **bool** | If this is true and the requester and reviewer are the same, the request is automatically approved. | [optional] [default to false] +**ReauthorizationEnabled** | Pointer to **bool** | If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. | [optional] [default to false] **RequestOnBehalfOfConfig** | Pointer to [**RequestOnBehalfOfConfig**](RequestOnBehalfOfConfig.md) | | [optional] **ApprovalReminderAndEscalationConfig** | Pointer to [**ApprovalReminderAndEscalationConfig**](ApprovalReminderAndEscalationConfig.md) | | [optional] **EntitlementRequestConfig** | Pointer to [**EntitlementRequestConfig**](EntitlementRequestConfig.md) | | [optional] @@ -79,6 +80,31 @@ SetAutoApprovalEnabled sets AutoApprovalEnabled field to given value. HasAutoApprovalEnabled returns a boolean if a field has been set. +### GetReauthorizationEnabled + +`func (o *AccessRequestConfig) GetReauthorizationEnabled() bool` + +GetReauthorizationEnabled returns the ReauthorizationEnabled field if non-nil, zero value otherwise. + +### GetReauthorizationEnabledOk + +`func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool)` + +GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReauthorizationEnabled + +`func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool)` + +SetReauthorizationEnabled sets ReauthorizationEnabled field to given value. + +### HasReauthorizationEnabled + +`func (o *AccessRequestConfig) HasReauthorizationEnabled() bool` + +HasReauthorizationEnabled returns a boolean if a field has been set. + ### GetRequestOnBehalfOfConfig `func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig` diff --git a/api_v3/model_access_request_config.go b/api_v3/model_access_request_config.go index 29b5f5c29..83ae26f67 100644 --- a/api_v3/model_access_request_config.go +++ b/api_v3/model_access_request_config.go @@ -23,6 +23,8 @@ type AccessRequestConfig struct { ApprovalsMustBeExternal *bool `json:"approvalsMustBeExternal,omitempty"` // If this is true and the requester and reviewer are the same, the request is automatically approved. AutoApprovalEnabled *bool `json:"autoApprovalEnabled,omitempty"` + // If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state. + ReauthorizationEnabled *bool `json:"reauthorizationEnabled,omitempty"` RequestOnBehalfOfConfig *RequestOnBehalfOfConfig `json:"requestOnBehalfOfConfig,omitempty"` ApprovalReminderAndEscalationConfig *ApprovalReminderAndEscalationConfig `json:"approvalReminderAndEscalationConfig,omitempty"` EntitlementRequestConfig *EntitlementRequestConfig `json:"entitlementRequestConfig,omitempty"` @@ -41,6 +43,8 @@ func NewAccessRequestConfig() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -53,6 +57,8 @@ func NewAccessRequestConfigWithDefaults() *AccessRequestConfig { this.ApprovalsMustBeExternal = &approvalsMustBeExternal var autoApprovalEnabled bool = false this.AutoApprovalEnabled = &autoApprovalEnabled + var reauthorizationEnabled bool = false + this.ReauthorizationEnabled = &reauthorizationEnabled return &this } @@ -120,6 +126,38 @@ func (o *AccessRequestConfig) SetAutoApprovalEnabled(v bool) { o.AutoApprovalEnabled = &v } +// GetReauthorizationEnabled returns the ReauthorizationEnabled field value if set, zero value otherwise. +func (o *AccessRequestConfig) GetReauthorizationEnabled() bool { + if o == nil || IsNil(o.ReauthorizationEnabled) { + var ret bool + return ret + } + return *o.ReauthorizationEnabled +} + +// GetReauthorizationEnabledOk returns a tuple with the ReauthorizationEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestConfig) GetReauthorizationEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.ReauthorizationEnabled) { + return nil, false + } + return o.ReauthorizationEnabled, true +} + +// HasReauthorizationEnabled returns a boolean if a field has been set. +func (o *AccessRequestConfig) HasReauthorizationEnabled() bool { + if o != nil && !IsNil(o.ReauthorizationEnabled) { + return true + } + + return false +} + +// SetReauthorizationEnabled gets a reference to the given bool and assigns it to the ReauthorizationEnabled field. +func (o *AccessRequestConfig) SetReauthorizationEnabled(v bool) { + o.ReauthorizationEnabled = &v +} + // GetRequestOnBehalfOfConfig returns the RequestOnBehalfOfConfig field value if set, zero value otherwise. func (o *AccessRequestConfig) GetRequestOnBehalfOfConfig() RequestOnBehalfOfConfig { if o == nil || IsNil(o.RequestOnBehalfOfConfig) { @@ -232,6 +270,9 @@ func (o AccessRequestConfig) ToMap() (map[string]interface{}, error) { if !IsNil(o.AutoApprovalEnabled) { toSerialize["autoApprovalEnabled"] = o.AutoApprovalEnabled } + if !IsNil(o.ReauthorizationEnabled) { + toSerialize["reauthorizationEnabled"] = o.ReauthorizationEnabled + } if !IsNil(o.RequestOnBehalfOfConfig) { toSerialize["requestOnBehalfOfConfig"] = o.RequestOnBehalfOfConfig } @@ -265,6 +306,7 @@ func (o *AccessRequestConfig) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "approvalsMustBeExternal") delete(additionalProperties, "autoApprovalEnabled") + delete(additionalProperties, "reauthorizationEnabled") delete(additionalProperties, "requestOnBehalfOfConfig") delete(additionalProperties, "approvalReminderAndEscalationConfig") delete(additionalProperties, "entitlementRequestConfig")