Skip to content

Latest commit

 

History

History
744 lines (407 loc) · 20.6 KB

WritableRackRequest.md

File metadata and controls

744 lines (407 loc) · 20.6 KB

WritableRackRequest

Properties

Name Type Description Notes
Name string
FacilityId Pointer to NullableString [optional]
Site int32
Location Pointer to NullableInt32 [optional]
Tenant Pointer to NullableInt32 [optional]
Status Pointer to string * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated [optional]
Role Pointer to NullableInt32 Functional role [optional]
Serial Pointer to string [optional]
AssetTag Pointer to NullableString A unique tag used to identify this rack [optional]
Type Pointer to string * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) [optional]
Width Pointer to int32 Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches [optional]
UHeight Pointer to int32 Height in rack units [optional]
Weight Pointer to NullableFloat64 [optional]
MaxWeight Pointer to NullableInt32 Maximum load capacity for the rack [optional]
WeightUnit Pointer to string * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces [optional]
DescUnits Pointer to bool Units are numbered top-to-bottom [optional]
OuterWidth Pointer to NullableInt32 Outer dimension of rack (width) [optional]
OuterDepth Pointer to NullableInt32 Outer dimension of rack (depth) [optional]
OuterUnit Pointer to string * `mm` - Millimeters * `in` - Inches [optional]
MountingDepth Pointer to NullableInt32 Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. [optional]
Description Pointer to string [optional]
Comments Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewWritableRackRequest

func NewWritableRackRequest(name string, site int32, ) *WritableRackRequest

NewWritableRackRequest instantiates a new WritableRackRequest 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

NewWritableRackRequestWithDefaults

func NewWritableRackRequestWithDefaults() *WritableRackRequest

NewWritableRackRequestWithDefaults instantiates a new WritableRackRequest 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

GetName

func (o *WritableRackRequest) GetName() string

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

GetNameOk

func (o *WritableRackRequest) 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 *WritableRackRequest) SetName(v string)

SetName sets Name field to given value.

GetFacilityId

func (o *WritableRackRequest) GetFacilityId() string

GetFacilityId returns the FacilityId field if non-nil, zero value otherwise.

GetFacilityIdOk

func (o *WritableRackRequest) GetFacilityIdOk() (*string, bool)

GetFacilityIdOk returns a tuple with the FacilityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFacilityId

func (o *WritableRackRequest) SetFacilityId(v string)

SetFacilityId sets FacilityId field to given value.

HasFacilityId

func (o *WritableRackRequest) HasFacilityId() bool

HasFacilityId returns a boolean if a field has been set.

SetFacilityIdNil

func (o *WritableRackRequest) SetFacilityIdNil(b bool)

SetFacilityIdNil sets the value for FacilityId to be an explicit nil

UnsetFacilityId

func (o *WritableRackRequest) UnsetFacilityId()

UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil

GetSite

func (o *WritableRackRequest) GetSite() int32

GetSite returns the Site field if non-nil, zero value otherwise.

GetSiteOk

func (o *WritableRackRequest) GetSiteOk() (*int32, bool)

GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSite

func (o *WritableRackRequest) SetSite(v int32)

SetSite sets Site field to given value.

GetLocation

func (o *WritableRackRequest) GetLocation() int32

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *WritableRackRequest) GetLocationOk() (*int32, bool)

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocation

func (o *WritableRackRequest) SetLocation(v int32)

SetLocation sets Location field to given value.

HasLocation

func (o *WritableRackRequest) HasLocation() bool

HasLocation returns a boolean if a field has been set.

SetLocationNil

func (o *WritableRackRequest) SetLocationNil(b bool)

SetLocationNil sets the value for Location to be an explicit nil

UnsetLocation

func (o *WritableRackRequest) UnsetLocation()

UnsetLocation ensures that no value is present for Location, not even an explicit nil

GetTenant

func (o *WritableRackRequest) GetTenant() int32

GetTenant returns the Tenant field if non-nil, zero value otherwise.

GetTenantOk

func (o *WritableRackRequest) GetTenantOk() (*int32, bool)

GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTenant

func (o *WritableRackRequest) SetTenant(v int32)

SetTenant sets Tenant field to given value.

HasTenant

func (o *WritableRackRequest) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *WritableRackRequest) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *WritableRackRequest) UnsetTenant()

UnsetTenant ensures that no value is present for Tenant, not even an explicit nil

GetStatus

func (o *WritableRackRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *WritableRackRequest) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *WritableRackRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *WritableRackRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetRole

