locations

package
v0.0.0-...-853dd42 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   DeleteLocation deletes a location
	*/
	DeleteLocation(ctx context.Context, params *DeleteLocationParams) (*DeleteLocationNoContent, error)
	/*
	   GetLocation gets location by ID
	*/
	GetLocation(ctx context.Context, params *GetLocationParams) (*GetLocationOK, error)
	/*
	   GetLocationSublocations gets sublocations for location ID
	*/
	GetLocationSublocations(ctx context.Context, params *GetLocationSublocationsParams) (*GetLocationSublocationsOK, error)
	/*
	   GetLocations gets a list of all locations
	*/
	GetLocations(ctx context.Context, params *GetLocationsParams) (*GetLocationsOK, error)
	/*
	   GetLocationsSearch searches locations using the q64 value returned from a previous search
	*/
	GetLocationsSearch(ctx context.Context, params *GetLocationsSearchParams) (*GetLocationsSearchOK, error)
	/*
	   PatchLocation updates a location
	*/
	PatchLocation(ctx context.Context, params *PatchLocationParams) (*PatchLocationOK, error)
	/*
	   PostLocations creates a location
	*/
	PostLocations(ctx context.Context, params *PostLocationsParams) (*PostLocationsOK, error)
	/*
	   PostLocationsSearch searches locations
	*/
	PostLocationsSearch(ctx context.Context, params *PostLocationsSearchParams) (*PostLocationsSearchOK, error)
}

API is the interface of the locations client

type Client

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

Client for locations API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new locations API client.

func (*Client) DeleteLocation

func (a *Client) DeleteLocation(ctx context.Context, params *DeleteLocationParams) (*DeleteLocationNoContent, error)

DeleteLocation deletes a location

func (*Client) GetLocation

func (a *Client) GetLocation(ctx context.Context, params *GetLocationParams) (*GetLocationOK, error)

GetLocation gets location by ID

func (*Client) GetLocationSublocations

func (a *Client) GetLocationSublocations(ctx context.Context, params *GetLocationSublocationsParams) (*GetLocationSublocationsOK, error)

GetLocationSublocations gets sublocations for location ID

func (*Client) GetLocations

func (a *Client) GetLocations(ctx context.Context, params *GetLocationsParams) (*GetLocationsOK, error)

GetLocations gets a list of all locations

func (*Client) GetLocationsSearch

func (a *Client) GetLocationsSearch(ctx context.Context, params *GetLocationsSearchParams) (*GetLocationsSearchOK, error)

GetLocationsSearch searches locations using the q64 value returned from a previous search

func (*Client) PatchLocation

func (a *Client) PatchLocation(ctx context.Context, params *PatchLocationParams) (*PatchLocationOK, error)

PatchLocation updates a location

func (*Client) PostLocations

func (a *Client) PostLocations(ctx context.Context, params *PostLocationsParams) (*PostLocationsOK, error)

PostLocations creates a location

func (*Client) PostLocationsSearch

func (a *Client) PostLocationsSearch(ctx context.Context, params *PostLocationsSearchParams) (*PostLocationsSearchOK, error)

PostLocationsSearch searches locations

type DeleteLocationBadRequest

type DeleteLocationBadRequest struct {
	Payload *models.ErrorBody
}

DeleteLocationBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewDeleteLocationBadRequest

func NewDeleteLocationBadRequest() *DeleteLocationBadRequest

NewDeleteLocationBadRequest creates a DeleteLocationBadRequest with default headers values

func (*DeleteLocationBadRequest) Error

func (o *DeleteLocationBadRequest) Error() string

func (*DeleteLocationBadRequest) GetPayload

func (o *DeleteLocationBadRequest) GetPayload() *models.ErrorBody

func (*DeleteLocationBadRequest) IsClientError

func (o *DeleteLocationBadRequest) IsClientError() bool

IsClientError returns true when this delete location bad request response has a 4xx status code

func (*DeleteLocationBadRequest) IsCode

func (o *DeleteLocationBadRequest) IsCode(code int) bool

IsCode returns true when this delete location bad request response a status code equal to that given

func (*DeleteLocationBadRequest) IsRedirect

func (o *DeleteLocationBadRequest) IsRedirect() bool

IsRedirect returns true when this delete location bad request response has a 3xx status code

func (*DeleteLocationBadRequest) IsServerError

func (o *DeleteLocationBadRequest) IsServerError() bool

IsServerError returns true when this delete location bad request response has a 5xx status code

func (*DeleteLocationBadRequest) IsSuccess

func (o *DeleteLocationBadRequest) IsSuccess() bool

IsSuccess returns true when this delete location bad request response has a 2xx status code

func (*DeleteLocationBadRequest) String

func (o *DeleteLocationBadRequest) String() string

type DeleteLocationForbidden

type DeleteLocationForbidden struct {
	Payload *models.ErrorBody
}

DeleteLocationForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewDeleteLocationForbidden

func NewDeleteLocationForbidden() *DeleteLocationForbidden

NewDeleteLocationForbidden creates a DeleteLocationForbidden with default headers values

func (*DeleteLocationForbidden) Error

func (o *DeleteLocationForbidden) Error() string

func (*DeleteLocationForbidden) GetPayload

func (o *DeleteLocationForbidden) GetPayload() *models.ErrorBody

func (*DeleteLocationForbidden) IsClientError

func (o *DeleteLocationForbidden) IsClientError() bool

IsClientError returns true when this delete location forbidden response has a 4xx status code

func (*DeleteLocationForbidden) IsCode

func (o *DeleteLocationForbidden) IsCode(code int) bool

IsCode returns true when this delete location forbidden response a status code equal to that given

func (*DeleteLocationForbidden) IsRedirect

func (o *DeleteLocationForbidden) IsRedirect() bool

IsRedirect returns true when this delete location forbidden response has a 3xx status code

func (*DeleteLocationForbidden) IsServerError

func (o *DeleteLocationForbidden) IsServerError() bool

IsServerError returns true when this delete location forbidden response has a 5xx status code

func (*DeleteLocationForbidden) IsSuccess

func (o *DeleteLocationForbidden) IsSuccess() bool

IsSuccess returns true when this delete location forbidden response has a 2xx status code

func (*DeleteLocationForbidden) String

func (o *DeleteLocationForbidden) String() string

type DeleteLocationGatewayTimeout

type DeleteLocationGatewayTimeout struct {
	Payload *models.ErrorBody
}

DeleteLocationGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewDeleteLocationGatewayTimeout

func NewDeleteLocationGatewayTimeout() *DeleteLocationGatewayTimeout

NewDeleteLocationGatewayTimeout creates a DeleteLocationGatewayTimeout with default headers values

func (*DeleteLocationGatewayTimeout) Error

func (*DeleteLocationGatewayTimeout) GetPayload

func (*DeleteLocationGatewayTimeout) IsClientError

func (o *DeleteLocationGatewayTimeout) IsClientError() bool

IsClientError returns true when this delete location gateway timeout response has a 4xx status code

func (*DeleteLocationGatewayTimeout) IsCode

func (o *DeleteLocationGatewayTimeout) IsCode(code int) bool

IsCode returns true when this delete location gateway timeout response a status code equal to that given

func (*DeleteLocationGatewayTimeout) IsRedirect

