Skip to content

Latest commit

 

History

History
executable file
·
420 lines (227 loc) · 15 KB

DeviceInterfaceAddInput.md

File metadata and controls

executable file
·
420 lines (227 loc) · 15 KB

DeviceInterfaceAddInput

Properties

Name Type Description Notes
DeviceId Pointer to int32 The database identifier (ID) of the Device Manager device, a unique numeric key value automatically incremented when you add a device. Use the ID to specify the device of your choice. [optional]
DeviceName Pointer to string The name of the Device Manager device. [optional]
InterfaceAddr Pointer to string The IP addresses you want to associate with the Device Manager port or interface, as follows <b>&lt;ip4_list&gt;,&lt;ip6_list&gt;</b>. [optional]
InterfaceMac Pointer to string The MAC address you want to associate with the Device Manager port or interface. [optional]
InterfaceName Pointer to string The name of the Device Manager port or interface, each port or interface must have a unique name. [optional]
InterfaceType Pointer to string A way to indicate if the object is either a <b>port</b> or an <b>interface</b>. [optional]
InterfaceIp4List Pointer to string The list of IPv4 addresses you want to associate to the Device Manager port or interface, in hexadecimal format, as follows: <b>&lt;ip_address&gt;, &lt;ip_address&gt;,...</b> [optional]
InterfaceAddress6List Pointer to string todo(here) :device.interface.add.input.interface_address6_list. : List of strings [optional]
PortId Pointer to int32 The database identifier (ID) of a NetChange port you want to associate with the Device Manager port or interface. [optional]
RowState Pointer to int32 The object activation status.<ul class=dashed ><li> If set to <b>0</b>, the object is present in the database but ignored, i.e. it cannot be managed, counted or listed. This status is applied on objects deleted from the GUI.<br/> </li><li> If set to <b>1</b>, the object is enabled and managed.<br/> </li><li> If set to <b>2</b>, the object is unmanaged, disabled or both depending on the context.<br/> </li></ul>By default, <b>row_enabled</b> is set to <b>1</b> when an object is created. [optional]
SpaceId Pointer to int32 The database identifier (ID) of a space you want to associate with the Device Manager port or interface. [optional]
ClassParametersToDelete Pointer to []string class parameters you want to delete from the object [optional]
InterfaceClassName Pointer to string The name of the class to apply to the object you are adding. You must specify the class file directory, e.g. <b>my_directory/my_class.class</b> . You cannot use the classes <b>global</b> and <b>default</b>, they are reserved by the system. [optional]
InterfaceClassParameters Pointer to []ApiClassParameterInputEntry class parameters in json format [optional]
Warnings Pointer to string A way to bypass <b>(accept) </b>any enabled rule that would return warning messages. If the service returns an error message, you cannot bypass the enabled rules. [optional]

Methods

NewDeviceInterfaceAddInput

func NewDeviceInterfaceAddInput() *DeviceInterfaceAddInput

NewDeviceInterfaceAddInput instantiates a new DeviceInterfaceAddInput 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

NewDeviceInterfaceAddInputWithDefaults

func NewDeviceInterfaceAddInputWithDefaults() *DeviceInterfaceAddInput

NewDeviceInterfaceAddInputWithDefaults instantiates a new DeviceInterfaceAddInput 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

GetDeviceId

func (o *DeviceInterfaceAddInput) GetDeviceId() int32

GetDeviceId returns the DeviceId field if non-nil, zero value otherwise.

GetDeviceIdOk

func (o *DeviceInterfaceAddInput) GetDeviceIdOk() (*int32, bool)

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

SetDeviceId

func (o *DeviceInterfaceAddInput) SetDeviceId(v int32)

SetDeviceId sets DeviceId field to given value.

HasDeviceId

func (o *DeviceInterfaceAddInput) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

GetDeviceName

func (o *DeviceInterfaceAddInput) GetDeviceName() string

GetDeviceName returns the DeviceName field if non-nil, zero value otherwise.

GetDeviceNameOk

func (o *DeviceInterfaceAddInput) GetDeviceNameOk() (*string, bool)

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

SetDeviceName

func (o *DeviceInterfaceAddInput) SetDeviceName(v string)

SetDeviceName sets DeviceName field to given value.

HasDeviceName

