Skip to content

Latest commit

 

History

History
300 lines (163 loc) · 9.08 KB

ConsoleServerPortRequest.md

File metadata and controls

300 lines (163 loc) · 9.08 KB

ConsoleServerPortRequest

Properties

Name Type Description Notes
Device NestedDeviceRequest
Module Pointer to NullableComponentNestedModuleRequest [optional]
Name string
Label Pointer to string Physical label [optional]
Type Pointer to string * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other [optional]
Speed Pointer to NullableInt32 * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps [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]

Methods

NewConsoleServerPortRequest

func NewConsoleServerPortRequest(device NestedDeviceRequest, 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

NewConsoleServerPortRequestWithDefaults

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

GetDevice

func (o *ConsoleServerPortRequest) GetDevice() NestedDeviceRequest

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *ConsoleServerPortRequest) GetDeviceOk() (*NestedDeviceRequest, 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.

SetDevice

func (o *ConsoleServerPortRequest) SetDevice(v NestedDeviceRequest)

SetDevice sets Device field to given value.

GetModule

func (o *ConsoleServerPortRequest) GetModule() ComponentNestedModuleRequest

GetModule returns the Module field if non-nil, zero value otherwise.

GetModuleOk

func (o *ConsoleServerPortRequest) GetModuleOk() (*ComponentNestedModuleRequest, 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.

SetModule

func (o *ConsoleServerPortRequest) SetModule(v ComponentNestedModuleRequest)

SetModule sets Module field to given value.

HasModule

func (o *ConsoleServerPortRequest) HasModule() bool

HasModule returns a boolean if a field has been set.

SetModuleNil

func (o *ConsoleServerPortRequest) SetModuleNil(b bool)

SetModuleNil sets the value for Module to be an explicit nil

UnsetModule

func (o *ConsoleServerPortRequest) UnsetModule()

UnsetModule ensures that no value is present for Module, not even an explicit nil

GetName

func (o *ConsoleServerPortRequest) GetName() string

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

GetNameOk

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.

SetName

func (o *ConsoleServerPortRequest) SetName(v string)

SetName sets Name field to given value.

GetLabel

func (o *ConsoleServerPortRequest) GetLabel() string

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

GetLabelOk

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.

SetLabel

func (o *ConsoleServerPortRequest) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *ConsoleServerPortRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetType

func (o *ConsoleServerPortRequest) GetType() string

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

GetTypeOk

func (o *ConsoleServerPortRequest) GetTypeOk() (*string, 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 *ConsoleServerPortRequest) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ConsoleServerPortRequest) HasType() bool

HasType returns a boolean if a field has been set.

GetSpeed

func (o *ConsoleServerPortRequest) GetSpeed() int32

GetSpeed returns the Speed field if non-nil, zero value otherwise.

GetSpeedOk

func (o *ConsoleServerPortRequest) GetSpeedOk() (*int32, 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.

SetSpeed

func (o *ConsoleServerPortRequest) SetSpeed(v int32)

SetSpeed sets Speed field to given value.

HasSpeed

func (o *ConsoleServerPortRequest) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

SetSpeedNil

func (o *ConsoleServerPortRequest) SetSpeedNil(b bool)

SetSpeedNil sets the value for Speed to be an explicit nil

UnsetSpeed

func (o *ConsoleServerPortRequest) UnsetSpeed()

UnsetSpeed ensures that no value is present for Speed, not even an explicit nil

GetDescription

func (o *ConsoleServerPortRequest) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *ConsoleServerPortRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ConsoleServerPortRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetMarkConnected

func (o *ConsoleServerPortRequest) GetMarkConnected() bool

GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.

GetMarkConnectedOk

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.

SetMarkConnected

func (o *ConsoleServerPortRequest) SetMarkConnected(v bool)

SetMarkConnected sets MarkConnected field to given value.

HasMarkConnected

func (o *ConsoleServerPortRequest) HasMarkConnected() bool

HasMarkConnected returns a boolean if a field has been set.

GetTags

func (o *ConsoleServerPortRequest) GetTags() []NestedTagRequest

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

SetTags

func (o *ConsoleServerPortRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *ConsoleServerPortRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *ConsoleServerPortRequest) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

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.

SetCustomFields

func (o *ConsoleServerPortRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ConsoleServerPortRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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