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 | string | ||
Name | string | ||
Type | string | Get type of device | [readonly] |
Confirmed | bool | ||
Created | time.Time | [readonly] | |
LastUpdated | time.Time | [readonly] | |
LastUsed | NullableTime | [readonly] | |
ExtraDescription | string | Get extra description | [readonly] |
func NewDevice(verboseName string, verboseNamePlural string, metaModelName string, pk string, name string, type_ string, confirmed bool, created time.Time, lastUpdated time.Time, lastUsed NullableTime, extraDescription string, ) *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
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
func (o *Device) GetVerboseName() string
GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.
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.
func (o *Device) SetVerboseName(v string)
SetVerboseName sets VerboseName field to given value.
func (o *Device) GetVerboseNamePlural() string
GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.
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.
func (o *Device) SetVerboseNamePlural(v string)
SetVerboseNamePlural sets VerboseNamePlural field to given value.
func (o *Device) GetMetaModelName() string
GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.
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.
func (o *Device) SetMetaModelName(v string)
SetMetaModelName sets MetaModelName field to given value.
func (o *Device) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *Device) GetPkOk() (*string, 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.
func (o *Device) SetPk(v string)
SetPk sets Pk field to given value.
func (o *Device) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Device) SetName(v string)
SetName sets Name field to given value.
func (o *Device) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *Device) SetType(v string)
SetType sets Type field to given value.
func (o *Device) GetConfirmed() bool
GetConfirmed returns the Confirmed field if non-nil, zero value otherwise.
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.
func (o *Device) SetConfirmed(v bool)
SetConfirmed sets Confirmed field to given value.
func (o *Device) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Device) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Device) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *Device) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *Device) GetLastUsed() time.Time
GetLastUsed returns the LastUsed field if non-nil, zero value otherwise.
func (o *Device) GetLastUsedOk() (*time.Time, bool)
GetLastUsedOk returns a tuple with the LastUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetLastUsed(v time.Time)
SetLastUsed sets LastUsed field to given value.
func (o *Device) SetLastUsedNil(b bool)
SetLastUsedNil sets the value for LastUsed to be an explicit nil
func (o *Device) UnsetLastUsed()
UnsetLastUsed ensures that no value is present for LastUsed, not even an explicit nil
func (o *Device) GetExtraDescription() string
GetExtraDescription returns the ExtraDescription field if non-nil, zero value otherwise.
func (o *Device) GetExtraDescriptionOk() (*string, bool)
GetExtraDescriptionOk returns a tuple with the ExtraDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetExtraDescription(v string)
SetExtraDescription sets ExtraDescription field to given value.