Name | Type | Description | Notes |
---|---|---|---|
DeviceType | Pointer to NullableNestedDeviceTypeRequest | [optional] | |
ModuleType | Pointer to NullableNestedModuleTypeRequest | [optional] | |
Name | string | {module} is accepted as a substitution for the module bay position when attached to a module type. | |
Label | Pointer to string | Physical label | [optional] |
Type | Pointer to ConsolePortTypeValue | [optional] | |
Description | Pointer to string | [optional] |
func NewConsolePortTemplateRequest(name string, ) *ConsolePortTemplateRequest
NewConsolePortTemplateRequest instantiates a new ConsolePortTemplateRequest 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 NewConsolePortTemplateRequestWithDefaults() *ConsolePortTemplateRequest
NewConsolePortTemplateRequestWithDefaults instantiates a new ConsolePortTemplateRequest 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 *ConsolePortTemplateRequest) GetDeviceType() NestedDeviceTypeRequest
GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) GetDeviceTypeOk() (*NestedDeviceTypeRequest, bool)
GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsolePortTemplateRequest) SetDeviceType(v NestedDeviceTypeRequest)
SetDeviceType sets DeviceType field to given value.
func (o *ConsolePortTemplateRequest) HasDeviceType() bool
HasDeviceType returns a boolean if a field has been set.
func (o *ConsolePortTemplateRequest) SetDeviceTypeNil(b bool)
SetDeviceTypeNil sets the value for DeviceType to be an explicit nil
func (o *ConsolePortTemplateRequest) UnsetDeviceType()
UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil
func (o *ConsolePortTemplateRequest) GetModuleType() NestedModuleTypeRequest
GetModuleType returns the ModuleType field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) GetModuleTypeOk() (*NestedModuleTypeRequest, bool)
GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsolePortTemplateRequest) SetModuleType(v NestedModuleTypeRequest)
SetModuleType sets ModuleType field to given value.
func (o *ConsolePortTemplateRequest) HasModuleType() bool
HasModuleType returns a boolean if a field has been set.
func (o *ConsolePortTemplateRequest) SetModuleTypeNil(b bool)
SetModuleTypeNil sets the value for ModuleType to be an explicit nil
func (o *ConsolePortTemplateRequest) UnsetModuleType()
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
func (o *ConsolePortTemplateRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) 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.
func (o *ConsolePortTemplateRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ConsolePortTemplateRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsolePortTemplateRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *ConsolePortTemplateRequest) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *ConsolePortTemplateRequest) GetType() ConsolePortTypeValue
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) GetTypeOk() (*ConsolePortTypeValue, 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.
func (o *ConsolePortTemplateRequest) SetType(v ConsolePortTypeValue)
SetType sets Type field to given value.
func (o *ConsolePortTemplateRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ConsolePortTemplateRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ConsolePortTemplateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsolePortTemplateRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ConsolePortTemplateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.