Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.29 KB

DuoDevice.md

File metadata and controls

93 lines (50 loc) · 2.29 KB

DuoDevice

Properties

Name Type Description Notes
Pk int32 [readonly]
Name string The human-readable name of this device.
User GroupMember [readonly]

Methods

NewDuoDevice

func NewDuoDevice(pk int32, name string, user GroupMember, ) *DuoDevice

NewDuoDevice instantiates a new DuoDevice 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

NewDuoDeviceWithDefaults

func NewDuoDeviceWithDefaults() *DuoDevice

NewDuoDeviceWithDefaults instantiates a new DuoDevice 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

GetPk

func (o *DuoDevice) GetPk() int32

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

GetPkOk

func (o *DuoDevice) 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 *DuoDevice) SetPk(v int32)

SetPk sets Pk field to given value.

GetName

func (o *DuoDevice) GetName() string

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

GetNameOk

func (o *DuoDevice) 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 *DuoDevice) SetName(v string)

SetName sets Name field to given value.

GetUser

func (o *DuoDevice) GetUser() GroupMember

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *DuoDevice) GetUserOk() (*GroupMember, bool)

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

SetUser

func (o *DuoDevice) SetUser(v GroupMember)

SetUser sets User field to given value.

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