Name | Type | Description | Notes |
---|---|---|---|
ClassId | string | The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. | [default to "deviceconnector.Policy"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "deviceconnector.Policy"] |
LockoutEnabled | Pointer to bool | Enables configuration lockout on the endpoint. | [optional] [default to true] |
Organization | Pointer to NullableOrganizationOrganizationRelationship | [optional] | |
Profiles | Pointer to []PolicyAbstractConfigProfileRelationship | An array of relationships to policyAbstractConfigProfile resources. | [optional] |
func NewDeviceconnectorPolicy(classId string, objectType string, ) *DeviceconnectorPolicy
NewDeviceconnectorPolicy instantiates a new DeviceconnectorPolicy 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 NewDeviceconnectorPolicyWithDefaults() *DeviceconnectorPolicy
NewDeviceconnectorPolicyWithDefaults instantiates a new DeviceconnectorPolicy 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 *DeviceconnectorPolicy) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *DeviceconnectorPolicy) GetClassIdOk() (*string, bool)
GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceconnectorPolicy) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *DeviceconnectorPolicy) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *DeviceconnectorPolicy) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceconnectorPolicy) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *DeviceconnectorPolicy) GetLockoutEnabled() bool
GetLockoutEnabled returns the LockoutEnabled field if non-nil, zero value otherwise.
func (o *DeviceconnectorPolicy) GetLockoutEnabledOk() (*bool, bool)
GetLockoutEnabledOk returns a tuple with the LockoutEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceconnectorPolicy) SetLockoutEnabled(v bool)
SetLockoutEnabled sets LockoutEnabled field to given value.
func (o *DeviceconnectorPolicy) HasLockoutEnabled() bool
HasLockoutEnabled returns a boolean if a field has been set.
func (o *DeviceconnectorPolicy) GetOrganization() OrganizationOrganizationRelationship
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *DeviceconnectorPolicy) GetOrganizationOk() (*OrganizationOrganizationRelationship, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceconnectorPolicy) SetOrganization(v OrganizationOrganizationRelationship)
SetOrganization sets Organization field to given value.
func (o *DeviceconnectorPolicy) HasOrganization() bool
HasOrganization returns a boolean if a field has been set.
func (o *DeviceconnectorPolicy) SetOrganizationNil(b bool)
SetOrganizationNil sets the value for Organization to be an explicit nil
func (o *DeviceconnectorPolicy) UnsetOrganization()
UnsetOrganization ensures that no value is present for Organization, not even an explicit nil
func (o *DeviceconnectorPolicy) GetProfiles() []PolicyAbstractConfigProfileRelationship
GetProfiles returns the Profiles field if non-nil, zero value otherwise.
func (o *DeviceconnectorPolicy) GetProfilesOk() (*[]PolicyAbstractConfigProfileRelationship, bool)
GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceconnectorPolicy) SetProfiles(v []PolicyAbstractConfigProfileRelationship)
SetProfiles sets Profiles field to given value.
func (o *DeviceconnectorPolicy) HasProfiles() bool
HasProfiles returns a boolean if a field has been set.
func (o *DeviceconnectorPolicy) SetProfilesNil(b bool)
SetProfilesNil sets the value for Profiles to be an explicit nil
func (o *DeviceconnectorPolicy) UnsetProfiles()
UnsetProfiles ensures that no value is present for Profiles, not even an explicit nil