func (o *DeviceInterfaceAddInput) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

GetInterfaceAddr

func (o *DeviceInterfaceAddInput) GetInterfaceAddr() string

GetInterfaceAddr returns the InterfaceAddr field if non-nil, zero value otherwise.

GetInterfaceAddrOk

func (o *DeviceInterfaceAddInput) GetInterfaceAddrOk() (*string, bool)

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

SetInterfaceAddr

func (o *DeviceInterfaceAddInput) SetInterfaceAddr(v string)

SetInterfaceAddr sets InterfaceAddr field to given value.

HasInterfaceAddr

func (o *DeviceInterfaceAddInput) HasInterfaceAddr() bool

HasInterfaceAddr returns a boolean if a field has been set.

GetInterfaceMac

func (o *DeviceInterfaceAddInput) GetInterfaceMac() string

GetInterfaceMac returns the InterfaceMac field if non-nil, zero value otherwise.

GetInterfaceMacOk

func (o *DeviceInterfaceAddInput) GetInterfaceMacOk() (*string, bool)

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

SetInterfaceMac

func (o *DeviceInterfaceAddInput) SetInterfaceMac(v string)

SetInterfaceMac sets InterfaceMac field to given value.

HasInterfaceMac

func (o *DeviceInterfaceAddInput) HasInterfaceMac() bool

HasInterfaceMac returns a boolean if a field has been set.

GetInterfaceName

func (o *DeviceInterfaceAddInput) GetInterfaceName() string

GetInterfaceName returns the InterfaceName field if non-nil, zero value otherwise.

GetInterfaceNameOk

func (o *DeviceInterfaceAddInput) GetInterfaceNameOk() (*string, bool)

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

SetInterfaceName

func (o *DeviceInterfaceAddInput) SetInterfaceName(v string)

SetInterfaceName sets InterfaceName field to given value.

HasInterfaceName

func (o *DeviceInterfaceAddInput) HasInterfaceName() bool

HasInterfaceName returns a boolean if a field has been set.

GetInterfaceType

func (o *DeviceInterfaceAddInput) GetInterfaceType() string

GetInterfaceType returns the InterfaceType field if non-nil, zero value otherwise.

GetInterfaceTypeOk

func (o *DeviceInterfaceAddInput) GetInterfaceTypeOk() (*string, bool)

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

SetInterfaceType

func (o *DeviceInterfaceAddInput) SetInterfaceType(v string)

SetInterfaceType sets InterfaceType field to given value.

HasInterfaceType

func (o *DeviceInterfaceAddInput) HasInterfaceType() bool

HasInterfaceType returns a boolean if a field has been set.

GetInterfaceIp4List

func (o *DeviceInterfaceAddInput) GetInterfaceIp4List() string

GetInterfaceIp4List returns the InterfaceIp4List field if non-nil, zero value otherwise.

GetInterfaceIp4ListOk

func (o *DeviceInterfaceAddInput) GetInterfaceIp4ListOk() (*string, bool)

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

SetInterfaceIp4List

func (o *DeviceInterfaceAddInput) SetInterfaceIp4List(v string)

SetInterfaceIp4List sets InterfaceIp4List field to given value.

HasInterfaceIp4List

func (o *DeviceInterfaceAddInput) HasInterfaceIp4List() bool

HasInterfaceIp4List returns a boolean if a field has been set.

GetInterfaceAddress6List

func (o *DeviceInterfaceAddInput) GetInterfaceAddress6List() string

GetInterfaceAddress6List returns the InterfaceAddress6List field if non-nil, zero value otherwise.

GetInterfaceAddress6ListOk

func (o *DeviceInterfaceAddInput) GetInterfaceAddress6ListOk() (*string, bool)

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

SetInterfaceAddress6List

func (o *DeviceInterfaceAddInput) SetInterfaceAddress6List(v string)

SetInterfaceAddress6List sets InterfaceAddress6List field to given value.

HasInterfaceAddress6List

func (o *DeviceInterfaceAddInput) HasInterfaceAddress6List() bool

HasInterfaceAddress6List returns a boolean if a field has been set.

GetPortId

func (o *DeviceInterfaceAddInput) GetPortId() int32

GetPortId returns the PortId field if non-nil, zero value otherwise.

