Name | Type | Description | Notes |
---|---|---|---|
Device | int32 | ||
Module | Pointer to NullableInt32 | [optional] | |
Name | string | ||
Label | Pointer to string | Physical label | [optional] |
Type | string | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `other` - Other | |
Color | Pointer to string | [optional] | |
RearPort | int32 | ||
RearPortPosition | Pointer to int32 | Mapped position on corresponding rear port | [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 NewWritableFrontPortRequest(device int32, name string, type_ string, rearPort int32, ) *WritableFrontPortRequest
NewWritableFrontPortRequest instantiates a new WritableFrontPortRequest 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 NewWritableFrontPortRequestWithDefaults() *WritableFrontPortRequest
NewWritableFrontPortRequestWithDefaults instantiates a new WritableFrontPortRequest 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 *WritableFrontPortRequest) GetDevice() int32
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) GetDeviceOk() (*int32, 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 *WritableFrontPortRequest) SetDevice(v int32)
SetDevice sets Device field to given value.
func (o *WritableFrontPortRequest) GetModule() int32
GetModule returns the Module field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) GetModuleOk() (*int32, 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 *WritableFrontPortRequest) SetModule(v int32)
SetModule sets Module field to given value.
func (o *WritableFrontPortRequest) HasModule() bool
HasModule returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) SetModuleNil(b bool)
SetModuleNil sets the value for Module to be an explicit nil
func (o *WritableFrontPortRequest) UnsetModule()
UnsetModule ensures that no value is present for Module, not even an explicit nil
func (o *WritableFrontPortRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetName(v string)
SetName sets Name field to given value.
func (o *WritableFrontPortRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *WritableFrontPortRequest) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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.
func (o *WritableFrontPortRequest) SetType(v string)
SetType sets Type field to given value.
func (o *WritableFrontPortRequest) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) GetColorOk() (*string, bool)
GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableFrontPortRequest) SetColor(v string)
SetColor sets Color field to given value.
func (o *WritableFrontPortRequest) HasColor() bool
HasColor returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetRearPort() int32
GetRearPort returns the RearPort field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) GetRearPortOk() (*int32, bool)
GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableFrontPortRequest) SetRearPort(v int32)
SetRearPort sets RearPort field to given value.
func (o *WritableFrontPortRequest) GetRearPortPosition() int32
GetRearPortPosition returns the RearPortPosition field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) GetRearPortPositionOk() (*int32, bool)
GetRearPortPositionOk returns a tuple with the RearPortPosition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableFrontPortRequest) SetRearPortPosition(v int32)
SetRearPortPosition sets RearPortPosition field to given value.
func (o *WritableFrontPortRequest) HasRearPortPosition() bool
HasRearPortPosition returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritableFrontPortRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetMarkConnected() bool
GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetMarkConnected(v bool)
SetMarkConnected sets MarkConnected field to given value.
func (o *WritableFrontPortRequest) HasMarkConnected() bool
HasMarkConnected returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *WritableFrontPortRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritableFrontPortRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *WritableFrontPortRequest) 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 *WritableFrontPortRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritableFrontPortRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.