func (o *WritableRackRequest) GetRole() int32

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *WritableRackRequest) GetRoleOk() (*int32, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *WritableRackRequest) SetRole(v int32)

SetRole sets Role field to given value.

HasRole

func (o *WritableRackRequest) HasRole() bool

HasRole returns a boolean if a field has been set.

SetRoleNil

func (o *WritableRackRequest) SetRoleNil(b bool)

SetRoleNil sets the value for Role to be an explicit nil

UnsetRole

func (o *WritableRackRequest) UnsetRole()

UnsetRole ensures that no value is present for Role, not even an explicit nil

GetSerial

func (o *WritableRackRequest) GetSerial() string

GetSerial returns the Serial field if non-nil, zero value otherwise.

GetSerialOk

func (o *WritableRackRequest) GetSerialOk() (*string, bool)

GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSerial

func (o *WritableRackRequest) SetSerial(v string)

SetSerial sets Serial field to given value.

HasSerial

func (o *WritableRackRequest) HasSerial() bool

HasSerial returns a boolean if a field has been set.

GetAssetTag

func (o *WritableRackRequest) GetAssetTag() string

GetAssetTag returns the AssetTag field if non-nil, zero value otherwise.

GetAssetTagOk

func (o *WritableRackRequest) GetAssetTagOk() (*string, bool)

GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAssetTag

func (o *WritableRackRequest) SetAssetTag(v string)

SetAssetTag sets AssetTag field to given value.

HasAssetTag

func (o *WritableRackRequest) HasAssetTag() bool

HasAssetTag returns a boolean if a field has been set.

SetAssetTagNil

func (o *WritableRackRequest) SetAssetTagNil(b bool)

SetAssetTagNil sets the value for AssetTag to be an explicit nil

UnsetAssetTag

func (o *WritableRackRequest) UnsetAssetTag()

UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil

GetType

func (o *WritableRackRequest) GetType() string

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

GetTypeOk

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

SetType sets Type field to given value.

HasType

func (o *WritableRackRequest) HasType() bool

HasType returns a boolean if a field has been set.

GetWidth

func (o *WritableRackRequest) GetWidth() int32

GetWidth returns the Width field if non-nil, zero value otherwise.

GetWidthOk

func (o *WritableRackRequest) GetWidthOk() (*int32, bool)

GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWidth

func (o *WritableRackRequest) SetWidth(v int32)

SetWidth sets Width field to given value.

HasWidth

func (o *WritableRackRequest) HasWidth() bool

HasWidth returns a boolean if a field has been set.

GetUHeight

func (o *WritableRackRequest) GetUHeight() int32

GetUHeight returns the UHeight field if non-nil, zero value otherwise.

GetUHeightOk

func (o *WritableRackRequest) GetUHeightOk() (*int32, bool)

GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUHeight

func (o *WritableRackRequest) SetUHeight(v int32)

SetUHeight sets UHeight field to given value.

HasUHeight

func (o *WritableRackRequest) HasUHeight() bool

HasUHeight returns a boolean if a field has been set.

GetWeight

func (o *WritableRackRequest) GetWeight() float64

GetWeight returns the Weight field if non-nil, zero value otherwise.

GetWeightOk

func (o *WritableRackRequest) GetWeightOk() (*float64, bool)

GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWeight

func (o *WritableRackRequest) SetWeight(v float64)

SetWeight sets Weight field to given value.

HasWeight

func (o *WritableRackRequest) HasWeight() bool

HasWeight returns a boolean if a field has been set.

SetWeightNil

func (o *WritableRackRequest) SetWeightNil(b bool)

SetWeightNil sets the value for Weight to be an explicit nil

UnsetWeight

func (o *WritableRackRequest) UnsetWeight()

UnsetWeight ensures that no value is present for Weight, not even an explicit nil

GetMaxWeight

func (o *WritableRackRequest) GetMaxWeight() int32

GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise.

GetMaxWeightOk

func (o *WritableRackRequest) GetMaxWeightOk() (*int32, bool)

GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxWeight

func (o *WritableRackRequest) SetMaxWeight(v int32)

SetMaxWeight sets MaxWeight field to given value.

HasMaxWeight

func (o *WritableRackRequest) HasMaxWeight() bool

HasMaxWeight returns a boolean if a field has been set.

SetMaxWeightNil

func (o *WritableRackRequest) SetMaxWeightNil(b bool)

SetMaxWeightNil sets the value for MaxWeight to be an explicit nil

UnsetMaxWeight

func (o *WritableRackRequest) UnsetMaxWeight()

UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil

GetWeightUnit

func (o *WritableRackRequest) GetWeightUnit() string

GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise.

GetWeightUnitOk

func (o *WritableRackRequest) GetWeightUnitOk() (*string, bool)

GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWeightUnit

func (o *WritableRackRequest) SetWeightUnit(v string)

SetWeightUnit sets WeightUnit field to given value.

HasWeightUnit

func (o *WritableRackRequest) HasWeightUnit() bool

HasWeightUnit returns a boolean if a field has been set.

GetDescUnits

func (o *WritableRackRequest) GetDescUnits() bool

GetDescUnits returns the DescUnits field if non-nil, zero value otherwise.

GetDescUnitsOk

func (o *WritableRackRequest) GetDescUnitsOk() (*bool, bool)

GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescUnits

func (o *WritableRackRequest) SetDescUnits(v bool)

SetDescUnits sets DescUnits field to given value.

HasDescUnits

func (o *WritableRackRequest) HasDescUnits() bool

HasDescUnits returns a boolean if a field has been set.

GetOuterWidth

func (o *WritableRackRequest) GetOuterWidth() int32

GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise.

GetOuterWidthOk

func (o *WritableRackRequest) GetOuterWidthOk() (*int32, bool)

GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOuterWidth

func (o *WritableRackRequest) SetOuterWidth(v int32)

SetOuterWidth sets OuterWidth field to given value.

HasOuterWidth

func (o *WritableRackRequest) HasOuterWidth() bool

HasOuterWidth returns a boolean if a field has been set.

SetOuterWidthNil

func (o *WritableRackRequest) SetOuterWidthNil(b bool)

SetOuterWidthNil sets the value for OuterWidth to be an explicit nil

UnsetOuterWidth

func (o *WritableRackRequest) UnsetOuterWidth()

UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil

GetOuterDepth

func (o *WritableRackRequest) GetOuterDepth() int32

GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise.

GetOuterDepthOk

func (o *WritableRackRequest) GetOuterDepthOk() (*int32, bool)

GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOuterDepth

func (o *WritableRackRequest) SetOuterDepth(v int32)

SetOuterDepth sets OuterDepth field to given value.

HasOuterDepth

func (o *WritableRackRequest) HasOuterDepth() bool

HasOuterDepth returns a boolean if a field has been set.

SetOuterDepthNil

func (o *WritableRackRequest) SetOuterDepthNil(b bool)

SetOuterDepthNil sets the value for OuterDepth to be an explicit nil

UnsetOuterDepth

func (o *WritableRackRequest) UnsetOuterDepth()

UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil

GetOuterUnit

func (o *WritableRackRequest) GetOuterUnit() string

GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise.

GetOuterUnitOk

func (o *WritableRackRequest) GetOuterUnitOk() (*string, bool)

GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOuterUnit

func (o *WritableRackRequest) SetOuterUnit(v string)

SetOuterUnit sets OuterUnit field to given value.

HasOuterUnit

func (o *WritableRackRequest) HasOuterUnit() bool

HasOuterUnit returns a boolean if a field has been set.

GetMountingDepth

func (o *WritableRackRequest) GetMountingDepth() int32

GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise.

GetMountingDepthOk

func (o *WritableRackRequest) GetMountingDepthOk() (*int32, bool)

GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMountingDepth

func (o *WritableRackRequest) SetMountingDepth(v int32)

SetMountingDepth sets MountingDepth field to given value.

HasMountingDepth

func (o *WritableRackRequest) HasMountingDepth() bool

HasMountingDepth returns a boolean if a field has been set.

SetMountingDepthNil

func (o *WritableRackRequest) SetMountingDepthNil(b bool)

SetMountingDepthNil sets the value for MountingDepth to be an explicit nil

UnsetMountingDepth

func (o *WritableRackRequest) UnsetMountingDepth()

UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil

GetDescription

func (o *WritableRackRequest) GetDescription() string

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

GetDescriptionOk

func (o *WritableRackRequest) 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 *WritableRackRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *WritableRackRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetComments

func (o *WritableRackRequest) GetComments() string

GetComments returns the Comments field if non-nil, zero value otherwise.

GetCommentsOk

func (o *WritableRackRequest) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComments

func (o *WritableRackRequest) SetComments(v string)

SetComments sets Comments field to given value.

HasComments

func (o *WritableRackRequest) HasComments() bool

HasComments returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

func (o *WritableRackRequest) 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 *WritableRackRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *WritableRackRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *WritableRackRequest) 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 *WritableRackRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *WritableRackRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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