Skip to content

Latest commit

 

History

History
170 lines (93 loc) · 5.7 KB

DeviceconnectorPolicy.md

File metadata and controls

170 lines (93 loc) · 5.7 KB

DeviceconnectorPolicy

Properties

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]

Methods

NewDeviceconnectorPolicy

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

NewDeviceconnectorPolicyWithDefaults

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

GetClassId

func (o *DeviceconnectorPolicy) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

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.

SetClassId

func (o *DeviceconnectorPolicy) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *DeviceconnectorPolicy) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

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.

SetObjectType

func (o *DeviceconnectorPolicy) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetLockoutEnabled

func (o *DeviceconnectorPolicy) GetLockoutEnabled() bool

GetLockoutEnabled returns the LockoutEnabled field if non-nil, zero value otherwise.

GetLockoutEnabledOk

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.

SetLockoutEnabled

func (o *DeviceconnectorPolicy) SetLockoutEnabled(v bool)

SetLockoutEnabled sets LockoutEnabled field to given value.

HasLockoutEnabled

func (o *DeviceconnectorPolicy) HasLockoutEnabled() bool

HasLockoutEnabled returns a boolean if a field has been set.

GetOrganization

func (o *DeviceconnectorPolicy) GetOrganization() OrganizationOrganizationRelationship

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

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.

SetOrganization

func (o *DeviceconnectorPolicy) SetOrganization(v OrganizationOrganizationRelationship)

SetOrganization sets Organization field to given value.

HasOrganization

func (o *DeviceconnectorPolicy) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

SetOrganizationNil

func (o *DeviceconnectorPolicy) SetOrganizationNil(b bool)

SetOrganizationNil sets the value for Organization to be an explicit nil

UnsetOrganization

func (o *DeviceconnectorPolicy) UnsetOrganization()

UnsetOrganization ensures that no value is present for Organization, not even an explicit nil

GetProfiles

func (o *DeviceconnectorPolicy) GetProfiles() []PolicyAbstractConfigProfileRelationship

GetProfiles returns the Profiles field if non-nil, zero value otherwise.

GetProfilesOk

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.

SetProfiles

func (o *DeviceconnectorPolicy) SetProfiles(v []PolicyAbstractConfigProfileRelationship)

SetProfiles sets Profiles field to given value.

HasProfiles

func (o *DeviceconnectorPolicy) HasProfiles() bool

HasProfiles returns a boolean if a field has been set.

SetProfilesNil

func (o *DeviceconnectorPolicy) SetProfilesNil(b bool)

SetProfilesNil sets the value for Profiles to be an explicit nil

UnsetProfiles

func (o *DeviceconnectorPolicy) UnsetProfiles()

UnsetProfiles ensures that no value is present for Profiles, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]