Name | Type | Description | Notes |
---|---|---|---|
Rack | int32 | ||
Units | []int32 | ||
User | int32 | ||
Tenant | Pointer to NullableInt32 | [optional] | |
Description | string | ||
Comments | Pointer to string | [optional] | |
Tags | Pointer to []NestedTagRequest | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] |
func NewWritableRackReservationRequest(rack int32, units []int32, user int32, description string, ) *WritableRackReservationRequest
NewWritableRackReservationRequest instantiates a new WritableRackReservationRequest 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 NewWritableRackReservationRequestWithDefaults() *WritableRackReservationRequest
NewWritableRackReservationRequestWithDefaults instantiates a new WritableRackReservationRequest 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 *WritableRackReservationRequest) GetRack() int32
GetRack returns the Rack field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) GetRackOk() (*int32, 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 *WritableRackReservationRequest) SetRack(v int32)
SetRack sets Rack field to given value.
func (o *WritableRackReservationRequest) GetUnits() []int32
GetUnits returns the Units field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) GetUnitsOk() (*[]int32, 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 *WritableRackReservationRequest) SetUnits(v []int32)
SetUnits sets Units field to given value.
func (o *WritableRackReservationRequest) GetUser() int32
GetUser returns the User field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) GetUserOk() (*int32, 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 *WritableRackReservationRequest) SetUser(v int32)
SetUser sets User field to given value.
func (o *WritableRackReservationRequest) GetTenant() int32
GetTenant returns the Tenant field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) 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 *WritableRackReservationRequest) SetTenant(v int32)
SetTenant sets Tenant field to given value.
func (o *WritableRackReservationRequest) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *WritableRackReservationRequest) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *WritableRackReservationRequest) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *WritableRackReservationRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) 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 *WritableRackReservationRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritableRackReservationRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) 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 *WritableRackReservationRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *WritableRackReservationRequest) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *WritableRackReservationRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) 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 *WritableRackReservationRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *WritableRackReservationRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritableRackReservationRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *WritableRackReservationRequest) 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 *WritableRackReservationRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritableRackReservationRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.