Skip to content

Latest commit

 

History

History
201 lines (110 loc) · 6.18 KB

ConsoleServerPortTemplateRequest.md

File metadata and controls

201 lines (110 loc) · 6.18 KB

ConsoleServerPortTemplateRequest

Properties

Name Type Description Notes
DeviceType Pointer to NullableDeviceTypeRequest [optional]
ModuleType Pointer to NullableModuleTypeRequest [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]

Methods

NewConsoleServerPortTemplateRequest

func NewConsoleServerPortTemplateRequest(name string, ) *ConsoleServerPortTemplateRequest

NewConsoleServerPortTemplateRequest instantiates a new ConsoleServerPortTemplateRequest 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

NewConsoleServerPortTemplateRequestWithDefaults

func NewConsoleServerPortTemplateRequestWithDefaults() *ConsoleServerPortTemplateRequest

NewConsoleServerPortTemplateRequestWithDefaults instantiates a new ConsoleServerPortTemplateRequest 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

GetDeviceType

func (o *ConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest

GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.

GetDeviceTypeOk

func (o *ConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, 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.

SetDeviceType

func (o *ConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)

SetDeviceType sets DeviceType field to given value.

HasDeviceType

func (o *ConsoleServerPortTemplateRequest) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

SetDeviceTypeNil

func (o *ConsoleServerPortTemplateRequest) SetDeviceTypeNil(b bool)

SetDeviceTypeNil sets the value for DeviceType to be an explicit nil

UnsetDeviceType

func (o *ConsoleServerPortTemplateRequest) UnsetDeviceType()

UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil

GetModuleType

func (o *ConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest

GetModuleType returns the ModuleType field if non-nil, zero value otherwise.

GetModuleTypeOk

func (o *ConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, 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.

SetModuleType

func (o *ConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)

SetModuleType sets ModuleType field to given value.

HasModuleType

func (o *ConsoleServerPortTemplateRequest) HasModuleType() bool

HasModuleType returns a boolean if a field has been set.

SetModuleTypeNil

func (o *ConsoleServerPortTemplateRequest) SetModuleTypeNil(b bool)

SetModuleTypeNil sets the value for ModuleType to be an explicit nil

UnsetModuleType

func (o *ConsoleServerPortTemplateRequest) UnsetModuleType()

UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil

GetName

func (o *ConsoleServerPortTemplateRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ConsoleServerPortTemplateRequest) 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.

SetName

func (o *ConsoleServerPortTemplateRequest) SetName(v string)

SetName sets Name field to given value.

GetLabel

func (o *ConsoleServerPortTemplateRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *ConsoleServerPortTemplateRequest) 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.

SetLabel

func (o *ConsoleServerPortTemplateRequest) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *ConsoleServerPortTemplateRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetType

func (o *ConsoleServerPortTemplateRequest) GetType() ConsolePortTypeValue

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ConsoleServerPortTemplateRequest) 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.

SetType

func (o *ConsoleServerPortTemplateRequest) SetType(v ConsolePortTypeValue)

SetType sets Type field to given value.

HasType

func (o *ConsoleServerPortTemplateRequest) HasType() bool

HasType returns a boolean if a field has been set.

GetDescription

func (o *ConsoleServerPortTemplateRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *ConsoleServerPortTemplateRequest) 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.

SetDescription

func (o *ConsoleServerPortTemplateRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ConsoleServerPortTemplateRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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