SwitchCustomDHCPOptions
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Code | Pointer to int32 | Custom DHCP option code | [optional] |
| Type | Pointer to int32 | Type should be a value as follows: 0: \"Hex Array\"; 1: \"String\"; 2: \"IP Address\" | [optional] |
| Value | Pointer to string | Value | [optional] |
Methods
NewSwitchCustomDHCPOptions
func NewSwitchCustomDHCPOptions() *SwitchCustomDHCPOptions
NewSwitchCustomDHCPOptions instantiates a new SwitchCustomDHCPOptions 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
NewSwitchCustomDHCPOptionsWithDefaults
func NewSwitchCustomDHCPOptionsWithDefaults() *SwitchCustomDHCPOptions
NewSwitchCustomDHCPOptionsWithDefaults instantiates a new SwitchCustomDHCPOptions 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
GetCode
func (o *SwitchCustomDHCPOptions) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *SwitchCustomDHCPOptions) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCode
func (o *SwitchCustomDHCPOptions) SetCode(v int32)
SetCode sets Code field to given value.
HasCode
func (o *SwitchCustomDHCPOptions) HasCode() bool
HasCode returns a boolean if a field has been set.
GetType
func (o *SwitchCustomDHCPOptions) GetType() int32
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *SwitchCustomDHCPOptions) GetTypeOk() (*int32, 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 *SwitchCustomDHCPOptions) SetType(v int32)
SetType sets Type field to given value.
HasType
func (o *SwitchCustomDHCPOptions) HasType() bool
HasType returns a boolean if a field has been set.
GetValue
func (o *SwitchCustomDHCPOptions) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
GetValueOk
func (o *SwitchCustomDHCPOptions) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValue
func (o *SwitchCustomDHCPOptions) SetValue(v string)
SetValue sets Value field to given value.
HasValue
func (o *SwitchCustomDHCPOptions) HasValue() bool
HasValue returns a boolean if a field has been set.