nuitee

package module
v0.0.0-...-b5512b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 23 Imported by: 0

README

Go API client for nuitee

lite api hotel booking api

Overview

This API client was generated by the Konfig.

  • API version: 1.0.0
  • Package version: 1.0.0

Installation

Add package to your project:

go get github.com/konfig-dev/nuitee-lite-sdks/go

Add the following in import:

import nuitee "github.com/konfig-dev/nuitee-lite-sdks/go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

import nuitee "github.com/konfig-dev/nuitee-lite-sdks/go"
configuration := nuitee.NewConfiguration()
configuration.Context = context.WithValue(configuration.Context, nuitee.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

import nuitee "github.com/konfig-dev/nuitee-lite-sdks/go"
configuration := nuitee.NewConfiguration()
configuration.Context = context.WithValue(configuration.Context, nuitee.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

import nuitee "github.com/konfig-dev/nuitee-lite-sdks/go"
configuration := nuitee.NewConfiguration()
configuration.Context = context.WithValue(configuration.Context, nuitee.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
configuration.Context = context.WithValue(configuration.Context, nuitee.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.nlite.ml/v1.0

Class Method HTTP request Description
BookApi Book Post /rates/book Hotel rate book
BookApi Prebook Post /rates/prebook Hotel rate prebook
BookingManagementApi Cancel Put /bookings/{bookingId} Booking cancel
BookingManagementApi ListBookings Get /bookings Booking list
BookingManagementApi Retrieve Get /bookings/{bookingId} Booking retrieve
SearchApi GetHotelRates Get /hotels/rates Hotel full rate availability
SearchApi GetHotels Get /hotels Hotel minimum rate availability
StaticDataApi ListCities Get /data/cities City list
StaticDataApi ListCountries Get /data/countries Country list
StaticDataApi ListCurrencies Get /data/currencies Currency list
StaticDataApi ListHotels Get /data/hotels Hotel list
StaticDataApi ListIataCodes Get /data/iataCodes IATA code list

Documentation For Models

Documentation For Authorization

ApiKeyAuth
  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: "ApiKeyAuth" and passed in as the auth context for each request.

Example

import nuitee "github.com/konfig-dev/nuitee-lite-sdks/go"
apiKey := os.Getenv("API_KEY")
configuration := nuitee.NewConfiguration()
configuration.Context = context.WithValue(configuration.Context, nuitee.ContextAPIKeys, map[string]newscatcherapi.APIKey{
    "ApiKeyAuth": {Key: apiKey}
})
client := nuitee.NewAPIClient(configuration)
resp, httpRes, err := client.Service.Operation(args).Execute()

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	BookApi *BookApiService

	BookingManagementApi *BookingManagementApiService

	SearchApi *SearchApiService

	StaticDataApi *StaticDataApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Lite API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Book400Response

type Book400Response struct {
	Error *Book400ResponseError `json:"error,omitempty"`
}

Book400Response struct for Book400Response

func NewBook400Response

func NewBook400Response() *Book400Response

NewBook400Response instantiates a new Book400Response 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 NewBook400ResponseWithDefaults

func NewBook400ResponseWithDefaults() *Book400Response

NewBook400ResponseWithDefaults instantiates a new Book400Response 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 (*Book400Response) GetError

func (o *Book400Response) GetError() Book400ResponseError

GetError returns the Error field value if set, zero value otherwise.

func (*Book400Response) GetErrorOk

func (o *Book400Response) GetErrorOk() (*Book400ResponseError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book400Response) HasError

func (o *Book400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (Book400Response) MarshalJSON

func (o Book400Response) MarshalJSON() ([]byte, error)

func (*Book400Response) SetError

func (o *Book400Response) SetError(v Book400ResponseError)

SetError gets a reference to the given Book400ResponseError and assigns it to the Error field.

type Book400ResponseError

type Book400ResponseError struct {
	Description *string `json:"description,omitempty"`
	Code        *int32  `json:"code,omitempty"`
	Message     *string `json:"message,omitempty"`
}

Book400ResponseError struct for Book400ResponseError

func NewBook400ResponseError

func NewBook400ResponseError() *Book400ResponseError

NewBook400ResponseError instantiates a new Book400ResponseError 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 NewBook400ResponseErrorWithDefaults

func NewBook400ResponseErrorWithDefaults() *Book400ResponseError

NewBook400ResponseErrorWithDefaults instantiates a new Book400ResponseError 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 (*Book400ResponseError) GetCode

func (o *Book400ResponseError) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Book400ResponseError) GetCodeOk

func (o *Book400ResponseError) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book400ResponseError) GetDescription

func (o *Book400ResponseError) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Book400ResponseError) GetDescriptionOk

func (o *Book400ResponseError) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book400ResponseError) GetMessage

func (o *Book400ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Book400ResponseError) GetMessageOk

func (o *Book400ResponseError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book400ResponseError) HasCode

func (o *Book400ResponseError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Book400ResponseError) HasDescription

func (o *Book400ResponseError) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Book400ResponseError) HasMessage

func (o *Book400ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Book400ResponseError) MarshalJSON

func (o Book400ResponseError) MarshalJSON() ([]byte, error)

func (*Book400ResponseError) SetCode

func (o *Book400ResponseError) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*Book400ResponseError) SetDescription

func (o *Book400ResponseError) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Book400ResponseError) SetMessage

func (o *Book400ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type Book401Response

type Book401Response struct {
	Message *string `json:"message,omitempty"`
}

Book401Response struct for Book401Response

func NewBook401Response

func NewBook401Response() *Book401Response

NewBook401Response instantiates a new Book401Response 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 NewBook401ResponseWithDefaults

func NewBook401ResponseWithDefaults() *Book401Response

NewBook401ResponseWithDefaults instantiates a new Book401Response 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 (*Book401Response) GetMessage

func (o *Book401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Book401Response) GetMessageOk

func (o *Book401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book401Response) HasMessage

func (o *Book401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Book401Response) MarshalJSON

func (o Book401Response) MarshalJSON() ([]byte, error)

func (*Book401Response) SetMessage

func (o *Book401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type Book500Response

type Book500Response struct {
	Error *Book400ResponseError `json:"error,omitempty"`
}

Book500Response struct for Book500Response

func NewBook500Response

func NewBook500Response() *Book500Response

NewBook500Response instantiates a new Book500Response 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 NewBook500ResponseWithDefaults

func NewBook500ResponseWithDefaults() *Book500Response

NewBook500ResponseWithDefaults instantiates a new Book500Response 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 (*Book500Response) GetError

func (o *Book500Response) GetError() Book400ResponseError

GetError returns the Error field value if set, zero value otherwise.

func (*Book500Response) GetErrorOk

func (o *Book500Response) GetErrorOk() (*Book400ResponseError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Book500Response) HasError

func (o *Book500Response) HasError() bool

HasError returns a boolean if a field has been set.

func (Book500Response) MarshalJSON

func (o Book500Response) MarshalJSON() ([]byte, error)

func (*Book500Response) SetError

func (o *Book500Response) SetError(v Book400ResponseError)

SetError gets a reference to the given Book400ResponseError and assigns it to the Error field.

type BookApiBookRequest

type BookApiBookRequest struct {
	ApiService *BookApiService
	// contains filtered or unexported fields
}

func (BookApiBookRequest) BookRequest

func (r BookApiBookRequest) BookRequest(bookRequest BookRequest) BookApiBookRequest

func (BookApiBookRequest) Execute

type BookApiPrebookRequest

type BookApiPrebookRequest struct {
	ApiService *BookApiService
	// contains filtered or unexported fields
}

func (BookApiPrebookRequest) Execute

func (BookApiPrebookRequest) PrebookRequest

func (r BookApiPrebookRequest) PrebookRequest(prebookRequest PrebookRequest) BookApiPrebookRequest

type BookApiService

type BookApiService service

BookApiService BookApi service

func (*BookApiService) Book

Book Hotel rate book

This endpoint allows you to send a specific prebook ID along with the email to confirm the booking for a specific room in a specific hotel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return BookApiBookRequest

func (*BookApiService) BookExecute

Execute executes the request

@return BookResponse

func (*BookApiService) Prebook

Prebook Hotel rate prebook

This endpoint allows you to send a specific rate ID along with the session ID to confirm the room availability, rates and cancellation policies in the response. A prebook-id is also part of the response which can be used to book a specific room in a hotel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return BookApiPrebookRequest

func (*BookApiService) PrebookExecute

Execute executes the request

@return PrebookResponse

type BookRequest

type BookRequest struct {
	// prebook id retrived from prebook response
	PrebookId string `json:"prebookId"`
	// session id retrieved from rates response
	SessionId *string               `json:"sessionId,omitempty"`
	GuestInfo *BookRequestGuestInfo `json:"guestInfo,omitempty"`
	// rate id retrieved from prebook response
	RateId string `json:"rateId"`
}

BookRequest struct for BookRequest

func NewBookRequest

func NewBookRequest(prebookId string, rateId string) *BookRequest

NewBookRequest instantiates a new BookRequest 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 NewBookRequestWithDefaults

func NewBookRequestWithDefaults() *BookRequest

NewBookRequestWithDefaults instantiates a new BookRequest 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 (*BookRequest) GetGuestInfo

func (o *BookRequest) GetGuestInfo() BookRequestGuestInfo

GetGuestInfo returns the GuestInfo field value if set, zero value otherwise.

func (*BookRequest) GetGuestInfoOk

func (o *BookRequest) GetGuestInfoOk() (*BookRequestGuestInfo, bool)

GetGuestInfoOk returns a tuple with the GuestInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookRequest) GetPrebookId

func (o *BookRequest) GetPrebookId() string

GetPrebookId returns the PrebookId field value

func (*BookRequest) GetPrebookIdOk

func (o *BookRequest) GetPrebookIdOk() (*string, bool)

GetPrebookIdOk returns a tuple with the PrebookId field value and a boolean to check if the value has been set.

func (*BookRequest) GetRateId

func (o *BookRequest) GetRateId() string

GetRateId returns the RateId field value

func (*BookRequest) GetRateIdOk

func (o *BookRequest) GetRateIdOk() (*string, bool)

GetRateIdOk returns a tuple with the RateId field value and a boolean to check if the value has been set.

func (*BookRequest) GetSessionId

func (o *BookRequest) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*BookRequest) GetSessionIdOk

func (o *BookRequest) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookRequest) HasGuestInfo

func (o *BookRequest) HasGuestInfo() bool

HasGuestInfo returns a boolean if a field has been set.

func (*BookRequest) HasSessionId

func (o *BookRequest) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (BookRequest) MarshalJSON

func (o BookRequest) MarshalJSON() ([]byte, error)

func (*BookRequest) SetGuestInfo

func (o *BookRequest) SetGuestInfo(v BookRequestGuestInfo)

SetGuestInfo gets a reference to the given BookRequestGuestInfo and assigns it to the GuestInfo field.

func (*BookRequest) SetPrebookId

func (o *BookRequest) SetPrebookId(v string)

SetPrebookId sets field value

func (*BookRequest) SetRateId

func (o *BookRequest) SetRateId(v string)

SetRateId sets field value

func (*BookRequest) SetSessionId

func (o *BookRequest) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

type BookRequestGuestInfo

type BookRequestGuestInfo struct {
	// traveler first name
	GuestFirstName string `json:"guestFirstName"`
	// traveler last name
	GuestLastName string `json:"guestLastName"`
	// traveler email
	GuestEmail string `json:"guestEmail"`
}

BookRequestGuestInfo struct for BookRequestGuestInfo

func NewBookRequestGuestInfo

func NewBookRequestGuestInfo(guestFirstName string, guestLastName string, guestEmail string) *BookRequestGuestInfo

NewBookRequestGuestInfo instantiates a new BookRequestGuestInfo 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 NewBookRequestGuestInfoWithDefaults

func NewBookRequestGuestInfoWithDefaults() *BookRequestGuestInfo

NewBookRequestGuestInfoWithDefaults instantiates a new BookRequestGuestInfo 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 (*BookRequestGuestInfo) GetGuestEmail

func (o *BookRequestGuestInfo) GetGuestEmail() string

GetGuestEmail returns the GuestEmail field value

func (*BookRequestGuestInfo) GetGuestEmailOk

func (o *BookRequestGuestInfo) GetGuestEmailOk() (*string, bool)

GetGuestEmailOk returns a tuple with the GuestEmail field value and a boolean to check if the value has been set.

func (*BookRequestGuestInfo) GetGuestFirstName

func (o *BookRequestGuestInfo) GetGuestFirstName() string

GetGuestFirstName returns the GuestFirstName field value

func (*BookRequestGuestInfo) GetGuestFirstNameOk

func (o *BookRequestGuestInfo) GetGuestFirstNameOk() (*string, bool)

GetGuestFirstNameOk returns a tuple with the GuestFirstName field value and a boolean to check if the value has been set.

func (*BookRequestGuestInfo) GetGuestLastName

func (o *BookRequestGuestInfo) GetGuestLastName() string

GetGuestLastName returns the GuestLastName field value

func (*BookRequestGuestInfo) GetGuestLastNameOk

func (o *BookRequestGuestInfo) GetGuestLastNameOk() (*string, bool)

GetGuestLastNameOk returns a tuple with the GuestLastName field value and a boolean to check if the value has been set.

func (BookRequestGuestInfo) MarshalJSON

func (o BookRequestGuestInfo) MarshalJSON() ([]byte, error)

func (*BookRequestGuestInfo) SetGuestEmail

func (o *BookRequestGuestInfo) SetGuestEmail(v string)

SetGuestEmail sets field value

func (*BookRequestGuestInfo) SetGuestFirstName

func (o *BookRequestGuestInfo) SetGuestFirstName(v string)

SetGuestFirstName sets field value

func (*BookRequestGuestInfo) SetGuestLastName

func (o *BookRequestGuestInfo) SetGuestLastName(v string)

SetGuestLastName sets field value

type BookResponse

type BookResponse struct {
	Data *BookResponseData `json:"data,omitempty"`
	// guests loyalty level granting them discounts and benefit
	GuestLevel *int32 `json:"guestLevel,omitempty"`
	Sandbox    *bool  `json:"sandbox,omitempty"`
}

BookResponse struct for BookResponse

func NewBookResponse

func NewBookResponse() *BookResponse

NewBookResponse instantiates a new BookResponse 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 NewBookResponseWithDefaults

func NewBookResponseWithDefaults() *BookResponse

NewBookResponseWithDefaults instantiates a new BookResponse 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 (*BookResponse) GetData

func (o *BookResponse) GetData() BookResponseData

GetData returns the Data field value if set, zero value otherwise.

func (*BookResponse) GetDataOk

func (o *BookResponse) GetDataOk() (*BookResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponse) GetGuestLevel

func (o *BookResponse) GetGuestLevel() int32

GetGuestLevel returns the GuestLevel field value if set, zero value otherwise.

func (*BookResponse) GetGuestLevelOk

func (o *BookResponse) GetGuestLevelOk() (*int32, bool)

GetGuestLevelOk returns a tuple with the GuestLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponse) GetSandbox

func (o *BookResponse) GetSandbox() bool

GetSandbox returns the Sandbox field value if set, zero value otherwise.

func (*BookResponse) GetSandboxOk

func (o *BookResponse) GetSandboxOk() (*bool, bool)

GetSandboxOk returns a tuple with the Sandbox field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponse) HasData

func (o *BookResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*BookResponse) HasGuestLevel

func (o *BookResponse) HasGuestLevel() bool

HasGuestLevel returns a boolean if a field has been set.

func (*BookResponse) HasSandbox

func (o *BookResponse) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

func (BookResponse) MarshalJSON

func (o BookResponse) MarshalJSON() ([]byte, error)

func (*BookResponse) SetData

func (o *BookResponse) SetData(v BookResponseData)

SetData gets a reference to the given BookResponseData and assigns it to the Data field.

func (*BookResponse) SetGuestLevel

func (o *BookResponse) SetGuestLevel(v int32)

SetGuestLevel gets a reference to the given int32 and assigns it to the GuestLevel field.

func (*BookResponse) SetSandbox

func (o *BookResponse) SetSandbox(v bool)

SetSandbox gets a reference to the given bool and assigns it to the Sandbox field.

type BookResponseData

type BookResponseData struct {
	BookingId             *string                               `json:"bookingId,omitempty"`
	Status                *string                               `json:"status,omitempty"`
	HotelConfirmationCode *string                               `json:"hotelConfirmationCode,omitempty"`
	Checkin               *string                               `json:"checkin,omitempty"`
	Checkout              *string                               `json:"checkout,omitempty"`
	Hotel                 *BookResponseDataHotel                `json:"hotel,omitempty"`
	BookedRooms           []BookResponseDataBookedRoomsInner    `json:"bookedRooms,omitempty"`
	GuestInfo             *BookResponseDataGuestInfo            `json:"guestInfo,omitempty"`
	CreatedAt             *string                               `json:"createdAt,omitempty"`
	Cancellation          *BookResponseDataCancellation         `json:"cancellation,omitempty"`
	CancellationPolicies  *BookResponseDataCancellationPolicies `json:"cancellationPolicies,omitempty"`
	Price                 *float32                              `json:"price,omitempty"`
}

BookResponseData struct for BookResponseData

func NewBookResponseData

func NewBookResponseData() *BookResponseData

NewBookResponseData instantiates a new BookResponseData 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 NewBookResponseDataWithDefaults

func NewBookResponseDataWithDefaults() *BookResponseData

NewBookResponseDataWithDefaults instantiates a new BookResponseData 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 (*BookResponseData) GetBookedRooms

func (o *BookResponseData) GetBookedRooms() []BookResponseDataBookedRoomsInner

GetBookedRooms returns the BookedRooms field value if set, zero value otherwise.

func (*BookResponseData) GetBookedRoomsOk

func (o *BookResponseData) GetBookedRoomsOk() ([]BookResponseDataBookedRoomsInner, bool)

GetBookedRoomsOk returns a tuple with the BookedRooms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetBookingId

func (o *BookResponseData) GetBookingId() string

GetBookingId returns the BookingId field value if set, zero value otherwise.

func (*BookResponseData) GetBookingIdOk

func (o *BookResponseData) GetBookingIdOk() (*string, bool)

GetBookingIdOk returns a tuple with the BookingId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetCancellation

func (o *BookResponseData) GetCancellation() BookResponseDataCancellation

GetCancellation returns the Cancellation field value if set, zero value otherwise.

func (*BookResponseData) GetCancellationOk

func (o *BookResponseData) GetCancellationOk() (*BookResponseDataCancellation, bool)

GetCancellationOk returns a tuple with the Cancellation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetCancellationPolicies

func (o *BookResponseData) GetCancellationPolicies() BookResponseDataCancellationPolicies

GetCancellationPolicies returns the CancellationPolicies field value if set, zero value otherwise.

func (*BookResponseData) GetCancellationPoliciesOk

func (o *BookResponseData) GetCancellationPoliciesOk() (*BookResponseDataCancellationPolicies, bool)

GetCancellationPoliciesOk returns a tuple with the CancellationPolicies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetCheckin

func (o *BookResponseData) GetCheckin() string

GetCheckin returns the Checkin field value if set, zero value otherwise.

func (*BookResponseData) GetCheckinOk

func (o *BookResponseData) GetCheckinOk() (*string, bool)

GetCheckinOk returns a tuple with the Checkin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetCheckout

func (o *BookResponseData) GetCheckout() string

GetCheckout returns the Checkout field value if set, zero value otherwise.

func (*BookResponseData) GetCheckoutOk

func (o *BookResponseData) GetCheckoutOk() (*string, bool)

GetCheckoutOk returns a tuple with the Checkout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetCreatedAt

func (o *BookResponseData) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*BookResponseData) GetCreatedAtOk

func (o *BookResponseData) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetGuestInfo

func (o *BookResponseData) GetGuestInfo() BookResponseDataGuestInfo

GetGuestInfo returns the GuestInfo field value if set, zero value otherwise.

func (*BookResponseData) GetGuestInfoOk

func (o *BookResponseData) GetGuestInfoOk() (*BookResponseDataGuestInfo, bool)

GetGuestInfoOk returns a tuple with the GuestInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetHotel

GetHotel returns the Hotel field value if set, zero value otherwise.

func (*BookResponseData) GetHotelConfirmationCode

func (o *BookResponseData) GetHotelConfirmationCode() string

GetHotelConfirmationCode returns the HotelConfirmationCode field value if set, zero value otherwise.

func (*BookResponseData) GetHotelConfirmationCodeOk

func (o *BookResponseData) GetHotelConfirmationCodeOk() (*string, bool)

GetHotelConfirmationCodeOk returns a tuple with the HotelConfirmationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetHotelOk

func (o *BookResponseData) GetHotelOk() (*BookResponseDataHotel, bool)

GetHotelOk returns a tuple with the Hotel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetPrice

func (o *BookResponseData) GetPrice() float32

GetPrice returns the Price field value if set, zero value otherwise.

func (*BookResponseData) GetPriceOk

func (o *BookResponseData) GetPriceOk() (*float32, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) GetStatus

func (o *BookResponseData) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*BookResponseData) GetStatusOk

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

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseData) HasBookedRooms

func (o *BookResponseData) HasBookedRooms() bool

HasBookedRooms returns a boolean if a field has been set.

func (*BookResponseData) HasBookingId

func (o *BookResponseData) HasBookingId() bool

HasBookingId returns a boolean if a field has been set.

func (*BookResponseData) HasCancellation

func (o *BookResponseData) HasCancellation() bool

HasCancellation returns a boolean if a field has been set.

func (*BookResponseData) HasCancellationPolicies

func (o *BookResponseData) HasCancellationPolicies() bool

HasCancellationPolicies returns a boolean if a field has been set.

func (*BookResponseData) HasCheckin

func (o *BookResponseData) HasCheckin() bool

HasCheckin returns a boolean if a field has been set.

func (*BookResponseData) HasCheckout

func (o *BookResponseData) HasCheckout() bool

HasCheckout returns a boolean if a field has been set.

func (*BookResponseData) HasCreatedAt

func (o *BookResponseData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BookResponseData) HasGuestInfo

func (o *BookResponseData) HasGuestInfo() bool

HasGuestInfo returns a boolean if a field has been set.

func (*BookResponseData) HasHotel

func (o *BookResponseData) HasHotel() bool

HasHotel returns a boolean if a field has been set.

func (*BookResponseData) HasHotelConfirmationCode

func (o *BookResponseData) HasHotelConfirmationCode() bool

HasHotelConfirmationCode returns a boolean if a field has been set.

func (*BookResponseData) HasPrice

func (o *BookResponseData) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*BookResponseData) HasStatus

func (o *BookResponseData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (BookResponseData) MarshalJSON

func (o BookResponseData) MarshalJSON() ([]byte, error)

func (*BookResponseData) SetBookedRooms

func (o *BookResponseData) SetBookedRooms(v []BookResponseDataBookedRoomsInner)

SetBookedRooms gets a reference to the given []BookResponseDataBookedRoomsInner and assigns it to the BookedRooms field.

func (*BookResponseData) SetBookingId

func (o *BookResponseData) SetBookingId(v string)

SetBookingId gets a reference to the given string and assigns it to the BookingId field.

func (*BookResponseData) SetCancellation

func (o *BookResponseData) SetCancellation(v BookResponseDataCancellation)

SetCancellation gets a reference to the given BookResponseDataCancellation and assigns it to the Cancellation field.

func (*BookResponseData) SetCancellationPolicies

func (o *BookResponseData) SetCancellationPolicies(v BookResponseDataCancellationPolicies)

SetCancellationPolicies gets a reference to the given BookResponseDataCancellationPolicies and assigns it to the CancellationPolicies field.

func (*BookResponseData) SetCheckin

func (o *BookResponseData) SetCheckin(v string)

SetCheckin gets a reference to the given string and assigns it to the Checkin field.

func (*BookResponseData) SetCheckout

func (o *BookResponseData) SetCheckout(v string)

SetCheckout gets a reference to the given string and assigns it to the Checkout field.

func (*BookResponseData) SetCreatedAt

func (o *BookResponseData) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*BookResponseData) SetGuestInfo

func (o *BookResponseData) SetGuestInfo(v BookResponseDataGuestInfo)

SetGuestInfo gets a reference to the given BookResponseDataGuestInfo and assigns it to the GuestInfo field.

func (*BookResponseData) SetHotel

func (o *BookResponseData) SetHotel(v BookResponseDataHotel)

SetHotel gets a reference to the given BookResponseDataHotel and assigns it to the Hotel field.

func (*BookResponseData) SetHotelConfirmationCode

func (o *BookResponseData) SetHotelConfirmationCode(v string)

SetHotelConfirmationCode gets a reference to the given string and assigns it to the HotelConfirmationCode field.

func (*BookResponseData) SetPrice

func (o *BookResponseData) SetPrice(v float32)

SetPrice gets a reference to the given float32 and assigns it to the Price field.

func (*BookResponseData) SetStatus

func (o *BookResponseData) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type BookResponseDataBookedRoomsInner

