Name | Type | Description | Notes |
---|---|---|---|
AccessCodes | Pointer to []string | Access codes assigned to Security Policy | [optional] |
CreatedTime | Pointer to time.Time | The time when this Security Policy object was created. | [optional] [readonly] |
DefaultAction | Pointer to string | The policy-level action gets applied when none of the policy rules apply/match. The default value for default_action is "action_allow". | [optional] |
DefaultRedirectName | Pointer to string | Name of the custom redirect, if the default_action is "action_redirect". | [optional] |
Description | Pointer to string | The brief description for the security policy. | [optional] |
DfpServices | Pointer to []string | The list of DNS Forwarding Proxy Services object identifiers. For Internal Use only. | [optional] |
Dfps | Pointer to []int32 | The list of DNS Forwarding Proxy object identifiers. | [optional] |
Ecs | Pointer to bool | Use ECS for handling policy | [optional] |
Id | Pointer to int32 | The Security Policy object identifier. | [optional] [readonly] |
IsDefault | Pointer to bool | Flag that indicates whether this is a default security policy. | [optional] [readonly] |
Name | Pointer to string | The name of the security policy. | [optional] |
NetAddressDfps | Pointer to []NetAddrDfpAssignment | List of DFPs associated with this policy via network address (with corresponding network address) | [optional] |
NetworkLists | Pointer to []int64 | The list of Network Lists identifiers that represents networks that you want to protect from malicious attacks. | [optional] |
OnpremResolve | Pointer to bool | Use DNS resolve on onprem side | [optional] |
Precedence | Pointer to int32 | Security precedence enable selection of the highest priority policy, in cases where a query matches multiple policies. | [optional] |
RoamingDeviceGroups | Pointer to []int32 | The list of BloxOne Endpoint groups identifiers. | [optional] |
Rules | Pointer to []SecurityPolicyRule | The list of Security Policy Rules objects that represent the set of rules and actions that you define to balance access and constraints so you can mitigate malicious attacks and provide security for your networks. | [optional] |
SafeSearch | Pointer to bool | Apply automated rules to enforce safe search | [optional] |
Tags | Pointer to map[string]interface{} | Enables tag support for resource where tags attribute contains user-defined key value pairs | [optional] |
UpdatedTime | Pointer to time.Time | The time when this Security Policy object was last updated. | [optional] [readonly] |
UserGroups | Pointer to []string | List of user groups associated with this policy | [optional] |
func NewSecurityPolicy() *SecurityPolicy
NewSecurityPolicy instantiates a new SecurityPolicy 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 NewSecurityPolicyWithDefaults() *SecurityPolicy
NewSecurityPolicyWithDefaults instantiates a new SecurityPolicy 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 *SecurityPolicy) GetAccessCodes() []string
GetAccessCodes returns the AccessCodes field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetAccessCodesOk() (*[]string, bool)
GetAccessCodesOk returns a tuple with the AccessCodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetAccessCodes(v []string)
SetAccessCodes sets AccessCodes field to given value.
func (o *SecurityPolicy) HasAccessCodes() bool
HasAccessCodes returns a boolean if a field has been set.
func (o *SecurityPolicy) GetCreatedTime() time.Time
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetCreatedTimeOk() (*time.Time, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetCreatedTime(v time.Time)
SetCreatedTime sets CreatedTime field to given value.
func (o *SecurityPolicy) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
func (o *SecurityPolicy) GetDefaultAction() string
GetDefaultAction returns the DefaultAction field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetDefaultActionOk() (*string, bool)
GetDefaultActionOk returns a tuple with the DefaultAction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetDefaultAction(v string)
SetDefaultAction sets DefaultAction field to given value.
func (o *SecurityPolicy) HasDefaultAction() bool
HasDefaultAction returns a boolean if a field has been set.
func (o *SecurityPolicy) GetDefaultRedirectName() string
GetDefaultRedirectName returns the DefaultRedirectName field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetDefaultRedirectNameOk() (*string, bool)
GetDefaultRedirectNameOk returns a tuple with the DefaultRedirectName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetDefaultRedirectName(v string)
SetDefaultRedirectName sets DefaultRedirectName field to given value.
func (o *SecurityPolicy) HasDefaultRedirectName() bool
HasDefaultRedirectName returns a boolean if a field has been set.
func (o *SecurityPolicy) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SecurityPolicy) 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 *SecurityPolicy) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SecurityPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SecurityPolicy) GetDfpServices() []string
GetDfpServices returns the DfpServices field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetDfpServicesOk() (*[]string, bool)
GetDfpServicesOk returns a tuple with the DfpServices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetDfpServices(v []string)
SetDfpServices sets DfpServices field to given value.
func (o *SecurityPolicy) HasDfpServices() bool
HasDfpServices returns a boolean if a field has been set.
func (o *SecurityPolicy) GetDfps() []int32
GetDfps returns the Dfps field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetDfpsOk() (*[]int32, bool)
GetDfpsOk returns a tuple with the Dfps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetDfps(v []int32)
SetDfps sets Dfps field to given value.
func (o *SecurityPolicy) HasDfps() bool
HasDfps returns a boolean if a field has been set.
func (o *SecurityPolicy) GetEcs() bool
GetEcs returns the Ecs field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetEcsOk() (*bool, bool)
GetEcsOk returns a tuple with the Ecs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetEcs(v bool)
SetEcs sets Ecs field to given value.
func (o *SecurityPolicy) HasEcs() bool
HasEcs returns a boolean if a field has been set.
func (o *SecurityPolicy) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetIdOk() (*int32, 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 *SecurityPolicy) SetId(v int32)
SetId sets Id field to given value.
func (o *SecurityPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (o *SecurityPolicy) GetIsDefault() bool
GetIsDefault returns the IsDefault field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetIsDefault(v bool)
SetIsDefault sets IsDefault field to given value.
func (o *SecurityPolicy) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (o *SecurityPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SecurityPolicy) 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 *SecurityPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *SecurityPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SecurityPolicy) GetNetAddressDfps() []NetAddrDfpAssignment
GetNetAddressDfps returns the NetAddressDfps field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetNetAddressDfpsOk() (*[]NetAddrDfpAssignment, bool)
GetNetAddressDfpsOk returns a tuple with the NetAddressDfps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetNetAddressDfps(v []NetAddrDfpAssignment)
SetNetAddressDfps sets NetAddressDfps field to given value.
func (o *SecurityPolicy) HasNetAddressDfps() bool
HasNetAddressDfps returns a boolean if a field has been set.
func (o *SecurityPolicy) GetNetworkLists() []int64
GetNetworkLists returns the NetworkLists field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetNetworkListsOk() (*[]int64, bool)
GetNetworkListsOk returns a tuple with the NetworkLists field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetNetworkLists(v []int64)
SetNetworkLists sets NetworkLists field to given value.
func (o *SecurityPolicy) HasNetworkLists() bool
HasNetworkLists returns a boolean if a field has been set.
func (o *SecurityPolicy) GetOnpremResolve() bool
GetOnpremResolve returns the OnpremResolve field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetOnpremResolveOk() (*bool, bool)
GetOnpremResolveOk returns a tuple with the OnpremResolve field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetOnpremResolve(v bool)
SetOnpremResolve sets OnpremResolve field to given value.
func (o *SecurityPolicy) HasOnpremResolve() bool
HasOnpremResolve returns a boolean if a field has been set.
func (o *SecurityPolicy) GetPrecedence() int32
GetPrecedence returns the Precedence field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetPrecedenceOk() (*int32, bool)
GetPrecedenceOk returns a tuple with the Precedence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetPrecedence(v int32)
SetPrecedence sets Precedence field to given value.
func (o *SecurityPolicy) HasPrecedence() bool
HasPrecedence returns a boolean if a field has been set.
func (o *SecurityPolicy) GetRoamingDeviceGroups() []int32
GetRoamingDeviceGroups returns the RoamingDeviceGroups field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetRoamingDeviceGroupsOk() (*[]int32, bool)
GetRoamingDeviceGroupsOk returns a tuple with the RoamingDeviceGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetRoamingDeviceGroups(v []int32)
SetRoamingDeviceGroups sets RoamingDeviceGroups field to given value.
func (o *SecurityPolicy) HasRoamingDeviceGroups() bool
HasRoamingDeviceGroups returns a boolean if a field has been set.
func (o *SecurityPolicy) GetRules() []SecurityPolicyRule
GetRules returns the Rules field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetRulesOk() (*[]SecurityPolicyRule, bool)
GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetRules(v []SecurityPolicyRule)
SetRules sets Rules field to given value.
func (o *SecurityPolicy) HasRules() bool
HasRules returns a boolean if a field has been set.
func (o *SecurityPolicy) GetSafeSearch() bool
GetSafeSearch returns the SafeSearch field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetSafeSearchOk() (*bool, bool)
GetSafeSearchOk returns a tuple with the SafeSearch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetSafeSearch(v bool)
SetSafeSearch sets SafeSearch field to given value.
func (o *SecurityPolicy) HasSafeSearch() bool
HasSafeSearch returns a boolean if a field has been set.
func (o *SecurityPolicy) GetTags() map[string]interface{}
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetTagsOk() (*map[string]interface{}, 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 *SecurityPolicy) SetTags(v map[string]interface{})
SetTags sets Tags field to given value.
func (o *SecurityPolicy) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *SecurityPolicy) GetUpdatedTime() time.Time
GetUpdatedTime returns the UpdatedTime field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetUpdatedTimeOk() (*time.Time, bool)
GetUpdatedTimeOk returns a tuple with the UpdatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetUpdatedTime(v time.Time)
SetUpdatedTime sets UpdatedTime field to given value.
func (o *SecurityPolicy) HasUpdatedTime() bool
HasUpdatedTime returns a boolean if a field has been set.
func (o *SecurityPolicy) GetUserGroups() []string
GetUserGroups returns the UserGroups field if non-nil, zero value otherwise.
func (o *SecurityPolicy) GetUserGroupsOk() (*[]string, bool)
GetUserGroupsOk returns a tuple with the UserGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityPolicy) SetUserGroups(v []string)
SetUserGroups sets UserGroups field to given value.
func (o *SecurityPolicy) HasUserGroups() bool
HasUserGroups returns a boolean if a field has been set.