Skip to main content

DeviceOwners

Properties​

NameTypeDescriptionNotes
PrimaryPointer to DeviceOwnersPrimary[optional]
SecondaryPointer to []BaseReferenceDtoAdditional owners. Entries are either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. Governance-group owners appear here with type GOVERNANCE_GROUP.[optional]

Methods​

NewDeviceOwners​

func NewDeviceOwners() *DeviceOwners

NewDeviceOwners instantiates a new DeviceOwners 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

NewDeviceOwnersWithDefaults​

func NewDeviceOwnersWithDefaults() *DeviceOwners

NewDeviceOwnersWithDefaults instantiates a new DeviceOwners 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

GetPrimary​

func (o *DeviceOwners) GetPrimary() DeviceOwnersPrimary

GetPrimary returns the Primary field if non-nil, zero value otherwise.

GetPrimaryOk​

func (o *DeviceOwners) GetPrimaryOk() (*DeviceOwnersPrimary, bool)

GetPrimaryOk returns a tuple with the Primary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPrimary​

func (o *DeviceOwners) SetPrimary(v DeviceOwnersPrimary)

SetPrimary sets Primary field to given value.

HasPrimary​

func (o *DeviceOwners) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

GetSecondary​

func (o *DeviceOwners) GetSecondary() []BaseReferenceDto

GetSecondary returns the Secondary field if non-nil, zero value otherwise.

GetSecondaryOk​

func (o *DeviceOwners) GetSecondaryOk() (*[]BaseReferenceDto, bool)

GetSecondaryOk returns a tuple with the Secondary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSecondary​

func (o *DeviceOwners) SetSecondary(v []BaseReferenceDto)

SetSecondary sets Secondary field to given value.

HasSecondary​

func (o *DeviceOwners) HasSecondary() bool

HasSecondary returns a boolean if a field has been set.