Skip to content

DeviceCapacity

Properties

Name Type Description Notes
AdoptedApNum Pointer to int32 Adopted AP num of controller [optional]
AdoptedOsgNum Pointer to int32 Adopted gateway num of controller [optional]
AdoptedOswNum Pointer to int32 Adopted switch num of controller [optional]
ApCapacity Pointer to int32 Ap capacity of controller [optional]
OsgCapacity Pointer to int32 Gateway capacity of controller [optional]
OswCapacity Pointer to int32 Switch capacity of controller [optional]

Methods

NewDeviceCapacity

func NewDeviceCapacity() *DeviceCapacity

NewDeviceCapacity instantiates a new DeviceCapacity 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

NewDeviceCapacityWithDefaults

func NewDeviceCapacityWithDefaults() *DeviceCapacity

NewDeviceCapacityWithDefaults instantiates a new DeviceCapacity 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

GetAdoptedApNum

func (o *DeviceCapacity) GetAdoptedApNum() int32

GetAdoptedApNum returns the AdoptedApNum field if non-nil, zero value otherwise.

GetAdoptedApNumOk

func (o *DeviceCapacity) GetAdoptedApNumOk() (*int32, bool)

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

SetAdoptedApNum

func (o *DeviceCapacity) SetAdoptedApNum(v int32)

SetAdoptedApNum sets AdoptedApNum field to given value.

HasAdoptedApNum

func (o *DeviceCapacity) HasAdoptedApNum() bool

HasAdoptedApNum returns a boolean if a field has been set.

GetAdoptedOsgNum

func (o *DeviceCapacity) GetAdoptedOsgNum() int32

GetAdoptedOsgNum returns the AdoptedOsgNum field if non-nil, zero value otherwise.

GetAdoptedOsgNumOk

func (o *DeviceCapacity) GetAdoptedOsgNumOk() (*int32, bool)

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

SetAdoptedOsgNum

func (o *DeviceCapacity) SetAdoptedOsgNum(v int32)

SetAdoptedOsgNum sets AdoptedOsgNum field to given value.

HasAdoptedOsgNum

func (o *DeviceCapacity) HasAdoptedOsgNum() bool

HasAdoptedOsgNum returns a boolean if a field has been set.

GetAdoptedOswNum

func (o *DeviceCapacity) GetAdoptedOswNum() int32

GetAdoptedOswNum returns the AdoptedOswNum field if non-nil, zero value otherwise.

GetAdoptedOswNumOk

func (o *DeviceCapacity) GetAdoptedOswNumOk() (*int32, bool)

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

SetAdoptedOswNum

func (o *DeviceCapacity) SetAdoptedOswNum(v int32)

SetAdoptedOswNum sets AdoptedOswNum field to given value.

HasAdoptedOswNum

func (o *DeviceCapacity) HasAdoptedOswNum() bool

HasAdoptedOswNum returns a boolean if a field has been set.

GetApCapacity

func (o *DeviceCapacity) GetApCapacity() int32

GetApCapacity returns the ApCapacity field if non-nil, zero value otherwise.

GetApCapacityOk

func (o *DeviceCapacity) GetApCapacityOk() (*int32, bool)

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

SetApCapacity

func (o *DeviceCapacity) SetApCapacity(v int32)

SetApCapacity sets ApCapacity field to given value.

HasApCapacity

func (o *DeviceCapacity) HasApCapacity() bool

HasApCapacity returns a boolean if a field has been set.

GetOsgCapacity

func (o *DeviceCapacity) GetOsgCapacity() int32

GetOsgCapacity returns the OsgCapacity field if non-nil, zero value otherwise.

GetOsgCapacityOk

func (o *DeviceCapacity) GetOsgCapacityOk() (*int32, bool)

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

SetOsgCapacity

func (o *DeviceCapacity) SetOsgCapacity(v int32)

SetOsgCapacity sets OsgCapacity field to given value.

HasOsgCapacity

func (o *DeviceCapacity) HasOsgCapacity() bool

HasOsgCapacity returns a boolean if a field has been set.

GetOswCapacity

func (o *DeviceCapacity) GetOswCapacity() int32

GetOswCapacity returns the OswCapacity field if non-nil, zero value otherwise.

GetOswCapacityOk

func (o *DeviceCapacity) GetOswCapacityOk() (*int32, bool)

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

SetOswCapacity

func (o *DeviceCapacity) SetOswCapacity(v int32)

SetOswCapacity sets OswCapacity field to given value.

HasOswCapacity

func (o *DeviceCapacity) HasOswCapacity() bool

HasOswCapacity returns a boolean if a field has been set.

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