GetPortIdOk

func (o *DeviceInterfaceAddInput) GetPortIdOk() (*int32, bool)

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

SetPortId

func (o *DeviceInterfaceAddInput) SetPortId(v int32)

SetPortId sets PortId field to given value.

HasPortId

func (o *DeviceInterfaceAddInput) HasPortId() bool

HasPortId returns a boolean if a field has been set.

GetRowState

func (o *DeviceInterfaceAddInput) GetRowState() int32

GetRowState returns the RowState field if non-nil, zero value otherwise.

GetRowStateOk

func (o *DeviceInterfaceAddInput) GetRowStateOk() (*int32, bool)

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

SetRowState

func (o *DeviceInterfaceAddInput) SetRowState(v int32)

SetRowState sets RowState field to given value.

HasRowState

func (o *DeviceInterfaceAddInput) HasRowState() bool

HasRowState returns a boolean if a field has been set.

GetSpaceId

func (o *DeviceInterfaceAddInput) GetSpaceId() int32

GetSpaceId returns the SpaceId field if non-nil, zero value otherwise.

GetSpaceIdOk

func (o *DeviceInterfaceAddInput) GetSpaceIdOk() (*int32, bool)

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

SetSpaceId

func (o *DeviceInterfaceAddInput) SetSpaceId(v int32)

SetSpaceId sets SpaceId field to given value.

HasSpaceId

func (o *DeviceInterfaceAddInput) HasSpaceId() bool

HasSpaceId returns a boolean if a field has been set.

GetClassParametersToDelete

func (o *DeviceInterfaceAddInput) GetClassParametersToDelete() []string

GetClassParametersToDelete returns the ClassParametersToDelete field if non-nil, zero value otherwise.

GetClassParametersToDeleteOk

func (o *DeviceInterfaceAddInput) GetClassParametersToDeleteOk() (*[]string, bool)

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

SetClassParametersToDelete

func (o *DeviceInterfaceAddInput) SetClassParametersToDelete(v []string)

SetClassParametersToDelete sets ClassParametersToDelete field to given value.

HasClassParametersToDelete

func (o *DeviceInterfaceAddInput) HasClassParametersToDelete() bool

HasClassParametersToDelete returns a boolean if a field has been set.

GetInterfaceClassName

func (o *DeviceInterfaceAddInput) GetInterfaceClassName() string

GetInterfaceClassName returns the InterfaceClassName field if non-nil, zero value otherwise.

GetInterfaceClassNameOk

func (o *DeviceInterfaceAddInput) GetInterfaceClassNameOk() (*string, bool)

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

SetInterfaceClassName

func (o *DeviceInterfaceAddInput) SetInterfaceClassName(v string)

SetInterfaceClassName sets InterfaceClassName field to given value.

HasInterfaceClassName

func (o *DeviceInterfaceAddInput) HasInterfaceClassName() bool

HasInterfaceClassName returns a boolean if a field has been set.

GetInterfaceClassParameters

func (o *DeviceInterfaceAddInput) GetInterfaceClassParameters() []ApiClassParameterInputEntry

GetInterfaceClassParameters returns the InterfaceClassParameters field if non-nil, zero value otherwise.

GetInterfaceClassParametersOk

func (o *DeviceInterfaceAddInput) GetInterfaceClassParametersOk() (*[]ApiClassParameterInputEntry, bool)

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

SetInterfaceClassParameters

func (o *DeviceInterfaceAddInput) SetInterfaceClassParameters(v []ApiClassParameterInputEntry)

SetInterfaceClassParameters sets InterfaceClassParameters field to given value.

HasInterfaceClassParameters

func (o *DeviceInterfaceAddInput) HasInterfaceClassParameters() bool

HasInterfaceClassParameters returns a boolean if a field has been set.

GetWarnings

func (o *DeviceInterfaceAddInput) GetWarnings() string

GetWarnings returns the Warnings field if non-nil, zero value otherwise.

GetWarningsOk

func (o *DeviceInterfaceAddInput) GetWarningsOk() (*string, bool)

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

SetWarnings

func (o *DeviceInterfaceAddInput) SetWarnings(v string)

SetWarnings sets Warnings field to given value.

HasWarnings

func (o *DeviceInterfaceAddInput) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

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