func (o *DeleteLocationGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this delete location gateway timeout response has a 3xx status code

func (*DeleteLocationGatewayTimeout) IsServerError

func (o *DeleteLocationGatewayTimeout) IsServerError() bool

IsServerError returns true when this delete location gateway timeout response has a 5xx status code

func (*DeleteLocationGatewayTimeout) IsSuccess

func (o *DeleteLocationGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this delete location gateway timeout response has a 2xx status code

func (*DeleteLocationGatewayTimeout) String

type DeleteLocationInternalServerError

type DeleteLocationInternalServerError struct {
	Payload *models.ErrorBody
}

DeleteLocationInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewDeleteLocationInternalServerError

func NewDeleteLocationInternalServerError() *DeleteLocationInternalServerError

NewDeleteLocationInternalServerError creates a DeleteLocationInternalServerError with default headers values

func (*DeleteLocationInternalServerError) Error

func (*DeleteLocationInternalServerError) GetPayload

func (*DeleteLocationInternalServerError) IsClientError

func (o *DeleteLocationInternalServerError) IsClientError() bool

IsClientError returns true when this delete location internal server error response has a 4xx status code

func (*DeleteLocationInternalServerError) IsCode

func (o *DeleteLocationInternalServerError) IsCode(code int) bool

IsCode returns true when this delete location internal server error response a status code equal to that given

func (*DeleteLocationInternalServerError) IsRedirect

func (o *DeleteLocationInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete location internal server error response has a 3xx status code

func (*DeleteLocationInternalServerError) IsServerError

func (o *DeleteLocationInternalServerError) IsServerError() bool

IsServerError returns true when this delete location internal server error response has a 5xx status code

func (*DeleteLocationInternalServerError) IsSuccess

func (o *DeleteLocationInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete location internal server error response has a 2xx status code

func (*DeleteLocationInternalServerError) String

type DeleteLocationNoContent

type DeleteLocationNoContent struct {
}

DeleteLocationNoContent describes a response with status code 204, with default header values.

The location was deleted successfully

func NewDeleteLocationNoContent

func NewDeleteLocationNoContent() *DeleteLocationNoContent

NewDeleteLocationNoContent creates a DeleteLocationNoContent with default headers values

func (*DeleteLocationNoContent) Error

func (o *DeleteLocationNoContent) Error() string

func (*DeleteLocationNoContent) IsClientError

func (o *DeleteLocationNoContent) IsClientError() bool

IsClientError returns true when this delete location no content response has a 4xx status code

func (*DeleteLocationNoContent) IsCode

func (o *DeleteLocationNoContent) IsCode(code int) bool

IsCode returns true when this delete location no content response a status code equal to that given

func (*DeleteLocationNoContent) IsRedirect

func (o *DeleteLocationNoContent) IsRedirect() bool

IsRedirect returns true when this delete location no content response has a 3xx status code

func (*DeleteLocationNoContent) IsServerError

func (o *DeleteLocationNoContent) IsServerError() bool

IsServerError returns true when this delete location no content response has a 5xx status code

func (*DeleteLocationNoContent) IsSuccess

func (o *DeleteLocationNoContent) IsSuccess() bool

IsSuccess returns true when this delete location no content response has a 2xx status code

func (*DeleteLocationNoContent) String

func (o *DeleteLocationNoContent) String() string

type DeleteLocationNotFound

type DeleteLocationNotFound struct {
	Payload *models.ErrorBody
}

DeleteLocationNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewDeleteLocationNotFound

func NewDeleteLocationNotFound() *DeleteLocationNotFound

NewDeleteLocationNotFound creates a DeleteLocationNotFound with default headers values

func (*DeleteLocationNotFound) Error

func (o *DeleteLocationNotFound) Error() string

func (*DeleteLocationNotFound) GetPayload

func (o *DeleteLocationNotFound) GetPayload() *models.ErrorBody

func (*DeleteLocationNotFound) IsClientError

func (o *DeleteLocationNotFound) IsClientError() bool

IsClientError returns true when this delete location not found response has a 4xx status code

func (*DeleteLocationNotFound) IsCode

func (o *DeleteLocationNotFound) IsCode(code int) bool

IsCode returns true when this delete location not found response a status code equal to that given

func (*DeleteLocationNotFound) IsRedirect

func (o *DeleteLocationNotFound) IsRedirect() bool

IsRedirect returns true when this delete location not found response has a 3xx status code

func (*DeleteLocationNotFound) IsServerError

func (o *DeleteLocationNotFound) IsServerError() bool

IsServerError returns true when this delete location not found response has a 5xx status code

func (*DeleteLocationNotFound) IsSuccess

func (o *DeleteLocationNotFound) IsSuccess() bool

IsSuccess returns true when this delete location not found response has a 2xx status code

func (*DeleteLocationNotFound) String

func (o *DeleteLocationNotFound) String() string

type DeleteLocationParams

type DeleteLocationParams struct {

	/* LocationID.

	   Location ID
	*/
	LocationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLocationParams contains all the parameters to send to the API endpoint

for the delete location operation.

Typically these are written to a http.Request.

func NewDeleteLocationParams

func NewDeleteLocationParams() *DeleteLocationParams

NewDeleteLocationParams creates a new DeleteLocationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteLocationParamsWithContext

func NewDeleteLocationParamsWithContext(ctx context.Context) *DeleteLocationParams

NewDeleteLocationParamsWithContext creates a new DeleteLocationParams object with the ability to set a context for a request.

func NewDeleteLocationParamsWithHTTPClient

func NewDeleteLocationParamsWithHTTPClient(client *http.Client) *DeleteLocationParams

NewDeleteLocationParamsWithHTTPClient creates a new DeleteLocationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLocationParamsWithTimeout

func NewDeleteLocationParamsWithTimeout(timeout time.Duration) *DeleteLocationParams

NewDeleteLocationParamsWithTimeout creates a new DeleteLocationParams object with the ability to set a timeout on a request.

func (*DeleteLocationParams) SetContext

func (o *DeleteLocationParams) SetContext(ctx context.Context)

SetContext adds the context to the delete location params

func (*DeleteLocationParams) SetDefaults

func (o *DeleteLocationParams) SetDefaults()

SetDefaults hydrates default values in the delete location params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLocationParams) SetHTTPClient

func (o *DeleteLocationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete location params

func (*DeleteLocationParams) SetLocationID

func (o *DeleteLocationParams) SetLocationID(locationID string)

SetLocationID adds the locationId to the delete location params

func (*DeleteLocationParams) SetTimeout

func (o *DeleteLocationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete location params

func (*DeleteLocationParams) WithContext

WithContext adds the context to the delete location params

func (*DeleteLocationParams) WithDefaults

func (o *DeleteLocationParams) WithDefaults() *DeleteLocationParams

WithDefaults hydrates default values in the delete location params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLocationParams) WithHTTPClient

func (o *DeleteLocationParams) WithHTTPClient(client *http.Client) *DeleteLocationParams

WithHTTPClient adds the HTTPClient to the delete location params

func (*DeleteLocationParams) WithLocationID

func (o *DeleteLocationParams) WithLocationID(locationID string) *DeleteLocationParams

WithLocationID adds the locationID to the delete location params

func (*DeleteLocationParams) WithTimeout

func (o *DeleteLocationParams) WithTimeout(timeout time.Duration) *DeleteLocationParams

WithTimeout adds the timeout to the delete location params

func (*DeleteLocationParams) WriteToRequest

func (o *DeleteLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteLocationReader

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

DeleteLocationReader is a Reader for the DeleteLocation structure.

func (*DeleteLocationReader) ReadResponse

func (o *DeleteLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteLocationRequestEntityTooLarge

type DeleteLocationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

DeleteLocationRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewDeleteLocationRequestEntityTooLarge

func NewDeleteLocationRequestEntityTooLarge() *DeleteLocationRequestEntityTooLarge

NewDeleteLocationRequestEntityTooLarge creates a DeleteLocationRequestEntityTooLarge with default headers values

func (*DeleteLocationRequestEntityTooLarge) Error

func (*DeleteLocationRequestEntityTooLarge) GetPayload

func (*DeleteLocationRequestEntityTooLarge) IsClientError

func (o *DeleteLocationRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this delete location request entity too large response has a 4xx status code

func (*DeleteLocationRequestEntityTooLarge) IsCode

IsCode returns true when this delete location request entity too large response a status code equal to that given

func (*DeleteLocationRequestEntityTooLarge) IsRedirect

func (o *DeleteLocationRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this delete location request entity too large response has a 3xx status code

func (*DeleteLocationRequestEntityTooLarge) IsServerError

func (o *DeleteLocationRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this delete location request entity too large response has a 5xx status code

func (*DeleteLocationRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete location request entity too large response has a 2xx status code

func (*DeleteLocationRequestEntityTooLarge) String

type DeleteLocationRequestTimeout

type DeleteLocationRequestTimeout struct {
	Payload *models.ErrorBody
}

DeleteLocationRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewDeleteLocationRequestTimeout

func NewDeleteLocationRequestTimeout() *DeleteLocationRequestTimeout

NewDeleteLocationRequestTimeout creates a DeleteLocationRequestTimeout with default headers values

func (*DeleteLocationRequestTimeout) Error

func (*DeleteLocationRequestTimeout) GetPayload

func (*DeleteLocationRequestTimeout) IsClientError

func (o *DeleteLocationRequestTimeout) IsClientError() bool

IsClientError returns true when this delete location request timeout response has a 4xx status code

func (*DeleteLocationRequestTimeout) IsCode

func (o *DeleteLocationRequestTimeout) IsCode(code int) bool

IsCode returns true when this delete location request timeout response a status code equal to that given

func (*DeleteLocationRequestTimeout) IsRedirect

func (o *DeleteLocationRequestTimeout) IsRedirect() bool

IsRedirect returns true when this delete location request timeout response has a 3xx status code

func (*DeleteLocationRequestTimeout) IsServerError

func (o *DeleteLocationRequestTimeout) IsServerError() bool

IsServerError returns true when this delete location request timeout response has a 5xx status code

func (*DeleteLocationRequestTimeout) IsSuccess

func (o *DeleteLocationRequestTimeout) IsSuccess() bool

IsSuccess returns true when this delete location request timeout response has a 2xx status code

func (*DeleteLocationRequestTimeout) String

type DeleteLocationServiceUnavailable

type DeleteLocationServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeleteLocationServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewDeleteLocationServiceUnavailable

func NewDeleteLocationServiceUnavailable() *DeleteLocationServiceUnavailable

NewDeleteLocationServiceUnavailable creates a DeleteLocationServiceUnavailable with default headers values

func (*DeleteLocationServiceUnavailable) Error

func (*DeleteLocationServiceUnavailable) GetPayload

func (*DeleteLocationServiceUnavailable) IsClientError

func (o *DeleteLocationServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete location service unavailable response has a 4xx status code

func (*DeleteLocationServiceUnavailable) IsCode

func (o *DeleteLocationServiceUnavailable) IsCode(code int) bool

IsCode returns true when this delete location service unavailable response a status code equal to that given

func (*DeleteLocationServiceUnavailable) IsRedirect

func (o *DeleteLocationServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete location service unavailable response has a 3xx status code

func (*DeleteLocationServiceUnavailable) IsServerError

func (o *DeleteLocationServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete location service unavailable response has a 5xx status code

func (*DeleteLocationServiceUnavailable) IsSuccess

func (o *DeleteLocationServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this delete location service unavailable response has a 2xx status code

func (*DeleteLocationServiceUnavailable) String

type DeleteLocationTooManyRequests

type DeleteLocationTooManyRequests struct {
	Payload *models.ErrorBody
}

DeleteLocationTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewDeleteLocationTooManyRequests

func NewDeleteLocationTooManyRequests() *DeleteLocationTooManyRequests

NewDeleteLocationTooManyRequests creates a DeleteLocationTooManyRequests with default headers values

func (*DeleteLocationTooManyRequests) Error

func (*DeleteLocationTooManyRequests) GetPayload

func (*DeleteLocationTooManyRequests) IsClientError

func (o *DeleteLocationTooManyRequests) IsClientError() bool

IsClientError returns true when this delete location too many requests response has a 4xx status code

func (*DeleteLocationTooManyRequests) IsCode

func (o *DeleteLocationTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete location too many requests response a status code equal to that given

func (*DeleteLocationTooManyRequests) IsRedirect

func (o *DeleteLocationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete location too many requests response has a 3xx status code

func (*DeleteLocationTooManyRequests) IsServerError

func (o *DeleteLocationTooManyRequests) IsServerError() bool

IsServerError returns true when this delete location too many requests response has a 5xx status code

func (*DeleteLocationTooManyRequests) IsSuccess

func (o *DeleteLocationTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete location too many requests response has a 2xx status code

func (*DeleteLocationTooManyRequests) String

type DeleteLocationUnauthorized

type DeleteLocationUnauthorized struct {
	Payload *models.ErrorBody
}

DeleteLocationUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewDeleteLocationUnauthorized

func NewDeleteLocationUnauthorized() *DeleteLocationUnauthorized

NewDeleteLocationUnauthorized creates a DeleteLocationUnauthorized with default headers values

func (*DeleteLocationUnauthorized) Error

func (*DeleteLocationUnauthorized) GetPayload

func (o *DeleteLocationUnauthorized) GetPayload() *models.ErrorBody

func (*DeleteLocationUnauthorized) IsClientError

func (o *DeleteLocationUnauthorized) IsClientError() bool

IsClientError returns true when this delete location unauthorized response has a 4xx status code

func (*DeleteLocationUnauthorized) IsCode

func (o *DeleteLocationUnauthorized) IsCode(code int) bool

IsCode returns true when this delete location unauthorized response a status code equal to that given

func (*DeleteLocationUnauthorized) IsRedirect

func (o *DeleteLocationUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete location unauthorized response has a 3xx status code

func (*DeleteLocationUnauthorized) IsServerError

func (o *DeleteLocationUnauthorized) IsServerError() bool

IsServerError returns true when this delete location unauthorized response has a 5xx status code

func (*DeleteLocationUnauthorized) IsSuccess

func (o *DeleteLocationUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete location unauthorized response has a 2xx status code

func (*DeleteLocationUnauthorized) String

func (o *DeleteLocationUnauthorized) String() string

type DeleteLocationUnsupportedMediaType

type DeleteLocationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeleteLocationUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewDeleteLocationUnsupportedMediaType

func NewDeleteLocationUnsupportedMediaType() *DeleteLocationUnsupportedMediaType

NewDeleteLocationUnsupportedMediaType creates a DeleteLocationUnsupportedMediaType with default headers values

func (*DeleteLocationUnsupportedMediaType) Error

func (*DeleteLocationUnsupportedMediaType) GetPayload

func (*DeleteLocationUnsupportedMediaType) IsClientError

func (o *DeleteLocationUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this delete location unsupported media type response has a 4xx status code

func (*DeleteLocationUnsupportedMediaType) IsCode

IsCode returns true when this delete location unsupported media type response a status code equal to that given

func (*DeleteLocationUnsupportedMediaType) IsRedirect

func (o *DeleteLocationUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this delete location unsupported media type response has a 3xx status code

func (*DeleteLocationUnsupportedMediaType) IsServerError

func (o *DeleteLocationUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this delete location unsupported media type response has a 5xx status code

func (*DeleteLocationUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete location unsupported media type response has a 2xx status code

func (*DeleteLocationUnsupportedMediaType) String

type GetLocationBadRequest

type GetLocationBadRequest struct {
	Payload *models.ErrorBody
}

GetLocationBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetLocationBadRequest

func NewGetLocationBadRequest() *GetLocationBadRequest

NewGetLocationBadRequest creates a GetLocationBadRequest with default headers values

func (*GetLocationBadRequest) Error

func (o *GetLocationBadRequest) Error() string

func (*GetLocationBadRequest) GetPayload

func (o *GetLocationBadRequest) GetPayload() *models.ErrorBody

func (*GetLocationBadRequest) IsClientError

func (o *GetLocationBadRequest) IsClientError() bool

IsClientError returns true when this get location bad request response has a 4xx status code

func (*GetLocationBadRequest) IsCode

func (o *GetLocationBadRequest) IsCode(code int) bool

IsCode returns true when this get location bad request response a status code equal to that given

func (*GetLocationBadRequest) IsRedirect

func (o *GetLocationBadRequest) IsRedirect() bool

IsRedirect returns true when this get location bad request response has a 3xx status code

func (*GetLocationBadRequest) IsServerError

func (o *GetLocationBadRequest) IsServerError() bool

IsServerError returns true when this get location bad request response has a 5xx status code

func (*GetLocationBadRequest) IsSuccess

func (o *GetLocationBadRequest) IsSuccess() bool

IsSuccess returns true when this get location bad request response has a 2xx status code

func (*GetLocationBadRequest) String

func (o *GetLocationBadRequest) String() string

type GetLocationForbidden

type GetLocationForbidden struct {
	Payload *models.ErrorBody
}

GetLocationForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetLocationForbidden

func NewGetLocationForbidden() *GetLocationForbidden

NewGetLocationForbidden creates a GetLocationForbidden with default headers values

func (*GetLocationForbidden) Error

func (o *GetLocationForbidden) Error() string

func (*GetLocationForbidden) GetPayload

func (o *GetLocationForbidden) GetPayload() *models.ErrorBody

func (*GetLocationForbidden) IsClientError

func (o *GetLocationForbidden) IsClientError() bool

IsClientError returns true when this get location forbidden response has a 4xx status code

func (*GetLocationForbidden) IsCode

func (o *GetLocationForbidden) IsCode(code int) bool

IsCode returns true when this get location forbidden response a status code equal to that given

func (*GetLocationForbidden) IsRedirect

func (o *GetLocationForbidden) IsRedirect() bool

IsRedirect returns true when this get location forbidden response has a 3xx status code

func (*GetLocationForbidden) IsServerError

func (o *GetLocationForbidden) IsServerError() bool

IsServerError returns true when this get location forbidden response has a 5xx status code

func (*GetLocationForbidden) IsSuccess

func (o *GetLocationForbidden) IsSuccess() bool

IsSuccess returns true when this get location forbidden response has a 2xx status code

func (*GetLocationForbidden) String

func (o *GetLocationForbidden) String() string

type GetLocationGatewayTimeout

type GetLocationGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetLocationGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetLocationGatewayTimeout

func NewGetLocationGatewayTimeout() *GetLocationGatewayTimeout

NewGetLocationGatewayTimeout creates a GetLocationGatewayTimeout with default headers values

func (*GetLocationGatewayTimeout) Error

func (o *GetLocationGatewayTimeout) Error() string

func (*GetLocationGatewayTimeout) GetPayload

func (o *GetLocationGatewayTimeout) GetPayload() *models.ErrorBody

func (*GetLocationGatewayTimeout) IsClientError

func (o *GetLocationGatewayTimeout) IsClientError() bool

IsClientError returns true when this get location gateway timeout response has a 4xx status code

func (*GetLocationGatewayTimeout) IsCode

func (o *GetLocationGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get location gateway timeout response a status code equal to that given

func (*GetLocationGatewayTimeout) IsRedirect

func (o *GetLocationGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get location gateway timeout response has a 3xx status code

func (*GetLocationGatewayTimeout) IsServerError

func (o *GetLocationGatewayTimeout) IsServerError() bool

IsServerError returns true when this get location gateway timeout response has a 5xx status code

func (*GetLocationGatewayTimeout) IsSuccess

func (o *GetLocationGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get location gateway timeout response has a 2xx status code

func (*GetLocationGatewayTimeout) String

func (o *GetLocationGatewayTimeout) String() string

type GetLocationInternalServerError

type GetLocationInternalServerError struct {
	Payload *models.ErrorBody
}

GetLocationInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetLocationInternalServerError

func NewGetLocationInternalServerError() *GetLocationInternalServerError

NewGetLocationInternalServerError creates a GetLocationInternalServerError with default headers values

func (*GetLocationInternalServerError) Error

func (*GetLocationInternalServerError) GetPayload

func (*GetLocationInternalServerError) IsClientError

func (o *GetLocationInternalServerError) IsClientError() bool

IsClientError returns true when this get location internal server error response has a 4xx status code

func (*GetLocationInternalServerError) IsCode

func (o *GetLocationInternalServerError) IsCode(code int) bool

IsCode returns true when this get location internal server error response a status code equal to that given

func (*GetLocationInternalServerError) IsRedirect

func (o *GetLocationInternalServerError) IsRedirect() bool

IsRedirect returns true when this get location internal server error response has a 3xx status code

func (*GetLocationInternalServerError) IsServerError

func (o *GetLocationInternalServerError) IsServerError() bool

IsServerError returns true when this get location internal server error response has a 5xx status code

func (*GetLocationInternalServerError) IsSuccess

func (o *GetLocationInternalServerError) IsSuccess() bool

IsSuccess returns true when this get location internal server error response has a 2xx status code

func (*GetLocationInternalServerError) String

type GetLocationNotFound

type GetLocationNotFound struct {
	Payload *models.ErrorBody
}

GetLocationNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetLocationNotFound

func NewGetLocationNotFound() *GetLocationNotFound

NewGetLocationNotFound creates a GetLocationNotFound with default headers values

func (*GetLocationNotFound) Error

func (o *GetLocationNotFound) Error() string

func (*GetLocationNotFound) GetPayload

func (o *GetLocationNotFound) GetPayload() *models.ErrorBody

func (*GetLocationNotFound) IsClientError

func (o *GetLocationNotFound) IsClientError() bool

IsClientError returns true when this get location not found response has a 4xx status code

func (*GetLocationNotFound) IsCode

func (o *GetLocationNotFound) IsCode(code int) bool

IsCode returns true when this get location not found response a status code equal to that given

func (*GetLocationNotFound) IsRedirect

func (o *GetLocationNotFound) IsRedirect() bool

IsRedirect returns true when this get location not found response has a 3xx status code

func (*GetLocationNotFound) IsServerError

func (o *GetLocationNotFound) IsServerError() bool

IsServerError returns true when this get location not found response has a 5xx status code

func (*GetLocationNotFound) IsSuccess

func (o *GetLocationNotFound) IsSuccess() bool

IsSuccess returns true when this get location not found response has a 2xx status code

func (*GetLocationNotFound) String

func (o *GetLocationNotFound) String() string

type GetLocationOK

type GetLocationOK struct {
	Payload *models.LocationDefinition
}

GetLocationOK describes a response with status code 200, with default header values.

successful operation

func NewGetLocationOK

func NewGetLocationOK() *GetLocationOK

NewGetLocationOK creates a GetLocationOK with default headers values

func (*GetLocationOK) Error

func (o *GetLocationOK) Error() string

func (*GetLocationOK) GetPayload

func (o *GetLocationOK) GetPayload() *models.LocationDefinition

func (*GetLocationOK) IsClientError

func (o *GetLocationOK) IsClientError() bool

IsClientError returns true when this get location o k response has a 4xx status code

func (*GetLocationOK) IsCode

func (o *GetLocationOK) IsCode(code int) bool

IsCode returns true when this get location o k response a status code equal to that given

func (*GetLocationOK) IsRedirect

func (o *GetLocationOK) IsRedirect() bool

IsRedirect returns true when this get location o k response has a 3xx status code

func (*GetLocationOK) IsServerError

func (o *GetLocationOK) IsServerError() bool

IsServerError returns true when this get location o k response has a 5xx status code

func (*GetLocationOK) IsSuccess

func (o *GetLocationOK) IsSuccess() bool

IsSuccess returns true when this get location o k response has a 2xx status code

func (*GetLocationOK) String

func (o *GetLocationOK) String() string

type GetLocationParams

type GetLocationParams struct {

	/* Expand.

	   Which fields, if any, to expand
	*/
	Expand []string

	/* LocationID.

	   Location ID
	*/
	LocationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLocationParams contains all the parameters to send to the API endpoint

for the get location operation.

Typically these are written to a http.Request.

func NewGetLocationParams

func NewGetLocationParams() *GetLocationParams

NewGetLocationParams creates a new GetLocationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLocationParamsWithContext

func NewGetLocationParamsWithContext(ctx context.Context) *GetLocationParams

NewGetLocationParamsWithContext creates a new GetLocationParams object with the ability to set a context for a request.

func NewGetLocationParamsWithHTTPClient

func NewGetLocationParamsWithHTTPClient(client *http.Client) *GetLocationParams

NewGetLocationParamsWithHTTPClient creates a new GetLocationParams object with the ability to set a custom HTTPClient for a request.

func NewGetLocationParamsWithTimeout

func NewGetLocationParamsWithTimeout(timeout time.Duration) *GetLocationParams

NewGetLocationParamsWithTimeout creates a new GetLocationParams object with the ability to set a timeout on a request.

func (*GetLocationParams) SetContext

func (o *GetLocationParams) SetContext(ctx context.Context)

SetContext adds the context to the get location params

func (*GetLocationParams) SetDefaults

func (o *GetLocationParams) SetDefaults()

SetDefaults hydrates default values in the get location params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationParams) SetExpand

func (o *GetLocationParams) SetExpand(expand []string)

SetExpand adds the expand to the get location params

func (*GetLocationParams) SetHTTPClient

func (o *GetLocationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get location params

func (*GetLocationParams) SetLocationID

func (o *GetLocationParams) SetLocationID(locationID string)

SetLocationID adds the locationId to the get location params

func (*GetLocationParams) SetTimeout

func (o *GetLocationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get location params

func (*GetLocationParams) WithContext

func (o *GetLocationParams) WithContext(ctx context.Context) *GetLocationParams

WithContext adds the context to the get location params

func (*GetLocationParams) WithDefaults

func (o *GetLocationParams) WithDefaults() *GetLocationParams

WithDefaults hydrates default values in the get location params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationParams) WithExpand

func (o *GetLocationParams) WithExpand(expand []string) *GetLocationParams

WithExpand adds the expand to the get location params

func (*GetLocationParams) WithHTTPClient

func (o *GetLocationParams) WithHTTPClient(client *http.Client) *GetLocationParams

WithHTTPClient adds the HTTPClient to the get location params

func (*GetLocationParams) WithLocationID

func (o *GetLocationParams) WithLocationID(locationID string) *GetLocationParams

WithLocationID adds the locationID to the get location params

func (*GetLocationParams) WithTimeout

func (o *GetLocationParams) WithTimeout(timeout time.Duration) *GetLocationParams

WithTimeout adds the timeout to the get location params

func (*GetLocationParams) WriteToRequest

func (o *GetLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLocationReader

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

GetLocationReader is a Reader for the GetLocation structure.

func (*GetLocationReader) ReadResponse

func (o *GetLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLocationRequestEntityTooLarge

type GetLocationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetLocationRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetLocationRequestEntityTooLarge

func NewGetLocationRequestEntityTooLarge() *GetLocationRequestEntityTooLarge

NewGetLocationRequestEntityTooLarge creates a GetLocationRequestEntityTooLarge with default headers values

func (*GetLocationRequestEntityTooLarge) Error

func (*GetLocationRequestEntityTooLarge) GetPayload

func (*GetLocationRequestEntityTooLarge) IsClientError

func (o *GetLocationRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get location request entity too large response has a 4xx status code

func (*GetLocationRequestEntityTooLarge) IsCode

func (o *GetLocationRequestEntityTooLarge) IsCode(code int) bool

IsCode returns true when this get location request entity too large response a status code equal to that given

func (*GetLocationRequestEntityTooLarge) IsRedirect

func (o *GetLocationRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this get location request entity too large response has a 3xx status code

func (*GetLocationRequestEntityTooLarge) IsServerError

func (o *GetLocationRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get location request entity too large response has a 5xx status code

func (*GetLocationRequestEntityTooLarge) IsSuccess

func (o *GetLocationRequestEntityTooLarge) IsSuccess() bool

IsSuccess returns true when this get location request entity too large response has a 2xx status code

func (*GetLocationRequestEntityTooLarge) String

type GetLocationRequestTimeout

type GetLocationRequestTimeout struct {
	Payload *models.ErrorBody
}

GetLocationRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetLocationRequestTimeout

func NewGetLocationRequestTimeout() *GetLocationRequestTimeout

NewGetLocationRequestTimeout creates a GetLocationRequestTimeout with default headers values

func (*GetLocationRequestTimeout) Error

func (o *GetLocationRequestTimeout) Error() string

func (*GetLocationRequestTimeout) GetPayload

func (o *GetLocationRequestTimeout) GetPayload() *models.ErrorBody

func (*GetLocationRequestTimeout) IsClientError

func (o *GetLocationRequestTimeout) IsClientError() bool

IsClientError returns true when this get location request timeout response has a 4xx status code

func (*GetLocationRequestTimeout) IsCode

func (o *GetLocationRequestTimeout) IsCode(code int) bool

IsCode returns true when this get location request timeout response a status code equal to that given

func (*GetLocationRequestTimeout) IsRedirect

func (o *GetLocationRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get location request timeout response has a 3xx status code

func (*GetLocationRequestTimeout) IsServerError

func (o *GetLocationRequestTimeout) IsServerError() bool

IsServerError returns true when this get location request timeout response has a 5xx status code

func (*GetLocationRequestTimeout) IsSuccess

func (o *GetLocationRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get location request timeout response has a 2xx status code

func (*GetLocationRequestTimeout) String

func (o *GetLocationRequestTimeout) String() string

type GetLocationServiceUnavailable

type GetLocationServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetLocationServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetLocationServiceUnavailable

func NewGetLocationServiceUnavailable() *GetLocationServiceUnavailable

NewGetLocationServiceUnavailable creates a GetLocationServiceUnavailable with default headers values

func (*GetLocationServiceUnavailable) Error

func (*GetLocationServiceUnavailable) GetPayload

func (*GetLocationServiceUnavailable) IsClientError

func (o *GetLocationServiceUnavailable) IsClientError() bool

IsClientError returns true when this get location service unavailable response has a 4xx status code

func (*GetLocationServiceUnavailable) IsCode

func (o *GetLocationServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get location service unavailable response a status code equal to that given

func (*GetLocationServiceUnavailable) IsRedirect

func (o *GetLocationServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get location service unavailable response has a 3xx status code

func (*GetLocationServiceUnavailable) IsServerError

func (o *GetLocationServiceUnavailable) IsServerError() bool

IsServerError returns true when this get location service unavailable response has a 5xx status code

func (*GetLocationServiceUnavailable) IsSuccess

func (o *GetLocationServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get location service unavailable response has a 2xx status code

func (*GetLocationServiceUnavailable) String

type GetLocationSublocationsBadRequest

type GetLocationSublocationsBadRequest struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetLocationSublocationsBadRequest

func NewGetLocationSublocationsBadRequest() *GetLocationSublocationsBadRequest

NewGetLocationSublocationsBadRequest creates a GetLocationSublocationsBadRequest with default headers values

func (*GetLocationSublocationsBadRequest) Error

func (*GetLocationSublocationsBadRequest) GetPayload

func (*GetLocationSublocationsBadRequest) IsClientError

func (o *GetLocationSublocationsBadRequest) IsClientError() bool

IsClientError returns true when this get location sublocations bad request response has a 4xx status code

func (*GetLocationSublocationsBadRequest) IsCode

func (o *GetLocationSublocationsBadRequest) IsCode(code int) bool

IsCode returns true when this get location sublocations bad request response a status code equal to that given

func (*GetLocationSublocationsBadRequest) IsRedirect

func (o *GetLocationSublocationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get location sublocations bad request response has a 3xx status code

func (*GetLocationSublocationsBadRequest) IsServerError

func (o *GetLocationSublocationsBadRequest) IsServerError() bool

IsServerError returns true when this get location sublocations bad request response has a 5xx status code

func (*GetLocationSublocationsBadRequest) IsSuccess

func (o *GetLocationSublocationsBadRequest) IsSuccess() bool

IsSuccess returns true when this get location sublocations bad request response has a 2xx status code

func (*GetLocationSublocationsBadRequest) String

type GetLocationSublocationsForbidden

type GetLocationSublocationsForbidden struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetLocationSublocationsForbidden

func NewGetLocationSublocationsForbidden() *GetLocationSublocationsForbidden

NewGetLocationSublocationsForbidden creates a GetLocationSublocationsForbidden with default headers values

func (*GetLocationSublocationsForbidden) Error

func (*GetLocationSublocationsForbidden) GetPayload

func (*GetLocationSublocationsForbidden) IsClientError

func (o *GetLocationSublocationsForbidden) IsClientError() bool

IsClientError returns true when this get location sublocations forbidden response has a 4xx status code

func (*GetLocationSublocationsForbidden) IsCode

func (o *GetLocationSublocationsForbidden) IsCode(code int) bool

IsCode returns true when this get location sublocations forbidden response a status code equal to that given

func (*GetLocationSublocationsForbidden) IsRedirect

func (o *GetLocationSublocationsForbidden) IsRedirect() bool

IsRedirect returns true when this get location sublocations forbidden response has a 3xx status code

func (*GetLocationSublocationsForbidden) IsServerError

func (o *GetLocationSublocationsForbidden) IsServerError() bool

IsServerError returns true when this get location sublocations forbidden response has a 5xx status code

func (*GetLocationSublocationsForbidden) IsSuccess

func (o *GetLocationSublocationsForbidden) IsSuccess() bool

IsSuccess returns true when this get location sublocations forbidden response has a 2xx status code

func (*GetLocationSublocationsForbidden) String

type GetLocationSublocationsGatewayTimeout

type GetLocationSublocationsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetLocationSublocationsGatewayTimeout

func NewGetLocationSublocationsGatewayTimeout() *GetLocationSublocationsGatewayTimeout

NewGetLocationSublocationsGatewayTimeout creates a GetLocationSublocationsGatewayTimeout with default headers values

func (*GetLocationSublocationsGatewayTimeout) Error

func (*GetLocationSublocationsGatewayTimeout) GetPayload

func (*GetLocationSublocationsGatewayTimeout) IsClientError

func (o *GetLocationSublocationsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get location sublocations gateway timeout response has a 4xx status code

func (*GetLocationSublocationsGatewayTimeout) IsCode

IsCode returns true when this get location sublocations gateway timeout response a status code equal to that given

func (*GetLocationSublocationsGatewayTimeout) IsRedirect

IsRedirect returns true when this get location sublocations gateway timeout response has a 3xx status code

func (*GetLocationSublocationsGatewayTimeout) IsServerError

func (o *GetLocationSublocationsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get location sublocations gateway timeout response has a 5xx status code

func (*GetLocationSublocationsGatewayTimeout) IsSuccess

IsSuccess returns true when this get location sublocations gateway timeout response has a 2xx status code

func (*GetLocationSublocationsGatewayTimeout) String

type GetLocationSublocationsInternalServerError

type GetLocationSublocationsInternalServerError struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetLocationSublocationsInternalServerError

func NewGetLocationSublocationsInternalServerError() *GetLocationSublocationsInternalServerError

NewGetLocationSublocationsInternalServerError creates a GetLocationSublocationsInternalServerError with default headers values

func (*GetLocationSublocationsInternalServerError) Error

func (*GetLocationSublocationsInternalServerError) GetPayload

func (*GetLocationSublocationsInternalServerError) IsClientError

IsClientError returns true when this get location sublocations internal server error response has a 4xx status code

func (*GetLocationSublocationsInternalServerError) IsCode

IsCode returns true when this get location sublocations internal server error response a status code equal to that given

func (*GetLocationSublocationsInternalServerError) IsRedirect

IsRedirect returns true when this get location sublocations internal server error response has a 3xx status code

func (*GetLocationSublocationsInternalServerError) IsServerError

IsServerError returns true when this get location sublocations internal server error response has a 5xx status code

func (*GetLocationSublocationsInternalServerError) IsSuccess

IsSuccess returns true when this get location sublocations internal server error response has a 2xx status code

func (*GetLocationSublocationsInternalServerError) String

type GetLocationSublocationsNotFound

type GetLocationSublocationsNotFound struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetLocationSublocationsNotFound

func NewGetLocationSublocationsNotFound() *GetLocationSublocationsNotFound

NewGetLocationSublocationsNotFound creates a GetLocationSublocationsNotFound with default headers values

func (*GetLocationSublocationsNotFound) Error

func (*GetLocationSublocationsNotFound) GetPayload

func (*GetLocationSublocationsNotFound) IsClientError

func (o *GetLocationSublocationsNotFound) IsClientError() bool

IsClientError returns true when this get location sublocations not found response has a 4xx status code

func (*GetLocationSublocationsNotFound) IsCode

func (o *GetLocationSublocationsNotFound) IsCode(code int) bool

IsCode returns true when this get location sublocations not found response a status code equal to that given

func (*GetLocationSublocationsNotFound) IsRedirect

func (o *GetLocationSublocationsNotFound) IsRedirect() bool

IsRedirect returns true when this get location sublocations not found response has a 3xx status code

func (*GetLocationSublocationsNotFound) IsServerError

func (o *GetLocationSublocationsNotFound) IsServerError() bool

IsServerError returns true when this get location sublocations not found response has a 5xx status code

func (*GetLocationSublocationsNotFound) IsSuccess

func (o *GetLocationSublocationsNotFound) IsSuccess() bool

IsSuccess returns true when this get location sublocations not found response has a 2xx status code

func (*GetLocationSublocationsNotFound) String

type GetLocationSublocationsOK

type GetLocationSublocationsOK struct {
	Payload *models.LocationEntityListing
}

GetLocationSublocationsOK describes a response with status code 200, with default header values.

successful operation

func NewGetLocationSublocationsOK

func NewGetLocationSublocationsOK() *GetLocationSublocationsOK

NewGetLocationSublocationsOK creates a GetLocationSublocationsOK with default headers values

func (*GetLocationSublocationsOK) Error

func (o *GetLocationSublocationsOK) Error() string

func (*GetLocationSublocationsOK) GetPayload

func (*GetLocationSublocationsOK) IsClientError

func (o *GetLocationSublocationsOK) IsClientError() bool

IsClientError returns true when this get location sublocations o k response has a 4xx status code

func (*GetLocationSublocationsOK) IsCode

func (o *GetLocationSublocationsOK) IsCode(code int) bool

IsCode returns true when this get location sublocations o k response a status code equal to that given

func (*GetLocationSublocationsOK) IsRedirect

func (o *GetLocationSublocationsOK) IsRedirect() bool

IsRedirect returns true when this get location sublocations o k response has a 3xx status code

func (*GetLocationSublocationsOK) IsServerError

func (o *GetLocationSublocationsOK) IsServerError() bool

IsServerError returns true when this get location sublocations o k response has a 5xx status code

func (*GetLocationSublocationsOK) IsSuccess

func (o *GetLocationSublocationsOK) IsSuccess() bool

IsSuccess returns true when this get location sublocations o k response has a 2xx status code

func (*GetLocationSublocationsOK) String

func (o *GetLocationSublocationsOK) String() string

type GetLocationSublocationsParams

type GetLocationSublocationsParams struct {

	/* LocationID.

	   Location ID
	*/
	LocationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLocationSublocationsParams contains all the parameters to send to the API endpoint

for the get location sublocations operation.

Typically these are written to a http.Request.

func NewGetLocationSublocationsParams

func NewGetLocationSublocationsParams() *GetLocationSublocationsParams

NewGetLocationSublocationsParams creates a new GetLocationSublocationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLocationSublocationsParamsWithContext

func NewGetLocationSublocationsParamsWithContext(ctx context.Context) *GetLocationSublocationsParams

NewGetLocationSublocationsParamsWithContext creates a new GetLocationSublocationsParams object with the ability to set a context for a request.

func NewGetLocationSublocationsParamsWithHTTPClient

func NewGetLocationSublocationsParamsWithHTTPClient(client *http.Client) *GetLocationSublocationsParams

NewGetLocationSublocationsParamsWithHTTPClient creates a new GetLocationSublocationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLocationSublocationsParamsWithTimeout

func NewGetLocationSublocationsParamsWithTimeout(timeout time.Duration) *GetLocationSublocationsParams

NewGetLocationSublocationsParamsWithTimeout creates a new GetLocationSublocationsParams object with the ability to set a timeout on a request.

func (*GetLocationSublocationsParams) SetContext

func (o *GetLocationSublocationsParams) SetContext(ctx context.Context)

SetContext adds the context to the get location sublocations params

func (*GetLocationSublocationsParams) SetDefaults

func (o *GetLocationSublocationsParams) SetDefaults()

SetDefaults hydrates default values in the get location sublocations params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationSublocationsParams) SetHTTPClient

func (o *GetLocationSublocationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get location sublocations params

func (*GetLocationSublocationsParams) SetLocationID

func (o *GetLocationSublocationsParams) SetLocationID(locationID string)

SetLocationID adds the locationId to the get location sublocations params

func (*GetLocationSublocationsParams) SetTimeout

func (o *GetLocationSublocationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get location sublocations params

func (*GetLocationSublocationsParams) WithContext

WithContext adds the context to the get location sublocations params

func (*GetLocationSublocationsParams) WithDefaults

WithDefaults hydrates default values in the get location sublocations params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationSublocationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get location sublocations params

func (*GetLocationSublocationsParams) WithLocationID

WithLocationID adds the locationID to the get location sublocations params

func (*GetLocationSublocationsParams) WithTimeout

WithTimeout adds the timeout to the get location sublocations params

func (*GetLocationSublocationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLocationSublocationsReader

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

GetLocationSublocationsReader is a Reader for the GetLocationSublocations structure.

func (*GetLocationSublocationsReader) ReadResponse

func (o *GetLocationSublocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLocationSublocationsRequestEntityTooLarge

type GetLocationSublocationsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetLocationSublocationsRequestEntityTooLarge

func NewGetLocationSublocationsRequestEntityTooLarge() *GetLocationSublocationsRequestEntityTooLarge

NewGetLocationSublocationsRequestEntityTooLarge creates a GetLocationSublocationsRequestEntityTooLarge with default headers values

func (*GetLocationSublocationsRequestEntityTooLarge) Error

func (*GetLocationSublocationsRequestEntityTooLarge) GetPayload

func (*GetLocationSublocationsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get location sublocations request entity too large response has a 4xx status code

func (*GetLocationSublocationsRequestEntityTooLarge) IsCode

IsCode returns true when this get location sublocations request entity too large response a status code equal to that given

func (*GetLocationSublocationsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get location sublocations request entity too large response has a 3xx status code

func (*GetLocationSublocationsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get location sublocations request entity too large response has a 5xx status code

func (*GetLocationSublocationsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get location sublocations request entity too large response has a 2xx status code

func (*GetLocationSublocationsRequestEntityTooLarge) String

type GetLocationSublocationsRequestTimeout

type GetLocationSublocationsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetLocationSublocationsRequestTimeout

func NewGetLocationSublocationsRequestTimeout() *GetLocationSublocationsRequestTimeout

NewGetLocationSublocationsRequestTimeout creates a GetLocationSublocationsRequestTimeout with default headers values

func (*GetLocationSublocationsRequestTimeout) Error

func (*GetLocationSublocationsRequestTimeout) GetPayload

func (*GetLocationSublocationsRequestTimeout) IsClientError

func (o *GetLocationSublocationsRequestTimeout) IsClientError() bool

IsClientError returns true when this get location sublocations request timeout response has a 4xx status code

func (*GetLocationSublocationsRequestTimeout) IsCode

IsCode returns true when this get location sublocations request timeout response a status code equal to that given

func (*GetLocationSublocationsRequestTimeout) IsRedirect

IsRedirect returns true when this get location sublocations request timeout response has a 3xx status code

func (*GetLocationSublocationsRequestTimeout) IsServerError

func (o *GetLocationSublocationsRequestTimeout) IsServerError() bool

IsServerError returns true when this get location sublocations request timeout response has a 5xx status code

func (*GetLocationSublocationsRequestTimeout) IsSuccess

IsSuccess returns true when this get location sublocations request timeout response has a 2xx status code

func (*GetLocationSublocationsRequestTimeout) String

type GetLocationSublocationsServiceUnavailable

type GetLocationSublocationsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetLocationSublocationsServiceUnavailable

func NewGetLocationSublocationsServiceUnavailable() *GetLocationSublocationsServiceUnavailable

NewGetLocationSublocationsServiceUnavailable creates a GetLocationSublocationsServiceUnavailable with default headers values

func (*GetLocationSublocationsServiceUnavailable) Error

func (*GetLocationSublocationsServiceUnavailable) GetPayload

func (*GetLocationSublocationsServiceUnavailable) IsClientError

IsClientError returns true when this get location sublocations service unavailable response has a 4xx status code

func (*GetLocationSublocationsServiceUnavailable) IsCode

IsCode returns true when this get location sublocations service unavailable response a status code equal to that given

func (*GetLocationSublocationsServiceUnavailable) IsRedirect

IsRedirect returns true when this get location sublocations service unavailable response has a 3xx status code

func (*GetLocationSublocationsServiceUnavailable) IsServerError

IsServerError returns true when this get location sublocations service unavailable response has a 5xx status code

func (*GetLocationSublocationsServiceUnavailable) IsSuccess

IsSuccess returns true when this get location sublocations service unavailable response has a 2xx status code

func (*GetLocationSublocationsServiceUnavailable) String

type GetLocationSublocationsTooManyRequests

type GetLocationSublocationsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetLocationSublocationsTooManyRequests

func NewGetLocationSublocationsTooManyRequests() *GetLocationSublocationsTooManyRequests

NewGetLocationSublocationsTooManyRequests creates a GetLocationSublocationsTooManyRequests with default headers values

func (*GetLocationSublocationsTooManyRequests) Error

func (*GetLocationSublocationsTooManyRequests) GetPayload

func (*GetLocationSublocationsTooManyRequests) IsClientError

func (o *GetLocationSublocationsTooManyRequests) IsClientError() bool

IsClientError returns true when this get location sublocations too many requests response has a 4xx status code

func (*GetLocationSublocationsTooManyRequests) IsCode

IsCode returns true when this get location sublocations too many requests response a status code equal to that given

func (*GetLocationSublocationsTooManyRequests) IsRedirect

IsRedirect returns true when this get location sublocations too many requests response has a 3xx status code

func (*GetLocationSublocationsTooManyRequests) IsServerError

func (o *GetLocationSublocationsTooManyRequests) IsServerError() bool

IsServerError returns true when this get location sublocations too many requests response has a 5xx status code

func (*GetLocationSublocationsTooManyRequests) IsSuccess

IsSuccess returns true when this get location sublocations too many requests response has a 2xx status code

func (*GetLocationSublocationsTooManyRequests) String

type GetLocationSublocationsUnauthorized

type GetLocationSublocationsUnauthorized struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetLocationSublocationsUnauthorized

func NewGetLocationSublocationsUnauthorized() *GetLocationSublocationsUnauthorized

NewGetLocationSublocationsUnauthorized creates a GetLocationSublocationsUnauthorized with default headers values

func (*GetLocationSublocationsUnauthorized) Error

func (*GetLocationSublocationsUnauthorized) GetPayload

func (*GetLocationSublocationsUnauthorized) IsClientError

func (o *GetLocationSublocationsUnauthorized) IsClientError() bool

IsClientError returns true when this get location sublocations unauthorized response has a 4xx status code

func (*GetLocationSublocationsUnauthorized) IsCode

IsCode returns true when this get location sublocations unauthorized response a status code equal to that given

func (*GetLocationSublocationsUnauthorized) IsRedirect

func (o *GetLocationSublocationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get location sublocations unauthorized response has a 3xx status code

func (*GetLocationSublocationsUnauthorized) IsServerError

func (o *GetLocationSublocationsUnauthorized) IsServerError() bool

IsServerError returns true when this get location sublocations unauthorized response has a 5xx status code

func (*GetLocationSublocationsUnauthorized) IsSuccess

IsSuccess returns true when this get location sublocations unauthorized response has a 2xx status code

func (*GetLocationSublocationsUnauthorized) String

type GetLocationSublocationsUnsupportedMediaType

type GetLocationSublocationsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetLocationSublocationsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetLocationSublocationsUnsupportedMediaType

func NewGetLocationSublocationsUnsupportedMediaType() *GetLocationSublocationsUnsupportedMediaType

NewGetLocationSublocationsUnsupportedMediaType creates a GetLocationSublocationsUnsupportedMediaType with default headers values

func (*GetLocationSublocationsUnsupportedMediaType) Error

func (*GetLocationSublocationsUnsupportedMediaType) GetPayload

func (*GetLocationSublocationsUnsupportedMediaType) IsClientError

IsClientError returns true when this get location sublocations unsupported media type response has a 4xx status code

func (*GetLocationSublocationsUnsupportedMediaType) IsCode

IsCode returns true when this get location sublocations unsupported media type response a status code equal to that given

func (*GetLocationSublocationsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get location sublocations unsupported media type response has a 3xx status code

func (*GetLocationSublocationsUnsupportedMediaType) IsServerError

IsServerError returns true when this get location sublocations unsupported media type response has a 5xx status code

func (*GetLocationSublocationsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get location sublocations unsupported media type response has a 2xx status code

func (*GetLocationSublocationsUnsupportedMediaType) String

type GetLocationTooManyRequests

type GetLocationTooManyRequests struct {
	Payload *models.ErrorBody
}

GetLocationTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetLocationTooManyRequests

func NewGetLocationTooManyRequests() *GetLocationTooManyRequests

NewGetLocationTooManyRequests creates a GetLocationTooManyRequests with default headers values

func (*GetLocationTooManyRequests) Error

func (*GetLocationTooManyRequests) GetPayload

func (o *GetLocationTooManyRequests) GetPayload() *models.ErrorBody

func (*GetLocationTooManyRequests) IsClientError

func (o *GetLocationTooManyRequests) IsClientError() bool

IsClientError returns true when this get location too many requests response has a 4xx status code

func (*GetLocationTooManyRequests) IsCode

func (o *GetLocationTooManyRequests) IsCode(code int) bool

IsCode returns true when this get location too many requests response a status code equal to that given

func (*GetLocationTooManyRequests) IsRedirect

func (o *GetLocationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get location too many requests response has a 3xx status code

func (*GetLocationTooManyRequests) IsServerError

func (o *GetLocationTooManyRequests) IsServerError() bool

IsServerError returns true when this get location too many requests response has a 5xx status code

func (*GetLocationTooManyRequests) IsSuccess

func (o *GetLocationTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get location too many requests response has a 2xx status code

func (*GetLocationTooManyRequests) String

func (o *GetLocationTooManyRequests) String() string

type GetLocationUnauthorized

type GetLocationUnauthorized struct {
	Payload *models.ErrorBody
}

GetLocationUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetLocationUnauthorized

func NewGetLocationUnauthorized() *GetLocationUnauthorized

NewGetLocationUnauthorized creates a GetLocationUnauthorized with default headers values

func (*GetLocationUnauthorized) Error

func (o *GetLocationUnauthorized) Error() string

func (*GetLocationUnauthorized) GetPayload

func (o *GetLocationUnauthorized) GetPayload() *models.ErrorBody

func (*GetLocationUnauthorized) IsClientError

func (o *GetLocationUnauthorized) IsClientError() bool

IsClientError returns true when this get location unauthorized response has a 4xx status code

func (*GetLocationUnauthorized) IsCode

func (o *GetLocationUnauthorized) IsCode(code int) bool

IsCode returns true when this get location unauthorized response a status code equal to that given

func (*GetLocationUnauthorized) IsRedirect

func (o *GetLocationUnauthorized) IsRedirect() bool

IsRedirect returns true when this get location unauthorized response has a 3xx status code

func (*GetLocationUnauthorized) IsServerError

func (o *GetLocationUnauthorized) IsServerError() bool

IsServerError returns true when this get location unauthorized response has a 5xx status code

func (*GetLocationUnauthorized) IsSuccess

func (o *GetLocationUnauthorized) IsSuccess() bool

IsSuccess returns true when this get location unauthorized response has a 2xx status code

func (*GetLocationUnauthorized) String

func (o *GetLocationUnauthorized) String() string

type GetLocationUnsupportedMediaType

type GetLocationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetLocationUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetLocationUnsupportedMediaType

func NewGetLocationUnsupportedMediaType() *GetLocationUnsupportedMediaType

NewGetLocationUnsupportedMediaType creates a GetLocationUnsupportedMediaType with default headers values

func (*GetLocationUnsupportedMediaType) Error

func (*GetLocationUnsupportedMediaType) GetPayload

func (*GetLocationUnsupportedMediaType) IsClientError

func (o *GetLocationUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get location unsupported media type response has a 4xx status code

func (*GetLocationUnsupportedMediaType) IsCode

func (o *GetLocationUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this get location unsupported media type response a status code equal to that given

func (*GetLocationUnsupportedMediaType) IsRedirect

func (o *GetLocationUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get location unsupported media type response has a 3xx status code

func (*GetLocationUnsupportedMediaType) IsServerError

func (o *GetLocationUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get location unsupported media type response has a 5xx status code

func (*GetLocationUnsupportedMediaType) IsSuccess

func (o *GetLocationUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this get location unsupported media type response has a 2xx status code

func (*GetLocationUnsupportedMediaType) String

type GetLocationsBadRequest

type GetLocationsBadRequest struct {
	Payload *models.ErrorBody
}

GetLocationsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetLocationsBadRequest

func NewGetLocationsBadRequest() *GetLocationsBadRequest

NewGetLocationsBadRequest creates a GetLocationsBadRequest with default headers values

func (*GetLocationsBadRequest) Error

func (o *GetLocationsBadRequest) Error() string

func (*GetLocationsBadRequest) GetPayload

func (o *GetLocationsBadRequest) GetPayload() *models.ErrorBody

func (*GetLocationsBadRequest) IsClientError

func (o *GetLocationsBadRequest) IsClientError() bool

IsClientError returns true when this get locations bad request response has a 4xx status code

func (*GetLocationsBadRequest) IsCode

func (o *GetLocationsBadRequest) IsCode(code int) bool

IsCode returns true when this get locations bad request response a status code equal to that given

func (*GetLocationsBadRequest) IsRedirect

func (o *GetLocationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get locations bad request response has a 3xx status code

func (*GetLocationsBadRequest) IsServerError

func (o *GetLocationsBadRequest) IsServerError() bool

IsServerError returns true when this get locations bad request response has a 5xx status code

func (*GetLocationsBadRequest) IsSuccess

func (o *GetLocationsBadRequest) IsSuccess() bool

IsSuccess returns true when this get locations bad request response has a 2xx status code

func (*GetLocationsBadRequest) String

func (o *GetLocationsBadRequest) String() string

type GetLocationsForbidden

type GetLocationsForbidden struct {
	Payload *models.ErrorBody
}

GetLocationsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetLocationsForbidden

func NewGetLocationsForbidden() *GetLocationsForbidden

NewGetLocationsForbidden creates a GetLocationsForbidden with default headers values

func (*GetLocationsForbidden) Error

func (o *GetLocationsForbidden) Error() string

func (*GetLocationsForbidden) GetPayload

func (o *GetLocationsForbidden) GetPayload() *models.ErrorBody

func (*GetLocationsForbidden) IsClientError

func (o *GetLocationsForbidden) IsClientError() bool

IsClientError returns true when this get locations forbidden response has a 4xx status code

func (*GetLocationsForbidden) IsCode

func (o *GetLocationsForbidden) IsCode(code int) bool

IsCode returns true when this get locations forbidden response a status code equal to that given

func (*GetLocationsForbidden) IsRedirect

func (o *GetLocationsForbidden) IsRedirect() bool

IsRedirect returns true when this get locations forbidden response has a 3xx status code

func (*GetLocationsForbidden) IsServerError

func (o *GetLocationsForbidden) IsServerError() bool

IsServerError returns true when this get locations forbidden response has a 5xx status code

func (*GetLocationsForbidden) IsSuccess

func (o *GetLocationsForbidden) IsSuccess() bool

IsSuccess returns true when this get locations forbidden response has a 2xx status code

func (*GetLocationsForbidden) String

func (o *GetLocationsForbidden) String() string

type GetLocationsGatewayTimeout

type GetLocationsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetLocationsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetLocationsGatewayTimeout

func NewGetLocationsGatewayTimeout() *GetLocationsGatewayTimeout

NewGetLocationsGatewayTimeout creates a GetLocationsGatewayTimeout with default headers values

func (*GetLocationsGatewayTimeout) Error

func (*GetLocationsGatewayTimeout) GetPayload

func (o *GetLocationsGatewayTimeout) GetPayload() *models.ErrorBody

func (*GetLocationsGatewayTimeout) IsClientError

func (o *GetLocationsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get locations gateway timeout response has a 4xx status code

func (*GetLocationsGatewayTimeout) IsCode

func (o *GetLocationsGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get locations gateway timeout response a status code equal to that given

func (*GetLocationsGatewayTimeout) IsRedirect

func (o *GetLocationsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get locations gateway timeout response has a 3xx status code

func (*GetLocationsGatewayTimeout) IsServerError

func (o *GetLocationsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get locations gateway timeout response has a 5xx status code

func (*GetLocationsGatewayTimeout) IsSuccess

func (o *GetLocationsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get locations gateway timeout response has a 2xx status code

func (*GetLocationsGatewayTimeout) String

func (o *GetLocationsGatewayTimeout) String() string

type GetLocationsInternalServerError

type GetLocationsInternalServerError struct {
	Payload *models.ErrorBody
}

GetLocationsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetLocationsInternalServerError

func NewGetLocationsInternalServerError() *GetLocationsInternalServerError

NewGetLocationsInternalServerError creates a GetLocationsInternalServerError with default headers values

func (*GetLocationsInternalServerError) Error

func (*GetLocationsInternalServerError) GetPayload

func (*GetLocationsInternalServerError) IsClientError

func (o *GetLocationsInternalServerError) IsClientError() bool

IsClientError returns true when this get locations internal server error response has a 4xx status code

func (*GetLocationsInternalServerError) IsCode

func (o *GetLocationsInternalServerError) IsCode(code int) bool

IsCode returns true when this get locations internal server error response a status code equal to that given

func (*GetLocationsInternalServerError) IsRedirect

func (o *GetLocationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get locations internal server error response has a 3xx status code

func (*GetLocationsInternalServerError) IsServerError

func (o *GetLocationsInternalServerError) IsServerError() bool

IsServerError returns true when this get locations internal server error response has a 5xx status code

func (*GetLocationsInternalServerError) IsSuccess

func (o *GetLocationsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get locations internal server error response has a 2xx status code

func (*GetLocationsInternalServerError) String

type GetLocationsNotFound

type GetLocationsNotFound struct {
	Payload *models.ErrorBody
}

GetLocationsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetLocationsNotFound

func NewGetLocationsNotFound() *GetLocationsNotFound

NewGetLocationsNotFound creates a GetLocationsNotFound with default headers values

func (*GetLocationsNotFound) Error

func (o *GetLocationsNotFound) Error() string

func (*GetLocationsNotFound) GetPayload

func (o *GetLocationsNotFound) GetPayload() *models.ErrorBody

func (*GetLocationsNotFound) IsClientError

func (o *GetLocationsNotFound) IsClientError() bool

IsClientError returns true when this get locations not found response has a 4xx status code

func (*GetLocationsNotFound) IsCode

func (o *GetLocationsNotFound) IsCode(code int) bool

IsCode returns true when this get locations not found response a status code equal to that given

func (*GetLocationsNotFound) IsRedirect

func (o *GetLocationsNotFound) IsRedirect() bool

IsRedirect returns true when this get locations not found response has a 3xx status code

func (*GetLocationsNotFound) IsServerError

func (o *GetLocationsNotFound) IsServerError() bool

IsServerError returns true when this get locations not found response has a 5xx status code

func (*GetLocationsNotFound) IsSuccess

func (o *GetLocationsNotFound) IsSuccess() bool

IsSuccess returns true when this get locations not found response has a 2xx status code

func (*GetLocationsNotFound) String

func (o *GetLocationsNotFound) String() string

type GetLocationsOK

type GetLocationsOK struct {
	Payload *models.LocationEntityListing
}

GetLocationsOK describes a response with status code 200, with default header values.

successful operation

func NewGetLocationsOK

func NewGetLocationsOK() *GetLocationsOK

NewGetLocationsOK creates a GetLocationsOK with default headers values

func (*GetLocationsOK) Error

func (o *GetLocationsOK) Error() string

func (*GetLocationsOK) GetPayload

func (o *GetLocationsOK) GetPayload() *models.LocationEntityListing

func (*GetLocationsOK) IsClientError

func (o *GetLocationsOK) IsClientError() bool

IsClientError returns true when this get locations o k response has a 4xx status code

func (*GetLocationsOK) IsCode

func (o *GetLocationsOK) IsCode(code int) bool

IsCode returns true when this get locations o k response a status code equal to that given

func (*GetLocationsOK) IsRedirect

func (o *GetLocationsOK) IsRedirect() bool

IsRedirect returns true when this get locations o k response has a 3xx status code

func (*GetLocationsOK) IsServerError

func (o *GetLocationsOK) IsServerError() bool

IsServerError returns true when this get locations o k response has a 5xx status code

func (*GetLocationsOK) IsSuccess

func (o *GetLocationsOK) IsSuccess() bool

IsSuccess returns true when this get locations o k response has a 2xx status code

func (*GetLocationsOK) String

func (o *GetLocationsOK) String() string

type GetLocationsParams

type GetLocationsParams struct {

	/* ID.

	   id
	*/
	ID []string

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

	/* SortOrder.

	   Sort order
	*/
	SortOrder *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLocationsParams contains all the parameters to send to the API endpoint

for the get locations operation.

Typically these are written to a http.Request.

func NewGetLocationsParams

func NewGetLocationsParams() *GetLocationsParams

NewGetLocationsParams creates a new GetLocationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLocationsParamsWithContext

func NewGetLocationsParamsWithContext(ctx context.Context) *GetLocationsParams

NewGetLocationsParamsWithContext creates a new GetLocationsParams object with the ability to set a context for a request.

func NewGetLocationsParamsWithHTTPClient

func NewGetLocationsParamsWithHTTPClient(client *http.Client) *GetLocationsParams

NewGetLocationsParamsWithHTTPClient creates a new GetLocationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLocationsParamsWithTimeout

func NewGetLocationsParamsWithTimeout(timeout time.Duration) *GetLocationsParams

NewGetLocationsParamsWithTimeout creates a new GetLocationsParams object with the ability to set a timeout on a request.

func (*GetLocationsParams) SetContext

func (o *GetLocationsParams) SetContext(ctx context.Context)

SetContext adds the context to the get locations params

func (*GetLocationsParams) SetDefaults

func (o *GetLocationsParams) SetDefaults()

SetDefaults hydrates default values in the get locations params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationsParams) SetHTTPClient

func (o *GetLocationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get locations params

func (*GetLocationsParams) SetID

func (o *GetLocationsParams) SetID(id []string)

SetID adds the id to the get locations params

func (*GetLocationsParams) SetPageNumber

func (o *GetLocationsParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get locations params

func (*GetLocationsParams) SetPageSize

func (o *GetLocationsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get locations params

func (*GetLocationsParams) SetSortOrder

func (o *GetLocationsParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the get locations params

func (*GetLocationsParams) SetTimeout

func (o *GetLocationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get locations params

func (*GetLocationsParams) WithContext

WithContext adds the context to the get locations params

func (*GetLocationsParams) WithDefaults

func (o *GetLocationsParams) WithDefaults() *GetLocationsParams

WithDefaults hydrates default values in the get locations params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationsParams) WithHTTPClient

func (o *GetLocationsParams) WithHTTPClient(client *http.Client) *GetLocationsParams

WithHTTPClient adds the HTTPClient to the get locations params

func (*GetLocationsParams) WithID

func (o *GetLocationsParams) WithID(id []string) *GetLocationsParams

WithID adds the id to the get locations params

func (*GetLocationsParams) WithPageNumber

func (o *GetLocationsParams) WithPageNumber(pageNumber *int32) *GetLocationsParams

WithPageNumber adds the pageNumber to the get locations params

func (*GetLocationsParams) WithPageSize

func (o *GetLocationsParams) WithPageSize(pageSize *int32) *GetLocationsParams

WithPageSize adds the pageSize to the get locations params

func (*GetLocationsParams) WithSortOrder

func (o *GetLocationsParams) WithSortOrder(sortOrder *string) *GetLocationsParams

WithSortOrder adds the sortOrder to the get locations params

func (*GetLocationsParams) WithTimeout

func (o *GetLocationsParams) WithTimeout(timeout time.Duration) *GetLocationsParams

WithTimeout adds the timeout to the get locations params

func (*GetLocationsParams) WriteToRequest

func (o *GetLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLocationsReader

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

GetLocationsReader is a Reader for the GetLocations structure.

func (*GetLocationsReader) ReadResponse

func (o *GetLocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLocationsRequestEntityTooLarge

type GetLocationsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetLocationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetLocationsRequestEntityTooLarge

func NewGetLocationsRequestEntityTooLarge() *GetLocationsRequestEntityTooLarge

NewGetLocationsRequestEntityTooLarge creates a GetLocationsRequestEntityTooLarge with default headers values

func (*GetLocationsRequestEntityTooLarge) Error

func (*GetLocationsRequestEntityTooLarge) GetPayload

func (*GetLocationsRequestEntityTooLarge) IsClientError

func (o *GetLocationsRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get locations request entity too large response has a 4xx status code

func (*GetLocationsRequestEntityTooLarge) IsCode

func (o *GetLocationsRequestEntityTooLarge) IsCode(code int) bool

IsCode returns true when this get locations request entity too large response a status code equal to that given

func (*GetLocationsRequestEntityTooLarge) IsRedirect

func (o *GetLocationsRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this get locations request entity too large response has a 3xx status code

func (*GetLocationsRequestEntityTooLarge) IsServerError

func (o *GetLocationsRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get locations request entity too large response has a 5xx status code

func (*GetLocationsRequestEntityTooLarge) IsSuccess

func (o *GetLocationsRequestEntityTooLarge) IsSuccess() bool

IsSuccess returns true when this get locations request entity too large response has a 2xx status code

func (*GetLocationsRequestEntityTooLarge) String

type GetLocationsRequestTimeout

type GetLocationsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetLocationsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetLocationsRequestTimeout

func NewGetLocationsRequestTimeout() *GetLocationsRequestTimeout

NewGetLocationsRequestTimeout creates a GetLocationsRequestTimeout with default headers values

func (*GetLocationsRequestTimeout) Error

func (*GetLocationsRequestTimeout) GetPayload

func (o *GetLocationsRequestTimeout) GetPayload() *models.ErrorBody

func (*GetLocationsRequestTimeout) IsClientError

func (o *GetLocationsRequestTimeout) IsClientError() bool

IsClientError returns true when this get locations request timeout response has a 4xx status code

func (*GetLocationsRequestTimeout) IsCode

func (o *GetLocationsRequestTimeout) IsCode(code int) bool

IsCode returns true when this get locations request timeout response a status code equal to that given

func (*GetLocationsRequestTimeout) IsRedirect

func (o *GetLocationsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get locations request timeout response has a 3xx status code

func (*GetLocationsRequestTimeout) IsServerError

func (o *GetLocationsRequestTimeout) IsServerError() bool

IsServerError returns true when this get locations request timeout response has a 5xx status code

func (*GetLocationsRequestTimeout) IsSuccess

func (o *GetLocationsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get locations request timeout response has a 2xx status code

func (*GetLocationsRequestTimeout) String

func (o *GetLocationsRequestTimeout) String() string

type GetLocationsSearchBadRequest

type GetLocationsSearchBadRequest struct {
	Payload *models.ErrorBody
}

GetLocationsSearchBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetLocationsSearchBadRequest

func NewGetLocationsSearchBadRequest() *GetLocationsSearchBadRequest

NewGetLocationsSearchBadRequest creates a GetLocationsSearchBadRequest with default headers values

func (*GetLocationsSearchBadRequest) Error

func (*GetLocationsSearchBadRequest) GetPayload

func (*GetLocationsSearchBadRequest) IsClientError

func (o *GetLocationsSearchBadRequest) IsClientError() bool

IsClientError returns true when this get locations search bad request response has a 4xx status code

func (*GetLocationsSearchBadRequest) IsCode

func (o *GetLocationsSearchBadRequest) IsCode(code int) bool

IsCode returns true when this get locations search bad request response a status code equal to that given

func (*GetLocationsSearchBadRequest) IsRedirect

func (o *GetLocationsSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this get locations search bad request response has a 3xx status code

func (*GetLocationsSearchBadRequest) IsServerError

func (o *GetLocationsSearchBadRequest) IsServerError() bool

IsServerError returns true when this get locations search bad request response has a 5xx status code

func (*GetLocationsSearchBadRequest) IsSuccess

func (o *GetLocationsSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this get locations search bad request response has a 2xx status code

func (*GetLocationsSearchBadRequest) String

type GetLocationsSearchForbidden

type GetLocationsSearchForbidden struct {
	Payload *models.ErrorBody
}

GetLocationsSearchForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetLocationsSearchForbidden

func NewGetLocationsSearchForbidden() *GetLocationsSearchForbidden

NewGetLocationsSearchForbidden creates a GetLocationsSearchForbidden with default headers values

func (*GetLocationsSearchForbidden) Error

func (*GetLocationsSearchForbidden) GetPayload

func (o *GetLocationsSearchForbidden) GetPayload() *models.ErrorBody

func (*GetLocationsSearchForbidden) IsClientError

func (o *GetLocationsSearchForbidden) IsClientError() bool

IsClientError returns true when this get locations search forbidden response has a 4xx status code

func (*GetLocationsSearchForbidden) IsCode

func (o *GetLocationsSearchForbidden) IsCode(code int) bool

IsCode returns true when this get locations search forbidden response a status code equal to that given

func (*GetLocationsSearchForbidden) IsRedirect

func (o *GetLocationsSearchForbidden) IsRedirect() bool

IsRedirect returns true when this get locations search forbidden response has a 3xx status code

func (*GetLocationsSearchForbidden) IsServerError

func (o *GetLocationsSearchForbidden) IsServerError() bool

IsServerError returns true when this get locations search forbidden response has a 5xx status code

func (*GetLocationsSearchForbidden) IsSuccess

func (o *GetLocationsSearchForbidden) IsSuccess() bool

IsSuccess returns true when this get locations search forbidden response has a 2xx status code

func (*GetLocationsSearchForbidden) String

func (o *GetLocationsSearchForbidden) String() string

type GetLocationsSearchGatewayTimeout

type GetLocationsSearchGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetLocationsSearchGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetLocationsSearchGatewayTimeout

func NewGetLocationsSearchGatewayTimeout() *GetLocationsSearchGatewayTimeout

NewGetLocationsSearchGatewayTimeout creates a GetLocationsSearchGatewayTimeout with default headers values

func (*GetLocationsSearchGatewayTimeout) Error

func (*GetLocationsSearchGatewayTimeout) GetPayload

func (*GetLocationsSearchGatewayTimeout) IsClientError

func (o *GetLocationsSearchGatewayTimeout) IsClientError() bool

IsClientError returns true when this get locations search gateway timeout response has a 4xx status code

func (*GetLocationsSearchGatewayTimeout) IsCode

func (o *GetLocationsSearchGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get locations search gateway timeout response a status code equal to that given

func (*GetLocationsSearchGatewayTimeout) IsRedirect

func (o *GetLocationsSearchGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get locations search gateway timeout response has a 3xx status code

func (*GetLocationsSearchGatewayTimeout) IsServerError

func (o *GetLocationsSearchGatewayTimeout) IsServerError() bool

IsServerError returns true when this get locations search gateway timeout response has a 5xx status code

func (*GetLocationsSearchGatewayTimeout) IsSuccess

func (o *GetLocationsSearchGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get locations search gateway timeout response has a 2xx status code

func (*GetLocationsSearchGatewayTimeout) String

type GetLocationsSearchInternalServerError

type GetLocationsSearchInternalServerError struct {
	Payload *models.ErrorBody
}

GetLocationsSearchInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetLocationsSearchInternalServerError

func NewGetLocationsSearchInternalServerError() *GetLocationsSearchInternalServerError

NewGetLocationsSearchInternalServerError creates a GetLocationsSearchInternalServerError with default headers values

func (*GetLocationsSearchInternalServerError) Error

func (*GetLocationsSearchInternalServerError) GetPayload

func (*GetLocationsSearchInternalServerError) IsClientError

func (o *GetLocationsSearchInternalServerError) IsClientError() bool

IsClientError returns true when this get locations search internal server error response has a 4xx status code

func (*GetLocationsSearchInternalServerError) IsCode

IsCode returns true when this get locations search internal server error response a status code equal to that given

func (*GetLocationsSearchInternalServerError) IsRedirect

IsRedirect returns true when this get locations search internal server error response has a 3xx status code

func (*GetLocationsSearchInternalServerError) IsServerError

func (o *GetLocationsSearchInternalServerError) IsServerError() bool

IsServerError returns true when this get locations search internal server error response has a 5xx status code

func (*GetLocationsSearchInternalServerError) IsSuccess

IsSuccess returns true when this get locations search internal server error response has a 2xx status code

func (*GetLocationsSearchInternalServerError) String

type GetLocationsSearchNotFound

type GetLocationsSearchNotFound struct {
	Payload *models.ErrorBody
}

GetLocationsSearchNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetLocationsSearchNotFound

func NewGetLocationsSearchNotFound() *GetLocationsSearchNotFound

NewGetLocationsSearchNotFound creates a GetLocationsSearchNotFound with default headers values

func (*GetLocationsSearchNotFound) Error

func (*GetLocationsSearchNotFound) GetPayload

func (o *GetLocationsSearchNotFound) GetPayload() *models.ErrorBody

func (*GetLocationsSearchNotFound) IsClientError

func (o *GetLocationsSearchNotFound) IsClientError() bool

IsClientError returns true when this get locations search not found response has a 4xx status code

func (*GetLocationsSearchNotFound) IsCode

func (o *GetLocationsSearchNotFound) IsCode(code int) bool

IsCode returns true when this get locations search not found response a status code equal to that given

func (*GetLocationsSearchNotFound) IsRedirect

func (o *GetLocationsSearchNotFound) IsRedirect() bool

IsRedirect returns true when this get locations search not found response has a 3xx status code

func (*GetLocationsSearchNotFound) IsServerError

func (o *GetLocationsSearchNotFound) IsServerError() bool

IsServerError returns true when this get locations search not found response has a 5xx status code

func (*GetLocationsSearchNotFound) IsSuccess

func (o *GetLocationsSearchNotFound) IsSuccess() bool

IsSuccess returns true when this get locations search not found response has a 2xx status code

func (*GetLocationsSearchNotFound) String

func (o *GetLocationsSearchNotFound) String() string

type GetLocationsSearchOK

type GetLocationsSearchOK struct {
	Payload *models.LocationsSearchResponse
}

GetLocationsSearchOK describes a response with status code 200, with default header values.

successful operation

func NewGetLocationsSearchOK

func NewGetLocationsSearchOK() *GetLocationsSearchOK

NewGetLocationsSearchOK creates a GetLocationsSearchOK with default headers values

func (*GetLocationsSearchOK) Error

func (o *GetLocationsSearchOK) Error() string

func (*GetLocationsSearchOK) GetPayload

func (*GetLocationsSearchOK) IsClientError

func (o *GetLocationsSearchOK) IsClientError() bool

IsClientError returns true when this get locations search o k response has a 4xx status code

func (*GetLocationsSearchOK) IsCode

func (o *GetLocationsSearchOK) IsCode(code int) bool

IsCode returns true when this get locations search o k response a status code equal to that given

func (*GetLocationsSearchOK) IsRedirect

func (o *GetLocationsSearchOK) IsRedirect() bool

IsRedirect returns true when this get locations search o k response has a 3xx status code

func (*GetLocationsSearchOK) IsServerError

func (o *GetLocationsSearchOK) IsServerError() bool

IsServerError returns true when this get locations search o k response has a 5xx status code

func (*GetLocationsSearchOK) IsSuccess

func (o *GetLocationsSearchOK) IsSuccess() bool

IsSuccess returns true when this get locations search o k response has a 2xx status code

func (*GetLocationsSearchOK) String

func (o *GetLocationsSearchOK) String() string

type GetLocationsSearchParams

type GetLocationsSearchParams struct {

	/* Expand.

	   Provides more details about a specified resource
	*/
	Expand []string

	/* Q64.

	   q64
	*/
	Q64 string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLocationsSearchParams contains all the parameters to send to the API endpoint

for the get locations search operation.

Typically these are written to a http.Request.

func NewGetLocationsSearchParams

func NewGetLocationsSearchParams() *GetLocationsSearchParams

NewGetLocationsSearchParams creates a new GetLocationsSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLocationsSearchParamsWithContext

func NewGetLocationsSearchParamsWithContext(ctx context.Context) *GetLocationsSearchParams

NewGetLocationsSearchParamsWithContext creates a new GetLocationsSearchParams object with the ability to set a context for a request.

func NewGetLocationsSearchParamsWithHTTPClient

func NewGetLocationsSearchParamsWithHTTPClient(client *http.Client) *GetLocationsSearchParams

NewGetLocationsSearchParamsWithHTTPClient creates a new GetLocationsSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetLocationsSearchParamsWithTimeout

func NewGetLocationsSearchParamsWithTimeout(timeout time.Duration) *GetLocationsSearchParams

NewGetLocationsSearchParamsWithTimeout creates a new GetLocationsSearchParams object with the ability to set a timeout on a request.

func (*GetLocationsSearchParams) SetContext

func (o *GetLocationsSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the get locations search params

func (*GetLocationsSearchParams) SetDefaults

func (o *GetLocationsSearchParams) SetDefaults()

SetDefaults hydrates default values in the get locations search params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationsSearchParams) SetExpand

func (o *GetLocationsSearchParams) SetExpand(expand []string)

SetExpand adds the expand to the get locations search params

func (*GetLocationsSearchParams) SetHTTPClient

func (o *GetLocationsSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get locations search params

func (*GetLocationsSearchParams) SetQ64

func (o *GetLocationsSearchParams) SetQ64(q64 string)

SetQ64 adds the q64 to the get locations search params

func (*GetLocationsSearchParams) SetTimeout

func (o *GetLocationsSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get locations search params

func (*GetLocationsSearchParams) WithContext

WithContext adds the context to the get locations search params

func (*GetLocationsSearchParams) WithDefaults

WithDefaults hydrates default values in the get locations search params (not the query body).

All values with no default are reset to their zero value.

func (*GetLocationsSearchParams) WithExpand

func (o *GetLocationsSearchParams) WithExpand(expand []string) *GetLocationsSearchParams

WithExpand adds the expand to the get locations search params

func (*GetLocationsSearchParams) WithHTTPClient

func (o *GetLocationsSearchParams) WithHTTPClient(client *http.Client) *GetLocationsSearchParams

WithHTTPClient adds the HTTPClient to the get locations search params

func (*GetLocationsSearchParams) WithQ64

WithQ64 adds the q64 to the get locations search params

func (*GetLocationsSearchParams) WithTimeout

WithTimeout adds the timeout to the get locations search params

func (*GetLocationsSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLocationsSearchReader

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

GetLocationsSearchReader is a Reader for the GetLocationsSearch structure.

func (*GetLocationsSearchReader) ReadResponse

func (o *GetLocationsSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLocationsSearchRequestEntityTooLarge

type GetLocationsSearchRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetLocationsSearchRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetLocationsSearchRequestEntityTooLarge

func NewGetLocationsSearchRequestEntityTooLarge() *GetLocationsSearchRequestEntityTooLarge

NewGetLocationsSearchRequestEntityTooLarge creates a GetLocationsSearchRequestEntityTooLarge with default headers values

func (*GetLocationsSearchRequestEntityTooLarge) Error

func (*GetLocationsSearchRequestEntityTooLarge) GetPayload

func (*GetLocationsSearchRequestEntityTooLarge) IsClientError

func (o *GetLocationsSearchRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get locations search request entity too large response has a 4xx status code

func (*GetLocationsSearchRequestEntityTooLarge) IsCode

IsCode returns true when this get locations search request entity too large response a status code equal to that given

func (*GetLocationsSearchRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get locations search request entity too large response has a 3xx status code

func (*GetLocationsSearchRequestEntityTooLarge) IsServerError

func (o *GetLocationsSearchRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get locations search request entity too large response has a 5xx status code

func (*GetLocationsSearchRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get locations search request entity too large response has a 2xx status code

func (*GetLocationsSearchRequestEntityTooLarge) String

type GetLocationsSearchRequestTimeout

type GetLocationsSearchRequestTimeout struct {
	Payload *models.ErrorBody
}

GetLocationsSearchRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetLocationsSearchRequestTimeout

func NewGetLocationsSearchRequestTimeout() *GetLocationsSearchRequestTimeout

NewGetLocationsSearchRequestTimeout creates a GetLocationsSearchRequestTimeout with default headers values

func (*GetLocationsSearchRequestTimeout) Error

func (*GetLocationsSearchRequestTimeout) GetPayload

func (*GetLocationsSearchRequestTimeout) IsClientError

func (o *GetLocationsSearchRequestTimeout) IsClientError() bool

IsClientError returns true when this get locations search request timeout response has a 4xx status code

func (*GetLocationsSearchRequestTimeout) IsCode

func (o *GetLocationsSearchRequestTimeout) IsCode(code int) bool

IsCode returns true when this get locations search request timeout response a status code equal to that given

func (*GetLocationsSearchRequestTimeout) IsRedirect

func (o *GetLocationsSearchRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get locations search request timeout response has a 3xx status code

func (*GetLocationsSearchRequestTimeout) IsServerError

func (o *GetLocationsSearchRequestTimeout) IsServerError() bool

IsServerError returns true when this get locations search request timeout response has a 5xx status code

func (*GetLocationsSearchRequestTimeout) IsSuccess

func (o *GetLocationsSearchRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get locations search request timeout response has a 2xx status code

func (*GetLocationsSearchRequestTimeout) String

type GetLocationsSearchServiceUnavailable

type GetLocationsSearchServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetLocationsSearchServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetLocationsSearchServiceUnavailable

func NewGetLocationsSearchServiceUnavailable() *GetLocationsSearchServiceUnavailable

NewGetLocationsSearchServiceUnavailable creates a GetLocationsSearchServiceUnavailable with default headers values

func (*GetLocationsSearchServiceUnavailable) Error

func (*GetLocationsSearchServiceUnavailable) GetPayload

func (*GetLocationsSearchServiceUnavailable) IsClientError

func (o *GetLocationsSearchServiceUnavailable) IsClientError() bool

IsClientError returns true when this get locations search service unavailable response has a 4xx status code

func (*GetLocationsSearchServiceUnavailable) IsCode

IsCode returns true when this get locations search service unavailable response a status code equal to that given

func (*GetLocationsSearchServiceUnavailable) IsRedirect

IsRedirect returns true when this get locations search service unavailable response has a 3xx status code

func (*GetLocationsSearchServiceUnavailable) IsServerError

func (o *GetLocationsSearchServiceUnavailable) IsServerError() bool

IsServerError returns true when this get locations search service unavailable response has a 5xx status code

func (*GetLocationsSearchServiceUnavailable) IsSuccess

IsSuccess returns true when this get locations search service unavailable response has a 2xx status code

func (*GetLocationsSearchServiceUnavailable) String

type GetLocationsSearchTooManyRequests

type GetLocationsSearchTooManyRequests struct {
	Payload *models.ErrorBody
}

GetLocationsSearchTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetLocationsSearchTooManyRequests

func NewGetLocationsSearchTooManyRequests() *GetLocationsSearchTooManyRequests

NewGetLocationsSearchTooManyRequests creates a GetLocationsSearchTooManyRequests with default headers values

func (*GetLocationsSearchTooManyRequests) Error

func (*GetLocationsSearchTooManyRequests) GetPayload

func (*GetLocationsSearchTooManyRequests) IsClientError

func (o *GetLocationsSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this get locations search too many requests response has a 4xx status code

func (*GetLocationsSearchTooManyRequests) IsCode

func (o *GetLocationsSearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this get locations search too many requests response a status code equal to that given

func (*GetLocationsSearchTooManyRequests) IsRedirect

func (o *GetLocationsSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get locations search too many requests response has a 3xx status code

func (*GetLocationsSearchTooManyRequests) IsServerError

func (o *GetLocationsSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this get locations search too many requests response has a 5xx status code

func (*GetLocationsSearchTooManyRequests) IsSuccess

func (o *GetLocationsSearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get locations search too many requests response has a 2xx status code

func (*GetLocationsSearchTooManyRequests) String

type GetLocationsSearchUnauthorized

type GetLocationsSearchUnauthorized struct {
	Payload *models.ErrorBody
}

GetLocationsSearchUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetLocationsSearchUnauthorized

func NewGetLocationsSearchUnauthorized() *GetLocationsSearchUnauthorized

NewGetLocationsSearchUnauthorized creates a GetLocationsSearchUnauthorized with default headers values

func (*GetLocationsSearchUnauthorized) Error

func (*GetLocationsSearchUnauthorized) GetPayload

func (*GetLocationsSearchUnauthorized) IsClientError

func (o *GetLocationsSearchUnauthorized) IsClientError() bool

IsClientError returns true when this get locations search unauthorized response has a 4xx status code

func (*GetLocationsSearchUnauthorized) IsCode

func (o *GetLocationsSearchUnauthorized) IsCode(code int) bool

IsCode returns true when this get locations search unauthorized response a status code equal to that given

func (*GetLocationsSearchUnauthorized) IsRedirect

func (o *GetLocationsSearchUnauthorized) IsRedirect() bool

IsRedirect returns true when this get locations search unauthorized response has a 3xx status code

func (*GetLocationsSearchUnauthorized) IsServerError

func (o *GetLocationsSearchUnauthorized) IsServerError() bool

IsServerError returns true when this get locations search unauthorized response has a 5xx status code

func (*GetLocationsSearchUnauthorized) IsSuccess

func (o *GetLocationsSearchUnauthorized) IsSuccess() bool

IsSuccess returns true when this get locations search unauthorized response has a 2xx status code

func (*GetLocationsSearchUnauthorized) String

type GetLocationsSearchUnsupportedMediaType

type GetLocationsSearchUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetLocationsSearchUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetLocationsSearchUnsupportedMediaType

func NewGetLocationsSearchUnsupportedMediaType() *GetLocationsSearchUnsupportedMediaType

NewGetLocationsSearchUnsupportedMediaType creates a GetLocationsSearchUnsupportedMediaType with default headers values

func (*GetLocationsSearchUnsupportedMediaType) Error

func (*GetLocationsSearchUnsupportedMediaType) GetPayload

func (*GetLocationsSearchUnsupportedMediaType) IsClientError

func (o *GetLocationsSearchUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get locations search unsupported media type response has a 4xx status code

func (*GetLocationsSearchUnsupportedMediaType) IsCode

IsCode returns true when this get locations search unsupported media type response a status code equal to that given

func (*GetLocationsSearchUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get locations search unsupported media type response has a 3xx status code

func (*GetLocationsSearchUnsupportedMediaType) IsServerError

func (o *GetLocationsSearchUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get locations search unsupported media type response has a 5xx status code

func (*GetLocationsSearchUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get locations search unsupported media type response has a 2xx status code

func (*GetLocationsSearchUnsupportedMediaType) String

type GetLocationsServiceUnavailable

type GetLocationsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetLocationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetLocationsServiceUnavailable

func NewGetLocationsServiceUnavailable() *GetLocationsServiceUnavailable

NewGetLocationsServiceUnavailable creates a GetLocationsServiceUnavailable with default headers values

func (*GetLocationsServiceUnavailable) Error

func (*GetLocationsServiceUnavailable) GetPayload

func (*GetLocationsServiceUnavailable) IsClientError

func (o *GetLocationsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get locations service unavailable response has a 4xx status code

func (*GetLocationsServiceUnavailable) IsCode

func (o *GetLocationsServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get locations service unavailable response a status code equal to that given

func (*GetLocationsServiceUnavailable) IsRedirect

func (o *GetLocationsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get locations service unavailable response has a 3xx status code

func (*GetLocationsServiceUnavailable) IsServerError

func (o *GetLocationsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get locations service unavailable response has a 5xx status code

func (*GetLocationsServiceUnavailable) IsSuccess

func (o *GetLocationsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get locations service unavailable response has a 2xx status code

func (*GetLocationsServiceUnavailable) String

type GetLocationsTooManyRequests

type GetLocationsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetLocationsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetLocationsTooManyRequests

func NewGetLocationsTooManyRequests() *GetLocationsTooManyRequests

NewGetLocationsTooManyRequests creates a GetLocationsTooManyRequests with default headers values

func (*GetLocationsTooManyRequests) Error

func (*GetLocationsTooManyRequests) GetPayload

func (o *GetLocationsTooManyRequests) GetPayload() *models.ErrorBody

func (*GetLocationsTooManyRequests) IsClientError

func (o *GetLocationsTooManyRequests) IsClientError() bool

IsClientError returns true when this get locations too many requests response has a 4xx status code

func (*GetLocationsTooManyRequests) IsCode

func (o *GetLocationsTooManyRequests) IsCode(code int) bool

IsCode returns true when this get locations too many requests response a status code equal to that given

func (*GetLocationsTooManyRequests) IsRedirect

func (o *GetLocationsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get locations too many requests response has a 3xx status code

func (*GetLocationsTooManyRequests) IsServerError

func (o *GetLocationsTooManyRequests) IsServerError() bool

IsServerError returns true when this get locations too many requests response has a 5xx status code

func (*GetLocationsTooManyRequests) IsSuccess

func (o *GetLocationsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get locations too many requests response has a 2xx status code

func (*GetLocationsTooManyRequests) String

func (o *GetLocationsTooManyRequests) String() string

type GetLocationsUnauthorized

type GetLocationsUnauthorized struct {
	Payload *models.ErrorBody
}

GetLocationsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetLocationsUnauthorized

func NewGetLocationsUnauthorized() *GetLocationsUnauthorized

NewGetLocationsUnauthorized creates a GetLocationsUnauthorized with default headers values

func (*GetLocationsUnauthorized) Error

func (o *GetLocationsUnauthorized) Error() string

func (*GetLocationsUnauthorized) GetPayload

func (o *GetLocationsUnauthorized) GetPayload() *models.ErrorBody

func (*GetLocationsUnauthorized) IsClientError

func (o *GetLocationsUnauthorized) IsClientError() bool

IsClientError returns true when this get locations unauthorized response has a 4xx status code

func (*GetLocationsUnauthorized) IsCode

func (o *GetLocationsUnauthorized) IsCode(code int) bool

IsCode returns true when this get locations unauthorized response a status code equal to that given

func (*GetLocationsUnauthorized) IsRedirect

func (o *GetLocationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get locations unauthorized response has a 3xx status code

func (*GetLocationsUnauthorized) IsServerError

func (o *GetLocationsUnauthorized) IsServerError() bool

IsServerError returns true when this get locations unauthorized response has a 5xx status code

func (*GetLocationsUnauthorized) IsSuccess

func (o *GetLocationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get locations unauthorized response has a 2xx status code

func (*GetLocationsUnauthorized) String

func (o *GetLocationsUnauthorized) String() string

type GetLocationsUnsupportedMediaType

type GetLocationsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetLocationsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetLocationsUnsupportedMediaType

func NewGetLocationsUnsupportedMediaType() *GetLocationsUnsupportedMediaType

NewGetLocationsUnsupportedMediaType creates a GetLocationsUnsupportedMediaType with default headers values

func (*GetLocationsUnsupportedMediaType) Error

func (*GetLocationsUnsupportedMediaType) GetPayload

func (*GetLocationsUnsupportedMediaType) IsClientError

func (o *GetLocationsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get locations unsupported media type response has a 4xx status code

func (*GetLocationsUnsupportedMediaType) IsCode

func (o *GetLocationsUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this get locations unsupported media type response a status code equal to that given

func (*GetLocationsUnsupportedMediaType) IsRedirect

func (o *GetLocationsUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get locations unsupported media type response has a 3xx status code

func (*GetLocationsUnsupportedMediaType) IsServerError

func (o *GetLocationsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get locations unsupported media type response has a 5xx status code

func (*GetLocationsUnsupportedMediaType) IsSuccess

func (o *GetLocationsUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this get locations unsupported media type response has a 2xx status code

func (*GetLocationsUnsupportedMediaType) String

type PatchLocationBadRequest

type PatchLocationBadRequest struct {
	Payload *models.ErrorBody
}

PatchLocationBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchLocationBadRequest

func NewPatchLocationBadRequest() *PatchLocationBadRequest

NewPatchLocationBadRequest creates a PatchLocationBadRequest with default headers values

func (*PatchLocationBadRequest) Error

func (o *PatchLocationBadRequest) Error() string

func (*PatchLocationBadRequest) GetPayload

func (o *PatchLocationBadRequest) GetPayload() *models.ErrorBody

func (*PatchLocationBadRequest) IsClientError

func (o *PatchLocationBadRequest) IsClientError() bool

IsClientError returns true when this patch location bad request response has a 4xx status code

func (*PatchLocationBadRequest) IsCode

func (o *PatchLocationBadRequest) IsCode(code int) bool

IsCode returns true when this patch location bad request response a status code equal to that given

func (*PatchLocationBadRequest) IsRedirect

func (o *PatchLocationBadRequest) IsRedirect() bool

IsRedirect returns true when this patch location bad request response has a 3xx status code

func (*PatchLocationBadRequest) IsServerError

func (o *PatchLocationBadRequest) IsServerError() bool

IsServerError returns true when this patch location bad request response has a 5xx status code

func (*PatchLocationBadRequest) IsSuccess

func (o *PatchLocationBadRequest) IsSuccess() bool

IsSuccess returns true when this patch location bad request response has a 2xx status code

func (*PatchLocationBadRequest) String

func (o *PatchLocationBadRequest) String() string

type PatchLocationConflict

type PatchLocationConflict struct {
	Payload *models.ErrorBody
}

PatchLocationConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchLocationConflict

func NewPatchLocationConflict() *PatchLocationConflict

NewPatchLocationConflict creates a PatchLocationConflict with default headers values

func (*PatchLocationConflict) Error

func (o *PatchLocationConflict) Error() string

func (*PatchLocationConflict) GetPayload

func (o *PatchLocationConflict) GetPayload() *models.ErrorBody

func (*PatchLocationConflict) IsClientError

func (o *PatchLocationConflict) IsClientError() bool

IsClientError returns true when this patch location conflict response has a 4xx status code

func (*PatchLocationConflict) IsCode

func (o *PatchLocationConflict) IsCode(code int) bool

IsCode returns true when this patch location conflict response a status code equal to that given

func (*PatchLocationConflict) IsRedirect

func (o *PatchLocationConflict) IsRedirect() bool

IsRedirect returns true when this patch location conflict response has a 3xx status code

func (*PatchLocationConflict) IsServerError

func (o *PatchLocationConflict) IsServerError() bool

IsServerError returns true when this patch location conflict response has a 5xx status code

func (*PatchLocationConflict) IsSuccess

func (o *PatchLocationConflict) IsSuccess() bool

IsSuccess returns true when this patch location conflict response has a 2xx status code

func (*PatchLocationConflict) String

func (o *PatchLocationConflict) String() string

type PatchLocationForbidden

type PatchLocationForbidden struct {
	Payload *models.ErrorBody
}

PatchLocationForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchLocationForbidden

func NewPatchLocationForbidden() *PatchLocationForbidden

NewPatchLocationForbidden creates a PatchLocationForbidden with default headers values

func (*PatchLocationForbidden) Error

func (o *PatchLocationForbidden) Error() string

func (*PatchLocationForbidden) GetPayload

func (o *PatchLocationForbidden) GetPayload() *models.ErrorBody

func (*PatchLocationForbidden) IsClientError

func (o *PatchLocationForbidden) IsClientError() bool

IsClientError returns true when this patch location forbidden response has a 4xx status code

func (*PatchLocationForbidden) IsCode

func (o *PatchLocationForbidden) IsCode(code int) bool

IsCode returns true when this patch location forbidden response a status code equal to that given

func (*PatchLocationForbidden) IsRedirect

func (o *PatchLocationForbidden) IsRedirect() bool

IsRedirect returns true when this patch location forbidden response has a 3xx status code

func (*PatchLocationForbidden) IsServerError

func (o *PatchLocationForbidden) IsServerError() bool

IsServerError returns true when this patch location forbidden response has a 5xx status code

func (*PatchLocationForbidden) IsSuccess

func (o *PatchLocationForbidden) IsSuccess() bool

IsSuccess returns true when this patch location forbidden response has a 2xx status code

func (*PatchLocationForbidden) String

func (o *PatchLocationForbidden) String() string

type PatchLocationGatewayTimeout

type PatchLocationGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchLocationGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchLocationGatewayTimeout

func NewPatchLocationGatewayTimeout() *PatchLocationGatewayTimeout

NewPatchLocationGatewayTimeout creates a PatchLocationGatewayTimeout with default headers values

func (*PatchLocationGatewayTimeout) Error

func (*PatchLocationGatewayTimeout) GetPayload

func (o *PatchLocationGatewayTimeout) GetPayload() *models.ErrorBody

func (*PatchLocationGatewayTimeout) IsClientError

func (o *PatchLocationGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch location gateway timeout response has a 4xx status code

func (*PatchLocationGatewayTimeout) IsCode

func (o *PatchLocationGatewayTimeout) IsCode(code int) bool

IsCode returns true when this patch location gateway timeout response a status code equal to that given

func (*PatchLocationGatewayTimeout) IsRedirect

func (o *PatchLocationGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this patch location gateway timeout response has a 3xx status code

func (*PatchLocationGatewayTimeout) IsServerError

func (o *PatchLocationGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch location gateway timeout response has a 5xx status code

func (*PatchLocationGatewayTimeout) IsSuccess

func (o *PatchLocationGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this patch location gateway timeout response has a 2xx status code

func (*PatchLocationGatewayTimeout) String

func (o *PatchLocationGatewayTimeout) String() string

type PatchLocationInternalServerError

type PatchLocationInternalServerError struct {
	Payload *models.ErrorBody
}

PatchLocationInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchLocationInternalServerError

func NewPatchLocationInternalServerError() *PatchLocationInternalServerError

NewPatchLocationInternalServerError creates a PatchLocationInternalServerError with default headers values

func (*PatchLocationInternalServerError) Error

func (*PatchLocationInternalServerError) GetPayload

func (*PatchLocationInternalServerError) IsClientError

func (o *PatchLocationInternalServerError) IsClientError() bool

IsClientError returns true when this patch location internal server error response has a 4xx status code

func (*PatchLocationInternalServerError) IsCode

func (o *PatchLocationInternalServerError) IsCode(code int) bool

IsCode returns true when this patch location internal server error response a status code equal to that given

func (*PatchLocationInternalServerError) IsRedirect

func (o *PatchLocationInternalServerError) IsRedirect() bool

IsRedirect returns true when this patch location internal server error response has a 3xx status code

func (*PatchLocationInternalServerError) IsServerError

func (o *PatchLocationInternalServerError) IsServerError() bool

IsServerError returns true when this patch location internal server error response has a 5xx status code

func (*PatchLocationInternalServerError) IsSuccess

func (o *PatchLocationInternalServerError) IsSuccess() bool

IsSuccess returns true when this patch location internal server error response has a 2xx status code

func (*PatchLocationInternalServerError) String

type PatchLocationNotFound

type PatchLocationNotFound struct {
	Payload *models.ErrorBody
}

PatchLocationNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchLocationNotFound

func NewPatchLocationNotFound() *PatchLocationNotFound

NewPatchLocationNotFound creates a PatchLocationNotFound with default headers values

func (*PatchLocationNotFound) Error

func (o *PatchLocationNotFound) Error() string

func (*PatchLocationNotFound) GetPayload

func (o *PatchLocationNotFound) GetPayload() *models.ErrorBody

func (*PatchLocationNotFound) IsClientError

func (o *PatchLocationNotFound) IsClientError() bool

IsClientError returns true when this patch location not found response has a 4xx status code

func (*PatchLocationNotFound) IsCode

func (o *PatchLocationNotFound) IsCode(code int) bool

IsCode returns true when this patch location not found response a status code equal to that given

func (*PatchLocationNotFound) IsRedirect

func (o *PatchLocationNotFound) IsRedirect() bool

IsRedirect returns true when this patch location not found response has a 3xx status code

func (*PatchLocationNotFound) IsServerError

func (o *PatchLocationNotFound) IsServerError() bool

IsServerError returns true when this patch location not found response has a 5xx status code

func (*PatchLocationNotFound) IsSuccess

func (o *PatchLocationNotFound) IsSuccess() bool

IsSuccess returns true when this patch location not found response has a 2xx status code

func (*PatchLocationNotFound) String

func (o *PatchLocationNotFound) String() string

type PatchLocationOK

type PatchLocationOK struct {
	Payload *models.LocationDefinition
}

PatchLocationOK describes a response with status code 200, with default header values.

successful operation

func NewPatchLocationOK

func NewPatchLocationOK() *PatchLocationOK

NewPatchLocationOK creates a PatchLocationOK with default headers values

func (*PatchLocationOK) Error

func (o *PatchLocationOK) Error() string

func (*PatchLocationOK) GetPayload

func (o *PatchLocationOK) GetPayload() *models.LocationDefinition

func (*PatchLocationOK) IsClientError

func (o *PatchLocationOK) IsClientError() bool

IsClientError returns true when this patch location o k response has a 4xx status code

func (*PatchLocationOK) IsCode

func (o *PatchLocationOK) IsCode(code int) bool

IsCode returns true when this patch location o k response a status code equal to that given

func (*PatchLocationOK) IsRedirect

func (o *PatchLocationOK) IsRedirect() bool

IsRedirect returns true when this patch location o k response has a 3xx status code

func (*PatchLocationOK) IsServerError

func (o *PatchLocationOK) IsServerError() bool

IsServerError returns true when this patch location o k response has a 5xx status code

func (*PatchLocationOK) IsSuccess

func (o *PatchLocationOK) IsSuccess() bool

IsSuccess returns true when this patch location o k response has a 2xx status code

func (*PatchLocationOK) String

func (o *PatchLocationOK) String() string

type PatchLocationParams

type PatchLocationParams struct {

	/* Body.

	   Location
	*/
	Body *models.LocationUpdateDefinition

	/* LocationID.

	   Location ID
	*/
	LocationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchLocationParams contains all the parameters to send to the API endpoint

for the patch location operation.

Typically these are written to a http.Request.

func NewPatchLocationParams

func NewPatchLocationParams() *PatchLocationParams

NewPatchLocationParams creates a new PatchLocationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchLocationParamsWithContext

func NewPatchLocationParamsWithContext(ctx context.Context) *PatchLocationParams

NewPatchLocationParamsWithContext creates a new PatchLocationParams object with the ability to set a context for a request.

func NewPatchLocationParamsWithHTTPClient

func NewPatchLocationParamsWithHTTPClient(client *http.Client) *PatchLocationParams

NewPatchLocationParamsWithHTTPClient creates a new PatchLocationParams object with the ability to set a custom HTTPClient for a request.

func NewPatchLocationParamsWithTimeout

func NewPatchLocationParamsWithTimeout(timeout time.Duration) *PatchLocationParams

NewPatchLocationParamsWithTimeout creates a new PatchLocationParams object with the ability to set a timeout on a request.

func (*PatchLocationParams) SetBody

SetBody adds the body to the patch location params

func (*PatchLocationParams) SetContext

func (o *PatchLocationParams) SetContext(ctx context.Context)

SetContext adds the context to the patch location params

func (*PatchLocationParams) SetDefaults

func (o *PatchLocationParams) SetDefaults()

SetDefaults hydrates default values in the patch location params (not the query body).

All values with no default are reset to their zero value.

func (*PatchLocationParams) SetHTTPClient

func (o *PatchLocationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch location params

func (*PatchLocationParams) SetLocationID

func (o *PatchLocationParams) SetLocationID(locationID string)

SetLocationID adds the locationId to the patch location params

func (*PatchLocationParams) SetTimeout

func (o *PatchLocationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch location params

func (*PatchLocationParams) WithBody

WithBody adds the body to the patch location params

func (*PatchLocationParams) WithContext

WithContext adds the context to the patch location params

func (*PatchLocationParams) WithDefaults

func (o *PatchLocationParams) WithDefaults() *PatchLocationParams

WithDefaults hydrates default values in the patch location params (not the query body).

All values with no default are reset to their zero value.

func (*PatchLocationParams) WithHTTPClient

func (o *PatchLocationParams) WithHTTPClient(client *http.Client) *PatchLocationParams

WithHTTPClient adds the HTTPClient to the patch location params

func (*PatchLocationParams) WithLocationID

func (o *PatchLocationParams) WithLocationID(locationID string) *PatchLocationParams

WithLocationID adds the locationID to the patch location params

func (*PatchLocationParams) WithTimeout

func (o *PatchLocationParams) WithTimeout(timeout time.Duration) *PatchLocationParams

WithTimeout adds the timeout to the patch location params

func (*PatchLocationParams) WriteToRequest

func (o *PatchLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchLocationReader

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

PatchLocationReader is a Reader for the PatchLocation structure.

func (*PatchLocationReader) ReadResponse

func (o *PatchLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchLocationRequestEntityTooLarge

type PatchLocationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchLocationRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchLocationRequestEntityTooLarge

func NewPatchLocationRequestEntityTooLarge() *PatchLocationRequestEntityTooLarge

NewPatchLocationRequestEntityTooLarge creates a PatchLocationRequestEntityTooLarge with default headers values

func (*PatchLocationRequestEntityTooLarge) Error

func (*PatchLocationRequestEntityTooLarge) GetPayload

func (*PatchLocationRequestEntityTooLarge) IsClientError

func (o *PatchLocationRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this patch location request entity too large response has a 4xx status code

func (*PatchLocationRequestEntityTooLarge) IsCode

IsCode returns true when this patch location request entity too large response a status code equal to that given

func (*PatchLocationRequestEntityTooLarge) IsRedirect

func (o *PatchLocationRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this patch location request entity too large response has a 3xx status code

func (*PatchLocationRequestEntityTooLarge) IsServerError

func (o *PatchLocationRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this patch location request entity too large response has a 5xx status code

func (*PatchLocationRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch location request entity too large response has a 2xx status code

func (*PatchLocationRequestEntityTooLarge) String

type PatchLocationRequestTimeout

type PatchLocationRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchLocationRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchLocationRequestTimeout

func NewPatchLocationRequestTimeout() *PatchLocationRequestTimeout

NewPatchLocationRequestTimeout creates a PatchLocationRequestTimeout with default headers values

func (*PatchLocationRequestTimeout) Error

func (*PatchLocationRequestTimeout) GetPayload

func (o *PatchLocationRequestTimeout) GetPayload() *models.ErrorBody

func (*PatchLocationRequestTimeout) IsClientError

func (o *PatchLocationRequestTimeout) IsClientError() bool

IsClientError returns true when this patch location request timeout response has a 4xx status code

func (*PatchLocationRequestTimeout) IsCode

func (o *PatchLocationRequestTimeout) IsCode(code int) bool

IsCode returns true when this patch location request timeout response a status code equal to that given

func (*PatchLocationRequestTimeout) IsRedirect

func (o *PatchLocationRequestTimeout) IsRedirect() bool

IsRedirect returns true when this patch location request timeout response has a 3xx status code

func (*PatchLocationRequestTimeout) IsServerError

func (o *PatchLocationRequestTimeout) IsServerError() bool

IsServerError returns true when this patch location request timeout response has a 5xx status code

func (*PatchLocationRequestTimeout) IsSuccess

func (o *PatchLocationRequestTimeout) IsSuccess() bool

IsSuccess returns true when this patch location request timeout response has a 2xx status code

func (*PatchLocationRequestTimeout) String

func (o *PatchLocationRequestTimeout) String() string

type PatchLocationServiceUnavailable

type PatchLocationServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchLocationServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchLocationServiceUnavailable

func NewPatchLocationServiceUnavailable() *PatchLocationServiceUnavailable

NewPatchLocationServiceUnavailable creates a PatchLocationServiceUnavailable with default headers values

func (*PatchLocationServiceUnavailable) Error

func (*PatchLocationServiceUnavailable) GetPayload

func (*PatchLocationServiceUnavailable) IsClientError

func (o *PatchLocationServiceUnavailable) IsClientError() bool

IsClientError returns true when this patch location service unavailable response has a 4xx status code

func (*PatchLocationServiceUnavailable) IsCode

func (o *PatchLocationServiceUnavailable) IsCode(code int) bool

IsCode returns true when this patch location service unavailable response a status code equal to that given

func (*PatchLocationServiceUnavailable) IsRedirect

func (o *PatchLocationServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this patch location service unavailable response has a 3xx status code

func (*PatchLocationServiceUnavailable) IsServerError

func (o *PatchLocationServiceUnavailable) IsServerError() bool

IsServerError returns true when this patch location service unavailable response has a 5xx status code

func (*PatchLocationServiceUnavailable) IsSuccess

func (o *PatchLocationServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this patch location service unavailable response has a 2xx status code

func (*PatchLocationServiceUnavailable) String

type PatchLocationTooManyRequests

type PatchLocationTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchLocationTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchLocationTooManyRequests

func NewPatchLocationTooManyRequests() *PatchLocationTooManyRequests

NewPatchLocationTooManyRequests creates a PatchLocationTooManyRequests with default headers values

func (*PatchLocationTooManyRequests) Error

func (*PatchLocationTooManyRequests) GetPayload

func (*PatchLocationTooManyRequests) IsClientError

func (o *PatchLocationTooManyRequests) IsClientError() bool

IsClientError returns true when this patch location too many requests response has a 4xx status code

func (*PatchLocationTooManyRequests) IsCode

func (o *PatchLocationTooManyRequests) IsCode(code int) bool

IsCode returns true when this patch location too many requests response a status code equal to that given

func (*PatchLocationTooManyRequests) IsRedirect

func (o *PatchLocationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this patch location too many requests response has a 3xx status code

func (*PatchLocationTooManyRequests) IsServerError

func (o *PatchLocationTooManyRequests) IsServerError() bool

IsServerError returns true when this patch location too many requests response has a 5xx status code

func (*PatchLocationTooManyRequests) IsSuccess

func (o *PatchLocationTooManyRequests) IsSuccess() bool

IsSuccess returns true when this patch location too many requests response has a 2xx status code

func (*PatchLocationTooManyRequests) String

type PatchLocationUnauthorized

type PatchLocationUnauthorized struct {
	Payload *models.ErrorBody
}

PatchLocationUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchLocationUnauthorized

func NewPatchLocationUnauthorized() *PatchLocationUnauthorized

NewPatchLocationUnauthorized creates a PatchLocationUnauthorized with default headers values

func (*PatchLocationUnauthorized) Error

func (o *PatchLocationUnauthorized) Error() string

func (*PatchLocationUnauthorized) GetPayload

func (o *PatchLocationUnauthorized) GetPayload() *models.ErrorBody

func (*PatchLocationUnauthorized) IsClientError

func (o *PatchLocationUnauthorized) IsClientError() bool

IsClientError returns true when this patch location unauthorized response has a 4xx status code

func (*PatchLocationUnauthorized) IsCode

func (o *PatchLocationUnauthorized) IsCode(code int) bool

IsCode returns true when this patch location unauthorized response a status code equal to that given

func (*PatchLocationUnauthorized) IsRedirect

func (o *PatchLocationUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch location unauthorized response has a 3xx status code

func (*PatchLocationUnauthorized) IsServerError

func (o *PatchLocationUnauthorized) IsServerError() bool

IsServerError returns true when this patch location unauthorized response has a 5xx status code

func (*PatchLocationUnauthorized) IsSuccess

func (o *PatchLocationUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch location unauthorized response has a 2xx status code

func (*PatchLocationUnauthorized) String

func (o *PatchLocationUnauthorized) String() string

type PatchLocationUnsupportedMediaType

type PatchLocationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchLocationUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchLocationUnsupportedMediaType

func NewPatchLocationUnsupportedMediaType() *PatchLocationUnsupportedMediaType

NewPatchLocationUnsupportedMediaType creates a PatchLocationUnsupportedMediaType with default headers values

func (*PatchLocationUnsupportedMediaType) Error

func (*PatchLocationUnsupportedMediaType) GetPayload

func (*PatchLocationUnsupportedMediaType) IsClientError

func (o *PatchLocationUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this patch location unsupported media type response has a 4xx status code

func (*PatchLocationUnsupportedMediaType) IsCode

func (o *PatchLocationUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this patch location unsupported media type response a status code equal to that given

func (*PatchLocationUnsupportedMediaType) IsRedirect

func (o *PatchLocationUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this patch location unsupported media type response has a 3xx status code

func (*PatchLocationUnsupportedMediaType) IsServerError

func (o *PatchLocationUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this patch location unsupported media type response has a 5xx status code

func (*PatchLocationUnsupportedMediaType) IsSuccess

func (o *PatchLocationUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this patch location unsupported media type response has a 2xx status code

func (*PatchLocationUnsupportedMediaType) String

type PostLocationsBadRequest

type PostLocationsBadRequest struct {
	Payload *models.ErrorBody
}

PostLocationsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostLocationsBadRequest

func NewPostLocationsBadRequest() *PostLocationsBadRequest

NewPostLocationsBadRequest creates a PostLocationsBadRequest with default headers values

func (*PostLocationsBadRequest) Error

func (o *PostLocationsBadRequest) Error() string

func (*PostLocationsBadRequest) GetPayload

func (o *PostLocationsBadRequest) GetPayload() *models.ErrorBody

func (*PostLocationsBadRequest) IsClientError

func (o *PostLocationsBadRequest) IsClientError() bool

IsClientError returns true when this post locations bad request response has a 4xx status code

func (*PostLocationsBadRequest) IsCode

func (o *PostLocationsBadRequest) IsCode(code int) bool

IsCode returns true when this post locations bad request response a status code equal to that given

func (*PostLocationsBadRequest) IsRedirect

func (o *PostLocationsBadRequest) IsRedirect() bool

IsRedirect returns true when this post locations bad request response has a 3xx status code

func (*PostLocationsBadRequest) IsServerError

func (o *PostLocationsBadRequest) IsServerError() bool

IsServerError returns true when this post locations bad request response has a 5xx status code

func (*PostLocationsBadRequest) IsSuccess

func (o *PostLocationsBadRequest) IsSuccess() bool

IsSuccess returns true when this post locations bad request response has a 2xx status code

func (*PostLocationsBadRequest) String

func (o *PostLocationsBadRequest) String() string

type PostLocationsForbidden

type PostLocationsForbidden struct {
	Payload *models.ErrorBody
}

PostLocationsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostLocationsForbidden

func NewPostLocationsForbidden() *PostLocationsForbidden

NewPostLocationsForbidden creates a PostLocationsForbidden with default headers values

func (*PostLocationsForbidden) Error

func (o *PostLocationsForbidden) Error() string

func (*PostLocationsForbidden) GetPayload

func (o *PostLocationsForbidden) GetPayload() *models.ErrorBody

func (*PostLocationsForbidden) IsClientError

func (o *PostLocationsForbidden) IsClientError() bool

IsClientError returns true when this post locations forbidden response has a 4xx status code

func (*PostLocationsForbidden) IsCode

func (o *PostLocationsForbidden) IsCode(code int) bool

IsCode returns true when this post locations forbidden response a status code equal to that given

func (*PostLocationsForbidden) IsRedirect

func (o *PostLocationsForbidden) IsRedirect() bool

IsRedirect returns true when this post locations forbidden response has a 3xx status code

func (*PostLocationsForbidden) IsServerError

func (o *PostLocationsForbidden) IsServerError() bool

IsServerError returns true when this post locations forbidden response has a 5xx status code

func (*PostLocationsForbidden) IsSuccess

func (o *PostLocationsForbidden) IsSuccess() bool

IsSuccess returns true when this post locations forbidden response has a 2xx status code

func (*PostLocationsForbidden) String

func (o *PostLocationsForbidden) String() string

type PostLocationsGatewayTimeout

type PostLocationsGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostLocationsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostLocationsGatewayTimeout

func NewPostLocationsGatewayTimeout() *PostLocationsGatewayTimeout

NewPostLocationsGatewayTimeout creates a PostLocationsGatewayTimeout with default headers values

func (*PostLocationsGatewayTimeout) Error

func (*PostLocationsGatewayTimeout) GetPayload

func (o *PostLocationsGatewayTimeout) GetPayload() *models.ErrorBody

func (*PostLocationsGatewayTimeout) IsClientError

func (o *PostLocationsGatewayTimeout) IsClientError() bool

IsClientError returns true when this post locations gateway timeout response has a 4xx status code

func (*PostLocationsGatewayTimeout) IsCode

func (o *PostLocationsGatewayTimeout) IsCode(code int) bool

IsCode returns true when this post locations gateway timeout response a status code equal to that given

func (*PostLocationsGatewayTimeout) IsRedirect

func (o *PostLocationsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this post locations gateway timeout response has a 3xx status code

func (*PostLocationsGatewayTimeout) IsServerError

func (o *PostLocationsGatewayTimeout) IsServerError() bool

IsServerError returns true when this post locations gateway timeout response has a 5xx status code

func (*PostLocationsGatewayTimeout) IsSuccess

func (o *PostLocationsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this post locations gateway timeout response has a 2xx status code

func (*PostLocationsGatewayTimeout) String

func (o *PostLocationsGatewayTimeout) String() string

type PostLocationsInternalServerError

type PostLocationsInternalServerError struct {
	Payload *models.ErrorBody
}

PostLocationsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostLocationsInternalServerError

func NewPostLocationsInternalServerError() *PostLocationsInternalServerError

NewPostLocationsInternalServerError creates a PostLocationsInternalServerError with default headers values

func (*PostLocationsInternalServerError) Error

func (*PostLocationsInternalServerError) GetPayload

func (*PostLocationsInternalServerError) IsClientError

func (o *PostLocationsInternalServerError) IsClientError() bool

IsClientError returns true when this post locations internal server error response has a 4xx status code

func (*PostLocationsInternalServerError) IsCode

func (o *PostLocationsInternalServerError) IsCode(code int) bool

IsCode returns true when this post locations internal server error response a status code equal to that given

func (*PostLocationsInternalServerError) IsRedirect

func (o *PostLocationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this post locations internal server error response has a 3xx status code

func (*PostLocationsInternalServerError) IsServerError

func (o *PostLocationsInternalServerError) IsServerError() bool

IsServerError returns true when this post locations internal server error response has a 5xx status code

func (*PostLocationsInternalServerError) IsSuccess

func (o *PostLocationsInternalServerError) IsSuccess() bool

IsSuccess returns true when this post locations internal server error response has a 2xx status code

func (*PostLocationsInternalServerError) String

type PostLocationsNotFound

type PostLocationsNotFound struct {
	Payload *models.ErrorBody
}

PostLocationsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostLocationsNotFound

func NewPostLocationsNotFound() *PostLocationsNotFound

NewPostLocationsNotFound creates a PostLocationsNotFound with default headers values

func (*PostLocationsNotFound) Error

func (o *PostLocationsNotFound) Error() string

func (*PostLocationsNotFound) GetPayload

func (o *PostLocationsNotFound) GetPayload() *models.ErrorBody

func (*PostLocationsNotFound) IsClientError

func (o *PostLocationsNotFound) IsClientError() bool

IsClientError returns true when this post locations not found response has a 4xx status code

func (*PostLocationsNotFound) IsCode

func (o *PostLocationsNotFound) IsCode(code int) bool

IsCode returns true when this post locations not found response a status code equal to that given

func (*PostLocationsNotFound) IsRedirect

func (o *PostLocationsNotFound) IsRedirect() bool

IsRedirect returns true when this post locations not found response has a 3xx status code

func (*PostLocationsNotFound) IsServerError

func (o *PostLocationsNotFound) IsServerError() bool

IsServerError returns true when this post locations not found response has a 5xx status code

func (*PostLocationsNotFound) IsSuccess

func (o *PostLocationsNotFound) IsSuccess() bool

IsSuccess returns true when this post locations not found response has a 2xx status code

func (*PostLocationsNotFound) String

func (o *PostLocationsNotFound) String() string

type PostLocationsOK

type PostLocationsOK struct {
	Payload *models.LocationDefinition
}

PostLocationsOK describes a response with status code 200, with default header values.

successful operation

func NewPostLocationsOK

func NewPostLocationsOK() *PostLocationsOK

NewPostLocationsOK creates a PostLocationsOK with default headers values

func (*PostLocationsOK) Error

func (o *PostLocationsOK) Error() string

func (*PostLocationsOK) GetPayload

func (o *PostLocationsOK) GetPayload() *models.LocationDefinition

func (*PostLocationsOK) IsClientError

func (o *PostLocationsOK) IsClientError() bool

IsClientError returns true when this post locations o k response has a 4xx status code

func (*PostLocationsOK) IsCode

func (o *PostLocationsOK) IsCode(code int) bool

IsCode returns true when this post locations o k response a status code equal to that given

func (*PostLocationsOK) IsRedirect

func (o *PostLocationsOK) IsRedirect() bool

IsRedirect returns true when this post locations o k response has a 3xx status code

func (*PostLocationsOK) IsServerError

func (o *PostLocationsOK) IsServerError() bool

IsServerError returns true when this post locations o k response has a 5xx status code

func (*PostLocationsOK) IsSuccess

func (o *PostLocationsOK) IsSuccess() bool

IsSuccess returns true when this post locations o k response has a 2xx status code

func (*PostLocationsOK) String

func (o *PostLocationsOK) String() string

type PostLocationsParams

type PostLocationsParams struct {

	/* Body.

	   Location
	*/
	Body *models.LocationCreateDefinition

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostLocationsParams contains all the parameters to send to the API endpoint

for the post locations operation.

Typically these are written to a http.Request.

func NewPostLocationsParams

func NewPostLocationsParams() *PostLocationsParams

NewPostLocationsParams creates a new PostLocationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostLocationsParamsWithContext

func NewPostLocationsParamsWithContext(ctx context.Context) *PostLocationsParams

NewPostLocationsParamsWithContext creates a new PostLocationsParams object with the ability to set a context for a request.

func NewPostLocationsParamsWithHTTPClient

func NewPostLocationsParamsWithHTTPClient(client *http.Client) *PostLocationsParams

NewPostLocationsParamsWithHTTPClient creates a new PostLocationsParams object with the ability to set a custom HTTPClient for a request.

func NewPostLocationsParamsWithTimeout

func NewPostLocationsParamsWithTimeout(timeout time.Duration) *PostLocationsParams

NewPostLocationsParamsWithTimeout creates a new PostLocationsParams object with the ability to set a timeout on a request.

func (*PostLocationsParams) SetBody

SetBody adds the body to the post locations params

func (*PostLocationsParams) SetContext

func (o *PostLocationsParams) SetContext(ctx context.Context)

SetContext adds the context to the post locations params

func (*PostLocationsParams) SetDefaults

func (o *PostLocationsParams) SetDefaults()

SetDefaults hydrates default values in the post locations params (not the query body).

All values with no default are reset to their zero value.

func (*PostLocationsParams) SetHTTPClient

func (o *PostLocationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post locations params

func (*PostLocationsParams) SetTimeout

func (o *PostLocationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post locations params

func (*PostLocationsParams) WithBody

WithBody adds the body to the post locations params

func (*PostLocationsParams) WithContext

WithContext adds the context to the post locations params

func (*PostLocationsParams) WithDefaults

func (o *PostLocationsParams) WithDefaults() *PostLocationsParams

WithDefaults hydrates default values in the post locations params (not the query body).

All values with no default are reset to their zero value.

func (*PostLocationsParams) WithHTTPClient

func (o *PostLocationsParams) WithHTTPClient(client *http.Client) *PostLocationsParams

WithHTTPClient adds the HTTPClient to the post locations params

func (*PostLocationsParams) WithTimeout

func (o *PostLocationsParams) WithTimeout(timeout time.Duration) *PostLocationsParams

WithTimeout adds the timeout to the post locations params

func (*PostLocationsParams) WriteToRequest

func (o *PostLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostLocationsReader

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

PostLocationsReader is a Reader for the PostLocations structure.

func (*PostLocationsReader) ReadResponse

func (o *PostLocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostLocationsRequestEntityTooLarge

type PostLocationsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostLocationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostLocationsRequestEntityTooLarge

func NewPostLocationsRequestEntityTooLarge() *PostLocationsRequestEntityTooLarge

NewPostLocationsRequestEntityTooLarge creates a PostLocationsRequestEntityTooLarge with default headers values

func (*PostLocationsRequestEntityTooLarge) Error

func (*PostLocationsRequestEntityTooLarge) GetPayload

func (*PostLocationsRequestEntityTooLarge) IsClientError

func (o *PostLocationsRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this post locations request entity too large response has a 4xx status code

func (*PostLocationsRequestEntityTooLarge) IsCode

IsCode returns true when this post locations request entity too large response a status code equal to that given

func (*PostLocationsRequestEntityTooLarge) IsRedirect

func (o *PostLocationsRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this post locations request entity too large response has a 3xx status code

func (*PostLocationsRequestEntityTooLarge) IsServerError

func (o *PostLocationsRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this post locations request entity too large response has a 5xx status code

func (*PostLocationsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post locations request entity too large response has a 2xx status code

func (*PostLocationsRequestEntityTooLarge) String

type PostLocationsRequestTimeout

type PostLocationsRequestTimeout struct {
	Payload *models.ErrorBody
}

PostLocationsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostLocationsRequestTimeout

func NewPostLocationsRequestTimeout() *PostLocationsRequestTimeout

NewPostLocationsRequestTimeout creates a PostLocationsRequestTimeout with default headers values

func (*PostLocationsRequestTimeout) Error

func (*PostLocationsRequestTimeout) GetPayload

func (o *PostLocationsRequestTimeout) GetPayload() *models.ErrorBody

func (*PostLocationsRequestTimeout) IsClientError

func (o *PostLocationsRequestTimeout) IsClientError() bool

IsClientError returns true when this post locations request timeout response has a 4xx status code

func (*PostLocationsRequestTimeout) IsCode

func (o *PostLocationsRequestTimeout) IsCode(code int) bool

IsCode returns true when this post locations request timeout response a status code equal to that given

func (*PostLocationsRequestTimeout) IsRedirect

func (o *PostLocationsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this post locations request timeout response has a 3xx status code

func (*PostLocationsRequestTimeout) IsServerError

func (o *PostLocationsRequestTimeout) IsServerError() bool

IsServerError returns true when this post locations request timeout response has a 5xx status code

func (*PostLocationsRequestTimeout) IsSuccess

func (o *PostLocationsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this post locations request timeout response has a 2xx status code

func (*PostLocationsRequestTimeout) String

func (o *PostLocationsRequestTimeout) String() string

type PostLocationsSearchBadRequest

type PostLocationsSearchBadRequest struct {
	Payload *models.ErrorBody
}

PostLocationsSearchBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostLocationsSearchBadRequest

func NewPostLocationsSearchBadRequest() *PostLocationsSearchBadRequest

NewPostLocationsSearchBadRequest creates a PostLocationsSearchBadRequest with default headers values

func (*PostLocationsSearchBadRequest) Error

func (*PostLocationsSearchBadRequest) GetPayload

func (*PostLocationsSearchBadRequest) IsClientError

func (o *PostLocationsSearchBadRequest) IsClientError() bool

IsClientError returns true when this post locations search bad request response has a 4xx status code

func (*PostLocationsSearchBadRequest) IsCode

func (o *PostLocationsSearchBadRequest) IsCode(code int) bool

IsCode returns true when this post locations search bad request response a status code equal to that given

func (*PostLocationsSearchBadRequest) IsRedirect

func (o *PostLocationsSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this post locations search bad request response has a 3xx status code

func (*PostLocationsSearchBadRequest) IsServerError

func (o *PostLocationsSearchBadRequest) IsServerError() bool

IsServerError returns true when this post locations search bad request response has a 5xx status code

func (*PostLocationsSearchBadRequest) IsSuccess

func (o *PostLocationsSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this post locations search bad request response has a 2xx status code

func (*PostLocationsSearchBadRequest) String

type PostLocationsSearchForbidden

type PostLocationsSearchForbidden struct {
	Payload *models.ErrorBody
}

PostLocationsSearchForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostLocationsSearchForbidden

func NewPostLocationsSearchForbidden() *PostLocationsSearchForbidden

NewPostLocationsSearchForbidden creates a PostLocationsSearchForbidden with default headers values

func (*PostLocationsSearchForbidden) Error

func (*PostLocationsSearchForbidden) GetPayload

func (*PostLocationsSearchForbidden) IsClientError

func (o *PostLocationsSearchForbidden) IsClientError() bool

IsClientError returns true when this post locations search forbidden response has a 4xx status code

func (*PostLocationsSearchForbidden) IsCode

func (o *PostLocationsSearchForbidden) IsCode(code int) bool

IsCode returns true when this post locations search forbidden response a status code equal to that given

func (*PostLocationsSearchForbidden) IsRedirect

func (o *PostLocationsSearchForbidden) IsRedirect() bool

IsRedirect returns true when this post locations search forbidden response has a 3xx status code

func (*PostLocationsSearchForbidden) IsServerError

func (o *PostLocationsSearchForbidden) IsServerError() bool

IsServerError returns true when this post locations search forbidden response has a 5xx status code

func (*PostLocationsSearchForbidden) IsSuccess

func (o *PostLocationsSearchForbidden) IsSuccess() bool

IsSuccess returns true when this post locations search forbidden response has a 2xx status code

func (*PostLocationsSearchForbidden) String

type PostLocationsSearchGatewayTimeout

type PostLocationsSearchGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostLocationsSearchGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostLocationsSearchGatewayTimeout

func NewPostLocationsSearchGatewayTimeout() *PostLocationsSearchGatewayTimeout

NewPostLocationsSearchGatewayTimeout creates a PostLocationsSearchGatewayTimeout with default headers values

func (*PostLocationsSearchGatewayTimeout) Error

func (*PostLocationsSearchGatewayTimeout) GetPayload

func (*PostLocationsSearchGatewayTimeout) IsClientError

func (o *PostLocationsSearchGatewayTimeout) IsClientError() bool

IsClientError returns true when this post locations search gateway timeout response has a 4xx status code

func (*PostLocationsSearchGatewayTimeout) IsCode

func (o *PostLocationsSearchGatewayTimeout) IsCode(code int) bool

IsCode returns true when this post locations search gateway timeout response a status code equal to that given

func (*PostLocationsSearchGatewayTimeout) IsRedirect

func (o *PostLocationsSearchGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this post locations search gateway timeout response has a 3xx status code

func (*PostLocationsSearchGatewayTimeout) IsServerError

func (o *PostLocationsSearchGatewayTimeout) IsServerError() bool

IsServerError returns true when this post locations search gateway timeout response has a 5xx status code

func (*PostLocationsSearchGatewayTimeout) IsSuccess

func (o *PostLocationsSearchGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this post locations search gateway timeout response has a 2xx status code

func (*PostLocationsSearchGatewayTimeout) String

type PostLocationsSearchInternalServerError

type PostLocationsSearchInternalServerError struct {
	Payload *models.ErrorBody
}

PostLocationsSearchInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostLocationsSearchInternalServerError

func NewPostLocationsSearchInternalServerError() *PostLocationsSearchInternalServerError

NewPostLocationsSearchInternalServerError creates a PostLocationsSearchInternalServerError with default headers values

func (*PostLocationsSearchInternalServerError) Error

func (*PostLocationsSearchInternalServerError) GetPayload

func (*PostLocationsSearchInternalServerError) IsClientError

func (o *PostLocationsSearchInternalServerError) IsClientError() bool

IsClientError returns true when this post locations search internal server error response has a 4xx status code

func (*PostLocationsSearchInternalServerError) IsCode

IsCode returns true when this post locations search internal server error response a status code equal to that given

func (*PostLocationsSearchInternalServerError) IsRedirect

IsRedirect returns true when this post locations search internal server error response has a 3xx status code

func (*PostLocationsSearchInternalServerError) IsServerError

func (o *PostLocationsSearchInternalServerError) IsServerError() bool

IsServerError returns true when this post locations search internal server error response has a 5xx status code

func (*PostLocationsSearchInternalServerError) IsSuccess

IsSuccess returns true when this post locations search internal server error response has a 2xx status code

func (*PostLocationsSearchInternalServerError) String

type PostLocationsSearchNotFound

type PostLocationsSearchNotFound struct {
	Payload *models.ErrorBody
}

PostLocationsSearchNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostLocationsSearchNotFound

func NewPostLocationsSearchNotFound() *PostLocationsSearchNotFound

NewPostLocationsSearchNotFound creates a PostLocationsSearchNotFound with default headers values

func (*PostLocationsSearchNotFound) Error

func (*PostLocationsSearchNotFound) GetPayload

func (o *PostLocationsSearchNotFound) GetPayload() *models.ErrorBody

func (*PostLocationsSearchNotFound) IsClientError

func (o *PostLocationsSearchNotFound) IsClientError() bool

IsClientError returns true when this post locations search not found response has a 4xx status code

func (*PostLocationsSearchNotFound) IsCode

func (o *PostLocationsSearchNotFound) IsCode(code int) bool

IsCode returns true when this post locations search not found response a status code equal to that given

func (*PostLocationsSearchNotFound) IsRedirect

func (o *PostLocationsSearchNotFound) IsRedirect() bool

IsRedirect returns true when this post locations search not found response has a 3xx status code

func (*PostLocationsSearchNotFound) IsServerError

func (o *PostLocationsSearchNotFound) IsServerError() bool

IsServerError returns true when this post locations search not found response has a 5xx status code

func (*PostLocationsSearchNotFound) IsSuccess

func (o *PostLocationsSearchNotFound) IsSuccess() bool

IsSuccess returns true when this post locations search not found response has a 2xx status code

func (*PostLocationsSearchNotFound) String

func (o *PostLocationsSearchNotFound) String() string

type PostLocationsSearchOK

type PostLocationsSearchOK struct {
	Payload *models.LocationsSearchResponse
}

PostLocationsSearchOK describes a response with status code 200, with default header values.

successful operation

func NewPostLocationsSearchOK

func NewPostLocationsSearchOK() *PostLocationsSearchOK

NewPostLocationsSearchOK creates a PostLocationsSearchOK with default headers values

func (*PostLocationsSearchOK) Error

func (o *PostLocationsSearchOK) Error() string

func (*PostLocationsSearchOK) GetPayload

func (*PostLocationsSearchOK) IsClientError

func (o *PostLocationsSearchOK) IsClientError() bool

IsClientError returns true when this post locations search o k response has a 4xx status code

func (*PostLocationsSearchOK) IsCode

func (o *PostLocationsSearchOK) IsCode(code int) bool

IsCode returns true when this post locations search o k response a status code equal to that given

func (*PostLocationsSearchOK) IsRedirect

func (o *PostLocationsSearchOK) IsRedirect() bool

IsRedirect returns true when this post locations search o k response has a 3xx status code

func (*PostLocationsSearchOK) IsServerError

func (o *PostLocationsSearchOK) IsServerError() bool

IsServerError returns true when this post locations search o k response has a 5xx status code

func (*PostLocationsSearchOK) IsSuccess

func (o *PostLocationsSearchOK) IsSuccess() bool

IsSuccess returns true when this post locations search o k response has a 2xx status code

func (*PostLocationsSearchOK) String

func (o *PostLocationsSearchOK) String() string

type PostLocationsSearchParams

type PostLocationsSearchParams struct {

	/* Body.

	   Search request options
	*/
	Body *models.LocationSearchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostLocationsSearchParams contains all the parameters to send to the API endpoint

for the post locations search operation.

Typically these are written to a http.Request.

func NewPostLocationsSearchParams

func NewPostLocationsSearchParams() *PostLocationsSearchParams

NewPostLocationsSearchParams creates a new PostLocationsSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostLocationsSearchParamsWithContext

func NewPostLocationsSearchParamsWithContext(ctx context.Context) *PostLocationsSearchParams

NewPostLocationsSearchParamsWithContext creates a new PostLocationsSearchParams object with the ability to set a context for a request.

func NewPostLocationsSearchParamsWithHTTPClient

func NewPostLocationsSearchParamsWithHTTPClient(client *http.Client) *PostLocationsSearchParams

NewPostLocationsSearchParamsWithHTTPClient creates a new PostLocationsSearchParams object with the ability to set a custom HTTPClient for a request.

func NewPostLocationsSearchParamsWithTimeout

func NewPostLocationsSearchParamsWithTimeout(timeout time.Duration) *PostLocationsSearchParams

NewPostLocationsSearchParamsWithTimeout creates a new PostLocationsSearchParams object with the ability to set a timeout on a request.

func (*PostLocationsSearchParams) SetBody

SetBody adds the body to the post locations search params

func (*PostLocationsSearchParams) SetContext

func (o *PostLocationsSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the post locations search params

func (*PostLocationsSearchParams) SetDefaults

func (o *PostLocationsSearchParams) SetDefaults()

SetDefaults hydrates default values in the post locations search params (not the query body).

All values with no default are reset to their zero value.

func (*PostLocationsSearchParams) SetHTTPClient

func (o *PostLocationsSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post locations search params

func (*PostLocationsSearchParams) SetTimeout

func (o *PostLocationsSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post locations search params

func (*PostLocationsSearchParams) WithBody

WithBody adds the body to the post locations search params

func (*PostLocationsSearchParams) WithContext

WithContext adds the context to the post locations search params

func (*PostLocationsSearchParams) WithDefaults

WithDefaults hydrates default values in the post locations search params (not the query body).

All values with no default are reset to their zero value.

func (*PostLocationsSearchParams) WithHTTPClient

func (o *PostLocationsSearchParams) WithHTTPClient(client *http.Client) *PostLocationsSearchParams

WithHTTPClient adds the HTTPClient to the post locations search params

func (*PostLocationsSearchParams) WithTimeout

WithTimeout adds the timeout to the post locations search params

func (*PostLocationsSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostLocationsSearchReader

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

PostLocationsSearchReader is a Reader for the PostLocationsSearch structure.

func (*PostLocationsSearchReader) ReadResponse

func (o *PostLocationsSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostLocationsSearchRequestEntityTooLarge

type PostLocationsSearchRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostLocationsSearchRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostLocationsSearchRequestEntityTooLarge

func NewPostLocationsSearchRequestEntityTooLarge() *PostLocationsSearchRequestEntityTooLarge

NewPostLocationsSearchRequestEntityTooLarge creates a PostLocationsSearchRequestEntityTooLarge with default headers values

func (*PostLocationsSearchRequestEntityTooLarge) Error

func (*PostLocationsSearchRequestEntityTooLarge) GetPayload

func (*PostLocationsSearchRequestEntityTooLarge) IsClientError

IsClientError returns true when this post locations search request entity too large response has a 4xx status code

func (*PostLocationsSearchRequestEntityTooLarge) IsCode

IsCode returns true when this post locations search request entity too large response a status code equal to that given

func (*PostLocationsSearchRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post locations search request entity too large response has a 3xx status code

func (*PostLocationsSearchRequestEntityTooLarge) IsServerError

IsServerError returns true when this post locations search request entity too large response has a 5xx status code

func (*PostLocationsSearchRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post locations search request entity too large response has a 2xx status code

func (*PostLocationsSearchRequestEntityTooLarge) String

type PostLocationsSearchRequestTimeout

type PostLocationsSearchRequestTimeout struct {
	Payload *models.ErrorBody
}

PostLocationsSearchRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostLocationsSearchRequestTimeout

func NewPostLocationsSearchRequestTimeout() *PostLocationsSearchRequestTimeout

NewPostLocationsSearchRequestTimeout creates a PostLocationsSearchRequestTimeout with default headers values

func (*PostLocationsSearchRequestTimeout) Error

func (*PostLocationsSearchRequestTimeout) GetPayload

func (*PostLocationsSearchRequestTimeout) IsClientError

func (o *PostLocationsSearchRequestTimeout) IsClientError() bool

IsClientError returns true when this post locations search request timeout response has a 4xx status code

func (*PostLocationsSearchRequestTimeout) IsCode

func (o *PostLocationsSearchRequestTimeout) IsCode(code int) bool

IsCode returns true when this post locations search request timeout response a status code equal to that given

func (*PostLocationsSearchRequestTimeout) IsRedirect

func (o *PostLocationsSearchRequestTimeout) IsRedirect() bool

IsRedirect returns true when this post locations search request timeout response has a 3xx status code

func (*PostLocationsSearchRequestTimeout) IsServerError

func (o *PostLocationsSearchRequestTimeout) IsServerError() bool

IsServerError returns true when this post locations search request timeout response has a 5xx status code

func (*PostLocationsSearchRequestTimeout) IsSuccess

func (o *PostLocationsSearchRequestTimeout) IsSuccess() bool

IsSuccess returns true when this post locations search request timeout response has a 2xx status code

func (*PostLocationsSearchRequestTimeout) String

type PostLocationsSearchServiceUnavailable

type PostLocationsSearchServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostLocationsSearchServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostLocationsSearchServiceUnavailable

func NewPostLocationsSearchServiceUnavailable() *PostLocationsSearchServiceUnavailable

NewPostLocationsSearchServiceUnavailable creates a PostLocationsSearchServiceUnavailable with default headers values

func (*PostLocationsSearchServiceUnavailable) Error

func (*PostLocationsSearchServiceUnavailable) GetPayload

func (*PostLocationsSearchServiceUnavailable) IsClientError

func (o *PostLocationsSearchServiceUnavailable) IsClientError() bool

IsClientError returns true when this post locations search service unavailable response has a 4xx status code

func (*PostLocationsSearchServiceUnavailable) IsCode

IsCode returns true when this post locations search service unavailable response a status code equal to that given

func (*PostLocationsSearchServiceUnavailable) IsRedirect

IsRedirect returns true when this post locations search service unavailable response has a 3xx status code

func (*PostLocationsSearchServiceUnavailable) IsServerError

func (o *PostLocationsSearchServiceUnavailable) IsServerError() bool

IsServerError returns true when this post locations search service unavailable response has a 5xx status code

func (*PostLocationsSearchServiceUnavailable) IsSuccess

IsSuccess returns true when this post locations search service unavailable response has a 2xx status code

func (*PostLocationsSearchServiceUnavailable) String

type PostLocationsSearchTooManyRequests

type PostLocationsSearchTooManyRequests struct {
	Payload *models.ErrorBody
}

PostLocationsSearchTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostLocationsSearchTooManyRequests

func NewPostLocationsSearchTooManyRequests() *PostLocationsSearchTooManyRequests

NewPostLocationsSearchTooManyRequests creates a PostLocationsSearchTooManyRequests with default headers values

func (*PostLocationsSearchTooManyRequests) Error

func (*PostLocationsSearchTooManyRequests) GetPayload

func (*PostLocationsSearchTooManyRequests) IsClientError

func (o *PostLocationsSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this post locations search too many requests response has a 4xx status code

func (*PostLocationsSearchTooManyRequests) IsCode

IsCode returns true when this post locations search too many requests response a status code equal to that given

func (*PostLocationsSearchTooManyRequests) IsRedirect

func (o *PostLocationsSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post locations search too many requests response has a 3xx status code

func (*PostLocationsSearchTooManyRequests) IsServerError

func (o *PostLocationsSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this post locations search too many requests response has a 5xx status code

func (*PostLocationsSearchTooManyRequests) IsSuccess

IsSuccess returns true when this post locations search too many requests response has a 2xx status code

func (*PostLocationsSearchTooManyRequests) String

type PostLocationsSearchUnauthorized

type PostLocationsSearchUnauthorized struct {
	Payload *models.ErrorBody
}

PostLocationsSearchUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostLocationsSearchUnauthorized

func NewPostLocationsSearchUnauthorized() *PostLocationsSearchUnauthorized

NewPostLocationsSearchUnauthorized creates a PostLocationsSearchUnauthorized with default headers values

func (*PostLocationsSearchUnauthorized) Error

func (*PostLocationsSearchUnauthorized) GetPayload

func (*PostLocationsSearchUnauthorized) IsClientError

func (o *PostLocationsSearchUnauthorized) IsClientError() bool

IsClientError returns true when this post locations search unauthorized response has a 4xx status code

func (*PostLocationsSearchUnauthorized) IsCode

func (o *PostLocationsSearchUnauthorized) IsCode(code int) bool

IsCode returns true when this post locations search unauthorized response a status code equal to that given

func (*PostLocationsSearchUnauthorized) IsRedirect

func (o *PostLocationsSearchUnauthorized) IsRedirect() bool

IsRedirect returns true when this post locations search unauthorized response has a 3xx status code

func (*PostLocationsSearchUnauthorized) IsServerError

func (o *PostLocationsSearchUnauthorized) IsServerError() bool

IsServerError returns true when this post locations search unauthorized response has a 5xx status code

func (*PostLocationsSearchUnauthorized) IsSuccess

func (o *PostLocationsSearchUnauthorized) IsSuccess() bool

IsSuccess returns true when this post locations search unauthorized response has a 2xx status code

func (*PostLocationsSearchUnauthorized) String

type PostLocationsSearchUnsupportedMediaType

type PostLocationsSearchUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostLocationsSearchUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostLocationsSearchUnsupportedMediaType

func NewPostLocationsSearchUnsupportedMediaType() *PostLocationsSearchUnsupportedMediaType

NewPostLocationsSearchUnsupportedMediaType creates a PostLocationsSearchUnsupportedMediaType with default headers values

func (*PostLocationsSearchUnsupportedMediaType) Error

func (*PostLocationsSearchUnsupportedMediaType) GetPayload

func (*PostLocationsSearchUnsupportedMediaType) IsClientError

func (o *PostLocationsSearchUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this post locations search unsupported media type response has a 4xx status code

func (*PostLocationsSearchUnsupportedMediaType) IsCode

IsCode returns true when this post locations search unsupported media type response a status code equal to that given

func (*PostLocationsSearchUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post locations search unsupported media type response has a 3xx status code

func (*PostLocationsSearchUnsupportedMediaType) IsServerError

func (o *PostLocationsSearchUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this post locations search unsupported media type response has a 5xx status code

func (*PostLocationsSearchUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post locations search unsupported media type response has a 2xx status code

func (*PostLocationsSearchUnsupportedMediaType) String

type PostLocationsServiceUnavailable

type PostLocationsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostLocationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostLocationsServiceUnavailable

func NewPostLocationsServiceUnavailable() *PostLocationsServiceUnavailable

NewPostLocationsServiceUnavailable creates a PostLocationsServiceUnavailable with default headers values

func (*PostLocationsServiceUnavailable) Error

func (*PostLocationsServiceUnavailable) GetPayload

func (*PostLocationsServiceUnavailable) IsClientError

func (o *PostLocationsServiceUnavailable) IsClientError() bool

IsClientError returns true when this post locations service unavailable response has a 4xx status code

func (*PostLocationsServiceUnavailable) IsCode

func (o *PostLocationsServiceUnavailable) IsCode(code int) bool

IsCode returns true when this post locations service unavailable response a status code equal to that given

func (*PostLocationsServiceUnavailable) IsRedirect

func (o *PostLocationsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this post locations service unavailable response has a 3xx status code

func (*PostLocationsServiceUnavailable) IsServerError

func (o *PostLocationsServiceUnavailable) IsServerError() bool

IsServerError returns true when this post locations service unavailable response has a 5xx status code

func (*PostLocationsServiceUnavailable) IsSuccess

func (o *PostLocationsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this post locations service unavailable response has a 2xx status code

func (*PostLocationsServiceUnavailable) String

type PostLocationsTooManyRequests

type PostLocationsTooManyRequests struct {
	Payload *models.ErrorBody
}

PostLocationsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostLocationsTooManyRequests

func NewPostLocationsTooManyRequests() *PostLocationsTooManyRequests

NewPostLocationsTooManyRequests creates a PostLocationsTooManyRequests with default headers values

func (*PostLocationsTooManyRequests) Error

func (*PostLocationsTooManyRequests) GetPayload

func (*PostLocationsTooManyRequests) IsClientError

func (o *PostLocationsTooManyRequests) IsClientError() bool

IsClientError returns true when this post locations too many requests response has a 4xx status code

func (*PostLocationsTooManyRequests) IsCode

func (o *PostLocationsTooManyRequests) IsCode(code int) bool

IsCode returns true when this post locations too many requests response a status code equal to that given

func (*PostLocationsTooManyRequests) IsRedirect

func (o *PostLocationsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post locations too many requests response has a 3xx status code

func (*PostLocationsTooManyRequests) IsServerError

func (o *PostLocationsTooManyRequests) IsServerError() bool

IsServerError returns true when this post locations too many requests response has a 5xx status code

func (*PostLocationsTooManyRequests) IsSuccess

func (o *PostLocationsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this post locations too many requests response has a 2xx status code

func (*PostLocationsTooManyRequests) String

type PostLocationsUnauthorized

type PostLocationsUnauthorized struct {
	Payload *models.ErrorBody
}

PostLocationsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostLocationsUnauthorized

func NewPostLocationsUnauthorized() *PostLocationsUnauthorized

NewPostLocationsUnauthorized creates a PostLocationsUnauthorized with default headers values

func (*PostLocationsUnauthorized) Error

func (o *PostLocationsUnauthorized) Error() string

func (*PostLocationsUnauthorized) GetPayload

func (o *PostLocationsUnauthorized) GetPayload() *models.ErrorBody

func (*PostLocationsUnauthorized) IsClientError

func (o *PostLocationsUnauthorized) IsClientError() bool

IsClientError returns true when this post locations unauthorized response has a 4xx status code

func (*PostLocationsUnauthorized) IsCode

func (o *PostLocationsUnauthorized) IsCode(code int) bool

IsCode returns true when this post locations unauthorized response a status code equal to that given

func (*PostLocationsUnauthorized) IsRedirect

func (o *PostLocationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this post locations unauthorized response has a 3xx status code

func (*PostLocationsUnauthorized) IsServerError

func (o *PostLocationsUnauthorized) IsServerError() bool

IsServerError returns true when this post locations unauthorized response has a 5xx status code

func (*PostLocationsUnauthorized) IsSuccess

func (o *PostLocationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this post locations unauthorized response has a 2xx status code

func (*PostLocationsUnauthorized) String

func (o *PostLocationsUnauthorized) String() string

type PostLocationsUnsupportedMediaType

type PostLocationsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostLocationsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostLocationsUnsupportedMediaType

func NewPostLocationsUnsupportedMediaType() *PostLocationsUnsupportedMediaType

NewPostLocationsUnsupportedMediaType creates a PostLocationsUnsupportedMediaType with default headers values

func (*PostLocationsUnsupportedMediaType) Error

func (*PostLocationsUnsupportedMediaType) GetPayload

func (*PostLocationsUnsupportedMediaType) IsClientError

func (o *PostLocationsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this post locations unsupported media type response has a 4xx status code

func (*PostLocationsUnsupportedMediaType) IsCode

func (o *PostLocationsUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this post locations unsupported media type response a status code equal to that given

func (*PostLocationsUnsupportedMediaType) IsRedirect

func (o *PostLocationsUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this post locations unsupported media type response has a 3xx status code

func (*PostLocationsUnsupportedMediaType) IsServerError

func (o *PostLocationsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this post locations unsupported media type response has a 5xx status code

func (*PostLocationsUnsupportedMediaType) IsSuccess

func (o *PostLocationsUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this post locations unsupported media type response has a 2xx status code

func (*PostLocationsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL