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] |
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
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
func (o *WritableRackRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetName(v string)
SetName sets Name field to given value.
func (o *WritableRackRequest) GetFacilityId() string
GetFacilityId returns the FacilityId field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetFacilityId(v string)
SetFacilityId sets FacilityId field to given value.
func (o *WritableRackRequest) HasFacilityId() bool
HasFacilityId returns a boolean if a field has been set.
func (o *WritableRackRequest) SetFacilityIdNil(b bool)
SetFacilityIdNil sets the value for FacilityId to be an explicit nil
func (o *WritableRackRequest) UnsetFacilityId()
UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil
func (o *WritableRackRequest) GetSite() int32
GetSite returns the Site field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetSite(v int32)
SetSite sets Site field to given value.
func (o *WritableRackRequest) GetLocation() int32
GetLocation returns the Location field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetLocation(v int32)
SetLocation sets Location field to given value.
func (o *WritableRackRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *WritableRackRequest) SetLocationNil(b bool)
SetLocationNil sets the value for Location to be an explicit nil
func (o *WritableRackRequest) UnsetLocation()
UnsetLocation ensures that no value is present for Location, not even an explicit nil
func (o *WritableRackRequest) GetTenant() int32
GetTenant returns the Tenant field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetTenant(v int32)
SetTenant sets Tenant field to given value.
func (o *WritableRackRequest) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *WritableRackRequest) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *WritableRackRequest) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *WritableRackRequest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *WritableRackRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *WritableRackRequest) GetRole() int32
GetRole returns the Role field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetRole(v int32)
SetRole sets Role field to given value.
func (o *WritableRackRequest) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *WritableRackRequest) SetRoleNil(b bool)
SetRoleNil sets the value for Role to be an explicit nil
func (o *WritableRackRequest) UnsetRole()
UnsetRole ensures that no value is present for Role, not even an explicit nil
func (o *WritableRackRequest) GetSerial() string
GetSerial returns the Serial field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetSerial(v string)
SetSerial sets Serial field to given value.
func (o *WritableRackRequest) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (o *WritableRackRequest) GetAssetTag() string
GetAssetTag returns the AssetTag field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetAssetTag(v string)
SetAssetTag sets AssetTag field to given value.
func (o *WritableRackRequest) HasAssetTag() bool
HasAssetTag returns a boolean if a field has been set.
func (o *WritableRackRequest) SetAssetTagNil(b bool)
SetAssetTagNil sets the value for AssetTag to be an explicit nil
func (o *WritableRackRequest) UnsetAssetTag()
UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil
func (o *WritableRackRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetType(v string)
SetType sets Type field to given value.
func (o *WritableRackRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *WritableRackRequest) GetWidth() int32
GetWidth returns the Width field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetWidth(v int32)
SetWidth sets Width field to given value.
func (o *WritableRackRequest) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (o *WritableRackRequest) GetUHeight() int32
GetUHeight returns the UHeight field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetUHeight(v int32)
SetUHeight sets UHeight field to given value.
func (o *WritableRackRequest) HasUHeight() bool
HasUHeight returns a boolean if a field has been set.
func (o *WritableRackRequest) GetWeight() float64
GetWeight returns the Weight field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetWeight(v float64)
SetWeight sets Weight field to given value.
func (o *WritableRackRequest) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *WritableRackRequest) SetWeightNil(b bool)
SetWeightNil sets the value for Weight to be an explicit nil
func (o *WritableRackRequest) UnsetWeight()
UnsetWeight ensures that no value is present for Weight, not even an explicit nil
func (o *WritableRackRequest) GetMaxWeight() int32
GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetMaxWeight(v int32)
SetMaxWeight sets MaxWeight field to given value.
func (o *WritableRackRequest) HasMaxWeight() bool
HasMaxWeight returns a boolean if a field has been set.
func (o *WritableRackRequest) SetMaxWeightNil(b bool)
SetMaxWeightNil sets the value for MaxWeight to be an explicit nil
func (o *WritableRackRequest) UnsetMaxWeight()
UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil
func (o *WritableRackRequest) GetWeightUnit() string
GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetWeightUnit(v string)
SetWeightUnit sets WeightUnit field to given value.
func (o *WritableRackRequest) HasWeightUnit() bool
HasWeightUnit returns a boolean if a field has been set.
func (o *WritableRackRequest) GetDescUnits() bool
GetDescUnits returns the DescUnits field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetDescUnits(v bool)
SetDescUnits sets DescUnits field to given value.
func (o *WritableRackRequest) HasDescUnits() bool
HasDescUnits returns a boolean if a field has been set.
func (o *WritableRackRequest) GetOuterWidth() int32
GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetOuterWidth(v int32)
SetOuterWidth sets OuterWidth field to given value.
func (o *WritableRackRequest) HasOuterWidth() bool
HasOuterWidth returns a boolean if a field has been set.
func (o *WritableRackRequest) SetOuterWidthNil(b bool)
SetOuterWidthNil sets the value for OuterWidth to be an explicit nil
func (o *WritableRackRequest) UnsetOuterWidth()
UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil
func (o *WritableRackRequest) GetOuterDepth() int32
GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetOuterDepth(v int32)
SetOuterDepth sets OuterDepth field to given value.
func (o *WritableRackRequest) HasOuterDepth() bool
HasOuterDepth returns a boolean if a field has been set.
func (o *WritableRackRequest) SetOuterDepthNil(b bool)
SetOuterDepthNil sets the value for OuterDepth to be an explicit nil
func (o *WritableRackRequest) UnsetOuterDepth()
UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil
func (o *WritableRackRequest) GetOuterUnit() string
GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetOuterUnit(v string)
SetOuterUnit sets OuterUnit field to given value.
func (o *WritableRackRequest) HasOuterUnit() bool
HasOuterUnit returns a boolean if a field has been set.
func (o *WritableRackRequest) GetMountingDepth() int32
GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetMountingDepth(v int32)
SetMountingDepth sets MountingDepth field to given value.
func (o *WritableRackRequest) HasMountingDepth() bool
HasMountingDepth returns a boolean if a field has been set.
func (o *WritableRackRequest) SetMountingDepthNil(b bool)
SetMountingDepthNil sets the value for MountingDepth to be an explicit nil
func (o *WritableRackRequest) UnsetMountingDepth()
UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil
func (o *WritableRackRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritableRackRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WritableRackRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *WritableRackRequest) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *WritableRackRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *WritableRackRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritableRackRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
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.
func (o *WritableRackRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritableRackRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.