Name | Type | Description | Notes |
---|---|---|---|
Device | DeviceRequest | ||
Module | Pointer to NullableModuleRequest | [optional] | |
Name | string | ||
Label | Pointer to string | Physical label | [optional] |
Type | Pointer to ConsolePortTypeValue | [optional] | |
Speed | Pointer to NullableConsolePortRequestSpeed | [optional] | |
Description | Pointer to string | [optional] | |
MarkConnected | Pointer to bool | Treat as if a cable is connected | [optional] |
Tags | Pointer to []NestedTagRequest | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] |
func NewConsoleServerPortRequest(device DeviceRequest, name string, ) *ConsoleServerPortRequest
NewConsoleServerPortRequest instantiates a new ConsoleServerPortRequest 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 NewConsoleServerPortRequestWithDefaults() *ConsoleServerPortRequest
NewConsoleServerPortRequestWithDefaults instantiates a new ConsoleServerPortRequest 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 *ConsoleServerPortRequest) GetDevice() DeviceRequest
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetDevice(v DeviceRequest)
SetDevice sets Device field to given value.
func (o *ConsoleServerPortRequest) GetModule() ModuleRequest
GetModule returns the Module field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool)
GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetModule(v ModuleRequest)
SetModule sets Module field to given value.
func (o *ConsoleServerPortRequest) HasModule() bool
HasModule returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) SetModuleNil(b bool)
SetModuleNil sets the value for Module to be an explicit nil
func (o *ConsoleServerPortRequest) UnsetModule()
UnsetModule ensures that no value is present for Module, not even an explicit nil
func (o *ConsoleServerPortRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) 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 *ConsoleServerPortRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ConsoleServerPortRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) 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 *ConsoleServerPortRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *ConsoleServerPortRequest) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) GetType() ConsolePortTypeValue
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) 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 *ConsoleServerPortRequest) SetType(v ConsolePortTypeValue)
SetType sets Type field to given value.
func (o *ConsoleServerPortRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) GetSpeed() ConsolePortRequestSpeed
GetSpeed returns the Speed field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetSpeedOk() (*ConsolePortRequestSpeed, bool)
GetSpeedOk returns a tuple with the Speed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetSpeed(v ConsolePortRequestSpeed)
SetSpeed sets Speed field to given value.
func (o *ConsoleServerPortRequest) HasSpeed() bool
HasSpeed returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) SetSpeedNil(b bool)
SetSpeedNil sets the value for Speed to be an explicit nil
func (o *ConsoleServerPortRequest) UnsetSpeed()
UnsetSpeed ensures that no value is present for Speed, not even an explicit nil
func (o *ConsoleServerPortRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) 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 *ConsoleServerPortRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ConsoleServerPortRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) GetMarkConnected() bool
GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetMarkConnectedOk() (*bool, bool)
GetMarkConnectedOk returns a tuple with the MarkConnected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetMarkConnected(v bool)
SetMarkConnected sets MarkConnected field to given value.
func (o *ConsoleServerPortRequest) HasMarkConnected() bool
HasMarkConnected returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetTagsOk() (*[]NestedTagRequest, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *ConsoleServerPortRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ConsoleServerPortRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *ConsoleServerPortRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPortRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *ConsoleServerPortRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.