type BookResponseDataBookedRoomsInner struct {
	RoomType *BookResponseDataBookedRoomsInnerRoomType `json:"roomType,omitempty"`
	Adults   *int32                                    `json:"adults,omitempty"`
	Children *int32                                    `json:"children,omitempty"`
	Rate     *BookResponseDataBookedRoomsInnerRate     `json:"rate,omitempty"`
}

BookResponseDataBookedRoomsInner struct for BookResponseDataBookedRoomsInner

func NewBookResponseDataBookedRoomsInner

func NewBookResponseDataBookedRoomsInner() *BookResponseDataBookedRoomsInner

NewBookResponseDataBookedRoomsInner instantiates a new BookResponseDataBookedRoomsInner 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 NewBookResponseDataBookedRoomsInnerWithDefaults

func NewBookResponseDataBookedRoomsInnerWithDefaults() *BookResponseDataBookedRoomsInner

NewBookResponseDataBookedRoomsInnerWithDefaults instantiates a new BookResponseDataBookedRoomsInner 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 (*BookResponseDataBookedRoomsInner) GetAdults

func (o *BookResponseDataBookedRoomsInner) GetAdults() int32

GetAdults returns the Adults field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInner) GetAdultsOk

func (o *BookResponseDataBookedRoomsInner) GetAdultsOk() (*int32, bool)

GetAdultsOk returns a tuple with the Adults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInner) GetChildren

func (o *BookResponseDataBookedRoomsInner) GetChildren() int32

GetChildren returns the Children field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInner) GetChildrenOk

func (o *BookResponseDataBookedRoomsInner) GetChildrenOk() (*int32, bool)

GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInner) GetRate

GetRate returns the Rate field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInner) GetRateOk

GetRateOk returns a tuple with the Rate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInner) GetRoomType

GetRoomType returns the RoomType field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInner) GetRoomTypeOk

GetRoomTypeOk returns a tuple with the RoomType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInner) HasAdults

func (o *BookResponseDataBookedRoomsInner) HasAdults() bool

HasAdults returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInner) HasChildren

func (o *BookResponseDataBookedRoomsInner) HasChildren() bool

HasChildren returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInner) HasRate

HasRate returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInner) HasRoomType

func (o *BookResponseDataBookedRoomsInner) HasRoomType() bool

HasRoomType returns a boolean if a field has been set.

func (BookResponseDataBookedRoomsInner) MarshalJSON

func (o BookResponseDataBookedRoomsInner) MarshalJSON() ([]byte, error)

func (*BookResponseDataBookedRoomsInner) SetAdults

func (o *BookResponseDataBookedRoomsInner) SetAdults(v int32)

SetAdults gets a reference to the given int32 and assigns it to the Adults field.

func (*BookResponseDataBookedRoomsInner) SetChildren

func (o *BookResponseDataBookedRoomsInner) SetChildren(v int32)

SetChildren gets a reference to the given int32 and assigns it to the Children field.

func (*BookResponseDataBookedRoomsInner) SetRate

SetRate gets a reference to the given BookResponseDataBookedRoomsInnerRate and assigns it to the Rate field.

func (*BookResponseDataBookedRoomsInner) SetRoomType

SetRoomType gets a reference to the given BookResponseDataBookedRoomsInnerRoomType and assigns it to the RoomType field.

type BookResponseDataBookedRoomsInnerRate

type BookResponseDataBookedRoomsInnerRate struct {
	RateId       *string                                         `json:"rateId,omitempty"`
	MaxOccupancy *int32                                          `json:"maxOccupancy,omitempty"`
	RetailRate   *BookResponseDataBookedRoomsInnerRateRetailRate `json:"retailRate,omitempty"`
}

BookResponseDataBookedRoomsInnerRate struct for BookResponseDataBookedRoomsInnerRate

func NewBookResponseDataBookedRoomsInnerRate

func NewBookResponseDataBookedRoomsInnerRate() *BookResponseDataBookedRoomsInnerRate

NewBookResponseDataBookedRoomsInnerRate instantiates a new BookResponseDataBookedRoomsInnerRate 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 NewBookResponseDataBookedRoomsInnerRateWithDefaults

func NewBookResponseDataBookedRoomsInnerRateWithDefaults() *BookResponseDataBookedRoomsInnerRate

NewBookResponseDataBookedRoomsInnerRateWithDefaults instantiates a new BookResponseDataBookedRoomsInnerRate 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 (*BookResponseDataBookedRoomsInnerRate) GetMaxOccupancy

func (o *BookResponseDataBookedRoomsInnerRate) GetMaxOccupancy() int32

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRate) GetMaxOccupancyOk

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

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRate) GetRateId

GetRateId returns the RateId field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRate) GetRateIdOk

func (o *BookResponseDataBookedRoomsInnerRate) GetRateIdOk() (*string, bool)

GetRateIdOk returns a tuple with the RateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRate) GetRetailRate

GetRetailRate returns the RetailRate field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRate) GetRetailRateOk

GetRetailRateOk returns a tuple with the RetailRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRate) HasMaxOccupancy

func (o *BookResponseDataBookedRoomsInnerRate) HasMaxOccupancy() bool

HasMaxOccupancy returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInnerRate) HasRateId

HasRateId returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInnerRate) HasRetailRate

func (o *BookResponseDataBookedRoomsInnerRate) HasRetailRate() bool

HasRetailRate returns a boolean if a field has been set.

func (BookResponseDataBookedRoomsInnerRate) MarshalJSON

func (o BookResponseDataBookedRoomsInnerRate) MarshalJSON() ([]byte, error)

func (*BookResponseDataBookedRoomsInnerRate) SetMaxOccupancy

func (o *BookResponseDataBookedRoomsInnerRate) SetMaxOccupancy(v int32)

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*BookResponseDataBookedRoomsInnerRate) SetRateId

SetRateId gets a reference to the given string and assigns it to the RateId field.

func (*BookResponseDataBookedRoomsInnerRate) SetRetailRate

SetRetailRate gets a reference to the given BookResponseDataBookedRoomsInnerRateRetailRate and assigns it to the RetailRate field.

type BookResponseDataBookedRoomsInnerRateRetailRate

type BookResponseDataBookedRoomsInnerRateRetailRate struct {
	Total *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner `json:"total,omitempty"`
}

BookResponseDataBookedRoomsInnerRateRetailRate struct for BookResponseDataBookedRoomsInnerRateRetailRate

func NewBookResponseDataBookedRoomsInnerRateRetailRate

func NewBookResponseDataBookedRoomsInnerRateRetailRate() *BookResponseDataBookedRoomsInnerRateRetailRate

NewBookResponseDataBookedRoomsInnerRateRetailRate instantiates a new BookResponseDataBookedRoomsInnerRateRetailRate 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 NewBookResponseDataBookedRoomsInnerRateRetailRateWithDefaults

func NewBookResponseDataBookedRoomsInnerRateRetailRateWithDefaults() *BookResponseDataBookedRoomsInnerRateRetailRate

NewBookResponseDataBookedRoomsInnerRateRetailRateWithDefaults instantiates a new BookResponseDataBookedRoomsInnerRateRetailRate 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 (*BookResponseDataBookedRoomsInnerRateRetailRate) GetTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRateRetailRate) GetTotalOk

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRateRetailRate) HasTotal

HasTotal returns a boolean if a field has been set.

func (BookResponseDataBookedRoomsInnerRateRetailRate) MarshalJSON

func (*BookResponseDataBookedRoomsInnerRateRetailRate) SetTotal

SetTotal gets a reference to the given GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner and assigns it to the Total field.

type BookResponseDataBookedRoomsInnerRoomType

type BookResponseDataBookedRoomsInnerRoomType struct {
	RoomTypeId *string `json:"roomTypeId,omitempty"`
	Name       *string `json:"name,omitempty"`
}

BookResponseDataBookedRoomsInnerRoomType struct for BookResponseDataBookedRoomsInnerRoomType

func NewBookResponseDataBookedRoomsInnerRoomType

func NewBookResponseDataBookedRoomsInnerRoomType() *BookResponseDataBookedRoomsInnerRoomType

NewBookResponseDataBookedRoomsInnerRoomType instantiates a new BookResponseDataBookedRoomsInnerRoomType 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 NewBookResponseDataBookedRoomsInnerRoomTypeWithDefaults

func NewBookResponseDataBookedRoomsInnerRoomTypeWithDefaults() *BookResponseDataBookedRoomsInnerRoomType

NewBookResponseDataBookedRoomsInnerRoomTypeWithDefaults instantiates a new BookResponseDataBookedRoomsInnerRoomType 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 (*BookResponseDataBookedRoomsInnerRoomType) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRoomType) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRoomType) GetRoomTypeId

GetRoomTypeId returns the RoomTypeId field value if set, zero value otherwise.

func (*BookResponseDataBookedRoomsInnerRoomType) GetRoomTypeIdOk

func (o *BookResponseDataBookedRoomsInnerRoomType) GetRoomTypeIdOk() (*string, bool)

GetRoomTypeIdOk returns a tuple with the RoomTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataBookedRoomsInnerRoomType) HasName

HasName returns a boolean if a field has been set.

func (*BookResponseDataBookedRoomsInnerRoomType) HasRoomTypeId

HasRoomTypeId returns a boolean if a field has been set.

func (BookResponseDataBookedRoomsInnerRoomType) MarshalJSON

func (*BookResponseDataBookedRoomsInnerRoomType) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*BookResponseDataBookedRoomsInnerRoomType) SetRoomTypeId

SetRoomTypeId gets a reference to the given string and assigns it to the RoomTypeId field.

type BookResponseDataCancellation

type BookResponseDataCancellation struct {
	Fee *BookResponseDataCancellationFee `json:"fee,omitempty"`
}

BookResponseDataCancellation struct for BookResponseDataCancellation

func NewBookResponseDataCancellation

func NewBookResponseDataCancellation() *BookResponseDataCancellation

NewBookResponseDataCancellation instantiates a new BookResponseDataCancellation 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 NewBookResponseDataCancellationWithDefaults

func NewBookResponseDataCancellationWithDefaults() *BookResponseDataCancellation

NewBookResponseDataCancellationWithDefaults instantiates a new BookResponseDataCancellation 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 (*BookResponseDataCancellation) GetFee

GetFee returns the Fee field value if set, zero value otherwise.

func (*BookResponseDataCancellation) GetFeeOk

GetFeeOk returns a tuple with the Fee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellation) HasFee

func (o *BookResponseDataCancellation) HasFee() bool

HasFee returns a boolean if a field has been set.

func (BookResponseDataCancellation) MarshalJSON

func (o BookResponseDataCancellation) MarshalJSON() ([]byte, error)

func (*BookResponseDataCancellation) SetFee

SetFee gets a reference to the given BookResponseDataCancellationFee and assigns it to the Fee field.

type BookResponseDataCancellationFee

type BookResponseDataCancellationFee struct {
	Type  *string                                                                     `json:"type,omitempty"`
	Count *int32                                                                      `json:"count,omitempty"`
	Price *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner `json:"price,omitempty"`
}

BookResponseDataCancellationFee struct for BookResponseDataCancellationFee

func NewBookResponseDataCancellationFee

func NewBookResponseDataCancellationFee() *BookResponseDataCancellationFee

NewBookResponseDataCancellationFee instantiates a new BookResponseDataCancellationFee 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 NewBookResponseDataCancellationFeeWithDefaults

func NewBookResponseDataCancellationFeeWithDefaults() *BookResponseDataCancellationFee

NewBookResponseDataCancellationFeeWithDefaults instantiates a new BookResponseDataCancellationFee 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 (*BookResponseDataCancellationFee) GetCount

func (o *BookResponseDataCancellationFee) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*BookResponseDataCancellationFee) GetCountOk

func (o *BookResponseDataCancellationFee) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellationFee) GetPrice

GetPrice returns the Price field value if set, zero value otherwise.

func (*BookResponseDataCancellationFee) GetPriceOk

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellationFee) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*BookResponseDataCancellationFee) GetTypeOk

func (o *BookResponseDataCancellationFee) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellationFee) HasCount

func (o *BookResponseDataCancellationFee) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*BookResponseDataCancellationFee) HasPrice

func (o *BookResponseDataCancellationFee) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*BookResponseDataCancellationFee) HasType

HasType returns a boolean if a field has been set.

func (BookResponseDataCancellationFee) MarshalJSON

func (o BookResponseDataCancellationFee) MarshalJSON() ([]byte, error)

func (*BookResponseDataCancellationFee) SetCount

func (o *BookResponseDataCancellationFee) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*BookResponseDataCancellationFee) SetPrice

SetPrice gets a reference to the given GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner and assigns it to the Price field.

func (*BookResponseDataCancellationFee) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type BookResponseDataCancellationPolicies

type BookResponseDataCancellationPolicies struct {
	CancelPolicyInfos []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner `json:"cancelPolicyInfos,omitempty"`
	HotelRemarks      []string                                                                                `json:"hotelRemarks,omitempty"`
	RefundableTag     *string                                                                                 `json:"refundableTag,omitempty"`
}

BookResponseDataCancellationPolicies struct for BookResponseDataCancellationPolicies

func NewBookResponseDataCancellationPolicies

func NewBookResponseDataCancellationPolicies() *BookResponseDataCancellationPolicies

NewBookResponseDataCancellationPolicies instantiates a new BookResponseDataCancellationPolicies 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 NewBookResponseDataCancellationPoliciesWithDefaults

func NewBookResponseDataCancellationPoliciesWithDefaults() *BookResponseDataCancellationPolicies

NewBookResponseDataCancellationPoliciesWithDefaults instantiates a new BookResponseDataCancellationPolicies 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 (*BookResponseDataCancellationPolicies) GetCancelPolicyInfos

GetCancelPolicyInfos returns the CancelPolicyInfos field value if set, zero value otherwise.

func (*BookResponseDataCancellationPolicies) GetCancelPolicyInfosOk

GetCancelPolicyInfosOk returns a tuple with the CancelPolicyInfos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellationPolicies) GetHotelRemarks

func (o *BookResponseDataCancellationPolicies) GetHotelRemarks() []string

GetHotelRemarks returns the HotelRemarks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BookResponseDataCancellationPolicies) GetHotelRemarksOk

func (o *BookResponseDataCancellationPolicies) GetHotelRemarksOk() ([]string, bool)

GetHotelRemarksOk returns a tuple with the HotelRemarks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BookResponseDataCancellationPolicies) GetRefundableTag

func (o *BookResponseDataCancellationPolicies) GetRefundableTag() string

GetRefundableTag returns the RefundableTag field value if set, zero value otherwise.

func (*BookResponseDataCancellationPolicies) GetRefundableTagOk

func (o *BookResponseDataCancellationPolicies) GetRefundableTagOk() (*string, bool)

GetRefundableTagOk returns a tuple with the RefundableTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataCancellationPolicies) HasCancelPolicyInfos

func (o *BookResponseDataCancellationPolicies) HasCancelPolicyInfos() bool

HasCancelPolicyInfos returns a boolean if a field has been set.

func (*BookResponseDataCancellationPolicies) HasHotelRemarks

func (o *BookResponseDataCancellationPolicies) HasHotelRemarks() bool

HasHotelRemarks returns a boolean if a field has been set.

func (*BookResponseDataCancellationPolicies) HasRefundableTag

func (o *BookResponseDataCancellationPolicies) HasRefundableTag() bool

HasRefundableTag returns a boolean if a field has been set.

func (BookResponseDataCancellationPolicies) MarshalJSON

func (o BookResponseDataCancellationPolicies) MarshalJSON() ([]byte, error)

func (*BookResponseDataCancellationPolicies) SetCancelPolicyInfos

SetCancelPolicyInfos gets a reference to the given []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner and assigns it to the CancelPolicyInfos field.

func (*BookResponseDataCancellationPolicies) SetHotelRemarks

func (o *BookResponseDataCancellationPolicies) SetHotelRemarks(v []string)

SetHotelRemarks gets a reference to the given []string and assigns it to the HotelRemarks field.

func (*BookResponseDataCancellationPolicies) SetRefundableTag

func (o *BookResponseDataCancellationPolicies) SetRefundableTag(v string)

SetRefundableTag gets a reference to the given string and assigns it to the RefundableTag field.

type BookResponseDataGuestInfo

type BookResponseDataGuestInfo struct {
	GuestFirstName *string `json:"guestFirstName,omitempty"`
	GuestLastName  *string `json:"guestLastName,omitempty"`
	GuestEmail     *string `json:"guestEmail,omitempty"`
}

BookResponseDataGuestInfo struct for BookResponseDataGuestInfo

func NewBookResponseDataGuestInfo

func NewBookResponseDataGuestInfo() *BookResponseDataGuestInfo

NewBookResponseDataGuestInfo instantiates a new BookResponseDataGuestInfo 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 NewBookResponseDataGuestInfoWithDefaults

func NewBookResponseDataGuestInfoWithDefaults() *BookResponseDataGuestInfo

NewBookResponseDataGuestInfoWithDefaults instantiates a new BookResponseDataGuestInfo 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 (*BookResponseDataGuestInfo) GetGuestEmail

func (o *BookResponseDataGuestInfo) GetGuestEmail() string

GetGuestEmail returns the GuestEmail field value if set, zero value otherwise.

func (*BookResponseDataGuestInfo) GetGuestEmailOk

func (o *BookResponseDataGuestInfo) GetGuestEmailOk() (*string, bool)

GetGuestEmailOk returns a tuple with the GuestEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataGuestInfo) GetGuestFirstName

func (o *BookResponseDataGuestInfo) GetGuestFirstName() string

GetGuestFirstName returns the GuestFirstName field value if set, zero value otherwise.

func (*BookResponseDataGuestInfo) GetGuestFirstNameOk

func (o *BookResponseDataGuestInfo) GetGuestFirstNameOk() (*string, bool)

GetGuestFirstNameOk returns a tuple with the GuestFirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataGuestInfo) GetGuestLastName

func (o *BookResponseDataGuestInfo) GetGuestLastName() string

GetGuestLastName returns the GuestLastName field value if set, zero value otherwise.

func (*BookResponseDataGuestInfo) GetGuestLastNameOk

func (o *BookResponseDataGuestInfo) GetGuestLastNameOk() (*string, bool)

GetGuestLastNameOk returns a tuple with the GuestLastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataGuestInfo) HasGuestEmail

func (o *BookResponseDataGuestInfo) HasGuestEmail() bool

HasGuestEmail returns a boolean if a field has been set.

func (*BookResponseDataGuestInfo) HasGuestFirstName

func (o *BookResponseDataGuestInfo) HasGuestFirstName() bool

HasGuestFirstName returns a boolean if a field has been set.

func (*BookResponseDataGuestInfo) HasGuestLastName

func (o *BookResponseDataGuestInfo) HasGuestLastName() bool

HasGuestLastName returns a boolean if a field has been set.

func (BookResponseDataGuestInfo) MarshalJSON

func (o BookResponseDataGuestInfo) MarshalJSON() ([]byte, error)

func (*BookResponseDataGuestInfo) SetGuestEmail

func (o *BookResponseDataGuestInfo) SetGuestEmail(v string)

SetGuestEmail gets a reference to the given string and assigns it to the GuestEmail field.

func (*BookResponseDataGuestInfo) SetGuestFirstName

func (o *BookResponseDataGuestInfo) SetGuestFirstName(v string)

SetGuestFirstName gets a reference to the given string and assigns it to the GuestFirstName field.

func (*BookResponseDataGuestInfo) SetGuestLastName

func (o *BookResponseDataGuestInfo) SetGuestLastName(v string)

SetGuestLastName gets a reference to the given string and assigns it to the GuestLastName field.

type BookResponseDataHotel

