| Name | Type | Description | Notes |
|---|---|---|---|
| EnforceRefresh | Pointer to bool | When enabled, API keys that violate the organization's rule will be replaced automatically. | [optional] |
| IsEnabled | Pointer to bool | Whether this rule is currently active and enforced. | [optional] |
| MaxAgeHours | Pointer to NullableInt64 | The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the rule unset this value. | [optional] |
| RefreshImmediately | Pointer to bool | If set to True, API keys that violate this rule will be replaced immediately after the request is made. There is no way to undo this. | [optional] |
| RuleType | Pointer to string | Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only. | [optional] |
func NewOrganizationApiKeyRuleRequestPatch() *OrganizationApiKeyRuleRequestPatch
NewOrganizationApiKeyRuleRequestPatch instantiates a new OrganizationApiKeyRuleRequestPatch 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 NewOrganizationApiKeyRuleRequestPatchWithDefaults() *OrganizationApiKeyRuleRequestPatch
NewOrganizationApiKeyRuleRequestPatchWithDefaults instantiates a new OrganizationApiKeyRuleRequestPatch 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 *OrganizationApiKeyRuleRequestPatch) GetEnforceRefresh() bool
GetEnforceRefresh returns the EnforceRefresh field if non-nil, zero value otherwise.
func (o *OrganizationApiKeyRuleRequestPatch) GetEnforceRefreshOk() (*bool, bool)
GetEnforceRefreshOk returns a tuple with the EnforceRefresh field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetEnforceRefresh(v bool)
SetEnforceRefresh sets EnforceRefresh field to given value.
func (o *OrganizationApiKeyRuleRequestPatch) HasEnforceRefresh() bool
HasEnforceRefresh returns a boolean if a field has been set.
func (o *OrganizationApiKeyRuleRequestPatch) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.
func (o *OrganizationApiKeyRuleRequestPatch) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetIsEnabled(v bool)
SetIsEnabled sets IsEnabled field to given value.
func (o *OrganizationApiKeyRuleRequestPatch) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (o *OrganizationApiKeyRuleRequestPatch) GetMaxAgeHours() int64
GetMaxAgeHours returns the MaxAgeHours field if non-nil, zero value otherwise.
func (o *OrganizationApiKeyRuleRequestPatch) GetMaxAgeHoursOk() (*int64, bool)
GetMaxAgeHoursOk returns a tuple with the MaxAgeHours field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetMaxAgeHours(v int64)
SetMaxAgeHours sets MaxAgeHours field to given value.
func (o *OrganizationApiKeyRuleRequestPatch) HasMaxAgeHours() bool
HasMaxAgeHours returns a boolean if a field has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetMaxAgeHoursNil(b bool)
SetMaxAgeHoursNil sets the value for MaxAgeHours to be an explicit nil
func (o *OrganizationApiKeyRuleRequestPatch) UnsetMaxAgeHours()
UnsetMaxAgeHours ensures that no value is present for MaxAgeHours, not even an explicit nil
func (o *OrganizationApiKeyRuleRequestPatch) GetRefreshImmediately() bool
GetRefreshImmediately returns the RefreshImmediately field if non-nil, zero value otherwise.
func (o *OrganizationApiKeyRuleRequestPatch) GetRefreshImmediatelyOk() (*bool, bool)
GetRefreshImmediatelyOk returns a tuple with the RefreshImmediately field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetRefreshImmediately(v bool)
SetRefreshImmediately sets RefreshImmediately field to given value.
func (o *OrganizationApiKeyRuleRequestPatch) HasRefreshImmediately() bool
HasRefreshImmediately returns a boolean if a field has been set.
func (o *OrganizationApiKeyRuleRequestPatch) GetRuleType() string
GetRuleType returns the RuleType field if non-nil, zero value otherwise.
func (o *OrganizationApiKeyRuleRequestPatch) GetRuleTypeOk() (*string, bool)
GetRuleTypeOk returns a tuple with the RuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationApiKeyRuleRequestPatch) SetRuleType(v string)
SetRuleType sets RuleType field to given value.
func (o *OrganizationApiKeyRuleRequestPatch) HasRuleType() bool
HasRuleType returns a boolean if a field has been set.