Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Policy ID. | [optional] [readonly] |
Name | Pointer to string | Policy business name. | [optional] |
Created | Pointer to time.Time | The time when this SOD policy is created. | [optional] [readonly] |
Modified | Pointer to time.Time | The time when this SOD policy is modified. | [optional] [readonly] |
Description | Pointer to NullableString | Optional description of the SOD policy. | [optional] |
OwnerRef | Pointer to OwnerDto | [optional] | |
ExternalPolicyReference | Pointer to NullableString | Optional external policy reference. | [optional] |
PolicyQuery | Pointer to string | Search query of the SOD policy. | [optional] |
CompensatingControls | Pointer to NullableString | Optional compensating controls (Mitigating Controls). | [optional] |
CorrectionAdvice | Pointer to NullableString | Optional correction advice. | [optional] |
State | Pointer to string | Whether the policy is enforced or not. | [optional] |
Tags | Pointer to []string | Tags for the policy object. | [optional] |
CreatorId | Pointer to string | Policy's creator ID. | [optional] [readonly] |
ModifierId | Pointer to NullableString | Policy's modifier ID. | [optional] [readonly] |
ViolationOwnerAssignmentConfig | Pointer to ViolationOwnerAssignmentConfig | [optional] | |
Scheduled | Pointer to bool | Defines whether a policy has been scheduled or not. | [optional] [default to false] |
Type | Pointer to string | Whether a policy is query based or conflicting access based. | [optional] [default to "GENERAL"] |
ConflictingAccessCriteria | Pointer to SodPolicyConflictingAccessCriteria | [optional] |
func NewSodPolicy() *SodPolicy
NewSodPolicy instantiates a new SodPolicy 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 NewSodPolicyWithDefaults() *SodPolicy
NewSodPolicyWithDefaults instantiates a new SodPolicy 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 *SodPolicy) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SodPolicy) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetId(v string)
SetId sets Id field to given value.
func (o *SodPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (o *SodPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SodPolicy) 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 *SodPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *SodPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SodPolicy) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *SodPolicy) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *SodPolicy) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *SodPolicy) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *SodPolicy) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *SodPolicy) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *SodPolicy) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SodPolicy) 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 *SodPolicy) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SodPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SodPolicy) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *SodPolicy) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *SodPolicy) GetOwnerRef() OwnerDto
GetOwnerRef returns the OwnerRef field if non-nil, zero value otherwise.
func (o *SodPolicy) GetOwnerRefOk() (*OwnerDto, bool)
GetOwnerRefOk returns a tuple with the OwnerRef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetOwnerRef(v OwnerDto)
SetOwnerRef sets OwnerRef field to given value.
func (o *SodPolicy) HasOwnerRef() bool
HasOwnerRef returns a boolean if a field has been set.
func (o *SodPolicy) GetExternalPolicyReference() string
GetExternalPolicyReference returns the ExternalPolicyReference field if non-nil, zero value otherwise.
func (o *SodPolicy) GetExternalPolicyReferenceOk() (*string, bool)
GetExternalPolicyReferenceOk returns a tuple with the ExternalPolicyReference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetExternalPolicyReference(v string)
SetExternalPolicyReference sets ExternalPolicyReference field to given value.
func (o *SodPolicy) HasExternalPolicyReference() bool
HasExternalPolicyReference returns a boolean if a field has been set.
func (o *SodPolicy) SetExternalPolicyReferenceNil(b bool)
SetExternalPolicyReferenceNil sets the value for ExternalPolicyReference to be an explicit nil
func (o *SodPolicy) UnsetExternalPolicyReference()
UnsetExternalPolicyReference ensures that no value is present for ExternalPolicyReference, not even an explicit nil
func (o *SodPolicy) GetPolicyQuery() string
GetPolicyQuery returns the PolicyQuery field if non-nil, zero value otherwise.
func (o *SodPolicy) GetPolicyQueryOk() (*string, bool)
GetPolicyQueryOk returns a tuple with the PolicyQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetPolicyQuery(v string)
SetPolicyQuery sets PolicyQuery field to given value.
func (o *SodPolicy) HasPolicyQuery() bool
HasPolicyQuery returns a boolean if a field has been set.
func (o *SodPolicy) GetCompensatingControls() string
GetCompensatingControls returns the CompensatingControls field if non-nil, zero value otherwise.
func (o *SodPolicy) GetCompensatingControlsOk() (*string, bool)
GetCompensatingControlsOk returns a tuple with the CompensatingControls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetCompensatingControls(v string)
SetCompensatingControls sets CompensatingControls field to given value.
func (o *SodPolicy) HasCompensatingControls() bool
HasCompensatingControls returns a boolean if a field has been set.
func (o *SodPolicy) SetCompensatingControlsNil(b bool)
SetCompensatingControlsNil sets the value for CompensatingControls to be an explicit nil
func (o *SodPolicy) UnsetCompensatingControls()
UnsetCompensatingControls ensures that no value is present for CompensatingControls, not even an explicit nil
func (o *SodPolicy) GetCorrectionAdvice() string
GetCorrectionAdvice returns the CorrectionAdvice field if non-nil, zero value otherwise.
func (o *SodPolicy) GetCorrectionAdviceOk() (*string, bool)
GetCorrectionAdviceOk returns a tuple with the CorrectionAdvice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetCorrectionAdvice(v string)
SetCorrectionAdvice sets CorrectionAdvice field to given value.
func (o *SodPolicy) HasCorrectionAdvice() bool
HasCorrectionAdvice returns a boolean if a field has been set.
func (o *SodPolicy) SetCorrectionAdviceNil(b bool)
SetCorrectionAdviceNil sets the value for CorrectionAdvice to be an explicit nil
func (o *SodPolicy) UnsetCorrectionAdvice()
UnsetCorrectionAdvice ensures that no value is present for CorrectionAdvice, not even an explicit nil
func (o *SodPolicy) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *SodPolicy) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetState(v string)
SetState sets State field to given value.
func (o *SodPolicy) HasState() bool
HasState returns a boolean if a field has been set.
func (o *SodPolicy) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *SodPolicy) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *SodPolicy) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *SodPolicy) GetCreatorId() string
GetCreatorId returns the CreatorId field if non-nil, zero value otherwise.
func (o *SodPolicy) GetCreatorIdOk() (*string, bool)
GetCreatorIdOk returns a tuple with the CreatorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetCreatorId(v string)
SetCreatorId sets CreatorId field to given value.
func (o *SodPolicy) HasCreatorId() bool
HasCreatorId returns a boolean if a field has been set.
func (o *SodPolicy) GetModifierId() string
GetModifierId returns the ModifierId field if non-nil, zero value otherwise.
func (o *SodPolicy) GetModifierIdOk() (*string, bool)
GetModifierIdOk returns a tuple with the ModifierId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetModifierId(v string)
SetModifierId sets ModifierId field to given value.
func (o *SodPolicy) HasModifierId() bool
HasModifierId returns a boolean if a field has been set.
func (o *SodPolicy) SetModifierIdNil(b bool)
SetModifierIdNil sets the value for ModifierId to be an explicit nil
func (o *SodPolicy) UnsetModifierId()
UnsetModifierId ensures that no value is present for ModifierId, not even an explicit nil
func (o *SodPolicy) GetViolationOwnerAssignmentConfig() ViolationOwnerAssignmentConfig
GetViolationOwnerAssignmentConfig returns the ViolationOwnerAssignmentConfig field if non-nil, zero value otherwise.
func (o *SodPolicy) GetViolationOwnerAssignmentConfigOk() (*ViolationOwnerAssignmentConfig, bool)
GetViolationOwnerAssignmentConfigOk returns a tuple with the ViolationOwnerAssignmentConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetViolationOwnerAssignmentConfig(v ViolationOwnerAssignmentConfig)
SetViolationOwnerAssignmentConfig sets ViolationOwnerAssignmentConfig field to given value.
func (o *SodPolicy) HasViolationOwnerAssignmentConfig() bool
HasViolationOwnerAssignmentConfig returns a boolean if a field has been set.
func (o *SodPolicy) GetScheduled() bool
GetScheduled returns the Scheduled field if non-nil, zero value otherwise.
func (o *SodPolicy) GetScheduledOk() (*bool, bool)
GetScheduledOk returns a tuple with the Scheduled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetScheduled(v bool)
SetScheduled sets Scheduled field to given value.
func (o *SodPolicy) HasScheduled() bool
HasScheduled returns a boolean if a field has been set.
func (o *SodPolicy) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SodPolicy) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetType(v string)
SetType sets Type field to given value.
func (o *SodPolicy) HasType() bool
HasType returns a boolean if a field has been set.
func (o *SodPolicy) GetConflictingAccessCriteria() SodPolicyConflictingAccessCriteria
GetConflictingAccessCriteria returns the ConflictingAccessCriteria field if non-nil, zero value otherwise.
func (o *SodPolicy) GetConflictingAccessCriteriaOk() (*SodPolicyConflictingAccessCriteria, bool)
GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SodPolicy) SetConflictingAccessCriteria(v SodPolicyConflictingAccessCriteria)
SetConflictingAccessCriteria sets ConflictingAccessCriteria field to given value.
func (o *SodPolicy) HasConflictingAccessCriteria() bool
HasConflictingAccessCriteria returns a boolean if a field has been set.