type BookResponseDataHotel struct {
	HotelId    *string                        `json:"hotelId,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	StarRating *int32                         `json:"starRating,omitempty"`
	Address    *BookResponseDataHotelAddress  `json:"address,omitempty"`
	Location   *BookResponseDataHotelLocation `json:"location,omitempty"`
}

BookResponseDataHotel struct for BookResponseDataHotel

func NewBookResponseDataHotel

func NewBookResponseDataHotel() *BookResponseDataHotel

NewBookResponseDataHotel instantiates a new BookResponseDataHotel 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 NewBookResponseDataHotelWithDefaults

func NewBookResponseDataHotelWithDefaults() *BookResponseDataHotel

NewBookResponseDataHotelWithDefaults instantiates a new BookResponseDataHotel 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 (*BookResponseDataHotel) GetAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*BookResponseDataHotel) GetAddressOk

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotel) GetHotelId

func (o *BookResponseDataHotel) GetHotelId() string

GetHotelId returns the HotelId field value if set, zero value otherwise.

func (*BookResponseDataHotel) GetHotelIdOk

func (o *BookResponseDataHotel) GetHotelIdOk() (*string, bool)

GetHotelIdOk returns a tuple with the HotelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotel) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*BookResponseDataHotel) GetLocationOk

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotel) GetName

func (o *BookResponseDataHotel) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*BookResponseDataHotel) GetNameOk

func (o *BookResponseDataHotel) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotel) GetStarRating

func (o *BookResponseDataHotel) GetStarRating() int32

GetStarRating returns the StarRating field value if set, zero value otherwise.

func (*BookResponseDataHotel) GetStarRatingOk

func (o *BookResponseDataHotel) GetStarRatingOk() (*int32, bool)

GetStarRatingOk returns a tuple with the StarRating field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotel) HasAddress

func (o *BookResponseDataHotel) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*BookResponseDataHotel) HasHotelId

func (o *BookResponseDataHotel) HasHotelId() bool

HasHotelId returns a boolean if a field has been set.

func (*BookResponseDataHotel) HasLocation

func (o *BookResponseDataHotel) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*BookResponseDataHotel) HasName

func (o *BookResponseDataHotel) HasName() bool

HasName returns a boolean if a field has been set.

func (*BookResponseDataHotel) HasStarRating

func (o *BookResponseDataHotel) HasStarRating() bool

HasStarRating returns a boolean if a field has been set.

func (BookResponseDataHotel) MarshalJSON

func (o BookResponseDataHotel) MarshalJSON() ([]byte, error)

func (*BookResponseDataHotel) SetAddress

SetAddress gets a reference to the given BookResponseDataHotelAddress and assigns it to the Address field.

func (*BookResponseDataHotel) SetHotelId

func (o *BookResponseDataHotel) SetHotelId(v string)

SetHotelId gets a reference to the given string and assigns it to the HotelId field.

func (*BookResponseDataHotel) SetLocation

SetLocation gets a reference to the given BookResponseDataHotelLocation and assigns it to the Location field.

func (*BookResponseDataHotel) SetName

func (o *BookResponseDataHotel) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*BookResponseDataHotel) SetStarRating

func (o *BookResponseDataHotel) SetStarRating(v int32)

SetStarRating gets a reference to the given int32 and assigns it to the StarRating field.

type BookResponseDataHotelAddress

type BookResponseDataHotelAddress struct {
	Line1       *string `json:"line1,omitempty"`
	Line2       *string `json:"line2,omitempty"`
	City        *string `json:"city,omitempty"`
	PostalCode  *string `json:"postalCode,omitempty"`
	Region      *string `json:"region,omitempty"`
	Country     *string `json:"country,omitempty"`
	CountryName *string `json:"countryName,omitempty"`
}

BookResponseDataHotelAddress struct for BookResponseDataHotelAddress

func NewBookResponseDataHotelAddress

func NewBookResponseDataHotelAddress() *BookResponseDataHotelAddress

NewBookResponseDataHotelAddress instantiates a new BookResponseDataHotelAddress 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 NewBookResponseDataHotelAddressWithDefaults

func NewBookResponseDataHotelAddressWithDefaults() *BookResponseDataHotelAddress

NewBookResponseDataHotelAddressWithDefaults instantiates a new BookResponseDataHotelAddress 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 (*BookResponseDataHotelAddress) GetCity

func (o *BookResponseDataHotelAddress) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetCityOk

func (o *BookResponseDataHotelAddress) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetCountry

func (o *BookResponseDataHotelAddress) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetCountryName

func (o *BookResponseDataHotelAddress) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetCountryNameOk

func (o *BookResponseDataHotelAddress) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetCountryOk

func (o *BookResponseDataHotelAddress) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetLine1

func (o *BookResponseDataHotelAddress) GetLine1() string

GetLine1 returns the Line1 field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetLine1Ok

func (o *BookResponseDataHotelAddress) GetLine1Ok() (*string, bool)

GetLine1Ok returns a tuple with the Line1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetLine2

func (o *BookResponseDataHotelAddress) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetLine2Ok

func (o *BookResponseDataHotelAddress) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetPostalCode

func (o *BookResponseDataHotelAddress) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetPostalCodeOk

func (o *BookResponseDataHotelAddress) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) GetRegion

func (o *BookResponseDataHotelAddress) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*BookResponseDataHotelAddress) GetRegionOk

func (o *BookResponseDataHotelAddress) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelAddress) HasCity

func (o *BookResponseDataHotelAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasCountry

func (o *BookResponseDataHotelAddress) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasCountryName

func (o *BookResponseDataHotelAddress) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasLine1

func (o *BookResponseDataHotelAddress) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasLine2

func (o *BookResponseDataHotelAddress) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasPostalCode

func (o *BookResponseDataHotelAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*BookResponseDataHotelAddress) HasRegion

func (o *BookResponseDataHotelAddress) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (BookResponseDataHotelAddress) MarshalJSON

func (o BookResponseDataHotelAddress) MarshalJSON() ([]byte, error)

func (*BookResponseDataHotelAddress) SetCity

func (o *BookResponseDataHotelAddress) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*BookResponseDataHotelAddress) SetCountry

func (o *BookResponseDataHotelAddress) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*BookResponseDataHotelAddress) SetCountryName

func (o *BookResponseDataHotelAddress) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*BookResponseDataHotelAddress) SetLine1

func (o *BookResponseDataHotelAddress) SetLine1(v string)

SetLine1 gets a reference to the given string and assigns it to the Line1 field.

func (*BookResponseDataHotelAddress) SetLine2

func (o *BookResponseDataHotelAddress) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*BookResponseDataHotelAddress) SetPostalCode

func (o *BookResponseDataHotelAddress) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*BookResponseDataHotelAddress) SetRegion

func (o *BookResponseDataHotelAddress) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

type BookResponseDataHotelLocation

type BookResponseDataHotelLocation struct {
	Latitude  *float32 `json:"latitude,omitempty"`
	Longitude *float32 `json:"longitude,omitempty"`
}

BookResponseDataHotelLocation struct for BookResponseDataHotelLocation

func NewBookResponseDataHotelLocation

func NewBookResponseDataHotelLocation() *BookResponseDataHotelLocation

NewBookResponseDataHotelLocation instantiates a new BookResponseDataHotelLocation 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 NewBookResponseDataHotelLocationWithDefaults

func NewBookResponseDataHotelLocationWithDefaults() *BookResponseDataHotelLocation

NewBookResponseDataHotelLocationWithDefaults instantiates a new BookResponseDataHotelLocation 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 (*BookResponseDataHotelLocation) GetLatitude

func (o *BookResponseDataHotelLocation) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*BookResponseDataHotelLocation) GetLatitudeOk

func (o *BookResponseDataHotelLocation) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelLocation) GetLongitude

func (o *BookResponseDataHotelLocation) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*BookResponseDataHotelLocation) GetLongitudeOk

func (o *BookResponseDataHotelLocation) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BookResponseDataHotelLocation) HasLatitude

func (o *BookResponseDataHotelLocation) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*BookResponseDataHotelLocation) HasLongitude

func (o *BookResponseDataHotelLocation) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (BookResponseDataHotelLocation) MarshalJSON

func (o BookResponseDataHotelLocation) MarshalJSON() ([]byte, error)

func (*BookResponseDataHotelLocation) SetLatitude

func (o *BookResponseDataHotelLocation) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*BookResponseDataHotelLocation) SetLongitude

func (o *BookResponseDataHotelLocation) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

type BookingManagementApiCancelRequest

type BookingManagementApiCancelRequest struct {
	ApiService *BookingManagementApiService
	// contains filtered or unexported fields
}

func (BookingManagementApiCancelRequest) Execute

type BookingManagementApiListBookingsRequest

type BookingManagementApiListBookingsRequest struct {
	ApiService *BookingManagementApiService
	// contains filtered or unexported fields
}

func (BookingManagementApiListBookingsRequest) Execute

func (BookingManagementApiListBookingsRequest) GuestId

guest id of bookings

type BookingManagementApiRetrieveRequest

type BookingManagementApiRetrieveRequest struct {
	ApiService *BookingManagementApiService
	// contains filtered or unexported fields
}

func (BookingManagementApiRetrieveRequest) Execute

type BookingManagementApiService

type BookingManagementApiService service

BookingManagementApiService BookingManagementApi service

func (*BookingManagementApiService) Cancel

Cancel Booking cancel

This endpoint allows you to cancel a booking based on a booking ID. The refund amount is based on the cancellation policies. <!-- theme: danger -->

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bookingId (Required) The unique identifier of the booking you would like to update.
@return BookingManagementApiCancelRequest

func (*BookingManagementApiService) CancelExecute

Execute executes the request

@return CancelResponse

func (*BookingManagementApiService) ListBookings

ListBookings Booking list

List bookings by guestId

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return BookingManagementApiListBookingsRequest

func (*BookingManagementApiService) ListBookingsExecute

Execute executes the request

@return ListBookingsResponse

func (*BookingManagementApiService) Retrieve

Retrieve Booking retrieve

This endpoint allows you to retrieve all the information for specific booking ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bookingId (Required) The unique identifier of the booking you would like to update.
@return BookingManagementApiRetrieveRequest

func (*BookingManagementApiService) RetrieveExecute

Execute executes the request

@return RetrieveResponse

type Cancel400Response

type Cancel400Response struct {
	Error *Cancel400ResponseError `json:"error,omitempty"`
}

Cancel400Response struct for Cancel400Response

func NewCancel400Response

func NewCancel400Response() *Cancel400Response

NewCancel400Response instantiates a new Cancel400Response 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 NewCancel400ResponseWithDefaults

func NewCancel400ResponseWithDefaults() *Cancel400Response

NewCancel400ResponseWithDefaults instantiates a new Cancel400Response 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 (*Cancel400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*Cancel400Response) GetErrorOk

func (o *Cancel400Response) GetErrorOk() (*Cancel400ResponseError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cancel400Response) HasError

func (o *Cancel400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (Cancel400Response) MarshalJSON

func (o Cancel400Response) MarshalJSON() ([]byte, error)

func (*Cancel400Response) SetError

SetError gets a reference to the given Cancel400ResponseError and assigns it to the Error field.

type Cancel400ResponseError

type Cancel400ResponseError struct {
	Code    *int32  `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

Cancel400ResponseError struct for Cancel400ResponseError

func NewCancel400ResponseError

func NewCancel400ResponseError() *Cancel400ResponseError

NewCancel400ResponseError instantiates a new Cancel400ResponseError 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 NewCancel400ResponseErrorWithDefaults

func NewCancel400ResponseErrorWithDefaults() *Cancel400ResponseError

NewCancel400ResponseErrorWithDefaults instantiates a new Cancel400ResponseError 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 (*Cancel400ResponseError) GetCode

func (o *Cancel400ResponseError) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Cancel400ResponseError) GetCodeOk

func (o *Cancel400ResponseError) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cancel400ResponseError) GetMessage

func (o *Cancel400ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Cancel400ResponseError) GetMessageOk

func (o *Cancel400ResponseError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cancel400ResponseError) HasCode

func (o *Cancel400ResponseError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Cancel400ResponseError) HasMessage

func (o *Cancel400ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Cancel400ResponseError) MarshalJSON

func (o Cancel400ResponseError) MarshalJSON() ([]byte, error)

func (*Cancel400ResponseError) SetCode

func (o *Cancel400ResponseError) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*Cancel400ResponseError) SetMessage

func (o *Cancel400ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type Cancel401Response

type Cancel401Response struct {
	Message *string `json:"message,omitempty"`
}

Cancel401Response struct for Cancel401Response

func NewCancel401Response

func NewCancel401Response() *Cancel401Response

NewCancel401Response instantiates a new Cancel401Response 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 NewCancel401ResponseWithDefaults

func NewCancel401ResponseWithDefaults() *Cancel401Response

NewCancel401ResponseWithDefaults instantiates a new Cancel401Response 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 (*Cancel401Response) GetMessage

func (o *Cancel401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Cancel401Response) GetMessageOk

func (o *Cancel401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cancel401Response) HasMessage

func (o *Cancel401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Cancel401Response) MarshalJSON

func (o Cancel401Response) MarshalJSON() ([]byte, error)

func (*Cancel401Response) SetMessage

func (o *Cancel401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type Cancel500Response

type Cancel500Response struct {
	Error *Cancel400ResponseError `json:"error,omitempty"`
}

Cancel500Response struct for Cancel500Response

func NewCancel500Response

func NewCancel500Response() *Cancel500Response

NewCancel500Response instantiates a new Cancel500Response 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 NewCancel500ResponseWithDefaults

func NewCancel500ResponseWithDefaults() *Cancel500Response

NewCancel500ResponseWithDefaults instantiates a new Cancel500Response 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 (*Cancel500Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*Cancel500Response) GetErrorOk

func (o *Cancel500Response) GetErrorOk() (*Cancel400ResponseError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cancel500Response) HasError

func (o *Cancel500Response) HasError() bool

HasError returns a boolean if a field has been set.

func (Cancel500Response) MarshalJSON

func (o Cancel500Response) MarshalJSON() ([]byte, error)

func (*Cancel500Response) SetError

SetError gets a reference to the given Cancel400ResponseError and assigns it to the Error field.

type CancelResponse

type CancelResponse struct {
	BookingId       *string  `json:"bookingId,omitempty"`
	CancellationFee *int32   `json:"cancellation_fee,omitempty"`
	Currency        *string  `json:"currency,omitempty"`
	RefundAmount    *float32 `json:"refund_amount,omitempty"`
	Status          *string  `json:"status,omitempty"`
}

CancelResponse struct for CancelResponse

func NewCancelResponse

func NewCancelResponse() *CancelResponse

NewCancelResponse instantiates a new CancelResponse 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 NewCancelResponseWithDefaults

func NewCancelResponseWithDefaults() *CancelResponse

NewCancelResponseWithDefaults instantiates a new CancelResponse 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 (*CancelResponse) GetBookingId

func (o *CancelResponse) GetBookingId() string

GetBookingId returns the BookingId field value if set, zero value otherwise.

func (*CancelResponse) GetBookingIdOk

func (o *CancelResponse) GetBookingIdOk() (*string, bool)

GetBookingIdOk returns a tuple with the BookingId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CancelResponse) GetCancellationFee

func (o *CancelResponse) GetCancellationFee() int32

GetCancellationFee returns the CancellationFee field value if set, zero value otherwise.

func (*CancelResponse) GetCancellationFeeOk

func (o *CancelResponse) GetCancellationFeeOk() (*int32, bool)

GetCancellationFeeOk returns a tuple with the CancellationFee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CancelResponse) GetCurrency

func (o *CancelResponse) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*CancelResponse) GetCurrencyOk

func (o *CancelResponse) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CancelResponse) GetRefundAmount

func (o *CancelResponse) GetRefundAmount() float32

GetRefundAmount returns the RefundAmount field value if set, zero value otherwise.

func (*CancelResponse) GetRefundAmountOk

func (o *CancelResponse) GetRefundAmountOk() (*float32, bool)

GetRefundAmountOk returns a tuple with the RefundAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CancelResponse) GetStatus

func (o *CancelResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CancelResponse) GetStatusOk

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

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CancelResponse) HasBookingId

func (o *CancelResponse) HasBookingId() bool

HasBookingId returns a boolean if a field has been set.

func (*CancelResponse) HasCancellationFee

func (o *CancelResponse) HasCancellationFee() bool

HasCancellationFee returns a boolean if a field has been set.

func (*CancelResponse) HasCurrency

func (o *CancelResponse) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*CancelResponse) HasRefundAmount

func (o *CancelResponse) HasRefundAmount() bool

HasRefundAmount returns a boolean if a field has been set.

func (*CancelResponse) HasStatus

func (o *CancelResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CancelResponse) MarshalJSON

func (o CancelResponse) MarshalJSON() ([]byte, error)

func (*CancelResponse) SetBookingId

func (o *CancelResponse) SetBookingId(v string)

SetBookingId gets a reference to the given string and assigns it to the BookingId field.

func (*CancelResponse) SetCancellationFee

func (o *CancelResponse) SetCancellationFee(v int32)

SetCancellationFee gets a reference to the given int32 and assigns it to the CancellationFee field.

func (*CancelResponse) SetCurrency

func (o *CancelResponse) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*CancelResponse) SetRefundAmount

func (o *CancelResponse) SetRefundAmount(v float32)

SetRefundAmount gets a reference to the given float32 and assigns it to the RefundAmount field.

func (*CancelResponse) SetStatus

func (o *CancelResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	Context          context.Context
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

func (*Configuration) SetOAuthClientCredentials

func (c *Configuration) SetOAuthClientCredentials(clientId string, clientSecret string)

Setup OAuth Client Credentials Flow for all requests

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetHotelRates400Response

type GetHotelRates400Response struct {
	Error *GetHotels400ResponseError `json:"error,omitempty"`
}

GetHotelRates400Response struct for GetHotelRates400Response

func NewGetHotelRates400Response

func NewGetHotelRates400Response() *GetHotelRates400Response

NewGetHotelRates400Response instantiates a new GetHotelRates400Response 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 NewGetHotelRates400ResponseWithDefaults

func NewGetHotelRates400ResponseWithDefaults() *GetHotelRates400Response

NewGetHotelRates400ResponseWithDefaults instantiates a new GetHotelRates400Response 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 (*GetHotelRates400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*GetHotelRates400Response) GetErrorOk

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRates400Response) HasError

func (o *GetHotelRates400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (GetHotelRates400Response) MarshalJSON

func (o GetHotelRates400Response) MarshalJSON() ([]byte, error)

func (*GetHotelRates400Response) SetError

SetError gets a reference to the given GetHotels400ResponseError and assigns it to the Error field.

type GetHotelRates401Response

type GetHotelRates401Response struct {
	Message *string `json:"message,omitempty"`
}

GetHotelRates401Response struct for GetHotelRates401Response

func NewGetHotelRates401Response

func NewGetHotelRates401Response() *GetHotelRates401Response

NewGetHotelRates401Response instantiates a new GetHotelRates401Response 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 NewGetHotelRates401ResponseWithDefaults

func NewGetHotelRates401ResponseWithDefaults() *GetHotelRates401Response

NewGetHotelRates401ResponseWithDefaults instantiates a new GetHotelRates401Response 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 (*GetHotelRates401Response) GetMessage

func (o *GetHotelRates401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetHotelRates401Response) GetMessageOk

func (o *GetHotelRates401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRates401Response) HasMessage

func (o *GetHotelRates401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetHotelRates401Response) MarshalJSON

func (o GetHotelRates401Response) MarshalJSON() ([]byte, error)

func (*GetHotelRates401Response) SetMessage

func (o *GetHotelRates401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type GetHotelRatesResponse

type GetHotelRatesResponse struct {
	Data []GetHotelRatesResponseDataInner `json:"data,omitempty"`
	// guests loyalty level granting them discounts and benefits
	GuestLevel *int32  `json:"guestLevel,omitempty"`
	Sandbox    *bool   `json:"sandbox,omitempty"`
	SessionId  *string `json:"sessionId,omitempty"`
}

GetHotelRatesResponse struct for GetHotelRatesResponse

func NewGetHotelRatesResponse

func NewGetHotelRatesResponse() *GetHotelRatesResponse

NewGetHotelRatesResponse instantiates a new GetHotelRatesResponse 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 NewGetHotelRatesResponseWithDefaults

func NewGetHotelRatesResponseWithDefaults() *GetHotelRatesResponse

NewGetHotelRatesResponseWithDefaults instantiates a new GetHotelRatesResponse 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 (*GetHotelRatesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetHotelRatesResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponse) GetGuestLevel

func (o *GetHotelRatesResponse) GetGuestLevel() int32

GetGuestLevel returns the GuestLevel field value if set, zero value otherwise.

func (*GetHotelRatesResponse) GetGuestLevelOk

func (o *GetHotelRatesResponse) GetGuestLevelOk() (*int32, bool)

GetGuestLevelOk returns a tuple with the GuestLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponse) GetSandbox

func (o *GetHotelRatesResponse) GetSandbox() bool

GetSandbox returns the Sandbox field value if set, zero value otherwise.

func (*GetHotelRatesResponse) GetSandboxOk

func (o *GetHotelRatesResponse) GetSandboxOk() (*bool, bool)

GetSandboxOk returns a tuple with the Sandbox field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponse) GetSessionId

func (o *GetHotelRatesResponse) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*GetHotelRatesResponse) GetSessionIdOk

func (o *GetHotelRatesResponse) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponse) HasData

func (o *GetHotelRatesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetHotelRatesResponse) HasGuestLevel

func (o *GetHotelRatesResponse) HasGuestLevel() bool

HasGuestLevel returns a boolean if a field has been set.

func (*GetHotelRatesResponse) HasSandbox

func (o *GetHotelRatesResponse) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

func (*GetHotelRatesResponse) HasSessionId

func (o *GetHotelRatesResponse) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (GetHotelRatesResponse) MarshalJSON

func (o GetHotelRatesResponse) MarshalJSON() ([]byte, error)

func (*GetHotelRatesResponse) SetData

SetData gets a reference to the given []GetHotelRatesResponseDataInner and assigns it to the Data field.

func (*GetHotelRatesResponse) SetGuestLevel

func (o *GetHotelRatesResponse) SetGuestLevel(v int32)

SetGuestLevel gets a reference to the given int32 and assigns it to the GuestLevel field.

func (*GetHotelRatesResponse) SetSandbox

func (o *GetHotelRatesResponse) SetSandbox(v bool)

SetSandbox gets a reference to the given bool and assigns it to the Sandbox field.

func (*GetHotelRatesResponse) SetSessionId

func (o *GetHotelRatesResponse) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

type GetHotelRatesResponseDataInner

type GetHotelRatesResponseDataInner struct {
	HotelId            *string                                        `json:"hotelId,omitempty"`
	TermsAndConditions *string                                        `json:"termsAndConditions,omitempty"`
	RoomTypes          []GetHotelRatesResponseDataInnerRoomTypesInner `json:"roomTypes,omitempty"`
}

GetHotelRatesResponseDataInner struct for GetHotelRatesResponseDataInner

func NewGetHotelRatesResponseDataInner

func NewGetHotelRatesResponseDataInner() *GetHotelRatesResponseDataInner

NewGetHotelRatesResponseDataInner instantiates a new GetHotelRatesResponseDataInner 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 NewGetHotelRatesResponseDataInnerWithDefaults

func NewGetHotelRatesResponseDataInnerWithDefaults() *GetHotelRatesResponseDataInner

NewGetHotelRatesResponseDataInnerWithDefaults instantiates a new GetHotelRatesResponseDataInner 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 (*GetHotelRatesResponseDataInner) GetHotelId

func (o *GetHotelRatesResponseDataInner) GetHotelId() string

GetHotelId returns the HotelId field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInner) GetHotelIdOk

func (o *GetHotelRatesResponseDataInner) GetHotelIdOk() (*string, bool)

GetHotelIdOk returns a tuple with the HotelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInner) GetRoomTypes

GetRoomTypes returns the RoomTypes field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInner) GetRoomTypesOk

GetRoomTypesOk returns a tuple with the RoomTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInner) GetTermsAndConditions

func (o *GetHotelRatesResponseDataInner) GetTermsAndConditions() string

GetTermsAndConditions returns the TermsAndConditions field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInner) GetTermsAndConditionsOk

func (o *GetHotelRatesResponseDataInner) GetTermsAndConditionsOk() (*string, bool)

GetTermsAndConditionsOk returns a tuple with the TermsAndConditions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInner) HasHotelId

func (o *GetHotelRatesResponseDataInner) HasHotelId() bool

HasHotelId returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInner) HasRoomTypes

func (o *GetHotelRatesResponseDataInner) HasRoomTypes() bool

HasRoomTypes returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInner) HasTermsAndConditions

func (o *GetHotelRatesResponseDataInner) HasTermsAndConditions() bool

HasTermsAndConditions returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInner) MarshalJSON

func (o GetHotelRatesResponseDataInner) MarshalJSON() ([]byte, error)

func (*GetHotelRatesResponseDataInner) SetHotelId

func (o *GetHotelRatesResponseDataInner) SetHotelId(v string)

SetHotelId gets a reference to the given string and assigns it to the HotelId field.

func (*GetHotelRatesResponseDataInner) SetRoomTypes

SetRoomTypes gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInner and assigns it to the RoomTypes field.

func (*GetHotelRatesResponseDataInner) SetTermsAndConditions

func (o *GetHotelRatesResponseDataInner) SetTermsAndConditions(v string)

SetTermsAndConditions gets a reference to the given string and assigns it to the TermsAndConditions field.

type GetHotelRatesResponseDataInnerRoomTypesInner

type GetHotelRatesResponseDataInnerRoomTypesInner struct {
	RoomTypeId   *string                                                  `json:"roomTypeId,omitempty"`
	MaxOccupancy *int32                                                   `json:"maxOccupancy,omitempty"`
	Rates        []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner `json:"rates,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInner struct for GetHotelRatesResponseDataInnerRoomTypesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInner() *GetHotelRatesResponseDataInnerRoomTypesInner

NewGetHotelRatesResponseDataInnerRoomTypesInner instantiates a new GetHotelRatesResponseDataInnerRoomTypesInner 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInner 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 (*GetHotelRatesResponseDataInnerRoomTypesInner) GetMaxOccupancy

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) GetMaxOccupancyOk

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

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) GetRates

GetRates returns the Rates field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) GetRatesOk

GetRatesOk returns a tuple with the Rates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) GetRoomTypeId

GetRoomTypeId returns the RoomTypeId field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) GetRoomTypeIdOk

func (o *GetHotelRatesResponseDataInnerRoomTypesInner) GetRoomTypeIdOk() (*string, bool)

GetRoomTypeIdOk returns a tuple with the RoomTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) HasMaxOccupancy

HasMaxOccupancy returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) HasRates

HasRates returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) HasRoomTypeId

HasRoomTypeId returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInner) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInner) SetMaxOccupancy

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) SetRates

SetRates gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner and assigns it to the Rates field.

func (*GetHotelRatesResponseDataInnerRoomTypesInner) SetRoomTypeId

SetRoomTypeId gets a reference to the given string and assigns it to the RoomTypeId field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner struct {
	RateId               *string                                                                     `json:"rateId,omitempty"`
	Name                 *string                                                                     `json:"name,omitempty"`
	MaxOccupancy         *int32                                                                      `json:"maxOccupancy,omitempty"`
	RetailRate           *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate           `json:"retailRate,omitempty"`
	CancellationPolicies *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies `json:"cancellationPolicies,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetCancellationPolicies

GetCancellationPolicies returns the CancellationPolicies field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetCancellationPoliciesOk

GetCancellationPoliciesOk returns a tuple with the CancellationPolicies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetMaxOccupancy

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetMaxOccupancyOk

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetRateId

GetRateId returns the RateId field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetRateIdOk

GetRateIdOk returns a tuple with the RateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetRetailRate

GetRetailRate returns the RetailRate field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) GetRetailRateOk

GetRetailRateOk returns a tuple with the RetailRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasCancellationPolicies

func (o *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasCancellationPolicies() bool

HasCancellationPolicies returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasMaxOccupancy

HasMaxOccupancy returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasName

HasName returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasRateId

HasRateId returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) HasRetailRate

HasRetailRate returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) SetCancellationPolicies

SetCancellationPolicies gets a reference to the given GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies and assigns it to the CancellationPolicies field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) SetMaxOccupancy

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) SetRateId

SetRateId gets a reference to the given string and assigns it to the RateId field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) SetRetailRate

SetRetailRate gets a reference to the given GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate and assigns it to the RetailRate field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies struct {
	CancelPolicyInfos []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner `json:"cancelPolicyInfos,omitempty"`
	HotelRemarks      []string                                                                                           `json:"hotelRemarks,omitempty"`
	RefundableTag     *string                                                                                            `json:"refundableTag,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetCancelPolicyInfos

GetCancelPolicyInfos returns the CancelPolicyInfos field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetCancelPolicyInfosOk

GetCancelPolicyInfosOk returns a tuple with the CancelPolicyInfos field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarks

GetHotelRemarks returns the HotelRemarks field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarksOk

GetHotelRemarksOk returns a tuple with the HotelRemarks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetRefundableTag

GetRefundableTag returns the RefundableTag field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) GetRefundableTagOk

GetRefundableTagOk returns a tuple with the RefundableTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) HasCancelPolicyInfos

HasCancelPolicyInfos returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) HasHotelRemarks

HasHotelRemarks returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) HasRefundableTag

HasRefundableTag returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) SetCancelPolicyInfos

SetCancelPolicyInfos gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner and assigns it to the CancelPolicyInfos field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) SetHotelRemarks

SetHotelRemarks gets a reference to the given []string and assigns it to the HotelRemarks field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) SetRefundableTag

SetRefundableTag gets a reference to the given string and assigns it to the RefundableTag field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct {
	CancelTime *string  `json:"cancelTime,omitempty"`
	Amount     *float32 `json:"amount,omitempty"`
	Type       *string  `json:"type,omitempty"`
	Currency   *string  `json:"currency,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetAmountOk

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCancelTime

GetCancelTime returns the CancelTime field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCancelTimeOk

GetCancelTimeOk returns a tuple with the CancelTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCurrency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCurrencyOk

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasAmount

HasAmount returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasCancelTime

HasCancelTime returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasCurrency

HasCurrency returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasType

HasType returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetAmount

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetCancelTime

SetCancelTime gets a reference to the given string and assigns it to the CancelTime field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetCurrency

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate struct {
	Total        []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner        `json:"total,omitempty"`
	TaxesAndFees []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner `json:"taxesAndFees,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) GetTaxesAndFees

GetTaxesAndFees returns the TaxesAndFees field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) GetTaxesAndFeesOk

GetTaxesAndFeesOk returns a tuple with the TaxesAndFees field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) GetTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) GetTotalOk

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) HasTaxesAndFees

HasTaxesAndFees returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) HasTotal

HasTotal returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) SetTaxesAndFees

SetTaxesAndFees gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner and assigns it to the TaxesAndFees field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) SetTotal

SetTotal gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner and assigns it to the Total field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner struct {
	Description *string  `json:"description,omitempty"`
	Included    *bool    `json:"included,omitempty"`
	Amount      *float32 `json:"amount,omitempty"`
	Currency    *string  `json:"currency,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInnerWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInnerWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInnerWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetAmountOk

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetCurrency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetCurrencyOk

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetDescriptionOk

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetIncluded

GetIncluded returns the Included field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) GetIncludedOk

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) HasAmount

