Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 4.49 KB

Device.md

File metadata and controls

177 lines (94 loc) · 4.49 KB

Device

Properties

Name Type Description Notes
VerboseName string Return object's verbose_name [readonly]
VerboseNamePlural string Return object's plural verbose_name [readonly]
MetaModelName string Return internal model name [readonly]
Pk int32
Name string
Type string Get type of device [readonly]
Confirmed bool

Methods

NewDevice

func NewDevice(verboseName string, verboseNamePlural string, metaModelName string, pk int32, name string, type_ string, confirmed bool, ) *Device

NewDevice instantiates a new Device 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

NewDeviceWithDefaults

func NewDeviceWithDefaults() *Device

NewDeviceWithDefaults instantiates a new Device 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

GetVerboseName

func (o *Device) GetVerboseName() string

GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.

GetVerboseNameOk

func (o *Device) GetVerboseNameOk() (*string, bool)

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

SetVerboseName

func (o *Device) SetVerboseName(v string)

SetVerboseName sets VerboseName field to given value.

GetVerboseNamePlural

func (o *Device) GetVerboseNamePlural() string

GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.

GetVerboseNamePluralOk

func (o *Device) GetVerboseNamePluralOk() (*string, bool)

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

SetVerboseNamePlural

func (o *Device) SetVerboseNamePlural(v string)

SetVerboseNamePlural sets VerboseNamePlural field to given value.

GetMetaModelName

func (o *Device) GetMetaModelName() string

GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.

GetMetaModelNameOk

func (o *Device) GetMetaModelNameOk() (*string, bool)

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

SetMetaModelName

func (o *Device) SetMetaModelName(v string)

SetMetaModelName sets MetaModelName field to given value.

GetPk

func (o *Device) GetPk() int32

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

func (o *Device) GetPkOk() (*int32, bool)

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

SetPk

func (o *Device) SetPk(v int32)

SetPk sets Pk field to given value.

GetName

func (o *Device) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Device) 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.

SetName

func (o *Device) SetName(v string)

SetName sets Name field to given value.

GetType

func (o *Device) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Device) 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.

SetType

func (o *Device) SetType(v string)

SetType sets Type field to given value.

GetConfirmed

func (o *Device) GetConfirmed() bool

GetConfirmed returns the Confirmed field if non-nil, zero value otherwise.

GetConfirmedOk

func (o *Device) GetConfirmedOk() (*bool, bool)

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

SetConfirmed

func (o *Device) SetConfirmed(v bool)

SetConfirmed sets Confirmed field to given value.

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