Name | Type | Description | Notes |
---|---|---|---|
DeviceNameOrId | Pointer to NullableString | `DEPRECATED. Use <see cref='NetworkDeviceNameOrId'/>.` The name or Id of the network. Required. | [optional] |
NetworkDeviceNameOrId | Pointer to NullableString | The name or Id of the network device. | [optional] |
NetworkPath | string | The path in the resource pool to the virtual network that the device should be attached to. This must be a path to a Network item in the resource pool to which the Machine Catalog is associated. |
func NewNetworkMapRequestModel(networkPath string, ) *NetworkMapRequestModel
NewNetworkMapRequestModel instantiates a new NetworkMapRequestModel 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 NewNetworkMapRequestModelWithDefaults() *NetworkMapRequestModel
NewNetworkMapRequestModelWithDefaults instantiates a new NetworkMapRequestModel 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 *NetworkMapRequestModel) GetDeviceNameOrId() string
GetDeviceNameOrId returns the DeviceNameOrId field if non-nil, zero value otherwise.
func (o *NetworkMapRequestModel) GetDeviceNameOrIdOk() (*string, bool)
GetDeviceNameOrIdOk returns a tuple with the DeviceNameOrId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkMapRequestModel) SetDeviceNameOrId(v string)
SetDeviceNameOrId sets DeviceNameOrId field to given value.
func (o *NetworkMapRequestModel) HasDeviceNameOrId() bool
HasDeviceNameOrId returns a boolean if a field has been set.
func (o *NetworkMapRequestModel) SetDeviceNameOrIdNil(b bool)
SetDeviceNameOrIdNil sets the value for DeviceNameOrId to be an explicit nil
func (o *NetworkMapRequestModel) UnsetDeviceNameOrId()
UnsetDeviceNameOrId ensures that no value is present for DeviceNameOrId, not even an explicit nil
func (o *NetworkMapRequestModel) GetNetworkDeviceNameOrId() string
GetNetworkDeviceNameOrId returns the NetworkDeviceNameOrId field if non-nil, zero value otherwise.
func (o *NetworkMapRequestModel) GetNetworkDeviceNameOrIdOk() (*string, bool)
GetNetworkDeviceNameOrIdOk returns a tuple with the NetworkDeviceNameOrId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkMapRequestModel) SetNetworkDeviceNameOrId(v string)
SetNetworkDeviceNameOrId sets NetworkDeviceNameOrId field to given value.
func (o *NetworkMapRequestModel) HasNetworkDeviceNameOrId() bool
HasNetworkDeviceNameOrId returns a boolean if a field has been set.
func (o *NetworkMapRequestModel) SetNetworkDeviceNameOrIdNil(b bool)
SetNetworkDeviceNameOrIdNil sets the value for NetworkDeviceNameOrId to be an explicit nil
func (o *NetworkMapRequestModel) UnsetNetworkDeviceNameOrId()
UnsetNetworkDeviceNameOrId ensures that no value is present for NetworkDeviceNameOrId, not even an explicit nil
func (o *NetworkMapRequestModel) GetNetworkPath() string
GetNetworkPath returns the NetworkPath field if non-nil, zero value otherwise.
func (o *NetworkMapRequestModel) GetNetworkPathOk() (*string, bool)
GetNetworkPathOk returns a tuple with the NetworkPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkMapRequestModel) SetNetworkPath(v string)
SetNetworkPath sets NetworkPath field to given value.