HasAmount returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) HasCurrency

HasCurrency returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) HasDescription

HasDescription returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) HasIncluded

HasIncluded returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) SetAmount

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) SetCurrency

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) SetDescription

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) SetIncluded

SetIncluded gets a reference to the given bool and assigns it to the Included field.

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

type GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner struct {
	Amount   *float32 `json:"amount,omitempty"`
	Currency *string  `json:"currency,omitempty"`
}

GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner struct for GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner 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 NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInnerWithDefaults

func NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInnerWithDefaults() *GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

NewGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInnerWithDefaults instantiates a new GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner 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 (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) GetAmountOk

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) GetCurrency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) GetCurrencyOk

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) HasAmount

HasAmount returns a boolean if a field has been set.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) HasCurrency

HasCurrency returns a boolean if a field has been set.

func (GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) MarshalJSON

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) SetAmount

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) SetCurrency

SetCurrency gets a reference to the given string and assigns it to the Currency field.

type GetHotels400Response

type GetHotels400Response struct {
	Error *GetHotels400ResponseError `json:"error,omitempty"`
}

GetHotels400Response struct for GetHotels400Response

func NewGetHotels400Response

func NewGetHotels400Response() *GetHotels400Response

NewGetHotels400Response instantiates a new GetHotels400Response 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 NewGetHotels400ResponseWithDefaults

func NewGetHotels400ResponseWithDefaults() *GetHotels400Response

NewGetHotels400ResponseWithDefaults instantiates a new GetHotels400Response 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 (*GetHotels400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*GetHotels400Response) GetErrorOk

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels400Response) HasError

func (o *GetHotels400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (GetHotels400Response) MarshalJSON

func (o GetHotels400Response) MarshalJSON() ([]byte, error)

func (*GetHotels400Response) SetError

SetError gets a reference to the given GetHotels400ResponseError and assigns it to the Error field.

type GetHotels400ResponseError

type GetHotels400ResponseError struct {
	Code    *float32 `json:"code,omitempty"`
	Message *string  `json:"message,omitempty"`
}

GetHotels400ResponseError struct for GetHotels400ResponseError

func NewGetHotels400ResponseError

func NewGetHotels400ResponseError() *GetHotels400ResponseError

NewGetHotels400ResponseError instantiates a new GetHotels400ResponseError 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 NewGetHotels400ResponseErrorWithDefaults

func NewGetHotels400ResponseErrorWithDefaults() *GetHotels400ResponseError

NewGetHotels400ResponseErrorWithDefaults instantiates a new GetHotels400ResponseError 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 (*GetHotels400ResponseError) GetCode

func (o *GetHotels400ResponseError) GetCode() float32

GetCode returns the Code field value if set, zero value otherwise.

func (*GetHotels400ResponseError) GetCodeOk

func (o *GetHotels400ResponseError) GetCodeOk() (*float32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels400ResponseError) GetMessage

func (o *GetHotels400ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetHotels400ResponseError) GetMessageOk

func (o *GetHotels400ResponseError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels400ResponseError) HasCode

func (o *GetHotels400ResponseError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GetHotels400ResponseError) HasMessage

func (o *GetHotels400ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetHotels400ResponseError) MarshalJSON

func (o GetHotels400ResponseError) MarshalJSON() ([]byte, error)

func (*GetHotels400ResponseError) SetCode

func (o *GetHotels400ResponseError) SetCode(v float32)

SetCode gets a reference to the given float32 and assigns it to the Code field.

func (*GetHotels400ResponseError) SetMessage

func (o *GetHotels400ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type GetHotels401Response

type GetHotels401Response struct {
	Error *GetHotels401ResponseError `json:"error,omitempty"`
}

GetHotels401Response struct for GetHotels401Response

func NewGetHotels401Response

func NewGetHotels401Response() *GetHotels401Response

NewGetHotels401Response instantiates a new GetHotels401Response 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 NewGetHotels401ResponseWithDefaults

func NewGetHotels401ResponseWithDefaults() *GetHotels401Response

NewGetHotels401ResponseWithDefaults instantiates a new GetHotels401Response 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 (*GetHotels401Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*GetHotels401Response) GetErrorOk

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels401Response) HasError

func (o *GetHotels401Response) HasError() bool

HasError returns a boolean if a field has been set.

func (GetHotels401Response) MarshalJSON

func (o GetHotels401Response) MarshalJSON() ([]byte, error)

func (*GetHotels401Response) SetError

SetError gets a reference to the given GetHotels401ResponseError and assigns it to the Error field.

type GetHotels401ResponseError

type GetHotels401ResponseError struct {
	Code    *float32 `json:"code,omitempty"`
	Message *string  `json:"message,omitempty"`
}

GetHotels401ResponseError struct for GetHotels401ResponseError

func NewGetHotels401ResponseError

func NewGetHotels401ResponseError() *GetHotels401ResponseError

NewGetHotels401ResponseError instantiates a new GetHotels401ResponseError 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 NewGetHotels401ResponseErrorWithDefaults

func NewGetHotels401ResponseErrorWithDefaults() *GetHotels401ResponseError

NewGetHotels401ResponseErrorWithDefaults instantiates a new GetHotels401ResponseError 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 (*GetHotels401ResponseError) GetCode

func (o *GetHotels401ResponseError) GetCode() float32

GetCode returns the Code field value if set, zero value otherwise.

func (*GetHotels401ResponseError) GetCodeOk

func (o *GetHotels401ResponseError) GetCodeOk() (*float32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels401ResponseError) GetMessage

func (o *GetHotels401ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetHotels401ResponseError) GetMessageOk

func (o *GetHotels401ResponseError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotels401ResponseError) HasCode

func (o *GetHotels401ResponseError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GetHotels401ResponseError) HasMessage

func (o *GetHotels401ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetHotels401ResponseError) MarshalJSON

func (o GetHotels401ResponseError) MarshalJSON() ([]byte, error)

func (*GetHotels401ResponseError) SetCode

func (o *GetHotels401ResponseError) SetCode(v float32)

SetCode gets a reference to the given float32 and assigns it to the Code field.

func (*GetHotels401ResponseError) SetMessage

func (o *GetHotels401ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type GetHotelsResponse

type GetHotelsResponse struct {
	Data []GetHotelsResponseDataInner `json:"data,omitempty"`
	// guests loyalty level granting them discounts and benefits
	GuestLevel *int32  `json:"guestLevel,omitempty"`
	Sandbox    *bool   `json:"sandbox,omitempty"`
	SessionId  *string `json:"sessionId,omitempty"`
}

GetHotelsResponse struct for GetHotelsResponse

func NewGetHotelsResponse

func NewGetHotelsResponse() *GetHotelsResponse

NewGetHotelsResponse instantiates a new GetHotelsResponse 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 NewGetHotelsResponseWithDefaults

func NewGetHotelsResponseWithDefaults() *GetHotelsResponse

NewGetHotelsResponseWithDefaults instantiates a new GetHotelsResponse 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 (*GetHotelsResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetHotelsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponse) GetGuestLevel

func (o *GetHotelsResponse) GetGuestLevel() int32

GetGuestLevel returns the GuestLevel field value if set, zero value otherwise.

func (*GetHotelsResponse) GetGuestLevelOk

func (o *GetHotelsResponse) GetGuestLevelOk() (*int32, bool)

GetGuestLevelOk returns a tuple with the GuestLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponse) GetSandbox

func (o *GetHotelsResponse) GetSandbox() bool

GetSandbox returns the Sandbox field value if set, zero value otherwise.

func (*GetHotelsResponse) GetSandboxOk

func (o *GetHotelsResponse) GetSandboxOk() (*bool, bool)

GetSandboxOk returns a tuple with the Sandbox field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponse) GetSessionId

func (o *GetHotelsResponse) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*GetHotelsResponse) GetSessionIdOk

func (o *GetHotelsResponse) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponse) HasData

func (o *GetHotelsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetHotelsResponse) HasGuestLevel

func (o *GetHotelsResponse) HasGuestLevel() bool

HasGuestLevel returns a boolean if a field has been set.

func (*GetHotelsResponse) HasSandbox

func (o *GetHotelsResponse) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

func (*GetHotelsResponse) HasSessionId

func (o *GetHotelsResponse) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (GetHotelsResponse) MarshalJSON

func (o GetHotelsResponse) MarshalJSON() ([]byte, error)

func (*GetHotelsResponse) SetData

SetData gets a reference to the given []GetHotelsResponseDataInner and assigns it to the Data field.

func (*GetHotelsResponse) SetGuestLevel

func (o *GetHotelsResponse) SetGuestLevel(v int32)

SetGuestLevel gets a reference to the given int32 and assigns it to the GuestLevel field.

func (*GetHotelsResponse) SetSandbox

func (o *GetHotelsResponse) SetSandbox(v bool)

SetSandbox gets a reference to the given bool and assigns it to the Sandbox field.

func (*GetHotelsResponse) SetSessionId

func (o *GetHotelsResponse) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

type GetHotelsResponseDataInner

type GetHotelsResponseDataInner struct {
	HotelId  *string  `json:"hotelId,omitempty"`
	Currency *string  `json:"currency,omitempty"`
	Price    *float32 `json:"price,omitempty"`
}

GetHotelsResponseDataInner struct for GetHotelsResponseDataInner

func NewGetHotelsResponseDataInner

func NewGetHotelsResponseDataInner() *GetHotelsResponseDataInner

NewGetHotelsResponseDataInner instantiates a new GetHotelsResponseDataInner 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 NewGetHotelsResponseDataInnerWithDefaults

func NewGetHotelsResponseDataInnerWithDefaults() *GetHotelsResponseDataInner

NewGetHotelsResponseDataInnerWithDefaults instantiates a new GetHotelsResponseDataInner 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 (*GetHotelsResponseDataInner) GetCurrency

func (o *GetHotelsResponseDataInner) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GetHotelsResponseDataInner) GetCurrencyOk

func (o *GetHotelsResponseDataInner) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponseDataInner) GetHotelId

func (o *GetHotelsResponseDataInner) GetHotelId() string

GetHotelId returns the HotelId field value if set, zero value otherwise.

func (*GetHotelsResponseDataInner) GetHotelIdOk

func (o *GetHotelsResponseDataInner) GetHotelIdOk() (*string, bool)

GetHotelIdOk returns a tuple with the HotelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponseDataInner) GetPrice

func (o *GetHotelsResponseDataInner) GetPrice() float32

GetPrice returns the Price field value if set, zero value otherwise.

func (*GetHotelsResponseDataInner) GetPriceOk

func (o *GetHotelsResponseDataInner) GetPriceOk() (*float32, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetHotelsResponseDataInner) HasCurrency

func (o *GetHotelsResponseDataInner) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*GetHotelsResponseDataInner) HasHotelId

func (o *GetHotelsResponseDataInner) HasHotelId() bool

HasHotelId returns a boolean if a field has been set.

func (*GetHotelsResponseDataInner) HasPrice

func (o *GetHotelsResponseDataInner) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (GetHotelsResponseDataInner) MarshalJSON

func (o GetHotelsResponseDataInner) MarshalJSON() ([]byte, error)

func (*GetHotelsResponseDataInner) SetCurrency

func (o *GetHotelsResponseDataInner) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*GetHotelsResponseDataInner) SetHotelId

func (o *GetHotelsResponseDataInner) SetHotelId(v string)

SetHotelId gets a reference to the given string and assigns it to the HotelId field.

func (*GetHotelsResponseDataInner) SetPrice

func (o *GetHotelsResponseDataInner) SetPrice(v float32)

SetPrice gets a reference to the given float32 and assigns it to the Price field.

type ListBookingsResponse

type ListBookingsResponse struct {
	Data []ListBookingsResponseDataInner `json:"data,omitempty"`
}

ListBookingsResponse struct for ListBookingsResponse

func NewListBookingsResponse

func NewListBookingsResponse() *ListBookingsResponse

NewListBookingsResponse instantiates a new ListBookingsResponse 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 NewListBookingsResponseWithDefaults

func NewListBookingsResponseWithDefaults() *ListBookingsResponse

NewListBookingsResponseWithDefaults instantiates a new ListBookingsResponse 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 (*ListBookingsResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListBookingsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListBookingsResponse) HasData

func (o *ListBookingsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListBookingsResponse) MarshalJSON

func (o ListBookingsResponse) MarshalJSON() ([]byte, error)

func (*ListBookingsResponse) SetData

SetData gets a reference to the given []ListBookingsResponseDataInner and assigns it to the Data field.

type ListBookingsResponseDataInner

type ListBookingsResponseDataInner struct {
	BookingId *string `json:"bookingId,omitempty"`
}

ListBookingsResponseDataInner struct for ListBookingsResponseDataInner

func NewListBookingsResponseDataInner

func NewListBookingsResponseDataInner() *ListBookingsResponseDataInner

NewListBookingsResponseDataInner instantiates a new ListBookingsResponseDataInner 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 NewListBookingsResponseDataInnerWithDefaults

func NewListBookingsResponseDataInnerWithDefaults() *ListBookingsResponseDataInner

NewListBookingsResponseDataInnerWithDefaults instantiates a new ListBookingsResponseDataInner 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 (*ListBookingsResponseDataInner) GetBookingId

func (o *ListBookingsResponseDataInner) GetBookingId() string

GetBookingId returns the BookingId field value if set, zero value otherwise.

func (*ListBookingsResponseDataInner) GetBookingIdOk

func (o *ListBookingsResponseDataInner) GetBookingIdOk() (*string, bool)

GetBookingIdOk returns a tuple with the BookingId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListBookingsResponseDataInner) HasBookingId

func (o *ListBookingsResponseDataInner) HasBookingId() bool

HasBookingId returns a boolean if a field has been set.

func (ListBookingsResponseDataInner) MarshalJSON

func (o ListBookingsResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListBookingsResponseDataInner) SetBookingId

func (o *ListBookingsResponseDataInner) SetBookingId(v string)

SetBookingId gets a reference to the given string and assigns it to the BookingId field.

type ListCitiesResponse

type ListCitiesResponse struct {
	Data []ListCitiesResponseDataInner `json:"data,omitempty"`
}

ListCitiesResponse struct for ListCitiesResponse

func NewListCitiesResponse

func NewListCitiesResponse() *ListCitiesResponse

NewListCitiesResponse instantiates a new ListCitiesResponse 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 NewListCitiesResponseWithDefaults

func NewListCitiesResponseWithDefaults() *ListCitiesResponse

NewListCitiesResponseWithDefaults instantiates a new ListCitiesResponse 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 (*ListCitiesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListCitiesResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCitiesResponse) HasData

func (o *ListCitiesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListCitiesResponse) MarshalJSON

func (o ListCitiesResponse) MarshalJSON() ([]byte, error)

func (*ListCitiesResponse) SetData

SetData gets a reference to the given []ListCitiesResponseDataInner and assigns it to the Data field.

type ListCitiesResponseDataInner

type ListCitiesResponseDataInner struct {
	City *string `json:"city,omitempty"`
}

ListCitiesResponseDataInner struct for ListCitiesResponseDataInner

func NewListCitiesResponseDataInner

func NewListCitiesResponseDataInner() *ListCitiesResponseDataInner

NewListCitiesResponseDataInner instantiates a new ListCitiesResponseDataInner 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 NewListCitiesResponseDataInnerWithDefaults

func NewListCitiesResponseDataInnerWithDefaults() *ListCitiesResponseDataInner

NewListCitiesResponseDataInnerWithDefaults instantiates a new ListCitiesResponseDataInner 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 (*ListCitiesResponseDataInner) GetCity

func (o *ListCitiesResponseDataInner) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*ListCitiesResponseDataInner) GetCityOk

func (o *ListCitiesResponseDataInner) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCitiesResponseDataInner) HasCity

func (o *ListCitiesResponseDataInner) HasCity() bool

HasCity returns a boolean if a field has been set.

func (ListCitiesResponseDataInner) MarshalJSON

func (o ListCitiesResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListCitiesResponseDataInner) SetCity

func (o *ListCitiesResponseDataInner) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

type ListCountriesResponse

type ListCountriesResponse struct {
	Data []ListCountriesResponseDataInner `json:"data,omitempty"`
}

ListCountriesResponse struct for ListCountriesResponse

func NewListCountriesResponse

func NewListCountriesResponse() *ListCountriesResponse

NewListCountriesResponse instantiates a new ListCountriesResponse 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 NewListCountriesResponseWithDefaults

func NewListCountriesResponseWithDefaults() *ListCountriesResponse

NewListCountriesResponseWithDefaults instantiates a new ListCountriesResponse 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 (*ListCountriesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListCountriesResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCountriesResponse) HasData

func (o *ListCountriesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListCountriesResponse) MarshalJSON

func (o ListCountriesResponse) MarshalJSON() ([]byte, error)

func (*ListCountriesResponse) SetData

SetData gets a reference to the given []ListCountriesResponseDataInner and assigns it to the Data field.

type ListCountriesResponseDataInner

type ListCountriesResponseDataInner struct {
	// country code
	Code *string `json:"code,omitempty"`
	// country name
	Name *string `json:"name,omitempty"`
}

ListCountriesResponseDataInner struct for ListCountriesResponseDataInner

func NewListCountriesResponseDataInner

func NewListCountriesResponseDataInner() *ListCountriesResponseDataInner

NewListCountriesResponseDataInner instantiates a new ListCountriesResponseDataInner 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 NewListCountriesResponseDataInnerWithDefaults

func NewListCountriesResponseDataInnerWithDefaults() *ListCountriesResponseDataInner

NewListCountriesResponseDataInnerWithDefaults instantiates a new ListCountriesResponseDataInner 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 (*ListCountriesResponseDataInner) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*ListCountriesResponseDataInner) GetCodeOk

func (o *ListCountriesResponseDataInner) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCountriesResponseDataInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*ListCountriesResponseDataInner) GetNameOk

func (o *ListCountriesResponseDataInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCountriesResponseDataInner) HasCode

func (o *ListCountriesResponseDataInner) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ListCountriesResponseDataInner) HasName

func (o *ListCountriesResponseDataInner) HasName() bool

HasName returns a boolean if a field has been set.

func (ListCountriesResponseDataInner) MarshalJSON

func (o ListCountriesResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListCountriesResponseDataInner) SetCode

func (o *ListCountriesResponseDataInner) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ListCountriesResponseDataInner) SetName

func (o *ListCountriesResponseDataInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type ListCurrenciesResponse

type ListCurrenciesResponse struct {
	Data []ListCurrenciesResponseDataInner `json:"data,omitempty"`
}

ListCurrenciesResponse struct for ListCurrenciesResponse

func NewListCurrenciesResponse

func NewListCurrenciesResponse() *ListCurrenciesResponse

NewListCurrenciesResponse instantiates a new ListCurrenciesResponse 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 NewListCurrenciesResponseWithDefaults

func NewListCurrenciesResponseWithDefaults() *ListCurrenciesResponse

NewListCurrenciesResponseWithDefaults instantiates a new ListCurrenciesResponse 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 (*ListCurrenciesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListCurrenciesResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponse) HasData

func (o *ListCurrenciesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListCurrenciesResponse) MarshalJSON

func (o ListCurrenciesResponse) MarshalJSON() ([]byte, error)

func (*ListCurrenciesResponse) SetData

SetData gets a reference to the given []ListCurrenciesResponseDataInner and assigns it to the Data field.

type ListCurrenciesResponseDataInner

type ListCurrenciesResponseDataInner struct {
	Code      *string  `json:"code,omitempty"`
	Number    *string  `json:"number,omitempty"`
	Digits    *int32   `json:"digits,omitempty"`
	Currency  *string  `json:"currency,omitempty"`
	Countries []string `json:"countries,omitempty"`
}

ListCurrenciesResponseDataInner struct for ListCurrenciesResponseDataInner

func NewListCurrenciesResponseDataInner

func NewListCurrenciesResponseDataInner() *ListCurrenciesResponseDataInner

NewListCurrenciesResponseDataInner instantiates a new ListCurrenciesResponseDataInner 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 NewListCurrenciesResponseDataInnerWithDefaults

func NewListCurrenciesResponseDataInnerWithDefaults() *ListCurrenciesResponseDataInner

NewListCurrenciesResponseDataInnerWithDefaults instantiates a new ListCurrenciesResponseDataInner 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 (*ListCurrenciesResponseDataInner) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*ListCurrenciesResponseDataInner) GetCodeOk

func (o *ListCurrenciesResponseDataInner) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponseDataInner) GetCountries

func (o *ListCurrenciesResponseDataInner) GetCountries() []string

GetCountries returns the Countries field value if set, zero value otherwise.

func (*ListCurrenciesResponseDataInner) GetCountriesOk

func (o *ListCurrenciesResponseDataInner) GetCountriesOk() ([]string, bool)

GetCountriesOk returns a tuple with the Countries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponseDataInner) GetCurrency

func (o *ListCurrenciesResponseDataInner) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*ListCurrenciesResponseDataInner) GetCurrencyOk

func (o *ListCurrenciesResponseDataInner) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponseDataInner) GetDigits

func (o *ListCurrenciesResponseDataInner) GetDigits() int32

GetDigits returns the Digits field value if set, zero value otherwise.

func (*ListCurrenciesResponseDataInner) GetDigitsOk

func (o *ListCurrenciesResponseDataInner) GetDigitsOk() (*int32, bool)

GetDigitsOk returns a tuple with the Digits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponseDataInner) GetNumber

func (o *ListCurrenciesResponseDataInner) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*ListCurrenciesResponseDataInner) GetNumberOk

func (o *ListCurrenciesResponseDataInner) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCurrenciesResponseDataInner) HasCode

HasCode returns a boolean if a field has been set.

func (*ListCurrenciesResponseDataInner) HasCountries

func (o *ListCurrenciesResponseDataInner) HasCountries() bool

HasCountries returns a boolean if a field has been set.

func (*ListCurrenciesResponseDataInner) HasCurrency

func (o *ListCurrenciesResponseDataInner) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*ListCurrenciesResponseDataInner) HasDigits

func (o *ListCurrenciesResponseDataInner) HasDigits() bool

HasDigits returns a boolean if a field has been set.

func (*ListCurrenciesResponseDataInner) HasNumber

func (o *ListCurrenciesResponseDataInner) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (ListCurrenciesResponseDataInner) MarshalJSON

func (o ListCurrenciesResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListCurrenciesResponseDataInner) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ListCurrenciesResponseDataInner) SetCountries

func (o *ListCurrenciesResponseDataInner) SetCountries(v []string)

SetCountries gets a reference to the given []string and assigns it to the Countries field.

func (*ListCurrenciesResponseDataInner) SetCurrency

func (o *ListCurrenciesResponseDataInner) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*ListCurrenciesResponseDataInner) SetDigits

func (o *ListCurrenciesResponseDataInner) SetDigits(v int32)

SetDigits gets a reference to the given int32 and assigns it to the Digits field.

func (*ListCurrenciesResponseDataInner) SetNumber

func (o *ListCurrenciesResponseDataInner) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

type ListHotels400Response

type ListHotels400Response struct {
	Error *Book400ResponseError `json:"error,omitempty"`
}

ListHotels400Response struct for ListHotels400Response

func NewListHotels400Response

func NewListHotels400Response() *ListHotels400Response

NewListHotels400Response instantiates a new ListHotels400Response 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 NewListHotels400ResponseWithDefaults

func NewListHotels400ResponseWithDefaults() *ListHotels400Response

NewListHotels400ResponseWithDefaults instantiates a new ListHotels400Response 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 (*ListHotels400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*ListHotels400Response) GetErrorOk

func (o *ListHotels400Response) GetErrorOk() (*Book400ResponseError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotels400Response) HasError

