Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.78 KB

PrebookResponseDataRoomTypesInner.md

File metadata and controls

82 lines (45 loc) · 2.78 KB

PrebookResponseDataRoomTypesInner

Properties

Name Type Description Notes
MaxOccupancy Pointer to int32 [optional]
Rates Pointer to []PrebookResponseDataRoomTypesInnerRatesInner [optional]

Methods

NewPrebookResponseDataRoomTypesInner

func NewPrebookResponseDataRoomTypesInner() *PrebookResponseDataRoomTypesInner

NewPrebookResponseDataRoomTypesInner instantiates a new PrebookResponseDataRoomTypesInner 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

NewPrebookResponseDataRoomTypesInnerWithDefaults

func NewPrebookResponseDataRoomTypesInnerWithDefaults() *PrebookResponseDataRoomTypesInner

NewPrebookResponseDataRoomTypesInnerWithDefaults instantiates a new PrebookResponseDataRoomTypesInner 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

GetMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) GetMaxOccupancy() int32

GetMaxOccupancy returns the MaxOccupancy field if non-nil, zero value otherwise.

GetMaxOccupancyOk

func (o *PrebookResponseDataRoomTypesInner) GetMaxOccupancyOk() (*int32, bool)

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

SetMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) SetMaxOccupancy(v int32)

SetMaxOccupancy sets MaxOccupancy field to given value.

HasMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) HasMaxOccupancy() bool

HasMaxOccupancy returns a boolean if a field has been set.

GetRates

func (o *PrebookResponseDataRoomTypesInner) GetRates() []PrebookResponseDataRoomTypesInnerRatesInner

GetRates returns the Rates field if non-nil, zero value otherwise.

GetRatesOk

func (o *PrebookResponseDataRoomTypesInner) GetRatesOk() (*[]PrebookResponseDataRoomTypesInnerRatesInner, bool)

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

SetRates

func (o *PrebookResponseDataRoomTypesInner) SetRates(v []PrebookResponseDataRoomTypesInnerRatesInner)

SetRates sets Rates field to given value.

HasRates

func (o *PrebookResponseDataRoomTypesInner) HasRates() bool

HasRates returns a boolean if a field has been set.

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