Documentation ¶
Index ¶
- type Authenticate200ApplicationJSON
- type AuthenticateRequestBody
- type AuthenticateResponse
- func (o *AuthenticateResponse) GetAuthenticate200ApplicationJSONObject() *Authenticate200ApplicationJSON
- func (o *AuthenticateResponse) GetContentType() string
- func (o *AuthenticateResponse) GetError() *shared.Error
- func (o *AuthenticateResponse) GetRawResponse() *http.Response
- func (o *AuthenticateResponse) GetStatusCode() int
- type CreateOrderRequest
- type CreateOrderResponse
- type GetDrinkRequest
- type GetDrinkResponse
- type ListDrinksRequest
- type ListDrinksResponse
- type ListIngredientsRequest
- type ListIngredientsResponse
- func (o *ListIngredientsResponse) GetContentType() string
- func (o *ListIngredientsResponse) GetError() *shared.Error
- func (o *ListIngredientsResponse) GetIngredients() []shared.Ingredient
- func (o *ListIngredientsResponse) GetRawResponse() *http.Response
- func (o *ListIngredientsResponse) GetStatusCode() int
- type SubscribeToWebhooksRequestBody
- type SubscribeToWebhooksRequestBodyWebhook
- type SubscribeToWebhooksResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticate200ApplicationJSON ¶ added in v0.5.0
type Authenticate200ApplicationJSON struct {
Token *string `json:"token,omitempty"`
}
Authenticate200ApplicationJSON - The api key to use for authenticated endpoints.
func (*Authenticate200ApplicationJSON) GetToken ¶ added in v0.5.0
func (o *Authenticate200ApplicationJSON) GetToken() *string
type AuthenticateRequestBody ¶
type AuthenticateRequestBody struct { Password *string `json:"password,omitempty"` Username *string `json:"username,omitempty"` }
func (*AuthenticateRequestBody) GetPassword ¶
func (o *AuthenticateRequestBody) GetPassword() *string
func (*AuthenticateRequestBody) GetUsername ¶
func (o *AuthenticateRequestBody) GetUsername() *string
type AuthenticateResponse ¶
type AuthenticateResponse struct { // HTTP response content type for this operation ContentType string // An unknown error occurred interacting with the API. Error *shared.Error // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The api key to use for authenticated endpoints. Authenticate200ApplicationJSONObject *Authenticate200ApplicationJSON }
func (*AuthenticateResponse) GetAuthenticate200ApplicationJSONObject ¶ added in v0.5.0
func (o *AuthenticateResponse) GetAuthenticate200ApplicationJSONObject() *Authenticate200ApplicationJSON
func (*AuthenticateResponse) GetContentType ¶
func (o *AuthenticateResponse) GetContentType() string
func (*AuthenticateResponse) GetError ¶
func (o *AuthenticateResponse) GetError() *shared.Error
func (*AuthenticateResponse) GetRawResponse ¶
func (o *AuthenticateResponse) GetRawResponse() *http.Response
func (*AuthenticateResponse) GetStatusCode ¶
func (o *AuthenticateResponse) GetStatusCode() int
type CreateOrderRequest ¶
type CreateOrderRequest struct { RequestBody []shared.OrderInput `request:"mediaType=application/json"` // The url to call when the order is updated. CallbackURL *string `queryParam:"style=form,explode=true,name=callback_url"` }
func (*CreateOrderRequest) GetCallbackURL ¶
func (o *CreateOrderRequest) GetCallbackURL() *string
func (*CreateOrderRequest) GetRequestBody ¶
func (o *CreateOrderRequest) GetRequestBody() []shared.OrderInput
type CreateOrderResponse ¶
type CreateOrderResponse struct { // HTTP response content type for this operation ContentType string // An unknown error occurred interacting with the API. Error *shared.Error // The order was created successfully. Order *shared.Order // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*CreateOrderResponse) GetContentType ¶
func (o *CreateOrderResponse) GetContentType() string
func (*CreateOrderResponse) GetError ¶
func (o *CreateOrderResponse) GetError() *shared.Error
func (*CreateOrderResponse) GetOrder ¶
func (o *CreateOrderResponse) GetOrder() *shared.Order
func (*CreateOrderResponse) GetRawResponse ¶
func (o *CreateOrderResponse) GetRawResponse() *http.Response
func (*CreateOrderResponse) GetStatusCode ¶
func (o *CreateOrderResponse) GetStatusCode() int
type GetDrinkRequest ¶
type GetDrinkRequest struct {
Name string `pathParam:"style=simple,explode=false,name=name"`
}
func (*GetDrinkRequest) GetName ¶
func (o *GetDrinkRequest) GetName() string
type GetDrinkResponse ¶
type GetDrinkResponse struct { // HTTP response content type for this operation ContentType string // A drink. Drink *shared.Drink // An unknown error occurred interacting with the API. Error *shared.Error // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*GetDrinkResponse) GetContentType ¶
func (o *GetDrinkResponse) GetContentType() string
func (*GetDrinkResponse) GetDrink ¶
func (o *GetDrinkResponse) GetDrink() *shared.Drink
func (*GetDrinkResponse) GetError ¶
func (o *GetDrinkResponse) GetError() *shared.Error
func (*GetDrinkResponse) GetRawResponse ¶
func (o *GetDrinkResponse) GetRawResponse() *http.Response
func (*GetDrinkResponse) GetStatusCode ¶
func (o *GetDrinkResponse) GetStatusCode() int
type ListDrinksRequest ¶
type ListDrinksRequest struct { // The type of drink to filter by. If not provided all drinks will be returned. DrinkType *shared.DrinkType `queryParam:"style=form,explode=true,name=drinkType"` }
func (*ListDrinksRequest) GetDrinkType ¶
func (o *ListDrinksRequest) GetDrinkType() *shared.DrinkType
type ListDrinksResponse ¶
type ListDrinksResponse struct { // HTTP response content type for this operation ContentType string // A list of drinks. Drinks []shared.Drink // An unknown error occurred interacting with the API. Error *shared.Error // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*ListDrinksResponse) GetContentType ¶
func (o *ListDrinksResponse) GetContentType() string
func (*ListDrinksResponse) GetDrinks ¶ added in v0.5.0
func (o *ListDrinksResponse) GetDrinks() []shared.Drink
func (*ListDrinksResponse) GetError ¶
func (o *ListDrinksResponse) GetError() *shared.Error
func (*ListDrinksResponse) GetRawResponse ¶
func (o *ListDrinksResponse) GetRawResponse() *http.Response
func (*ListDrinksResponse) GetStatusCode ¶
func (o *ListDrinksResponse) GetStatusCode() int
type ListIngredientsRequest ¶
type ListIngredientsRequest struct { // A list of ingredients to filter by. If not provided all ingredients will be returned. Ingredients []string `queryParam:"style=form,explode=false,name=ingredients"` }
func (*ListIngredientsRequest) GetIngredients ¶
func (o *ListIngredientsRequest) GetIngredients() []string
type ListIngredientsResponse ¶
type ListIngredientsResponse struct { // HTTP response content type for this operation ContentType string // An unknown error occurred interacting with the API. Error *shared.Error // A list of ingredients. Ingredients []shared.Ingredient // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*ListIngredientsResponse) GetContentType ¶
func (o *ListIngredientsResponse) GetContentType() string
func (*ListIngredientsResponse) GetError ¶
func (o *ListIngredientsResponse) GetError() *shared.Error
func (*ListIngredientsResponse) GetIngredients ¶ added in v0.5.0
func (o *ListIngredientsResponse) GetIngredients() []shared.Ingredient
func (*ListIngredientsResponse) GetRawResponse ¶
func (o *ListIngredientsResponse) GetRawResponse() *http.Response
func (*ListIngredientsResponse) GetStatusCode ¶
func (o *ListIngredientsResponse) GetStatusCode() int
type SubscribeToWebhooksRequestBody ¶ added in v0.5.0
type SubscribeToWebhooksRequestBody struct { URL *string `json:"url,omitempty"` Webhook *SubscribeToWebhooksRequestBodyWebhook `json:"webhook,omitempty"` }
func (*SubscribeToWebhooksRequestBody) GetURL ¶ added in v0.5.0
func (o *SubscribeToWebhooksRequestBody) GetURL() *string
func (*SubscribeToWebhooksRequestBody) GetWebhook ¶ added in v0.5.0
func (o *SubscribeToWebhooksRequestBody) GetWebhook() *SubscribeToWebhooksRequestBodyWebhook
type SubscribeToWebhooksRequestBodyWebhook ¶ added in v0.5.0
type SubscribeToWebhooksRequestBodyWebhook string
const (
SubscribeToWebhooksRequestBodyWebhookStockUpdate SubscribeToWebhooksRequestBodyWebhook = "stockUpdate"
)
func (SubscribeToWebhooksRequestBodyWebhook) ToPointer ¶ added in v0.5.0
func (e SubscribeToWebhooksRequestBodyWebhook) ToPointer() *SubscribeToWebhooksRequestBodyWebhook
func (*SubscribeToWebhooksRequestBodyWebhook) UnmarshalJSON ¶ added in v0.5.0
func (e *SubscribeToWebhooksRequestBodyWebhook) UnmarshalJSON(data []byte) error
type SubscribeToWebhooksResponse ¶
type SubscribeToWebhooksResponse struct { // HTTP response content type for this operation ContentType string // An unknown error occurred interacting with the API. Error *shared.Error // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*SubscribeToWebhooksResponse) GetContentType ¶
func (o *SubscribeToWebhooksResponse) GetContentType() string
func (*SubscribeToWebhooksResponse) GetError ¶
func (o *SubscribeToWebhooksResponse) GetError() *shared.Error
func (*SubscribeToWebhooksResponse) GetRawResponse ¶
func (o *SubscribeToWebhooksResponse) GetRawResponse() *http.Response
func (*SubscribeToWebhooksResponse) GetStatusCode ¶
func (o *SubscribeToWebhooksResponse) GetStatusCode() int
Click to show internal directories.
Click to hide internal directories.