func (o *ListHotels400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (ListHotels400Response) MarshalJSON

func (o ListHotels400Response) MarshalJSON() ([]byte, error)

func (*ListHotels400Response) SetError

SetError gets a reference to the given Book400ResponseError and assigns it to the Error field.

type ListHotels401Response

type ListHotels401Response struct {
	Message *string `json:"message,omitempty"`
}

ListHotels401Response struct for ListHotels401Response

func NewListHotels401Response

func NewListHotels401Response() *ListHotels401Response

NewListHotels401Response instantiates a new ListHotels401Response 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 NewListHotels401ResponseWithDefaults

func NewListHotels401ResponseWithDefaults() *ListHotels401Response

NewListHotels401ResponseWithDefaults instantiates a new ListHotels401Response 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 (*ListHotels401Response) GetMessage

func (o *ListHotels401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListHotels401Response) GetMessageOk

func (o *ListHotels401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotels401Response) HasMessage

func (o *ListHotels401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListHotels401Response) MarshalJSON

func (o ListHotels401Response) MarshalJSON() ([]byte, error)

func (*ListHotels401Response) SetMessage

func (o *ListHotels401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type ListHotelsResponse

type ListHotelsResponse struct {
	Data  []ListHotelsResponseDataInner `json:"data,omitempty"`
	Total *int32                        `json:"total,omitempty"`
}

ListHotelsResponse struct for ListHotelsResponse

func NewListHotelsResponse

func NewListHotelsResponse() *ListHotelsResponse

NewListHotelsResponse instantiates a new ListHotelsResponse 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 NewListHotelsResponseWithDefaults

func NewListHotelsResponseWithDefaults() *ListHotelsResponse

NewListHotelsResponseWithDefaults instantiates a new ListHotelsResponse 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 (*ListHotelsResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListHotelsResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponse) GetTotal

func (o *ListHotelsResponse) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*ListHotelsResponse) GetTotalOk

func (o *ListHotelsResponse) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponse) HasData

func (o *ListHotelsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListHotelsResponse) HasTotal

func (o *ListHotelsResponse) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (ListHotelsResponse) MarshalJSON

func (o ListHotelsResponse) MarshalJSON() ([]byte, error)

func (*ListHotelsResponse) SetData

SetData gets a reference to the given []ListHotelsResponseDataInner and assigns it to the Data field.

func (*ListHotelsResponse) SetTotal

func (o *ListHotelsResponse) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

type ListHotelsResponseDataInner

type ListHotelsResponseDataInner struct {
	Id                        *int32   `json:"id,omitempty"`
	Name                      *string  `json:"name,omitempty"`
	HotelDescription          *string  `json:"hotelDescription,omitempty"`
	HotelImportantInformation *string  `json:"hotelImportantInformation,omitempty"`
	Currency                  *string  `json:"currency,omitempty"`
	Country                   *string  `json:"country,omitempty"`
	City                      *string  `json:"city,omitempty"`
	Latitude                  *float32 `json:"latitude,omitempty"`
	Longitude                 *float32 `json:"longitude,omitempty"`
	Address                   *string  `json:"address,omitempty"`
	Zip                       *string  `json:"zip,omitempty"`
}

ListHotelsResponseDataInner struct for ListHotelsResponseDataInner

func NewListHotelsResponseDataInner

func NewListHotelsResponseDataInner() *ListHotelsResponseDataInner

NewListHotelsResponseDataInner instantiates a new ListHotelsResponseDataInner 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 NewListHotelsResponseDataInnerWithDefaults

func NewListHotelsResponseDataInnerWithDefaults() *ListHotelsResponseDataInner

NewListHotelsResponseDataInnerWithDefaults instantiates a new ListHotelsResponseDataInner 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 (*ListHotelsResponseDataInner) GetAddress

func (o *ListHotelsResponseDataInner) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetAddressOk

func (o *ListHotelsResponseDataInner) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetCity

func (o *ListHotelsResponseDataInner) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetCityOk

func (o *ListHotelsResponseDataInner) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetCountry

func (o *ListHotelsResponseDataInner) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetCountryOk

func (o *ListHotelsResponseDataInner) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetCurrency

func (o *ListHotelsResponseDataInner) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetCurrencyOk

func (o *ListHotelsResponseDataInner) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetHotelDescription

func (o *ListHotelsResponseDataInner) GetHotelDescription() string

GetHotelDescription returns the HotelDescription field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetHotelDescriptionOk

func (o *ListHotelsResponseDataInner) GetHotelDescriptionOk() (*string, bool)

GetHotelDescriptionOk returns a tuple with the HotelDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetHotelImportantInformation

func (o *ListHotelsResponseDataInner) GetHotelImportantInformation() string

GetHotelImportantInformation returns the HotelImportantInformation field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetHotelImportantInformationOk

func (o *ListHotelsResponseDataInner) GetHotelImportantInformationOk() (*string, bool)

GetHotelImportantInformationOk returns a tuple with the HotelImportantInformation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetIdOk

func (o *ListHotelsResponseDataInner) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetLatitude

func (o *ListHotelsResponseDataInner) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetLatitudeOk

func (o *ListHotelsResponseDataInner) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetLongitude

func (o *ListHotelsResponseDataInner) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetLongitudeOk

func (o *ListHotelsResponseDataInner) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetName

func (o *ListHotelsResponseDataInner) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetNameOk

func (o *ListHotelsResponseDataInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) GetZip

func (o *ListHotelsResponseDataInner) GetZip() string

GetZip returns the Zip field value if set, zero value otherwise.

func (*ListHotelsResponseDataInner) GetZipOk

func (o *ListHotelsResponseDataInner) GetZipOk() (*string, bool)

GetZipOk returns a tuple with the Zip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListHotelsResponseDataInner) HasAddress

func (o *ListHotelsResponseDataInner) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasCity

func (o *ListHotelsResponseDataInner) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasCountry

func (o *ListHotelsResponseDataInner) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasCurrency

func (o *ListHotelsResponseDataInner) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasHotelDescription

func (o *ListHotelsResponseDataInner) HasHotelDescription() bool

HasHotelDescription returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasHotelImportantInformation

func (o *ListHotelsResponseDataInner) HasHotelImportantInformation() bool

HasHotelImportantInformation returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasId

func (o *ListHotelsResponseDataInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasLatitude

func (o *ListHotelsResponseDataInner) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasLongitude

func (o *ListHotelsResponseDataInner) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasName

func (o *ListHotelsResponseDataInner) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListHotelsResponseDataInner) HasZip

func (o *ListHotelsResponseDataInner) HasZip() bool

HasZip returns a boolean if a field has been set.

func (ListHotelsResponseDataInner) MarshalJSON

func (o ListHotelsResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListHotelsResponseDataInner) SetAddress

func (o *ListHotelsResponseDataInner) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*ListHotelsResponseDataInner) SetCity

func (o *ListHotelsResponseDataInner) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*ListHotelsResponseDataInner) SetCountry

func (o *ListHotelsResponseDataInner) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ListHotelsResponseDataInner) SetCurrency

func (o *ListHotelsResponseDataInner) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*ListHotelsResponseDataInner) SetHotelDescription

func (o *ListHotelsResponseDataInner) SetHotelDescription(v string)

SetHotelDescription gets a reference to the given string and assigns it to the HotelDescription field.

func (*ListHotelsResponseDataInner) SetHotelImportantInformation

func (o *ListHotelsResponseDataInner) SetHotelImportantInformation(v string)

SetHotelImportantInformation gets a reference to the given string and assigns it to the HotelImportantInformation field.

func (*ListHotelsResponseDataInner) SetId

func (o *ListHotelsResponseDataInner) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*ListHotelsResponseDataInner) SetLatitude

func (o *ListHotelsResponseDataInner) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*ListHotelsResponseDataInner) SetLongitude

func (o *ListHotelsResponseDataInner) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*ListHotelsResponseDataInner) SetName

func (o *ListHotelsResponseDataInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ListHotelsResponseDataInner) SetZip

func (o *ListHotelsResponseDataInner) SetZip(v string)

SetZip gets a reference to the given string and assigns it to the Zip field.

type ListIataCodesResponse

type ListIataCodesResponse struct {
	Data []ListIataCodesResponseDataInner `json:"data,omitempty"`
}

ListIataCodesResponse struct for ListIataCodesResponse

func NewListIataCodesResponse

func NewListIataCodesResponse() *ListIataCodesResponse

NewListIataCodesResponse instantiates a new ListIataCodesResponse 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 NewListIataCodesResponseWithDefaults

func NewListIataCodesResponseWithDefaults() *ListIataCodesResponse

NewListIataCodesResponseWithDefaults instantiates a new ListIataCodesResponse 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 (*ListIataCodesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListIataCodesResponse) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponse) HasData

func (o *ListIataCodesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (ListIataCodesResponse) MarshalJSON

func (o ListIataCodesResponse) MarshalJSON() ([]byte, error)

func (*ListIataCodesResponse) SetData

SetData gets a reference to the given []ListIataCodesResponseDataInner and assigns it to the Data field.

type ListIataCodesResponseDataInner

type ListIataCodesResponseDataInner struct {
	// IATA code
	Code *string `json:"code,omitempty"`
	// IATA location name
	Name      *string  `json:"name,omitempty"`
	Latitude  *float32 `json:"latitude,omitempty"`
	Longitude *float32 `json:"longitude,omitempty"`
	// country code
	CountryCode *string `json:"countryCode,omitempty"`
}

ListIataCodesResponseDataInner struct for ListIataCodesResponseDataInner

func NewListIataCodesResponseDataInner

func NewListIataCodesResponseDataInner() *ListIataCodesResponseDataInner

NewListIataCodesResponseDataInner instantiates a new ListIataCodesResponseDataInner 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 NewListIataCodesResponseDataInnerWithDefaults

func NewListIataCodesResponseDataInnerWithDefaults() *ListIataCodesResponseDataInner

NewListIataCodesResponseDataInnerWithDefaults instantiates a new ListIataCodesResponseDataInner 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 (*ListIataCodesResponseDataInner) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*ListIataCodesResponseDataInner) GetCodeOk

func (o *ListIataCodesResponseDataInner) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponseDataInner) GetCountryCode

func (o *ListIataCodesResponseDataInner) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*ListIataCodesResponseDataInner) GetCountryCodeOk

func (o *ListIataCodesResponseDataInner) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponseDataInner) GetLatitude

func (o *ListIataCodesResponseDataInner) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*ListIataCodesResponseDataInner) GetLatitudeOk

func (o *ListIataCodesResponseDataInner) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponseDataInner) GetLongitude

func (o *ListIataCodesResponseDataInner) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*ListIataCodesResponseDataInner) GetLongitudeOk

func (o *ListIataCodesResponseDataInner) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponseDataInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*ListIataCodesResponseDataInner) GetNameOk

func (o *ListIataCodesResponseDataInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListIataCodesResponseDataInner) HasCode

func (o *ListIataCodesResponseDataInner) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ListIataCodesResponseDataInner) HasCountryCode

func (o *ListIataCodesResponseDataInner) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*ListIataCodesResponseDataInner) HasLatitude

func (o *ListIataCodesResponseDataInner) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*ListIataCodesResponseDataInner) HasLongitude

func (o *ListIataCodesResponseDataInner) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*ListIataCodesResponseDataInner) HasName

func (o *ListIataCodesResponseDataInner) HasName() bool

HasName returns a boolean if a field has been set.

func (ListIataCodesResponseDataInner) MarshalJSON

func (o ListIataCodesResponseDataInner) MarshalJSON() ([]byte, error)

func (*ListIataCodesResponseDataInner) SetCode

func (o *ListIataCodesResponseDataInner) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ListIataCodesResponseDataInner) SetCountryCode

func (o *ListIataCodesResponseDataInner) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*ListIataCodesResponseDataInner) SetLatitude

func (o *ListIataCodesResponseDataInner) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*ListIataCodesResponseDataInner) SetLongitude

func (o *ListIataCodesResponseDataInner) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*ListIataCodesResponseDataInner) SetName

func (o *ListIataCodesResponseDataInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type NullableBook400Response

type NullableBook400Response struct {
	// contains filtered or unexported fields
}

func NewNullableBook400Response

func NewNullableBook400Response(val *Book400Response) *NullableBook400Response

func (NullableBook400Response) Get

func (NullableBook400Response) IsSet

func (v NullableBook400Response) IsSet() bool

func (NullableBook400Response) MarshalJSON

func (v NullableBook400Response) MarshalJSON() ([]byte, error)

func (*NullableBook400Response) Set

func (*NullableBook400Response) UnmarshalJSON

func (v *NullableBook400Response) UnmarshalJSON(src []byte) error

func (*NullableBook400Response) Unset

func (v *NullableBook400Response) Unset()

type NullableBook400ResponseError

type NullableBook400ResponseError struct {
	// contains filtered or unexported fields
}

func NewNullableBook400ResponseError

func NewNullableBook400ResponseError(val *Book400ResponseError) *NullableBook400ResponseError

func (NullableBook400ResponseError) Get

func (NullableBook400ResponseError) IsSet

func (NullableBook400ResponseError) MarshalJSON

func (v NullableBook400ResponseError) MarshalJSON() ([]byte, error)

func (*NullableBook400ResponseError) Set

func (*NullableBook400ResponseError) UnmarshalJSON

func (v *NullableBook400ResponseError) UnmarshalJSON(src []byte) error

func (*NullableBook400ResponseError) Unset

func (v *NullableBook400ResponseError) Unset()

type NullableBook401Response

type NullableBook401Response struct {
	// contains filtered or unexported fields
}

func NewNullableBook401Response

func NewNullableBook401Response(val *Book401Response) *NullableBook401Response

func (NullableBook401Response) Get

func (NullableBook401Response) IsSet

func (v NullableBook401Response) IsSet() bool

func (NullableBook401Response) MarshalJSON

func (v NullableBook401Response) MarshalJSON() ([]byte, error)

func (*NullableBook401Response) Set

func (*NullableBook401Response) UnmarshalJSON

func (v *NullableBook401Response) UnmarshalJSON(src []byte) error

func (*NullableBook401Response) Unset

func (v *NullableBook401Response) Unset()

type NullableBook500Response

type NullableBook500Response struct {
	// contains filtered or unexported fields
}

func NewNullableBook500Response

func NewNullableBook500Response(val *Book500Response) *NullableBook500Response

func (NullableBook500Response) Get

func (NullableBook500Response) IsSet

func (v NullableBook500Response) IsSet() bool

func (NullableBook500Response) MarshalJSON

func (v NullableBook500Response) MarshalJSON() ([]byte, error)

func (*NullableBook500Response) Set

func (*NullableBook500Response) UnmarshalJSON

func (v *NullableBook500Response) UnmarshalJSON(src []byte) error

func (*NullableBook500Response) Unset

func (v *NullableBook500Response) Unset()

type NullableBookRequest

type NullableBookRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBookRequest

func NewNullableBookRequest(val *BookRequest) *NullableBookRequest

func (NullableBookRequest) Get

func (NullableBookRequest) IsSet

func (v NullableBookRequest) IsSet() bool

func (NullableBookRequest) MarshalJSON

func (v NullableBookRequest) MarshalJSON() ([]byte, error)

func (*NullableBookRequest) Set

func (v *NullableBookRequest) Set(val *BookRequest)

func (*NullableBookRequest) UnmarshalJSON

func (v *NullableBookRequest) UnmarshalJSON(src []byte) error

func (*NullableBookRequest) Unset

func (v *NullableBookRequest) Unset()

type NullableBookRequestGuestInfo

type NullableBookRequestGuestInfo struct {
	// contains filtered or unexported fields
}

func NewNullableBookRequestGuestInfo

func NewNullableBookRequestGuestInfo(val *BookRequestGuestInfo) *NullableBookRequestGuestInfo

func (NullableBookRequestGuestInfo) Get

func (NullableBookRequestGuestInfo) IsSet

func (NullableBookRequestGuestInfo) MarshalJSON

func (v NullableBookRequestGuestInfo) MarshalJSON() ([]byte, error)

func (*NullableBookRequestGuestInfo) Set

func (*NullableBookRequestGuestInfo) UnmarshalJSON

func (v *NullableBookRequestGuestInfo) UnmarshalJSON(src []byte) error

func (*NullableBookRequestGuestInfo) Unset

func (v *NullableBookRequestGuestInfo) Unset()

type NullableBookResponse

type NullableBookResponse struct {
	// contains filtered or unexported fields
}

func NewNullableBookResponse

func NewNullableBookResponse(val *BookResponse) *NullableBookResponse

func (NullableBookResponse) Get

func (NullableBookResponse) IsSet

func (v NullableBookResponse) IsSet() bool

func (NullableBookResponse) MarshalJSON

func (v NullableBookResponse) MarshalJSON() ([]byte, error)

func (*NullableBookResponse) Set

func (v *NullableBookResponse) Set(val *BookResponse)

func (*NullableBookResponse) UnmarshalJSON

func (v *NullableBookResponse) UnmarshalJSON(src []byte) error

func (*NullableBookResponse) Unset

func (v *NullableBookResponse) Unset()

type NullableBookResponseData

type NullableBookResponseData struct {
	// contains filtered or unexported fields
}

func NewNullableBookResponseData

func NewNullableBookResponseData(val *BookResponseData) *NullableBookResponseData

func (NullableBookResponseData) Get

func (NullableBookResponseData) IsSet

func (v NullableBookResponseData) IsSet() bool

func (NullableBookResponseData) MarshalJSON

func (v NullableBookResponseData) MarshalJSON() ([]byte, error)

func (*NullableBookResponseData) Set

func (*NullableBookResponseData) UnmarshalJSON

func (v *NullableBookResponseData) UnmarshalJSON(src []byte) error

func (*NullableBookResponseData) Unset

func (v *NullableBookResponseData) Unset()

type NullableBookResponseDataBookedRoomsInner

type NullableBookResponseDataBookedRoomsInner struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataBookedRoomsInner) Get

func (NullableBookResponseDataBookedRoomsInner) IsSet

func (NullableBookResponseDataBookedRoomsInner) MarshalJSON

func (*NullableBookResponseDataBookedRoomsInner) Set

func (*NullableBookResponseDataBookedRoomsInner) UnmarshalJSON

func (v *NullableBookResponseDataBookedRoomsInner) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataBookedRoomsInner) Unset

type NullableBookResponseDataBookedRoomsInnerRate

type NullableBookResponseDataBookedRoomsInnerRate struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataBookedRoomsInnerRate) Get

func (NullableBookResponseDataBookedRoomsInnerRate) IsSet

func (NullableBookResponseDataBookedRoomsInnerRate) MarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRate) Set

func (*NullableBookResponseDataBookedRoomsInnerRate) UnmarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRate) Unset

type NullableBookResponseDataBookedRoomsInnerRateRetailRate

type NullableBookResponseDataBookedRoomsInnerRateRetailRate struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataBookedRoomsInnerRateRetailRate) Get

func (NullableBookResponseDataBookedRoomsInnerRateRetailRate) IsSet

func (NullableBookResponseDataBookedRoomsInnerRateRetailRate) MarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRateRetailRate) Set

func (*NullableBookResponseDataBookedRoomsInnerRateRetailRate) UnmarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRateRetailRate) Unset

type NullableBookResponseDataBookedRoomsInnerRoomType

type NullableBookResponseDataBookedRoomsInnerRoomType struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataBookedRoomsInnerRoomType) Get

func (NullableBookResponseDataBookedRoomsInnerRoomType) IsSet

func (NullableBookResponseDataBookedRoomsInnerRoomType) MarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRoomType) Set

func (*NullableBookResponseDataBookedRoomsInnerRoomType) UnmarshalJSON

func (*NullableBookResponseDataBookedRoomsInnerRoomType) Unset

type NullableBookResponseDataCancellation

type NullableBookResponseDataCancellation struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataCancellation) Get

func (NullableBookResponseDataCancellation) IsSet

func (NullableBookResponseDataCancellation) MarshalJSON

func (v NullableBookResponseDataCancellation) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataCancellation) Set

func (*NullableBookResponseDataCancellation) UnmarshalJSON

func (v *NullableBookResponseDataCancellation) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataCancellation) Unset

type NullableBookResponseDataCancellationFee

type NullableBookResponseDataCancellationFee struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataCancellationFee) Get

func (NullableBookResponseDataCancellationFee) IsSet

func (NullableBookResponseDataCancellationFee) MarshalJSON

func (v NullableBookResponseDataCancellationFee) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataCancellationFee) Set

func (*NullableBookResponseDataCancellationFee) UnmarshalJSON

func (v *NullableBookResponseDataCancellationFee) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataCancellationFee) Unset

type NullableBookResponseDataCancellationPolicies

type NullableBookResponseDataCancellationPolicies struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataCancellationPolicies) Get

func (NullableBookResponseDataCancellationPolicies) IsSet

func (NullableBookResponseDataCancellationPolicies) MarshalJSON

func (*NullableBookResponseDataCancellationPolicies) Set

func (*NullableBookResponseDataCancellationPolicies) UnmarshalJSON

func (*NullableBookResponseDataCancellationPolicies) Unset

type NullableBookResponseDataGuestInfo

type NullableBookResponseDataGuestInfo struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataGuestInfo) Get

func (NullableBookResponseDataGuestInfo) IsSet

func (NullableBookResponseDataGuestInfo) MarshalJSON

func (v NullableBookResponseDataGuestInfo) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataGuestInfo) Set

func (*NullableBookResponseDataGuestInfo) UnmarshalJSON

func (v *NullableBookResponseDataGuestInfo) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataGuestInfo) Unset

type NullableBookResponseDataHotel

type NullableBookResponseDataHotel struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataHotel) Get

func (NullableBookResponseDataHotel) IsSet

func (NullableBookResponseDataHotel) MarshalJSON

func (v NullableBookResponseDataHotel) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataHotel) Set

func (*NullableBookResponseDataHotel) UnmarshalJSON

func (v *NullableBookResponseDataHotel) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataHotel) Unset

func (v *NullableBookResponseDataHotel) Unset()

type NullableBookResponseDataHotelAddress

type NullableBookResponseDataHotelAddress struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataHotelAddress) Get

func (NullableBookResponseDataHotelAddress) IsSet

func (NullableBookResponseDataHotelAddress) MarshalJSON

func (v NullableBookResponseDataHotelAddress) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataHotelAddress) Set

func (*NullableBookResponseDataHotelAddress) UnmarshalJSON

func (v *NullableBookResponseDataHotelAddress) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataHotelAddress) Unset

type NullableBookResponseDataHotelLocation

type NullableBookResponseDataHotelLocation struct {
	// contains filtered or unexported fields
}

func (NullableBookResponseDataHotelLocation) Get

func (NullableBookResponseDataHotelLocation) IsSet

func (NullableBookResponseDataHotelLocation) MarshalJSON

func (v NullableBookResponseDataHotelLocation) MarshalJSON() ([]byte, error)

func (*NullableBookResponseDataHotelLocation) Set

func (*NullableBookResponseDataHotelLocation) UnmarshalJSON

func (v *NullableBookResponseDataHotelLocation) UnmarshalJSON(src []byte) error

func (*NullableBookResponseDataHotelLocation) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCancel400Response

type NullableCancel400Response struct {
	// contains filtered or unexported fields
}

func NewNullableCancel400Response

func NewNullableCancel400Response(val *Cancel400Response) *NullableCancel400Response

func (NullableCancel400Response) Get

func (NullableCancel400Response) IsSet

func (v NullableCancel400Response) IsSet() bool

func (NullableCancel400Response) MarshalJSON

func (v NullableCancel400Response) MarshalJSON() ([]byte, error)

func (*NullableCancel400Response) Set

func (*NullableCancel400Response) UnmarshalJSON

func (v *NullableCancel400Response) UnmarshalJSON(src []byte) error

func (*NullableCancel400Response) Unset

func (v *NullableCancel400Response) Unset()

type NullableCancel400ResponseError

type NullableCancel400ResponseError struct {
	// contains filtered or unexported fields
}

func (NullableCancel400ResponseError) Get

func (NullableCancel400ResponseError) IsSet

func (NullableCancel400ResponseError) MarshalJSON

func (v NullableCancel400ResponseError) MarshalJSON() ([]byte, error)

func (*NullableCancel400ResponseError) Set

func (*NullableCancel400ResponseError) UnmarshalJSON

func (v *NullableCancel400ResponseError) UnmarshalJSON(src []byte) error

func (*NullableCancel400ResponseError) Unset

func (v *NullableCancel400ResponseError) Unset()

type NullableCancel401Response

type NullableCancel401Response struct {
	// contains filtered or unexported fields
}

func NewNullableCancel401Response

func NewNullableCancel401Response(val *Cancel401Response) *NullableCancel401Response

func (NullableCancel401Response) Get

func (NullableCancel401Response) IsSet

func (v NullableCancel401Response) IsSet() bool

func (NullableCancel401Response) MarshalJSON

func (v NullableCancel401Response) MarshalJSON() ([]byte, error)

