Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
Url | string | [readonly] | |
Rack | NestedRack | ||
Units | map[string]interface{} | ||
Created | string | [readonly] | |
User | NestedUser | ||
Tenant | Pointer to NullableAggregateTenant | [optional] | |
Description | string | ||
Tags | Pointer to []TagSerializerField | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Display | string | Human friendly display value | [readonly] |
func NewRackReservation(id string, url string, rack NestedRack, units map[string]interface{}, created string, user NestedUser, description string, display string, ) *RackReservation
NewRackReservation instantiates a new RackReservation 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 NewRackReservationWithDefaults() *RackReservation
NewRackReservationWithDefaults instantiates a new RackReservation 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 *RackReservation) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RackReservation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetId(v string)
SetId sets Id field to given value.
func (o *RackReservation) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *RackReservation) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *RackReservation) GetRack() NestedRack
GetRack returns the Rack field if non-nil, zero value otherwise.
func (o *RackReservation) GetRackOk() (*NestedRack, bool)
GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetRack(v NestedRack)
SetRack sets Rack field to given value.
func (o *RackReservation) GetUnits() map[string]interface{}
GetUnits returns the Units field if non-nil, zero value otherwise.
func (o *RackReservation) GetUnitsOk() (*map[string]interface{}, bool)
GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetUnits(v map[string]interface{})
SetUnits sets Units field to given value.
func (o *RackReservation) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *RackReservation) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetCreated(v string)
SetCreated sets Created field to given value.
func (o *RackReservation) GetUser() NestedUser
GetUser returns the User field if non-nil, zero value otherwise.
func (o *RackReservation) GetUserOk() (*NestedUser, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetUser(v NestedUser)
SetUser sets User field to given value.
func (o *RackReservation) GetTenant() AggregateTenant
GetTenant returns the Tenant field if non-nil, zero value otherwise.
func (o *RackReservation) GetTenantOk() (*AggregateTenant, 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 *RackReservation) SetTenant(v AggregateTenant)
SetTenant sets Tenant field to given value.
func (o *RackReservation) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *RackReservation) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *RackReservation) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *RackReservation) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RackReservation) 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 *RackReservation) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *RackReservation) GetTags() []TagSerializerField
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *RackReservation) GetTagsOk() (*[]TagSerializerField, 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 *RackReservation) SetTags(v []TagSerializerField)
SetTags sets Tags field to given value.
func (o *RackReservation) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *RackReservation) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *RackReservation) 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 *RackReservation) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *RackReservation) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *RackReservation) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *RackReservation) GetDisplayOk() (*string, bool)
GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RackReservation) SetDisplay(v string)
SetDisplay sets Display field to given value.