func (*NullableCancel401Response) Set

func (*NullableCancel401Response) UnmarshalJSON

func (v *NullableCancel401Response) UnmarshalJSON(src []byte) error

func (*NullableCancel401Response) Unset

func (v *NullableCancel401Response) Unset()

type NullableCancel500Response

type NullableCancel500Response struct {
	// contains filtered or unexported fields
}

func NewNullableCancel500Response

func NewNullableCancel500Response(val *Cancel500Response) *NullableCancel500Response

func (NullableCancel500Response) Get

func (NullableCancel500Response) IsSet

func (v NullableCancel500Response) IsSet() bool

func (NullableCancel500Response) MarshalJSON

func (v NullableCancel500Response) MarshalJSON() ([]byte, error)

func (*NullableCancel500Response) Set

func (*NullableCancel500Response) UnmarshalJSON

func (v *NullableCancel500Response) UnmarshalJSON(src []byte) error

func (*NullableCancel500Response) Unset

func (v *NullableCancel500Response) Unset()

type NullableCancelResponse

type NullableCancelResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCancelResponse

func NewNullableCancelResponse(val *CancelResponse) *NullableCancelResponse

func (NullableCancelResponse) Get

func (NullableCancelResponse) IsSet

func (v NullableCancelResponse) IsSet() bool

func (NullableCancelResponse) MarshalJSON

func (v NullableCancelResponse) MarshalJSON() ([]byte, error)

func (*NullableCancelResponse) Set

func (*NullableCancelResponse) UnmarshalJSON

func (v *NullableCancelResponse) UnmarshalJSON(src []byte) error

func (*NullableCancelResponse) Unset

func (v *NullableCancelResponse) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetHotelRates400Response

type NullableGetHotelRates400Response struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRates400Response) Get

func (NullableGetHotelRates400Response) IsSet

func (NullableGetHotelRates400Response) MarshalJSON

func (v NullableGetHotelRates400Response) MarshalJSON() ([]byte, error)

func (*NullableGetHotelRates400Response) Set

func (*NullableGetHotelRates400Response) UnmarshalJSON

func (v *NullableGetHotelRates400Response) UnmarshalJSON(src []byte) error

func (*NullableGetHotelRates400Response) Unset

type NullableGetHotelRates401Response

type NullableGetHotelRates401Response struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRates401Response) Get

func (NullableGetHotelRates401Response) IsSet

func (NullableGetHotelRates401Response) MarshalJSON

func (v NullableGetHotelRates401Response) MarshalJSON() ([]byte, error)

func (*NullableGetHotelRates401Response) Set

func (*NullableGetHotelRates401Response) UnmarshalJSON

func (v *NullableGetHotelRates401Response) UnmarshalJSON(src []byte) error

func (*NullableGetHotelRates401Response) Unset

type NullableGetHotelRatesResponse

type NullableGetHotelRatesResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponse) Get

func (NullableGetHotelRatesResponse) IsSet

func (NullableGetHotelRatesResponse) MarshalJSON

func (v NullableGetHotelRatesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetHotelRatesResponse) Set

func (*NullableGetHotelRatesResponse) UnmarshalJSON

func (v *NullableGetHotelRatesResponse) UnmarshalJSON(src []byte) error

func (*NullableGetHotelRatesResponse) Unset

func (v *NullableGetHotelRatesResponse) Unset()

type NullableGetHotelRatesResponseDataInner

type NullableGetHotelRatesResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInner) Get

func (NullableGetHotelRatesResponseDataInner) IsSet

func (NullableGetHotelRatesResponseDataInner) MarshalJSON

func (v NullableGetHotelRatesResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableGetHotelRatesResponseDataInner) Set

func (*NullableGetHotelRatesResponseDataInner) UnmarshalJSON

func (v *NullableGetHotelRatesResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableGetHotelRatesResponseDataInner) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInner

type NullableGetHotelRatesResponseDataInnerRoomTypesInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInner) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInner) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInner) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInner) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInner) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInner) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInner) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPolicies) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRate) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner) Unset

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner

type NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) Get

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) IsSet

func (NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) MarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) Set

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) UnmarshalJSON

func (*NullableGetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner) Unset

type NullableGetHotels400Response

type NullableGetHotels400Response struct {
	// contains filtered or unexported fields
}

func NewNullableGetHotels400Response

func NewNullableGetHotels400Response(val *GetHotels400Response) *NullableGetHotels400Response

func (NullableGetHotels400Response) Get

func (NullableGetHotels400Response) IsSet

func (NullableGetHotels400Response) MarshalJSON

func (v NullableGetHotels400Response) MarshalJSON() ([]byte, error)

func (*NullableGetHotels400Response) Set

func (*NullableGetHotels400Response) UnmarshalJSON

func (v *NullableGetHotels400Response) UnmarshalJSON(src []byte) error

func (*NullableGetHotels400Response) Unset

func (v *NullableGetHotels400Response) Unset()

type NullableGetHotels400ResponseError

type NullableGetHotels400ResponseError struct {
	// contains filtered or unexported fields
}

func (NullableGetHotels400ResponseError) Get

func (NullableGetHotels400ResponseError) IsSet

func (NullableGetHotels400ResponseError) MarshalJSON

func (v NullableGetHotels400ResponseError) MarshalJSON() ([]byte, error)

func (*NullableGetHotels400ResponseError) Set

func (*NullableGetHotels400ResponseError) UnmarshalJSON

func (v *NullableGetHotels400ResponseError) UnmarshalJSON(src []byte) error

func (*NullableGetHotels400ResponseError) Unset

type NullableGetHotels401Response

type NullableGetHotels401Response struct {
	// contains filtered or unexported fields
}

func NewNullableGetHotels401Response

func NewNullableGetHotels401Response(val *GetHotels401Response) *NullableGetHotels401Response

func (NullableGetHotels401Response) Get

func (NullableGetHotels401Response) IsSet

func (NullableGetHotels401Response) MarshalJSON

func (v NullableGetHotels401Response) MarshalJSON() ([]byte, error)

func (*NullableGetHotels401Response) Set

func (*NullableGetHotels401Response) UnmarshalJSON

func (v *NullableGetHotels401Response) UnmarshalJSON(src []byte) error

func (*NullableGetHotels401Response) Unset

func (v *NullableGetHotels401Response) Unset()

type NullableGetHotels401ResponseError

type NullableGetHotels401ResponseError struct {
	// contains filtered or unexported fields
}

func (NullableGetHotels401ResponseError) Get

func (NullableGetHotels401ResponseError) IsSet

func (NullableGetHotels401ResponseError) MarshalJSON

func (v NullableGetHotels401ResponseError) MarshalJSON() ([]byte, error)

func (*NullableGetHotels401ResponseError) Set

func (*NullableGetHotels401ResponseError) UnmarshalJSON

func (v *NullableGetHotels401ResponseError) UnmarshalJSON(src []byte) error

func (*NullableGetHotels401ResponseError) Unset

type NullableGetHotelsResponse

type NullableGetHotelsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetHotelsResponse

func NewNullableGetHotelsResponse(val *GetHotelsResponse) *NullableGetHotelsResponse

func (NullableGetHotelsResponse) Get

func (NullableGetHotelsResponse) IsSet

func (v NullableGetHotelsResponse) IsSet() bool

func (NullableGetHotelsResponse) MarshalJSON

func (v NullableGetHotelsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetHotelsResponse) Set

func (*NullableGetHotelsResponse) UnmarshalJSON

func (v *NullableGetHotelsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetHotelsResponse) Unset

func (v *NullableGetHotelsResponse) Unset()

type NullableGetHotelsResponseDataInner

type NullableGetHotelsResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableGetHotelsResponseDataInner) Get

func (NullableGetHotelsResponseDataInner) IsSet

func (NullableGetHotelsResponseDataInner) MarshalJSON

func (v NullableGetHotelsResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableGetHotelsResponseDataInner) Set

func (*NullableGetHotelsResponseDataInner) UnmarshalJSON

func (v *NullableGetHotelsResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableGetHotelsResponseDataInner) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListBookingsResponse

type NullableListBookingsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListBookingsResponse

func NewNullableListBookingsResponse(val *ListBookingsResponse) *NullableListBookingsResponse

func (NullableListBookingsResponse) Get

func (NullableListBookingsResponse) IsSet

func (NullableListBookingsResponse) MarshalJSON

func (v NullableListBookingsResponse) MarshalJSON() ([]byte, error)

func (*NullableListBookingsResponse) Set

func (*NullableListBookingsResponse) UnmarshalJSON

func (v *NullableListBookingsResponse) UnmarshalJSON(src []byte) error

func (*NullableListBookingsResponse) Unset

func (v *NullableListBookingsResponse) Unset()

type NullableListBookingsResponseDataInner

type NullableListBookingsResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListBookingsResponseDataInner) Get

func (NullableListBookingsResponseDataInner) IsSet

func (NullableListBookingsResponseDataInner) MarshalJSON

func (v NullableListBookingsResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListBookingsResponseDataInner) Set

func (*NullableListBookingsResponseDataInner) UnmarshalJSON

func (v *NullableListBookingsResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListBookingsResponseDataInner) Unset

type NullableListCitiesResponse

type NullableListCitiesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListCitiesResponse

func NewNullableListCitiesResponse(val *ListCitiesResponse) *NullableListCitiesResponse

func (NullableListCitiesResponse) Get

func (NullableListCitiesResponse) IsSet

func (v NullableListCitiesResponse) IsSet() bool

func (NullableListCitiesResponse) MarshalJSON

func (v NullableListCitiesResponse) MarshalJSON() ([]byte, error)

func (*NullableListCitiesResponse) Set

func (*NullableListCitiesResponse) UnmarshalJSON

func (v *NullableListCitiesResponse) UnmarshalJSON(src []byte) error

func (*NullableListCitiesResponse) Unset

func (v *NullableListCitiesResponse) Unset()

type NullableListCitiesResponseDataInner

type NullableListCitiesResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListCitiesResponseDataInner) Get

func (NullableListCitiesResponseDataInner) IsSet

func (NullableListCitiesResponseDataInner) MarshalJSON

func (v NullableListCitiesResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListCitiesResponseDataInner) Set

func (*NullableListCitiesResponseDataInner) UnmarshalJSON

func (v *NullableListCitiesResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListCitiesResponseDataInner) Unset

type NullableListCountriesResponse

type NullableListCountriesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListCountriesResponse) Get

func (NullableListCountriesResponse) IsSet

func (NullableListCountriesResponse) MarshalJSON

func (v NullableListCountriesResponse) MarshalJSON() ([]byte, error)

func (*NullableListCountriesResponse) Set

func (*NullableListCountriesResponse) UnmarshalJSON

func (v *NullableListCountriesResponse) UnmarshalJSON(src []byte) error

func (*NullableListCountriesResponse) Unset

func (v *NullableListCountriesResponse) Unset()

type NullableListCountriesResponseDataInner

type NullableListCountriesResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListCountriesResponseDataInner) Get

func (NullableListCountriesResponseDataInner) IsSet

func (NullableListCountriesResponseDataInner) MarshalJSON

func (v NullableListCountriesResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListCountriesResponseDataInner) Set

func (*NullableListCountriesResponseDataInner) UnmarshalJSON

func (v *NullableListCountriesResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListCountriesResponseDataInner) Unset

type NullableListCurrenciesResponse

type NullableListCurrenciesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListCurrenciesResponse) Get

func (NullableListCurrenciesResponse) IsSet

func (NullableListCurrenciesResponse) MarshalJSON

func (v NullableListCurrenciesResponse) MarshalJSON() ([]byte, error)

func (*NullableListCurrenciesResponse) Set

func (*NullableListCurrenciesResponse) UnmarshalJSON

func (v *NullableListCurrenciesResponse) UnmarshalJSON(src []byte) error

func (*NullableListCurrenciesResponse) Unset

func (v *NullableListCurrenciesResponse) Unset()

type NullableListCurrenciesResponseDataInner

type NullableListCurrenciesResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListCurrenciesResponseDataInner) Get

func (NullableListCurrenciesResponseDataInner) IsSet

func (NullableListCurrenciesResponseDataInner) MarshalJSON

func (v NullableListCurrenciesResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListCurrenciesResponseDataInner) Set

func (*NullableListCurrenciesResponseDataInner) UnmarshalJSON

func (v *NullableListCurrenciesResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListCurrenciesResponseDataInner) Unset

type NullableListHotels400Response

type NullableListHotels400Response struct {
	// contains filtered or unexported fields
}

func (NullableListHotels400Response) Get

func (NullableListHotels400Response) IsSet

func (NullableListHotels400Response) MarshalJSON

func (v NullableListHotels400Response) MarshalJSON() ([]byte, error)

func (*NullableListHotels400Response) Set

func (*NullableListHotels400Response) UnmarshalJSON

func (v *NullableListHotels400Response) UnmarshalJSON(src []byte) error

func (*NullableListHotels400Response) Unset

func (v *NullableListHotels400Response) Unset()

type NullableListHotels401Response

type NullableListHotels401Response struct {
	// contains filtered or unexported fields
}

func (NullableListHotels401Response) Get

func (NullableListHotels401Response) IsSet

func (NullableListHotels401Response) MarshalJSON

func (v NullableListHotels401Response) MarshalJSON() ([]byte, error)

func (*NullableListHotels401Response) Set

func (*NullableListHotels401Response) UnmarshalJSON

func (v *NullableListHotels401Response) UnmarshalJSON(src []byte) error

func (*NullableListHotels401Response) Unset

func (v *NullableListHotels401Response) Unset()

type NullableListHotelsResponse

type NullableListHotelsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListHotelsResponse

func NewNullableListHotelsResponse(val *ListHotelsResponse) *NullableListHotelsResponse

func (NullableListHotelsResponse) Get

func (NullableListHotelsResponse) IsSet

func (v NullableListHotelsResponse) IsSet() bool

func (NullableListHotelsResponse) MarshalJSON

func (v NullableListHotelsResponse) MarshalJSON() ([]byte, error)

func (*NullableListHotelsResponse) Set

func (*NullableListHotelsResponse) UnmarshalJSON

func (v *NullableListHotelsResponse) UnmarshalJSON(src []byte) error

func (*NullableListHotelsResponse) Unset

func (v *NullableListHotelsResponse) Unset()

type NullableListHotelsResponseDataInner

type NullableListHotelsResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListHotelsResponseDataInner) Get

func (NullableListHotelsResponseDataInner) IsSet

func (NullableListHotelsResponseDataInner) MarshalJSON

func (v NullableListHotelsResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListHotelsResponseDataInner) Set

func (*NullableListHotelsResponseDataInner) UnmarshalJSON

func (v *NullableListHotelsResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListHotelsResponseDataInner) Unset

type NullableListIataCodesResponse

type NullableListIataCodesResponse struct {
	// contains filtered or unexported fields
}

func (NullableListIataCodesResponse) Get

func (NullableListIataCodesResponse) IsSet

func (NullableListIataCodesResponse) MarshalJSON

func (v NullableListIataCodesResponse) MarshalJSON() ([]byte, error)

func (*NullableListIataCodesResponse) Set

func (*NullableListIataCodesResponse) UnmarshalJSON

func (v *NullableListIataCodesResponse) UnmarshalJSON(src []byte) error

func (*NullableListIataCodesResponse) Unset

func (v *NullableListIataCodesResponse) Unset()

type NullableListIataCodesResponseDataInner

type NullableListIataCodesResponseDataInner struct {
	// contains filtered or unexported fields
}

func (NullableListIataCodesResponseDataInner) Get

func (NullableListIataCodesResponseDataInner) IsSet

func (NullableListIataCodesResponseDataInner) MarshalJSON

func (v NullableListIataCodesResponseDataInner) MarshalJSON() ([]byte, error)

func (*NullableListIataCodesResponseDataInner) Set

func (*NullableListIataCodesResponseDataInner) UnmarshalJSON

func (v *NullableListIataCodesResponseDataInner) UnmarshalJSON(src []byte) error

func (*NullableListIataCodesResponseDataInner) Unset

type NullablePrebook401Response

type NullablePrebook401Response struct {
	// contains filtered or unexported fields
}

func NewNullablePrebook401Response

func NewNullablePrebook401Response(val *Prebook401Response) *NullablePrebook401Response

func (NullablePrebook401Response) Get

func (NullablePrebook401Response) IsSet

func (v NullablePrebook401Response) IsSet() bool

func (NullablePrebook401Response) MarshalJSON

func (v NullablePrebook401Response) MarshalJSON() ([]byte, error)

func (*NullablePrebook401Response) Set

func (*NullablePrebook401Response) UnmarshalJSON

func (v *NullablePrebook401Response) UnmarshalJSON(src []byte) error

func (*NullablePrebook401Response) Unset

func (v *NullablePrebook401Response) Unset()

type NullablePrebookRequest

type NullablePrebookRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePrebookRequest

func NewNullablePrebookRequest(val *PrebookRequest) *NullablePrebookRequest

func (NullablePrebookRequest) Get

func (NullablePrebookRequest) IsSet

func (v NullablePrebookRequest) IsSet() bool

func (NullablePrebookRequest) MarshalJSON

func (v NullablePrebookRequest) MarshalJSON() ([]byte, error)

func (*NullablePrebookRequest) Set

func (*NullablePrebookRequest) UnmarshalJSON

func (v *NullablePrebookRequest) UnmarshalJSON(src []byte) error

func (*NullablePrebookRequest) Unset

func (v *NullablePrebookRequest) Unset()

type NullablePrebookResponse

type NullablePrebookResponse struct {
	// contains filtered or unexported fields
}

func NewNullablePrebookResponse

func NewNullablePrebookResponse(val *PrebookResponse) *NullablePrebookResponse

func (NullablePrebookResponse) Get

func (NullablePrebookResponse) IsSet

func (v NullablePrebookResponse) IsSet() bool

func (NullablePrebookResponse) MarshalJSON

func (v NullablePrebookResponse) MarshalJSON() ([]byte, error)

func (*NullablePrebookResponse) Set

func (*NullablePrebookResponse) UnmarshalJSON

func (v *NullablePrebookResponse) UnmarshalJSON(src []byte) error

func (*NullablePrebookResponse) Unset

func (v *NullablePrebookResponse) Unset()

type NullablePrebookResponseData

type NullablePrebookResponseData struct {
	// contains filtered or unexported fields
}

func NewNullablePrebookResponseData

func NewNullablePrebookResponseData(val *PrebookResponseData) *NullablePrebookResponseData

func (NullablePrebookResponseData) Get

func (NullablePrebookResponseData) IsSet

func (NullablePrebookResponseData) MarshalJSON

func (v NullablePrebookResponseData) MarshalJSON() ([]byte, error)

func (*NullablePrebookResponseData) Set

func (*NullablePrebookResponseData) UnmarshalJSON

func (v *NullablePrebookResponseData) UnmarshalJSON(src []byte) error

func (*NullablePrebookResponseData) Unset

func (v *NullablePrebookResponseData) Unset()

type NullablePrebookResponseDataRoomTypesInner

type NullablePrebookResponseDataRoomTypesInner struct {
	// contains filtered or unexported fields
}

func (NullablePrebookResponseDataRoomTypesInner) Get

func (NullablePrebookResponseDataRoomTypesInner) IsSet

func (NullablePrebookResponseDataRoomTypesInner) MarshalJSON

func (*NullablePrebookResponseDataRoomTypesInner) Set

func (*NullablePrebookResponseDataRoomTypesInner) UnmarshalJSON

func (v *NullablePrebookResponseDataRoomTypesInner) UnmarshalJSON(src []byte) error

func (*NullablePrebookResponseDataRoomTypesInner) Unset

type NullablePrebookResponseDataRoomTypesInnerRatesInner

type NullablePrebookResponseDataRoomTypesInnerRatesInner struct {
	// contains filtered or unexported fields
}

func (NullablePrebookResponseDataRoomTypesInnerRatesInner) Get

func (NullablePrebookResponseDataRoomTypesInnerRatesInner) IsSet

func (NullablePrebookResponseDataRoomTypesInnerRatesInner) MarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInner) Set

func (*NullablePrebookResponseDataRoomTypesInnerRatesInner) UnmarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInner) Unset

type NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

type NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies struct {
	// contains filtered or unexported fields
}

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) Get

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) IsSet

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) MarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) Set

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) UnmarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) Unset

type NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

type NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct {
	// contains filtered or unexported fields
}

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) Get

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) IsSet

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) MarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) Set

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) UnmarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) Unset

type NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate

type NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate struct {
	// contains filtered or unexported fields
}

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) Get

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) IsSet

func (NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) MarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) Set

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) UnmarshalJSON

func (*NullablePrebookResponseDataRoomTypesInnerRatesInnerRetailRate) Unset

type NullableRetrieve400Response

type NullableRetrieve400Response struct {
	// contains filtered or unexported fields
}

func NewNullableRetrieve400Response

func NewNullableRetrieve400Response(val *Retrieve400Response) *NullableRetrieve400Response

func (NullableRetrieve400Response) Get

func (NullableRetrieve400Response) IsSet

func (NullableRetrieve400Response) MarshalJSON

func (v NullableRetrieve400Response) MarshalJSON() ([]byte, error)

func (*NullableRetrieve400Response) Set

func (*NullableRetrieve400Response) UnmarshalJSON

func (v *NullableRetrieve400Response) UnmarshalJSON(src []byte) error

func (*NullableRetrieve400Response) Unset

func (v *NullableRetrieve400Response) Unset()

type NullableRetrieve400ResponseError

type NullableRetrieve400ResponseError struct {
	// contains filtered or unexported fields
}

func (NullableRetrieve400ResponseError) Get

func (NullableRetrieve400ResponseError) IsSet

func (NullableRetrieve400ResponseError) MarshalJSON

func (v NullableRetrieve400ResponseError) MarshalJSON() ([]byte, error)

func (*NullableRetrieve400ResponseError) Set

func (*NullableRetrieve400ResponseError) UnmarshalJSON

func (v *NullableRetrieve400ResponseError) UnmarshalJSON(src []byte) error

func (*NullableRetrieve400ResponseError) Unset

type NullableRetrieveResponse

type NullableRetrieveResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRetrieveResponse

func NewNullableRetrieveResponse(val *RetrieveResponse) *NullableRetrieveResponse

func (NullableRetrieveResponse) Get

func (NullableRetrieveResponse) IsSet

func (v NullableRetrieveResponse) IsSet() bool

func (NullableRetrieveResponse) MarshalJSON

func (v NullableRetrieveResponse) MarshalJSON() ([]byte, error)

func (*NullableRetrieveResponse) Set

func (*NullableRetrieveResponse) UnmarshalJSON

func (v *NullableRetrieveResponse) UnmarshalJSON(src []byte) error

func (*NullableRetrieveResponse) Unset

func (v *NullableRetrieveResponse) Unset()

type NullableRetrieveResponseData

type NullableRetrieveResponseData struct {
	// contains filtered or unexported fields
}

func NewNullableRetrieveResponseData

func NewNullableRetrieveResponseData(val *RetrieveResponseData) *NullableRetrieveResponseData

func (NullableRetrieveResponseData) Get

func (NullableRetrieveResponseData) IsSet

func (NullableRetrieveResponseData) MarshalJSON

func (v NullableRetrieveResponseData) MarshalJSON() ([]byte, error)

func (*NullableRetrieveResponseData) Set

func (*NullableRetrieveResponseData) UnmarshalJSON

func (v *NullableRetrieveResponseData) UnmarshalJSON(src []byte) error

func (*NullableRetrieveResponseData) Unset

func (v *NullableRetrieveResponseData) Unset()

type NullableRetrieveResponseDataBookedRoomsInner

type NullableRetrieveResponseDataBookedRoomsInner struct {
	// contains filtered or unexported fields
}

func (NullableRetrieveResponseDataBookedRoomsInner) Get

func (NullableRetrieveResponseDataBookedRoomsInner) IsSet

func (NullableRetrieveResponseDataBookedRoomsInner) MarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInner) Set

func (*NullableRetrieveResponseDataBookedRoomsInner) UnmarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInner) Unset

type NullableRetrieveResponseDataBookedRoomsInnerRate

type NullableRetrieveResponseDataBookedRoomsInnerRate struct {
	// contains filtered or unexported fields
}

func (NullableRetrieveResponseDataBookedRoomsInnerRate) Get

func (NullableRetrieveResponseDataBookedRoomsInnerRate) IsSet

func (NullableRetrieveResponseDataBookedRoomsInnerRate) MarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInnerRate) Set

func (*NullableRetrieveResponseDataBookedRoomsInnerRate) UnmarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInnerRate) Unset

type NullableRetrieveResponseDataBookedRoomsInnerRoomType

type NullableRetrieveResponseDataBookedRoomsInnerRoomType struct {
	// contains filtered or unexported fields
}

func (NullableRetrieveResponseDataBookedRoomsInnerRoomType) Get

func (NullableRetrieveResponseDataBookedRoomsInnerRoomType) IsSet

func (NullableRetrieveResponseDataBookedRoomsInnerRoomType) MarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInnerRoomType) Set

func (*NullableRetrieveResponseDataBookedRoomsInnerRoomType) UnmarshalJSON

func (*NullableRetrieveResponseDataBookedRoomsInnerRoomType) Unset

type NullableRetrieveResponseDataCancellationPolicies

type NullableRetrieveResponseDataCancellationPolicies struct {
	// contains filtered or unexported fields
}

func (NullableRetrieveResponseDataCancellationPolicies) Get

func (NullableRetrieveResponseDataCancellationPolicies) IsSet

func (NullableRetrieveResponseDataCancellationPolicies) MarshalJSON

func (*NullableRetrieveResponseDataCancellationPolicies) Set

func (*NullableRetrieveResponseDataCancellationPolicies) UnmarshalJSON

func (*NullableRetrieveResponseDataCancellationPolicies) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type Prebook401Response

type Prebook401Response struct {
	Message *string `json:"message,omitempty"`
}

Prebook401Response struct for Prebook401Response

func NewPrebook401Response

func NewPrebook401Response() *Prebook401Response

NewPrebook401Response instantiates a new Prebook401Response 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 NewPrebook401ResponseWithDefaults

func NewPrebook401ResponseWithDefaults() *Prebook401Response

NewPrebook401ResponseWithDefaults instantiates a new Prebook401Response 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 (*Prebook401Response) GetMessage

func (o *Prebook401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Prebook401Response) GetMessageOk

func (o *Prebook401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Prebook401Response) HasMessage

func (o *Prebook401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Prebook401Response) MarshalJSON

func (o Prebook401Response) MarshalJSON() ([]byte, error)

func (*Prebook401Response) SetMessage

func (o *Prebook401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type PrebookRequest

type PrebookRequest struct {
	// session id retrievied from rates response
	SessionId *string `json:"sessionId,omitempty"`
	// rate id retrieved from rates response
	RateId string `json:"rateId"`
}

PrebookRequest struct for PrebookRequest

func NewPrebookRequest

func NewPrebookRequest(rateId string) *PrebookRequest

NewPrebookRequest instantiates a new PrebookRequest 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 NewPrebookRequestWithDefaults

func NewPrebookRequestWithDefaults() *PrebookRequest

NewPrebookRequestWithDefaults instantiates a new PrebookRequest 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 (*PrebookRequest) GetRateId

func (o *PrebookRequest) GetRateId() string

GetRateId returns the RateId field value

func (*PrebookRequest) GetRateIdOk

func (o *PrebookRequest) GetRateIdOk() (*string, bool)

GetRateIdOk returns a tuple with the RateId field value and a boolean to check if the value has been set.

func (*PrebookRequest) GetSessionId

func (o *PrebookRequest) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*PrebookRequest) GetSessionIdOk

func (o *PrebookRequest) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookRequest) HasSessionId

func (o *PrebookRequest) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (PrebookRequest) MarshalJSON

func (o PrebookRequest) MarshalJSON() ([]byte, error)

func (*PrebookRequest) SetRateId

func (o *PrebookRequest) SetRateId(v string)

SetRateId sets field value

func (*PrebookRequest) SetSessionId

func (o *PrebookRequest) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

type PrebookResponse

type PrebookResponse struct {
	Data *PrebookResponseData `json:"data,omitempty"`
	// guests loyalty level granting them discounts and benefit
	GuestLevel *int32 `json:"guestLevel,omitempty"`
	Sandbox    *bool  `json:"sandbox,omitempty"`
}

PrebookResponse struct for PrebookResponse

func NewPrebookResponse

func NewPrebookResponse() *PrebookResponse

NewPrebookResponse instantiates a new PrebookResponse 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 NewPrebookResponseWithDefaults

func NewPrebookResponseWithDefaults() *PrebookResponse

NewPrebookResponseWithDefaults instantiates a new PrebookResponse 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 (*PrebookResponse) GetData

func (o *PrebookResponse) GetData() PrebookResponseData

GetData returns the Data field value if set, zero value otherwise.

func (*PrebookResponse) GetDataOk

func (o *PrebookResponse) GetDataOk() (*PrebookResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponse) GetGuestLevel

func (o *PrebookResponse) GetGuestLevel() int32

GetGuestLevel returns the GuestLevel field value if set, zero value otherwise.

func (*PrebookResponse) GetGuestLevelOk

func (o *PrebookResponse) GetGuestLevelOk() (*int32, bool)

GetGuestLevelOk returns a tuple with the GuestLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponse) GetSandbox

func (o *PrebookResponse) GetSandbox() bool

GetSandbox returns the Sandbox field value if set, zero value otherwise.

func (*PrebookResponse) GetSandboxOk

func (o *PrebookResponse) GetSandboxOk() (*bool, bool)

GetSandboxOk returns a tuple with the Sandbox field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponse) HasData

func (o *PrebookResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*PrebookResponse) HasGuestLevel

func (o *PrebookResponse) HasGuestLevel() bool

HasGuestLevel returns a boolean if a field has been set.

func (*PrebookResponse) HasSandbox

func (o *PrebookResponse) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

func (PrebookResponse) MarshalJSON

func (o PrebookResponse) MarshalJSON() ([]byte, error)

func (*PrebookResponse) SetData

func (o *PrebookResponse) SetData(v PrebookResponseData)

SetData gets a reference to the given PrebookResponseData and assigns it to the Data field.

func (*PrebookResponse) SetGuestLevel

func (o *PrebookResponse) SetGuestLevel(v int32)

SetGuestLevel gets a reference to the given int32 and assigns it to the GuestLevel field.

func (*PrebookResponse) SetSandbox

func (o *PrebookResponse) SetSandbox(v bool)

SetSandbox gets a reference to the given bool and assigns it to the Sandbox field.

type PrebookResponseData

type PrebookResponseData struct {
	PrebookId          *string                             `json:"prebookId,omitempty"`
	HotelId            *string                             `json:"hotelId,omitempty"`
	Currency           *string                             `json:"currency,omitempty"`
	TermsAndConditions *string                             `json:"termsAndConditions,omitempty"`
	RoomTypes          []PrebookResponseDataRoomTypesInner `json:"roomTypes,omitempty"`
	Price              *float32                            `json:"price,omitempty"`
	// the difference percentage if rate price has changed
	PriceDifferencePercent *float32 `json:"priceDifferencePercent,omitempty"`
	// has cancellation changed
	CancellationChanged *bool `json:"cancellationChanged,omitempty"`
	// has board changed
	BoardChanged *bool `json:"boardChanged,omitempty"`
}

PrebookResponseData struct for PrebookResponseData

func NewPrebookResponseData

func NewPrebookResponseData() *PrebookResponseData

NewPrebookResponseData instantiates a new PrebookResponseData 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 NewPrebookResponseDataWithDefaults

func NewPrebookResponseDataWithDefaults() *PrebookResponseData

NewPrebookResponseDataWithDefaults instantiates a new PrebookResponseData 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 (*PrebookResponseData) GetBoardChanged

func (o *PrebookResponseData) GetBoardChanged() bool

GetBoardChanged returns the BoardChanged field value if set, zero value otherwise.

func (*PrebookResponseData) GetBoardChangedOk

func (o *PrebookResponseData) GetBoardChangedOk() (*bool, bool)

GetBoardChangedOk returns a tuple with the BoardChanged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetCancellationChanged

func (o *PrebookResponseData) GetCancellationChanged() bool

GetCancellationChanged returns the CancellationChanged field value if set, zero value otherwise.

func (*PrebookResponseData) GetCancellationChangedOk

func (o *PrebookResponseData) GetCancellationChangedOk() (*bool, bool)

GetCancellationChangedOk returns a tuple with the CancellationChanged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetCurrency

func (o *PrebookResponseData) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*PrebookResponseData) GetCurrencyOk

func (o *PrebookResponseData) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetHotelId

func (o *PrebookResponseData) GetHotelId() string

GetHotelId returns the HotelId field value if set, zero value otherwise.

func (*PrebookResponseData) GetHotelIdOk

func (o *PrebookResponseData) GetHotelIdOk() (*string, bool)

GetHotelIdOk returns a tuple with the HotelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetPrebookId

func (o *PrebookResponseData) GetPrebookId() string

GetPrebookId returns the PrebookId field value if set, zero value otherwise.

func (*PrebookResponseData) GetPrebookIdOk

func (o *PrebookResponseData) GetPrebookIdOk() (*string, bool)

GetPrebookIdOk returns a tuple with the PrebookId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetPrice

func (o *PrebookResponseData) GetPrice() float32

GetPrice returns the Price field value if set, zero value otherwise.

func (*PrebookResponseData) GetPriceDifferencePercent

func (o *PrebookResponseData) GetPriceDifferencePercent() float32

GetPriceDifferencePercent returns the PriceDifferencePercent field value if set, zero value otherwise.

func (*PrebookResponseData) GetPriceDifferencePercentOk

func (o *PrebookResponseData) GetPriceDifferencePercentOk() (*float32, bool)

GetPriceDifferencePercentOk returns a tuple with the PriceDifferencePercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetPriceOk

func (o *PrebookResponseData) GetPriceOk() (*float32, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetRoomTypes

GetRoomTypes returns the RoomTypes field value if set, zero value otherwise.

func (*PrebookResponseData) GetRoomTypesOk

GetRoomTypesOk returns a tuple with the RoomTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) GetTermsAndConditions

func (o *PrebookResponseData) GetTermsAndConditions() string

GetTermsAndConditions returns the TermsAndConditions field value if set, zero value otherwise.

func (*PrebookResponseData) GetTermsAndConditionsOk

func (o *PrebookResponseData) GetTermsAndConditionsOk() (*string, bool)

GetTermsAndConditionsOk returns a tuple with the TermsAndConditions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseData) HasBoardChanged

func (o *PrebookResponseData) HasBoardChanged() bool

HasBoardChanged returns a boolean if a field has been set.

func (*PrebookResponseData) HasCancellationChanged

func (o *PrebookResponseData) HasCancellationChanged() bool

HasCancellationChanged returns a boolean if a field has been set.

func (*PrebookResponseData) HasCurrency

func (o *PrebookResponseData) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PrebookResponseData) HasHotelId

func (o *PrebookResponseData) HasHotelId() bool

HasHotelId returns a boolean if a field has been set.

func (*PrebookResponseData) HasPrebookId

func (o *PrebookResponseData) HasPrebookId() bool

HasPrebookId returns a boolean if a field has been set.

func (*PrebookResponseData) HasPrice

func (o *PrebookResponseData) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*PrebookResponseData) HasPriceDifferencePercent

func (o *PrebookResponseData) HasPriceDifferencePercent() bool

HasPriceDifferencePercent returns a boolean if a field has been set.

func (*PrebookResponseData) HasRoomTypes

func (o *PrebookResponseData) HasRoomTypes() bool

HasRoomTypes returns a boolean if a field has been set.

func (*PrebookResponseData) HasTermsAndConditions

func (o *PrebookResponseData) HasTermsAndConditions() bool

HasTermsAndConditions returns a boolean if a field has been set.

func (PrebookResponseData) MarshalJSON

func (o PrebookResponseData) MarshalJSON() ([]byte, error)

func (*PrebookResponseData) SetBoardChanged

func (o *PrebookResponseData) SetBoardChanged(v bool)

SetBoardChanged gets a reference to the given bool and assigns it to the BoardChanged field.

func (*PrebookResponseData) SetCancellationChanged

func (o *PrebookResponseData) SetCancellationChanged(v bool)

SetCancellationChanged gets a reference to the given bool and assigns it to the CancellationChanged field.

func (*PrebookResponseData) SetCurrency

func (o *PrebookResponseData) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*PrebookResponseData) SetHotelId

func (o *PrebookResponseData) SetHotelId(v string)

SetHotelId gets a reference to the given string and assigns it to the HotelId field.

func (*PrebookResponseData) SetPrebookId

func (o *PrebookResponseData) SetPrebookId(v string)

SetPrebookId gets a reference to the given string and assigns it to the PrebookId field.

func (*PrebookResponseData) SetPrice

func (o *PrebookResponseData) SetPrice(v float32)

SetPrice gets a reference to the given float32 and assigns it to the Price field.

func (*PrebookResponseData) SetPriceDifferencePercent

func (o *PrebookResponseData) SetPriceDifferencePercent(v float32)

SetPriceDifferencePercent gets a reference to the given float32 and assigns it to the PriceDifferencePercent field.

func (*PrebookResponseData) SetRoomTypes

SetRoomTypes gets a reference to the given []PrebookResponseDataRoomTypesInner and assigns it to the RoomTypes field.

func (*PrebookResponseData) SetTermsAndConditions

func (o *PrebookResponseData) SetTermsAndConditions(v string)

SetTermsAndConditions gets a reference to the given string and assigns it to the TermsAndConditions field.

type PrebookResponseDataRoomTypesInner

type PrebookResponseDataRoomTypesInner struct {
	MaxOccupancy *int32                                        `json:"maxOccupancy,omitempty"`
	Rates        []PrebookResponseDataRoomTypesInnerRatesInner `json:"rates,omitempty"`
}

PrebookResponseDataRoomTypesInner struct for PrebookResponseDataRoomTypesInner

func 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

func 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

func (*PrebookResponseDataRoomTypesInner) GetMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) GetMaxOccupancy() int32

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInner) GetMaxOccupancyOk

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

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInner) GetRates

GetRates returns the Rates field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInner) GetRatesOk

GetRatesOk returns a tuple with the Rates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInner) HasMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) HasMaxOccupancy() bool

HasMaxOccupancy returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInner) HasRates

HasRates returns a boolean if a field has been set.

func (PrebookResponseDataRoomTypesInner) MarshalJSON

func (o PrebookResponseDataRoomTypesInner) MarshalJSON() ([]byte, error)

func (*PrebookResponseDataRoomTypesInner) SetMaxOccupancy

func (o *PrebookResponseDataRoomTypesInner) SetMaxOccupancy(v int32)

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*PrebookResponseDataRoomTypesInner) SetRates

SetRates gets a reference to the given []PrebookResponseDataRoomTypesInnerRatesInner and assigns it to the Rates field.

type PrebookResponseDataRoomTypesInnerRatesInner

type PrebookResponseDataRoomTypesInnerRatesInner struct {
	RateId               *string                                                          `json:"rateId,omitempty"`
	Name                 *string                                                          `json:"name,omitempty"`
	MaxOccupancy         *int32                                                           `json:"maxOccupancy,omitempty"`
	RetailRate           *PrebookResponseDataRoomTypesInnerRatesInnerRetailRate           `json:"retailRate,omitempty"`
	CancellationPolicies *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies `json:"cancellationPolicies,omitempty"`
}

PrebookResponseDataRoomTypesInnerRatesInner struct for PrebookResponseDataRoomTypesInnerRatesInner

func NewPrebookResponseDataRoomTypesInnerRatesInner

func NewPrebookResponseDataRoomTypesInnerRatesInner() *PrebookResponseDataRoomTypesInnerRatesInner

NewPrebookResponseDataRoomTypesInnerRatesInner instantiates a new PrebookResponseDataRoomTypesInnerRatesInner 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 NewPrebookResponseDataRoomTypesInnerRatesInnerWithDefaults

func NewPrebookResponseDataRoomTypesInnerRatesInnerWithDefaults() *PrebookResponseDataRoomTypesInnerRatesInner

NewPrebookResponseDataRoomTypesInnerRatesInnerWithDefaults instantiates a new PrebookResponseDataRoomTypesInnerRatesInner 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 (*PrebookResponseDataRoomTypesInnerRatesInner) GetCancellationPolicies

GetCancellationPolicies returns the CancellationPolicies field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetCancellationPoliciesOk

GetCancellationPoliciesOk returns a tuple with the CancellationPolicies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetMaxOccupancy

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetMaxOccupancyOk

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

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetRateId

GetRateId returns the RateId field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetRateIdOk

GetRateIdOk returns a tuple with the RateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetRetailRate

GetRetailRate returns the RetailRate field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInner) GetRetailRateOk

GetRetailRateOk returns a tuple with the RetailRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) HasCancellationPolicies

func (o *PrebookResponseDataRoomTypesInnerRatesInner) HasCancellationPolicies() bool

HasCancellationPolicies returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) HasMaxOccupancy

HasMaxOccupancy returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) HasName

HasName returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) HasRateId

HasRateId returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInner) HasRetailRate

HasRetailRate returns a boolean if a field has been set.

func (PrebookResponseDataRoomTypesInnerRatesInner) MarshalJSON

func (*PrebookResponseDataRoomTypesInnerRatesInner) SetCancellationPolicies

SetCancellationPolicies gets a reference to the given PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies and assigns it to the CancellationPolicies field.

func (*PrebookResponseDataRoomTypesInnerRatesInner) SetMaxOccupancy

func (o *PrebookResponseDataRoomTypesInnerRatesInner) SetMaxOccupancy(v int32)

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*PrebookResponseDataRoomTypesInnerRatesInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*PrebookResponseDataRoomTypesInnerRatesInner) SetRateId

SetRateId gets a reference to the given string and assigns it to the RateId field.

func (*PrebookResponseDataRoomTypesInnerRatesInner) SetRetailRate

SetRetailRate gets a reference to the given PrebookResponseDataRoomTypesInnerRatesInnerRetailRate and assigns it to the RetailRate field.

type PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

type PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies struct {
	CancelPolicyInfos []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner `json:"cancelPolicyInfos,omitempty"`
	HotelRemarks      []map[string]interface{}                                                                `json:"hotelRemarks,omitempty"`
	RefundableTag     *string                                                                                 `json:"refundableTag,omitempty"`
}

PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies struct for PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies() *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies 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 NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults() *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies

NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesWithDefaults instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies 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 (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetCancelPolicyInfos

GetCancelPolicyInfos returns the CancelPolicyInfos field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetCancelPolicyInfosOk

GetCancelPolicyInfosOk returns a tuple with the CancelPolicyInfos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarks

func (o *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarks() []map[string]interface{}

GetHotelRemarks returns the HotelRemarks field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarksOk

func (o *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetHotelRemarksOk() ([]map[string]interface{}, bool)

GetHotelRemarksOk returns a tuple with the HotelRemarks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetRefundableTag

GetRefundableTag returns the RefundableTag field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) GetRefundableTagOk

GetRefundableTagOk returns a tuple with the RefundableTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) HasCancelPolicyInfos

HasCancelPolicyInfos returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) HasHotelRemarks

HasHotelRemarks returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) HasRefundableTag

HasRefundableTag returns a boolean if a field has been set.

func (PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) MarshalJSON

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) SetCancelPolicyInfos

SetCancelPolicyInfos gets a reference to the given []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner and assigns it to the CancelPolicyInfos field.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) SetHotelRemarks

func (o *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) SetHotelRemarks(v []map[string]interface{})

SetHotelRemarks gets a reference to the given []map[string]interface{} and assigns it to the HotelRemarks field.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPolicies) SetRefundableTag

SetRefundableTag gets a reference to the given string and assigns it to the RefundableTag field.

type PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

type PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct {
	CancelTime *string  `json:"cancelTime,omitempty"`
	Amount     *float32 `json:"amount,omitempty"`
	Type       *string  `json:"type,omitempty"`
}

PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner struct for PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner() *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner 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 NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults

func NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults() *PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner

NewPrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInnerWithDefaults instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner 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 (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetAmountOk

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCancelTime

GetCancelTime returns the CancelTime field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetCancelTimeOk

GetCancelTimeOk returns a tuple with the CancelTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasAmount

HasAmount returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasCancelTime

HasCancelTime returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) HasType

HasType returns a boolean if a field has been set.

func (PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) MarshalJSON

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetAmount

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetCancelTime

SetCancelTime gets a reference to the given string and assigns it to the CancelTime field.

func (*PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type PrebookResponseDataRoomTypesInnerRatesInnerRetailRate

type PrebookResponseDataRoomTypesInnerRatesInnerRetailRate struct {
	Total        []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner        `json:"total,omitempty"`
	TaxesAndFees []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner `json:"taxesAndFees,omitempty"`
}

PrebookResponseDataRoomTypesInnerRatesInnerRetailRate struct for PrebookResponseDataRoomTypesInnerRatesInnerRetailRate

func NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRate

func NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRate() *PrebookResponseDataRoomTypesInnerRatesInnerRetailRate

NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRate instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerRetailRate 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 NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRateWithDefaults

func NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRateWithDefaults() *PrebookResponseDataRoomTypesInnerRatesInnerRetailRate

NewPrebookResponseDataRoomTypesInnerRatesInnerRetailRateWithDefaults instantiates a new PrebookResponseDataRoomTypesInnerRatesInnerRetailRate 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 (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) GetTaxesAndFees

GetTaxesAndFees returns the TaxesAndFees field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) GetTaxesAndFeesOk

GetTaxesAndFeesOk returns a tuple with the TaxesAndFees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) GetTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) GetTotalOk

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) HasTaxesAndFees

HasTaxesAndFees returns a boolean if a field has been set.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) HasTotal

HasTotal returns a boolean if a field has been set.

func (PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) MarshalJSON

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) SetTaxesAndFees

SetTaxesAndFees gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTaxesAndFeesInner and assigns it to the TaxesAndFees field.

func (*PrebookResponseDataRoomTypesInnerRatesInnerRetailRate) SetTotal

SetTotal gets a reference to the given []GetHotelRatesResponseDataInnerRoomTypesInnerRatesInnerRetailRateTotalInner and assigns it to the Total field.

type Retrieve400Response

type Retrieve400Response struct {
	Error *Retrieve400ResponseError `json:"error,omitempty"`
}

Retrieve400Response struct for Retrieve400Response

func NewRetrieve400Response

func NewRetrieve400Response() *Retrieve400Response

NewRetrieve400Response instantiates a new Retrieve400Response 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 NewRetrieve400ResponseWithDefaults

func NewRetrieve400ResponseWithDefaults() *Retrieve400Response

NewRetrieve400ResponseWithDefaults instantiates a new Retrieve400Response 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 (*Retrieve400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*Retrieve400Response) GetErrorOk

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Retrieve400Response) HasError

func (o *Retrieve400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (Retrieve400Response) MarshalJSON

func (o Retrieve400Response) MarshalJSON() ([]byte, error)

func (*Retrieve400Response) SetError

SetError gets a reference to the given Retrieve400ResponseError and assigns it to the Error field.

type Retrieve400ResponseError

type Retrieve400ResponseError struct {
	Code    *float32 `json:"code,omitempty"`
	Message *string  `json:"message,omitempty"`
}

Retrieve400ResponseError struct for Retrieve400ResponseError

func NewRetrieve400ResponseError

func NewRetrieve400ResponseError() *Retrieve400ResponseError

NewRetrieve400ResponseError instantiates a new Retrieve400ResponseError 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 NewRetrieve400ResponseErrorWithDefaults

func NewRetrieve400ResponseErrorWithDefaults() *Retrieve400ResponseError

NewRetrieve400ResponseErrorWithDefaults instantiates a new Retrieve400ResponseError 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 (*Retrieve400ResponseError) GetCode

func (o *Retrieve400ResponseError) GetCode() float32

GetCode returns the Code field value if set, zero value otherwise.

func (*Retrieve400ResponseError) GetCodeOk

func (o *Retrieve400ResponseError) GetCodeOk() (*float32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Retrieve400ResponseError) GetMessage

func (o *Retrieve400ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Retrieve400ResponseError) GetMessageOk

func (o *Retrieve400ResponseError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Retrieve400ResponseError) HasCode

func (o *Retrieve400ResponseError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Retrieve400ResponseError) HasMessage

func (o *Retrieve400ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Retrieve400ResponseError) MarshalJSON

func (o Retrieve400ResponseError) MarshalJSON() ([]byte, error)

func (*Retrieve400ResponseError) SetCode

func (o *Retrieve400ResponseError) SetCode(v float32)

SetCode gets a reference to the given float32 and assigns it to the Code field.

func (*Retrieve400ResponseError) SetMessage

func (o *Retrieve400ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type RetrieveResponse

type RetrieveResponse struct {
	Data *RetrieveResponseData `json:"data,omitempty"`
}

RetrieveResponse struct for RetrieveResponse

func NewRetrieveResponse

func NewRetrieveResponse() *RetrieveResponse

NewRetrieveResponse instantiates a new RetrieveResponse 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 NewRetrieveResponseWithDefaults

func NewRetrieveResponseWithDefaults() *RetrieveResponse

NewRetrieveResponseWithDefaults instantiates a new RetrieveResponse 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 (*RetrieveResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*RetrieveResponse) GetDataOk

func (o *RetrieveResponse) GetDataOk() (*RetrieveResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponse) HasData

func (o *RetrieveResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (RetrieveResponse) MarshalJSON

func (o RetrieveResponse) MarshalJSON() ([]byte, error)

func (*RetrieveResponse) SetData

func (o *RetrieveResponse) SetData(v RetrieveResponseData)

SetData gets a reference to the given RetrieveResponseData and assigns it to the Data field.

type RetrieveResponseData

type RetrieveResponseData struct {
	BookingId             *string                                   `json:"bookingId,omitempty"`
	Status                *string                                   `json:"status,omitempty"`
	HotelConfirmationCode *string                                   `json:"hotelConfirmationCode,omitempty"`
	Checkin               *string                                   `json:"checkin,omitempty"`
	Checkout              *string                                   `json:"checkout,omitempty"`
	BookedRooms           []RetrieveResponseDataBookedRoomsInner    `json:"bookedRooms,omitempty"`
	GuestInfo             *BookResponseDataGuestInfo                `json:"guestInfo,omitempty"`
	CreatedAt             *string                                   `json:"createdAt,omitempty"`
	CancellationPolicies  *RetrieveResponseDataCancellationPolicies `json:"cancellationPolicies,omitempty"`
}

RetrieveResponseData struct for RetrieveResponseData

func NewRetrieveResponseData

func NewRetrieveResponseData() *RetrieveResponseData

NewRetrieveResponseData instantiates a new RetrieveResponseData 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 NewRetrieveResponseDataWithDefaults

func NewRetrieveResponseDataWithDefaults() *RetrieveResponseData

NewRetrieveResponseDataWithDefaults instantiates a new RetrieveResponseData 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 (*RetrieveResponseData) GetBookedRooms

GetBookedRooms returns the BookedRooms field value if set, zero value otherwise.

func (*RetrieveResponseData) GetBookedRoomsOk

GetBookedRoomsOk returns a tuple with the BookedRooms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetBookingId

func (o *RetrieveResponseData) GetBookingId() string

GetBookingId returns the BookingId field value if set, zero value otherwise.

func (*RetrieveResponseData) GetBookingIdOk

func (o *RetrieveResponseData) GetBookingIdOk() (*string, bool)

GetBookingIdOk returns a tuple with the BookingId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetCancellationPolicies

GetCancellationPolicies returns the CancellationPolicies field value if set, zero value otherwise.

func (*RetrieveResponseData) GetCancellationPoliciesOk

func (o *RetrieveResponseData) GetCancellationPoliciesOk() (*RetrieveResponseDataCancellationPolicies, bool)

GetCancellationPoliciesOk returns a tuple with the CancellationPolicies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetCheckin

func (o *RetrieveResponseData) GetCheckin() string

GetCheckin returns the Checkin field value if set, zero value otherwise.

func (*RetrieveResponseData) GetCheckinOk

func (o *RetrieveResponseData) GetCheckinOk() (*string, bool)

GetCheckinOk returns a tuple with the Checkin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetCheckout

func (o *RetrieveResponseData) GetCheckout() string

GetCheckout returns the Checkout field value if set, zero value otherwise.

func (*RetrieveResponseData) GetCheckoutOk

func (o *RetrieveResponseData) GetCheckoutOk() (*string, bool)

GetCheckoutOk returns a tuple with the Checkout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetCreatedAt

func (o *RetrieveResponseData) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RetrieveResponseData) GetCreatedAtOk

func (o *RetrieveResponseData) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetGuestInfo

GetGuestInfo returns the GuestInfo field value if set, zero value otherwise.

func (*RetrieveResponseData) GetGuestInfoOk

func (o *RetrieveResponseData) GetGuestInfoOk() (*BookResponseDataGuestInfo, bool)

GetGuestInfoOk returns a tuple with the GuestInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetHotelConfirmationCode

func (o *RetrieveResponseData) GetHotelConfirmationCode() string

GetHotelConfirmationCode returns the HotelConfirmationCode field value if set, zero value otherwise.

func (*RetrieveResponseData) GetHotelConfirmationCodeOk

func (o *RetrieveResponseData) GetHotelConfirmationCodeOk() (*string, bool)

GetHotelConfirmationCodeOk returns a tuple with the HotelConfirmationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) GetStatus

func (o *RetrieveResponseData) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*RetrieveResponseData) GetStatusOk

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

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseData) HasBookedRooms

func (o *RetrieveResponseData) HasBookedRooms() bool

HasBookedRooms returns a boolean if a field has been set.

func (*RetrieveResponseData) HasBookingId

func (o *RetrieveResponseData) HasBookingId() bool

HasBookingId returns a boolean if a field has been set.

func (*RetrieveResponseData) HasCancellationPolicies

func (o *RetrieveResponseData) HasCancellationPolicies() bool

HasCancellationPolicies returns a boolean if a field has been set.

func (*RetrieveResponseData) HasCheckin

func (o *RetrieveResponseData) HasCheckin() bool

HasCheckin returns a boolean if a field has been set.

func (*RetrieveResponseData) HasCheckout

func (o *RetrieveResponseData) HasCheckout() bool

HasCheckout returns a boolean if a field has been set.

func (*RetrieveResponseData) HasCreatedAt

func (o *RetrieveResponseData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RetrieveResponseData) HasGuestInfo

func (o *RetrieveResponseData) HasGuestInfo() bool

HasGuestInfo returns a boolean if a field has been set.

func (*RetrieveResponseData) HasHotelConfirmationCode

func (o *RetrieveResponseData) HasHotelConfirmationCode() bool

HasHotelConfirmationCode returns a boolean if a field has been set.

func (*RetrieveResponseData) HasStatus

func (o *RetrieveResponseData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (RetrieveResponseData) MarshalJSON

func (o RetrieveResponseData) MarshalJSON() ([]byte, error)

func (*RetrieveResponseData) SetBookedRooms

SetBookedRooms gets a reference to the given []RetrieveResponseDataBookedRoomsInner and assigns it to the BookedRooms field.

func (*RetrieveResponseData) SetBookingId

func (o *RetrieveResponseData) SetBookingId(v string)

SetBookingId gets a reference to the given string and assigns it to the BookingId field.

func (*RetrieveResponseData) SetCancellationPolicies

func (o *RetrieveResponseData) SetCancellationPolicies(v RetrieveResponseDataCancellationPolicies)

SetCancellationPolicies gets a reference to the given RetrieveResponseDataCancellationPolicies and assigns it to the CancellationPolicies field.

func (*RetrieveResponseData) SetCheckin

func (o *RetrieveResponseData) SetCheckin(v string)

SetCheckin gets a reference to the given string and assigns it to the Checkin field.

func (*RetrieveResponseData) SetCheckout

func (o *RetrieveResponseData) SetCheckout(v string)

SetCheckout gets a reference to the given string and assigns it to the Checkout field.

func (*RetrieveResponseData) SetCreatedAt

func (o *RetrieveResponseData) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*RetrieveResponseData) SetGuestInfo

SetGuestInfo gets a reference to the given BookResponseDataGuestInfo and assigns it to the GuestInfo field.

func (*RetrieveResponseData) SetHotelConfirmationCode

func (o *RetrieveResponseData) SetHotelConfirmationCode(v string)

SetHotelConfirmationCode gets a reference to the given string and assigns it to the HotelConfirmationCode field.

func (*RetrieveResponseData) SetStatus

func (o *RetrieveResponseData) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type RetrieveResponseDataBookedRoomsInner

type RetrieveResponseDataBookedRoomsInner struct {
	RoomType   *RetrieveResponseDataBookedRoomsInnerRoomType `json:"roomType,omitempty"`
	Adults     *int32                                        `json:"adults,omitempty"`
	ChildCount *int32                                        `json:"childCount,omitempty"`
	Rate       *RetrieveResponseDataBookedRoomsInnerRate     `json:"rate,omitempty"`
}

RetrieveResponseDataBookedRoomsInner struct for RetrieveResponseDataBookedRoomsInner

func NewRetrieveResponseDataBookedRoomsInner

func NewRetrieveResponseDataBookedRoomsInner() *RetrieveResponseDataBookedRoomsInner

NewRetrieveResponseDataBookedRoomsInner instantiates a new RetrieveResponseDataBookedRoomsInner 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 NewRetrieveResponseDataBookedRoomsInnerWithDefaults

func NewRetrieveResponseDataBookedRoomsInnerWithDefaults() *RetrieveResponseDataBookedRoomsInner

NewRetrieveResponseDataBookedRoomsInnerWithDefaults instantiates a new RetrieveResponseDataBookedRoomsInner 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 (*RetrieveResponseDataBookedRoomsInner) GetAdults

GetAdults returns the Adults field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInner) GetAdultsOk

func (o *RetrieveResponseDataBookedRoomsInner) GetAdultsOk() (*int32, bool)

GetAdultsOk returns a tuple with the Adults field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInner) GetChildCount

func (o *RetrieveResponseDataBookedRoomsInner) GetChildCount() int32

GetChildCount returns the ChildCount field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInner) GetChildCountOk

func (o *RetrieveResponseDataBookedRoomsInner) GetChildCountOk() (*int32, bool)

GetChildCountOk returns a tuple with the ChildCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInner) GetRate

GetRate returns the Rate field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInner) GetRateOk

GetRateOk returns a tuple with the Rate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInner) GetRoomType

GetRoomType returns the RoomType field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInner) GetRoomTypeOk

GetRoomTypeOk returns a tuple with the RoomType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInner) HasAdults

HasAdults returns a boolean if a field has been set.

func (*RetrieveResponseDataBookedRoomsInner) HasChildCount

func (o *RetrieveResponseDataBookedRoomsInner) HasChildCount() bool

HasChildCount returns a boolean if a field has been set.

func (*RetrieveResponseDataBookedRoomsInner) HasRate

HasRate returns a boolean if a field has been set.

func (*RetrieveResponseDataBookedRoomsInner) HasRoomType

func (o *RetrieveResponseDataBookedRoomsInner) HasRoomType() bool

HasRoomType returns a boolean if a field has been set.

func (RetrieveResponseDataBookedRoomsInner) MarshalJSON

func (o RetrieveResponseDataBookedRoomsInner) MarshalJSON() ([]byte, error)

func (*RetrieveResponseDataBookedRoomsInner) SetAdults

SetAdults gets a reference to the given int32 and assigns it to the Adults field.

func (*RetrieveResponseDataBookedRoomsInner) SetChildCount

func (o *RetrieveResponseDataBookedRoomsInner) SetChildCount(v int32)

SetChildCount gets a reference to the given int32 and assigns it to the ChildCount field.

func (*RetrieveResponseDataBookedRoomsInner) SetRate

SetRate gets a reference to the given RetrieveResponseDataBookedRoomsInnerRate and assigns it to the Rate field.

func (*RetrieveResponseDataBookedRoomsInner) SetRoomType

SetRoomType gets a reference to the given RetrieveResponseDataBookedRoomsInnerRoomType and assigns it to the RoomType field.

type RetrieveResponseDataBookedRoomsInnerRate

type RetrieveResponseDataBookedRoomsInnerRate struct {
	MaxOccupancy *int32                                          `json:"maxOccupancy,omitempty"`
	RetailRate   *BookResponseDataBookedRoomsInnerRateRetailRate `json:"retailRate,omitempty"`
}

RetrieveResponseDataBookedRoomsInnerRate struct for RetrieveResponseDataBookedRoomsInnerRate

func NewRetrieveResponseDataBookedRoomsInnerRate

func NewRetrieveResponseDataBookedRoomsInnerRate() *RetrieveResponseDataBookedRoomsInnerRate

NewRetrieveResponseDataBookedRoomsInnerRate instantiates a new RetrieveResponseDataBookedRoomsInnerRate 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 NewRetrieveResponseDataBookedRoomsInnerRateWithDefaults

func NewRetrieveResponseDataBookedRoomsInnerRateWithDefaults() *RetrieveResponseDataBookedRoomsInnerRate

NewRetrieveResponseDataBookedRoomsInnerRateWithDefaults instantiates a new RetrieveResponseDataBookedRoomsInnerRate 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 (*RetrieveResponseDataBookedRoomsInnerRate) GetMaxOccupancy

func (o *RetrieveResponseDataBookedRoomsInnerRate) GetMaxOccupancy() int32

GetMaxOccupancy returns the MaxOccupancy field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInnerRate) GetMaxOccupancyOk

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

GetMaxOccupancyOk returns a tuple with the MaxOccupancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInnerRate) GetRetailRate

GetRetailRate returns the RetailRate field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInnerRate) GetRetailRateOk

GetRetailRateOk returns a tuple with the RetailRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInnerRate) HasMaxOccupancy

func (o *RetrieveResponseDataBookedRoomsInnerRate) HasMaxOccupancy() bool

HasMaxOccupancy returns a boolean if a field has been set.

func (*RetrieveResponseDataBookedRoomsInnerRate) HasRetailRate

HasRetailRate returns a boolean if a field has been set.

func (RetrieveResponseDataBookedRoomsInnerRate) MarshalJSON

func (*RetrieveResponseDataBookedRoomsInnerRate) SetMaxOccupancy

func (o *RetrieveResponseDataBookedRoomsInnerRate) SetMaxOccupancy(v int32)

SetMaxOccupancy gets a reference to the given int32 and assigns it to the MaxOccupancy field.

func (*RetrieveResponseDataBookedRoomsInnerRate) SetRetailRate

SetRetailRate gets a reference to the given BookResponseDataBookedRoomsInnerRateRetailRate and assigns it to the RetailRate field.

type RetrieveResponseDataBookedRoomsInnerRoomType

type RetrieveResponseDataBookedRoomsInnerRoomType struct {
	Name *string `json:"name,omitempty"`
}

RetrieveResponseDataBookedRoomsInnerRoomType struct for RetrieveResponseDataBookedRoomsInnerRoomType

func NewRetrieveResponseDataBookedRoomsInnerRoomType

func NewRetrieveResponseDataBookedRoomsInnerRoomType() *RetrieveResponseDataBookedRoomsInnerRoomType

NewRetrieveResponseDataBookedRoomsInnerRoomType instantiates a new RetrieveResponseDataBookedRoomsInnerRoomType 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 NewRetrieveResponseDataBookedRoomsInnerRoomTypeWithDefaults

func NewRetrieveResponseDataBookedRoomsInnerRoomTypeWithDefaults() *RetrieveResponseDataBookedRoomsInnerRoomType

NewRetrieveResponseDataBookedRoomsInnerRoomTypeWithDefaults instantiates a new RetrieveResponseDataBookedRoomsInnerRoomType 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 (*RetrieveResponseDataBookedRoomsInnerRoomType) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*RetrieveResponseDataBookedRoomsInnerRoomType) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataBookedRoomsInnerRoomType) HasName

HasName returns a boolean if a field has been set.

func (RetrieveResponseDataBookedRoomsInnerRoomType) MarshalJSON

func (*RetrieveResponseDataBookedRoomsInnerRoomType) SetName

SetName gets a reference to the given string and assigns it to the Name field.

type RetrieveResponseDataCancellationPolicies

type RetrieveResponseDataCancellationPolicies struct {
	CancelPolicyInfos []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner `json:"cancelPolicyInfos,omitempty"`
	HotelRemarks      NullableString                                                                          `json:"hotelRemarks,omitempty"`
	RefundableTag     *string                                                                                 `json:"refundableTag,omitempty"`
}

RetrieveResponseDataCancellationPolicies struct for RetrieveResponseDataCancellationPolicies

func NewRetrieveResponseDataCancellationPolicies

func NewRetrieveResponseDataCancellationPolicies() *RetrieveResponseDataCancellationPolicies

NewRetrieveResponseDataCancellationPolicies instantiates a new RetrieveResponseDataCancellationPolicies 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 NewRetrieveResponseDataCancellationPoliciesWithDefaults

func NewRetrieveResponseDataCancellationPoliciesWithDefaults() *RetrieveResponseDataCancellationPolicies

NewRetrieveResponseDataCancellationPoliciesWithDefaults instantiates a new RetrieveResponseDataCancellationPolicies 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 (*RetrieveResponseDataCancellationPolicies) GetCancelPolicyInfos

GetCancelPolicyInfos returns the CancelPolicyInfos field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RetrieveResponseDataCancellationPolicies) GetCancelPolicyInfosOk

GetCancelPolicyInfosOk returns a tuple with the CancelPolicyInfos field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RetrieveResponseDataCancellationPolicies) GetHotelRemarks

func (o *RetrieveResponseDataCancellationPolicies) GetHotelRemarks() string

GetHotelRemarks returns the HotelRemarks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RetrieveResponseDataCancellationPolicies) GetHotelRemarksOk

func (o *RetrieveResponseDataCancellationPolicies) GetHotelRemarksOk() (*string, bool)

GetHotelRemarksOk returns a tuple with the HotelRemarks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RetrieveResponseDataCancellationPolicies) GetRefundableTag

func (o *RetrieveResponseDataCancellationPolicies) GetRefundableTag() string

GetRefundableTag returns the RefundableTag field value if set, zero value otherwise.

func (*RetrieveResponseDataCancellationPolicies) GetRefundableTagOk

func (o *RetrieveResponseDataCancellationPolicies) GetRefundableTagOk() (*string, bool)

GetRefundableTagOk returns a tuple with the RefundableTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RetrieveResponseDataCancellationPolicies) HasCancelPolicyInfos

func (o *RetrieveResponseDataCancellationPolicies) HasCancelPolicyInfos() bool

HasCancelPolicyInfos returns a boolean if a field has been set.

func (*RetrieveResponseDataCancellationPolicies) HasHotelRemarks

func (o *RetrieveResponseDataCancellationPolicies) HasHotelRemarks() bool

HasHotelRemarks returns a boolean if a field has been set.

func (*RetrieveResponseDataCancellationPolicies) HasRefundableTag

func (o *RetrieveResponseDataCancellationPolicies) HasRefundableTag() bool

HasRefundableTag returns a boolean if a field has been set.

func (RetrieveResponseDataCancellationPolicies) MarshalJSON

func (*RetrieveResponseDataCancellationPolicies) SetCancelPolicyInfos

SetCancelPolicyInfos gets a reference to the given []PrebookResponseDataRoomTypesInnerRatesInnerCancellationPoliciesCancelPolicyInfosInner and assigns it to the CancelPolicyInfos field.

func (*RetrieveResponseDataCancellationPolicies) SetHotelRemarks

func (o *RetrieveResponseDataCancellationPolicies) SetHotelRemarks(v string)

SetHotelRemarks gets a reference to the given NullableString and assigns it to the HotelRemarks field.

func (*RetrieveResponseDataCancellationPolicies) SetHotelRemarksNil

func (o *RetrieveResponseDataCancellationPolicies) SetHotelRemarksNil()

SetHotelRemarksNil sets the value for HotelRemarks to be an explicit nil

func (*RetrieveResponseDataCancellationPolicies) SetRefundableTag

func (o *RetrieveResponseDataCancellationPolicies) SetRefundableTag(v string)

SetRefundableTag gets a reference to the given string and assigns it to the RefundableTag field.

func (*RetrieveResponseDataCancellationPolicies) UnsetHotelRemarks

func (o *RetrieveResponseDataCancellationPolicies) UnsetHotelRemarks()

UnsetHotelRemarks ensures that no value is present for HotelRemarks, not even an explicit nil

type SearchApiGetHotelRatesRequest

type SearchApiGetHotelRatesRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (SearchApiGetHotelRatesRequest) Adults

adults number

func (SearchApiGetHotelRatesRequest) Checkin

start date yyyy-mm-dd format

func (SearchApiGetHotelRatesRequest) Checkout

end date yyyy-mm-dd format

func (SearchApiGetHotelRatesRequest) Children

children ages separated by a comma

func (SearchApiGetHotelRatesRequest) Currency

currency code example (USD)

func (SearchApiGetHotelRatesRequest) Execute

func (SearchApiGetHotelRatesRequest) GuestNationality

func (r SearchApiGetHotelRatesRequest) GuestNationality(guestNationality string) SearchApiGetHotelRatesRequest

guest nationality country code iso-2 example (US)

func (SearchApiGetHotelRatesRequest) HotelIds

hotel ids separated by comma, max number of hotel ids is 10, example (2345,557,56)

func (SearchApiGetHotelRatesRequest) SessionId

session id if retrieved from hotels search

func (SearchApiGetHotelRatesRequest) TravelerId

traveler unique id

type SearchApiGetHotelsRequest

type SearchApiGetHotelsRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (SearchApiGetHotelsRequest) Adults

func (SearchApiGetHotelsRequest) Checkin

func (SearchApiGetHotelsRequest) Checkout

func (SearchApiGetHotelsRequest) Children

func (SearchApiGetHotelsRequest) Country

func (SearchApiGetHotelsRequest) Currency

func (SearchApiGetHotelsRequest) Distance

func (SearchApiGetHotelsRequest) Execute

func (SearchApiGetHotelsRequest) GuestNationality

func (r SearchApiGetHotelsRequest) GuestNationality(guestNationality string) SearchApiGetHotelsRequest

func (SearchApiGetHotelsRequest) HotelIds

hotel ids separated by comma, max number of hotel ids is 10, example (2345,557,56)

func (SearchApiGetHotelsRequest) Latitude

func (SearchApiGetHotelsRequest) Longitude

func (SearchApiGetHotelsRequest) TravelerId

type SearchApiService

type SearchApiService service

SearchApiService SearchApi service

func (*SearchApiService) GetHotelRates

GetHotelRates Hotel full rate availability

This endpoint allows you to send a hotel ID with a specific date range and in response receive all the rooms, rates that are available along with the cancelllation policies.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SearchApiGetHotelRatesRequest

func (*SearchApiService) GetHotelRatesExecute

Execute executes the request

@return GetHotelRatesResponse

func (*SearchApiService) GetHotels

GetHotels Hotel minimum rate availability

This endpoint allows you to send a list of hotel ID's for a specific date range and in response receive the best rate available for each of the hotel ID's. The limit is set to 200 hotels

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SearchApiGetHotelsRequest

func (*SearchApiService) GetHotelsExecute

Execute executes the request

@return GetHotelsResponse

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StaticDataApiListCitiesRequest

type StaticDataApiListCitiesRequest struct {
	ApiService *StaticDataApiService
	// contains filtered or unexported fields
}

func (StaticDataApiListCitiesRequest) CountryCode

country code, example \&quot;IT\&quot;

func (StaticDataApiListCitiesRequest) Execute

type StaticDataApiListCountriesRequest

type StaticDataApiListCountriesRequest struct {
	ApiService *StaticDataApiService
	// contains filtered or unexported fields
}

func (StaticDataApiListCountriesRequest) Execute

type StaticDataApiListCurrenciesRequest

type StaticDataApiListCurrenciesRequest struct {
	ApiService *StaticDataApiService
	// contains filtered or unexported fields
}

func (StaticDataApiListCurrenciesRequest) Execute

type StaticDataApiListHotelsRequest

type StaticDataApiListHotelsRequest struct {
	ApiService *StaticDataApiService
	// contains filtered or unexported fields
}

func (StaticDataApiListHotelsRequest) CityName

city name

func (StaticDataApiListHotelsRequest) CountryCode

country code Alpha-2 code (example US, RU, CN)

func (StaticDataApiListHotelsRequest) Distance

the distance starting from the selected geopgraphic point

func (StaticDataApiListHotelsRequest) Execute

func (StaticDataApiListHotelsRequest) HotelName

hotel name

func (StaticDataApiListHotelsRequest) IataCode

airport iata code

func (StaticDataApiListHotelsRequest) Latitude

latitude geo coordinates

func (StaticDataApiListHotelsRequest) Limit

limit results (max value 1000)

func (StaticDataApiListHotelsRequest) Longitude

longtude geo coordinates

func (StaticDataApiListHotelsRequest) Offset

results offset

type StaticDataApiListIataCodesRequest

type StaticDataApiListIataCodesRequest struct {
	ApiService *StaticDataApiService
	// contains filtered or unexported fields
}

func (StaticDataApiListIataCodesRequest) Execute

type StaticDataApiService

type StaticDataApiService service

StaticDataApiService StaticDataApi service

func (*StaticDataApiService) ListCities

ListCities City list

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StaticDataApiListCitiesRequest

func (*StaticDataApiService) ListCitiesExecute

Execute executes the request

@return ListCitiesResponse

func (*StaticDataApiService) ListCountries

ListCountries Country list

countries list

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StaticDataApiListCountriesRequest

func (*StaticDataApiService) ListCountriesExecute

Execute executes the request

@return ListCountriesResponse

func (*StaticDataApiService) ListCurrencies

ListCurrencies Currency list

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StaticDataApiListCurrenciesRequest

func (*StaticDataApiService) ListCurrenciesExecute

Execute executes the request

@return ListCurrenciesResponse

func (*StaticDataApiService) ListHotels

ListHotels Hotel list

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StaticDataApiListHotelsRequest

func (*StaticDataApiService) ListHotelsExecute

Execute executes the request

@return ListHotelsResponse

func (*StaticDataApiService) ListIataCodes

ListIataCodes IATA code list

IATA codes list

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StaticDataApiListIataCodesRequest

func (*StaticDataApiService) ListIataCodesExecute

Execute executes the request

@return ListIataCodesResponse

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL