Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) DeleteLocation(ctx context.Context, params *DeleteLocationParams) (*DeleteLocationNoContent, error)
- func (a *Client) GetLocation(ctx context.Context, params *GetLocationParams) (*GetLocationOK, error)
- func (a *Client) GetLocationSublocations(ctx context.Context, params *GetLocationSublocationsParams) (*GetLocationSublocationsOK, error)
- func (a *Client) GetLocations(ctx context.Context, params *GetLocationsParams) (*GetLocationsOK, error)
- func (a *Client) GetLocationsSearch(ctx context.Context, params *GetLocationsSearchParams) (*GetLocationsSearchOK, error)
- func (a *Client) PatchLocation(ctx context.Context, params *PatchLocationParams) (*PatchLocationOK, error)
- func (a *Client) PostLocations(ctx context.Context, params *PostLocationsParams) (*PostLocationsOK, error)
- func (a *Client) PostLocationsSearch(ctx context.Context, params *PostLocationsSearchParams) (*PostLocationsSearchOK, error)
- type DeleteLocationBadRequest
- func (o *DeleteLocationBadRequest) Error() string
- func (o *DeleteLocationBadRequest) GetPayload() *models.ErrorBody
- func (o *DeleteLocationBadRequest) IsClientError() bool
- func (o *DeleteLocationBadRequest) IsCode(code int) bool
- func (o *DeleteLocationBadRequest) IsRedirect() bool
- func (o *DeleteLocationBadRequest) IsServerError() bool
- func (o *DeleteLocationBadRequest) IsSuccess() bool
- func (o *DeleteLocationBadRequest) String() string
- type DeleteLocationForbidden
- func (o *DeleteLocationForbidden) Error() string
- func (o *DeleteLocationForbidden) GetPayload() *models.ErrorBody
- func (o *DeleteLocationForbidden) IsClientError() bool
- func (o *DeleteLocationForbidden) IsCode(code int) bool
- func (o *DeleteLocationForbidden) IsRedirect() bool
- func (o *DeleteLocationForbidden) IsServerError() bool
- func (o *DeleteLocationForbidden) IsSuccess() bool
- func (o *DeleteLocationForbidden) String() string
- type DeleteLocationGatewayTimeout
- func (o *DeleteLocationGatewayTimeout) Error() string
- func (o *DeleteLocationGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteLocationGatewayTimeout) IsClientError() bool
- func (o *DeleteLocationGatewayTimeout) IsCode(code int) bool
- func (o *DeleteLocationGatewayTimeout) IsRedirect() bool
- func (o *DeleteLocationGatewayTimeout) IsServerError() bool
- func (o *DeleteLocationGatewayTimeout) IsSuccess() bool
- func (o *DeleteLocationGatewayTimeout) String() string
- type DeleteLocationInternalServerError
- func (o *DeleteLocationInternalServerError) Error() string
- func (o *DeleteLocationInternalServerError) GetPayload() *models.ErrorBody
- func (o *DeleteLocationInternalServerError) IsClientError() bool
- func (o *DeleteLocationInternalServerError) IsCode(code int) bool
- func (o *DeleteLocationInternalServerError) IsRedirect() bool
- func (o *DeleteLocationInternalServerError) IsServerError() bool
- func (o *DeleteLocationInternalServerError) IsSuccess() bool
- func (o *DeleteLocationInternalServerError) String() string
- type DeleteLocationNoContent
- func (o *DeleteLocationNoContent) Error() string
- func (o *DeleteLocationNoContent) IsClientError() bool
- func (o *DeleteLocationNoContent) IsCode(code int) bool
- func (o *DeleteLocationNoContent) IsRedirect() bool
- func (o *DeleteLocationNoContent) IsServerError() bool
- func (o *DeleteLocationNoContent) IsSuccess() bool
- func (o *DeleteLocationNoContent) String() string
- type DeleteLocationNotFound
- func (o *DeleteLocationNotFound) Error() string
- func (o *DeleteLocationNotFound) GetPayload() *models.ErrorBody
- func (o *DeleteLocationNotFound) IsClientError() bool
- func (o *DeleteLocationNotFound) IsCode(code int) bool
- func (o *DeleteLocationNotFound) IsRedirect() bool
- func (o *DeleteLocationNotFound) IsServerError() bool
- func (o *DeleteLocationNotFound) IsSuccess() bool
- func (o *DeleteLocationNotFound) String() string
- type DeleteLocationParams
- func NewDeleteLocationParams() *DeleteLocationParams
- func NewDeleteLocationParamsWithContext(ctx context.Context) *DeleteLocationParams
- func NewDeleteLocationParamsWithHTTPClient(client *http.Client) *DeleteLocationParams
- func NewDeleteLocationParamsWithTimeout(timeout time.Duration) *DeleteLocationParams
- func (o *DeleteLocationParams) SetContext(ctx context.Context)
- func (o *DeleteLocationParams) SetDefaults()
- func (o *DeleteLocationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLocationParams) SetLocationID(locationID string)
- func (o *DeleteLocationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLocationParams) WithContext(ctx context.Context) *DeleteLocationParams
- func (o *DeleteLocationParams) WithDefaults() *DeleteLocationParams
- func (o *DeleteLocationParams) WithHTTPClient(client *http.Client) *DeleteLocationParams
- func (o *DeleteLocationParams) WithLocationID(locationID string) *DeleteLocationParams
- func (o *DeleteLocationParams) WithTimeout(timeout time.Duration) *DeleteLocationParams
- func (o *DeleteLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLocationReader
- type DeleteLocationRequestEntityTooLarge
- func (o *DeleteLocationRequestEntityTooLarge) Error() string
- func (o *DeleteLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *DeleteLocationRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteLocationRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteLocationRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteLocationRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteLocationRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteLocationRequestEntityTooLarge) String() string
- type DeleteLocationRequestTimeout
- func (o *DeleteLocationRequestTimeout) Error() string
- func (o *DeleteLocationRequestTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteLocationRequestTimeout) IsClientError() bool
- func (o *DeleteLocationRequestTimeout) IsCode(code int) bool
- func (o *DeleteLocationRequestTimeout) IsRedirect() bool
- func (o *DeleteLocationRequestTimeout) IsServerError() bool
- func (o *DeleteLocationRequestTimeout) IsSuccess() bool
- func (o *DeleteLocationRequestTimeout) String() string
- type DeleteLocationServiceUnavailable
- func (o *DeleteLocationServiceUnavailable) Error() string
- func (o *DeleteLocationServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *DeleteLocationServiceUnavailable) IsClientError() bool
- func (o *DeleteLocationServiceUnavailable) IsCode(code int) bool
- func (o *DeleteLocationServiceUnavailable) IsRedirect() bool
- func (o *DeleteLocationServiceUnavailable) IsServerError() bool
- func (o *DeleteLocationServiceUnavailable) IsSuccess() bool
- func (o *DeleteLocationServiceUnavailable) String() string
- type DeleteLocationTooManyRequests
- func (o *DeleteLocationTooManyRequests) Error() string
- func (o *DeleteLocationTooManyRequests) GetPayload() *models.ErrorBody
- func (o *DeleteLocationTooManyRequests) IsClientError() bool
- func (o *DeleteLocationTooManyRequests) IsCode(code int) bool
- func (o *DeleteLocationTooManyRequests) IsRedirect() bool
- func (o *DeleteLocationTooManyRequests) IsServerError() bool
- func (o *DeleteLocationTooManyRequests) IsSuccess() bool
- func (o *DeleteLocationTooManyRequests) String() string
- type DeleteLocationUnauthorized
- func (o *DeleteLocationUnauthorized) Error() string
- func (o *DeleteLocationUnauthorized) GetPayload() *models.ErrorBody
- func (o *DeleteLocationUnauthorized) IsClientError() bool
- func (o *DeleteLocationUnauthorized) IsCode(code int) bool
- func (o *DeleteLocationUnauthorized) IsRedirect() bool
- func (o *DeleteLocationUnauthorized) IsServerError() bool
- func (o *DeleteLocationUnauthorized) IsSuccess() bool
- func (o *DeleteLocationUnauthorized) String() string
- type DeleteLocationUnsupportedMediaType
- func (o *DeleteLocationUnsupportedMediaType) Error() string
- func (o *DeleteLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *DeleteLocationUnsupportedMediaType) IsClientError() bool
- func (o *DeleteLocationUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteLocationUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteLocationUnsupportedMediaType) IsServerError() bool
- func (o *DeleteLocationUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteLocationUnsupportedMediaType) String() string
- type GetLocationBadRequest
- func (o *GetLocationBadRequest) Error() string
- func (o *GetLocationBadRequest) GetPayload() *models.ErrorBody
- func (o *GetLocationBadRequest) IsClientError() bool
- func (o *GetLocationBadRequest) IsCode(code int) bool
- func (o *GetLocationBadRequest) IsRedirect() bool
- func (o *GetLocationBadRequest) IsServerError() bool
- func (o *GetLocationBadRequest) IsSuccess() bool
- func (o *GetLocationBadRequest) String() string
- type GetLocationForbidden
- func (o *GetLocationForbidden) Error() string
- func (o *GetLocationForbidden) GetPayload() *models.ErrorBody
- func (o *GetLocationForbidden) IsClientError() bool
- func (o *GetLocationForbidden) IsCode(code int) bool
- func (o *GetLocationForbidden) IsRedirect() bool
- func (o *GetLocationForbidden) IsServerError() bool
- func (o *GetLocationForbidden) IsSuccess() bool
- func (o *GetLocationForbidden) String() string
- type GetLocationGatewayTimeout
- func (o *GetLocationGatewayTimeout) Error() string
- func (o *GetLocationGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationGatewayTimeout) IsClientError() bool
- func (o *GetLocationGatewayTimeout) IsCode(code int) bool
- func (o *GetLocationGatewayTimeout) IsRedirect() bool
- func (o *GetLocationGatewayTimeout) IsServerError() bool
- func (o *GetLocationGatewayTimeout) IsSuccess() bool
- func (o *GetLocationGatewayTimeout) String() string
- type GetLocationInternalServerError
- func (o *GetLocationInternalServerError) Error() string
- func (o *GetLocationInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetLocationInternalServerError) IsClientError() bool
- func (o *GetLocationInternalServerError) IsCode(code int) bool
- func (o *GetLocationInternalServerError) IsRedirect() bool
- func (o *GetLocationInternalServerError) IsServerError() bool
- func (o *GetLocationInternalServerError) IsSuccess() bool
- func (o *GetLocationInternalServerError) String() string
- type GetLocationNotFound
- func (o *GetLocationNotFound) Error() string
- func (o *GetLocationNotFound) GetPayload() *models.ErrorBody
- func (o *GetLocationNotFound) IsClientError() bool
- func (o *GetLocationNotFound) IsCode(code int) bool
- func (o *GetLocationNotFound) IsRedirect() bool
- func (o *GetLocationNotFound) IsServerError() bool
- func (o *GetLocationNotFound) IsSuccess() bool
- func (o *GetLocationNotFound) String() string
- type GetLocationOK
- func (o *GetLocationOK) Error() string
- func (o *GetLocationOK) GetPayload() *models.LocationDefinition
- func (o *GetLocationOK) IsClientError() bool
- func (o *GetLocationOK) IsCode(code int) bool
- func (o *GetLocationOK) IsRedirect() bool
- func (o *GetLocationOK) IsServerError() bool
- func (o *GetLocationOK) IsSuccess() bool
- func (o *GetLocationOK) String() string
- type GetLocationParams
- func (o *GetLocationParams) SetContext(ctx context.Context)
- func (o *GetLocationParams) SetDefaults()
- func (o *GetLocationParams) SetExpand(expand []string)
- func (o *GetLocationParams) SetHTTPClient(client *http.Client)
- func (o *GetLocationParams) SetLocationID(locationID string)
- func (o *GetLocationParams) SetTimeout(timeout time.Duration)
- func (o *GetLocationParams) WithContext(ctx context.Context) *GetLocationParams
- func (o *GetLocationParams) WithDefaults() *GetLocationParams
- func (o *GetLocationParams) WithExpand(expand []string) *GetLocationParams
- func (o *GetLocationParams) WithHTTPClient(client *http.Client) *GetLocationParams
- func (o *GetLocationParams) WithLocationID(locationID string) *GetLocationParams
- func (o *GetLocationParams) WithTimeout(timeout time.Duration) *GetLocationParams
- func (o *GetLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocationReader
- type GetLocationRequestEntityTooLarge
- func (o *GetLocationRequestEntityTooLarge) Error() string
- func (o *GetLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetLocationRequestEntityTooLarge) IsClientError() bool
- func (o *GetLocationRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetLocationRequestEntityTooLarge) IsRedirect() bool
- func (o *GetLocationRequestEntityTooLarge) IsServerError() bool
- func (o *GetLocationRequestEntityTooLarge) IsSuccess() bool
- func (o *GetLocationRequestEntityTooLarge) String() string
- type GetLocationRequestTimeout
- func (o *GetLocationRequestTimeout) Error() string
- func (o *GetLocationRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationRequestTimeout) IsClientError() bool
- func (o *GetLocationRequestTimeout) IsCode(code int) bool
- func (o *GetLocationRequestTimeout) IsRedirect() bool
- func (o *GetLocationRequestTimeout) IsServerError() bool
- func (o *GetLocationRequestTimeout) IsSuccess() bool
- func (o *GetLocationRequestTimeout) String() string
- type GetLocationServiceUnavailable
- func (o *GetLocationServiceUnavailable) Error() string
- func (o *GetLocationServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetLocationServiceUnavailable) IsClientError() bool
- func (o *GetLocationServiceUnavailable) IsCode(code int) bool
- func (o *GetLocationServiceUnavailable) IsRedirect() bool
- func (o *GetLocationServiceUnavailable) IsServerError() bool
- func (o *GetLocationServiceUnavailable) IsSuccess() bool
- func (o *GetLocationServiceUnavailable) String() string
- type GetLocationSublocationsBadRequest
- func (o *GetLocationSublocationsBadRequest) Error() string
- func (o *GetLocationSublocationsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsBadRequest) IsClientError() bool
- func (o *GetLocationSublocationsBadRequest) IsCode(code int) bool
- func (o *GetLocationSublocationsBadRequest) IsRedirect() bool
- func (o *GetLocationSublocationsBadRequest) IsServerError() bool
- func (o *GetLocationSublocationsBadRequest) IsSuccess() bool
- func (o *GetLocationSublocationsBadRequest) String() string
- type GetLocationSublocationsForbidden
- func (o *GetLocationSublocationsForbidden) Error() string
- func (o *GetLocationSublocationsForbidden) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsForbidden) IsClientError() bool
- func (o *GetLocationSublocationsForbidden) IsCode(code int) bool
- func (o *GetLocationSublocationsForbidden) IsRedirect() bool
- func (o *GetLocationSublocationsForbidden) IsServerError() bool
- func (o *GetLocationSublocationsForbidden) IsSuccess() bool
- func (o *GetLocationSublocationsForbidden) String() string
- type GetLocationSublocationsGatewayTimeout
- func (o *GetLocationSublocationsGatewayTimeout) Error() string
- func (o *GetLocationSublocationsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsGatewayTimeout) IsClientError() bool
- func (o *GetLocationSublocationsGatewayTimeout) IsCode(code int) bool
- func (o *GetLocationSublocationsGatewayTimeout) IsRedirect() bool
- func (o *GetLocationSublocationsGatewayTimeout) IsServerError() bool
- func (o *GetLocationSublocationsGatewayTimeout) IsSuccess() bool
- func (o *GetLocationSublocationsGatewayTimeout) String() string
- type GetLocationSublocationsInternalServerError
- func (o *GetLocationSublocationsInternalServerError) Error() string
- func (o *GetLocationSublocationsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsInternalServerError) IsClientError() bool
- func (o *GetLocationSublocationsInternalServerError) IsCode(code int) bool
- func (o *GetLocationSublocationsInternalServerError) IsRedirect() bool
- func (o *GetLocationSublocationsInternalServerError) IsServerError() bool
- func (o *GetLocationSublocationsInternalServerError) IsSuccess() bool
- func (o *GetLocationSublocationsInternalServerError) String() string
- type GetLocationSublocationsNotFound
- func (o *GetLocationSublocationsNotFound) Error() string
- func (o *GetLocationSublocationsNotFound) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsNotFound) IsClientError() bool
- func (o *GetLocationSublocationsNotFound) IsCode(code int) bool
- func (o *GetLocationSublocationsNotFound) IsRedirect() bool
- func (o *GetLocationSublocationsNotFound) IsServerError() bool
- func (o *GetLocationSublocationsNotFound) IsSuccess() bool
- func (o *GetLocationSublocationsNotFound) String() string
- type GetLocationSublocationsOK
- func (o *GetLocationSublocationsOK) Error() string
- func (o *GetLocationSublocationsOK) GetPayload() *models.LocationEntityListing
- func (o *GetLocationSublocationsOK) IsClientError() bool
- func (o *GetLocationSublocationsOK) IsCode(code int) bool
- func (o *GetLocationSublocationsOK) IsRedirect() bool
- func (o *GetLocationSublocationsOK) IsServerError() bool
- func (o *GetLocationSublocationsOK) IsSuccess() bool
- func (o *GetLocationSublocationsOK) String() string
- type GetLocationSublocationsParams
- func NewGetLocationSublocationsParams() *GetLocationSublocationsParams
- func NewGetLocationSublocationsParamsWithContext(ctx context.Context) *GetLocationSublocationsParams
- func NewGetLocationSublocationsParamsWithHTTPClient(client *http.Client) *GetLocationSublocationsParams
- func NewGetLocationSublocationsParamsWithTimeout(timeout time.Duration) *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) SetContext(ctx context.Context)
- func (o *GetLocationSublocationsParams) SetDefaults()
- func (o *GetLocationSublocationsParams) SetHTTPClient(client *http.Client)
- func (o *GetLocationSublocationsParams) SetLocationID(locationID string)
- func (o *GetLocationSublocationsParams) SetTimeout(timeout time.Duration)
- func (o *GetLocationSublocationsParams) WithContext(ctx context.Context) *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) WithDefaults() *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) WithHTTPClient(client *http.Client) *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) WithLocationID(locationID string) *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) WithTimeout(timeout time.Duration) *GetLocationSublocationsParams
- func (o *GetLocationSublocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocationSublocationsReader
- type GetLocationSublocationsRequestEntityTooLarge
- func (o *GetLocationSublocationsRequestEntityTooLarge) Error() string
- func (o *GetLocationSublocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsRequestEntityTooLarge) IsClientError() bool
- func (o *GetLocationSublocationsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetLocationSublocationsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetLocationSublocationsRequestEntityTooLarge) IsServerError() bool
- func (o *GetLocationSublocationsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetLocationSublocationsRequestEntityTooLarge) String() string
- type GetLocationSublocationsRequestTimeout
- func (o *GetLocationSublocationsRequestTimeout) Error() string
- func (o *GetLocationSublocationsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsRequestTimeout) IsClientError() bool
- func (o *GetLocationSublocationsRequestTimeout) IsCode(code int) bool
- func (o *GetLocationSublocationsRequestTimeout) IsRedirect() bool
- func (o *GetLocationSublocationsRequestTimeout) IsServerError() bool
- func (o *GetLocationSublocationsRequestTimeout) IsSuccess() bool
- func (o *GetLocationSublocationsRequestTimeout) String() string
- type GetLocationSublocationsServiceUnavailable
- func (o *GetLocationSublocationsServiceUnavailable) Error() string
- func (o *GetLocationSublocationsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsServiceUnavailable) IsClientError() bool
- func (o *GetLocationSublocationsServiceUnavailable) IsCode(code int) bool
- func (o *GetLocationSublocationsServiceUnavailable) IsRedirect() bool
- func (o *GetLocationSublocationsServiceUnavailable) IsServerError() bool
- func (o *GetLocationSublocationsServiceUnavailable) IsSuccess() bool
- func (o *GetLocationSublocationsServiceUnavailable) String() string
- type GetLocationSublocationsTooManyRequests
- func (o *GetLocationSublocationsTooManyRequests) Error() string
- func (o *GetLocationSublocationsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsTooManyRequests) IsClientError() bool
- func (o *GetLocationSublocationsTooManyRequests) IsCode(code int) bool
- func (o *GetLocationSublocationsTooManyRequests) IsRedirect() bool
- func (o *GetLocationSublocationsTooManyRequests) IsServerError() bool
- func (o *GetLocationSublocationsTooManyRequests) IsSuccess() bool
- func (o *GetLocationSublocationsTooManyRequests) String() string
- type GetLocationSublocationsUnauthorized
- func (o *GetLocationSublocationsUnauthorized) Error() string
- func (o *GetLocationSublocationsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsUnauthorized) IsClientError() bool
- func (o *GetLocationSublocationsUnauthorized) IsCode(code int) bool
- func (o *GetLocationSublocationsUnauthorized) IsRedirect() bool
- func (o *GetLocationSublocationsUnauthorized) IsServerError() bool
- func (o *GetLocationSublocationsUnauthorized) IsSuccess() bool
- func (o *GetLocationSublocationsUnauthorized) String() string
- type GetLocationSublocationsUnsupportedMediaType
- func (o *GetLocationSublocationsUnsupportedMediaType) Error() string
- func (o *GetLocationSublocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetLocationSublocationsUnsupportedMediaType) IsClientError() bool
- func (o *GetLocationSublocationsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetLocationSublocationsUnsupportedMediaType) IsRedirect() bool
- func (o *GetLocationSublocationsUnsupportedMediaType) IsServerError() bool
- func (o *GetLocationSublocationsUnsupportedMediaType) IsSuccess() bool
- func (o *GetLocationSublocationsUnsupportedMediaType) String() string
- type GetLocationTooManyRequests
- func (o *GetLocationTooManyRequests) Error() string
- func (o *GetLocationTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetLocationTooManyRequests) IsClientError() bool
- func (o *GetLocationTooManyRequests) IsCode(code int) bool
- func (o *GetLocationTooManyRequests) IsRedirect() bool
- func (o *GetLocationTooManyRequests) IsServerError() bool
- func (o *GetLocationTooManyRequests) IsSuccess() bool
- func (o *GetLocationTooManyRequests) String() string
- type GetLocationUnauthorized
- func (o *GetLocationUnauthorized) Error() string
- func (o *GetLocationUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetLocationUnauthorized) IsClientError() bool
- func (o *GetLocationUnauthorized) IsCode(code int) bool
- func (o *GetLocationUnauthorized) IsRedirect() bool
- func (o *GetLocationUnauthorized) IsServerError() bool
- func (o *GetLocationUnauthorized) IsSuccess() bool
- func (o *GetLocationUnauthorized) String() string
- type GetLocationUnsupportedMediaType
- func (o *GetLocationUnsupportedMediaType) Error() string
- func (o *GetLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetLocationUnsupportedMediaType) IsClientError() bool
- func (o *GetLocationUnsupportedMediaType) IsCode(code int) bool
- func (o *GetLocationUnsupportedMediaType) IsRedirect() bool
- func (o *GetLocationUnsupportedMediaType) IsServerError() bool
- func (o *GetLocationUnsupportedMediaType) IsSuccess() bool
- func (o *GetLocationUnsupportedMediaType) String() string
- type GetLocationsBadRequest
- func (o *GetLocationsBadRequest) Error() string
- func (o *GetLocationsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetLocationsBadRequest) IsClientError() bool
- func (o *GetLocationsBadRequest) IsCode(code int) bool
- func (o *GetLocationsBadRequest) IsRedirect() bool
- func (o *GetLocationsBadRequest) IsServerError() bool
- func (o *GetLocationsBadRequest) IsSuccess() bool
- func (o *GetLocationsBadRequest) String() string
- type GetLocationsForbidden
- func (o *GetLocationsForbidden) Error() string
- func (o *GetLocationsForbidden) GetPayload() *models.ErrorBody
- func (o *GetLocationsForbidden) IsClientError() bool
- func (o *GetLocationsForbidden) IsCode(code int) bool
- func (o *GetLocationsForbidden) IsRedirect() bool
- func (o *GetLocationsForbidden) IsServerError() bool
- func (o *GetLocationsForbidden) IsSuccess() bool
- func (o *GetLocationsForbidden) String() string
- type GetLocationsGatewayTimeout
- func (o *GetLocationsGatewayTimeout) Error() string
- func (o *GetLocationsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationsGatewayTimeout) IsClientError() bool
- func (o *GetLocationsGatewayTimeout) IsCode(code int) bool
- func (o *GetLocationsGatewayTimeout) IsRedirect() bool
- func (o *GetLocationsGatewayTimeout) IsServerError() bool
- func (o *GetLocationsGatewayTimeout) IsSuccess() bool
- func (o *GetLocationsGatewayTimeout) String() string
- type GetLocationsInternalServerError
- func (o *GetLocationsInternalServerError) Error() string
- func (o *GetLocationsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetLocationsInternalServerError) IsClientError() bool
- func (o *GetLocationsInternalServerError) IsCode(code int) bool
- func (o *GetLocationsInternalServerError) IsRedirect() bool
- func (o *GetLocationsInternalServerError) IsServerError() bool
- func (o *GetLocationsInternalServerError) IsSuccess() bool
- func (o *GetLocationsInternalServerError) String() string
- type GetLocationsNotFound
- func (o *GetLocationsNotFound) Error() string
- func (o *GetLocationsNotFound) GetPayload() *models.ErrorBody
- func (o *GetLocationsNotFound) IsClientError() bool
- func (o *GetLocationsNotFound) IsCode(code int) bool
- func (o *GetLocationsNotFound) IsRedirect() bool
- func (o *GetLocationsNotFound) IsServerError() bool
- func (o *GetLocationsNotFound) IsSuccess() bool
- func (o *GetLocationsNotFound) String() string
- type GetLocationsOK
- func (o *GetLocationsOK) Error() string
- func (o *GetLocationsOK) GetPayload() *models.LocationEntityListing
- func (o *GetLocationsOK) IsClientError() bool
- func (o *GetLocationsOK) IsCode(code int) bool
- func (o *GetLocationsOK) IsRedirect() bool
- func (o *GetLocationsOK) IsServerError() bool
- func (o *GetLocationsOK) IsSuccess() bool
- func (o *GetLocationsOK) String() string
- type GetLocationsParams
- func (o *GetLocationsParams) SetContext(ctx context.Context)
- func (o *GetLocationsParams) SetDefaults()
- func (o *GetLocationsParams) SetHTTPClient(client *http.Client)
- func (o *GetLocationsParams) SetID(id []string)
- func (o *GetLocationsParams) SetPageNumber(pageNumber *int32)
- func (o *GetLocationsParams) SetPageSize(pageSize *int32)
- func (o *GetLocationsParams) SetSortOrder(sortOrder *string)
- func (o *GetLocationsParams) SetTimeout(timeout time.Duration)
- func (o *GetLocationsParams) WithContext(ctx context.Context) *GetLocationsParams
- func (o *GetLocationsParams) WithDefaults() *GetLocationsParams
- func (o *GetLocationsParams) WithHTTPClient(client *http.Client) *GetLocationsParams
- func (o *GetLocationsParams) WithID(id []string) *GetLocationsParams
- func (o *GetLocationsParams) WithPageNumber(pageNumber *int32) *GetLocationsParams
- func (o *GetLocationsParams) WithPageSize(pageSize *int32) *GetLocationsParams
- func (o *GetLocationsParams) WithSortOrder(sortOrder *string) *GetLocationsParams
- func (o *GetLocationsParams) WithTimeout(timeout time.Duration) *GetLocationsParams
- func (o *GetLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocationsReader
- type GetLocationsRequestEntityTooLarge
- func (o *GetLocationsRequestEntityTooLarge) Error() string
- func (o *GetLocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetLocationsRequestEntityTooLarge) IsClientError() bool
- func (o *GetLocationsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetLocationsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetLocationsRequestEntityTooLarge) IsServerError() bool
- func (o *GetLocationsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetLocationsRequestEntityTooLarge) String() string
- type GetLocationsRequestTimeout
- func (o *GetLocationsRequestTimeout) Error() string
- func (o *GetLocationsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationsRequestTimeout) IsClientError() bool
- func (o *GetLocationsRequestTimeout) IsCode(code int) bool
- func (o *GetLocationsRequestTimeout) IsRedirect() bool
- func (o *GetLocationsRequestTimeout) IsServerError() bool
- func (o *GetLocationsRequestTimeout) IsSuccess() bool
- func (o *GetLocationsRequestTimeout) String() string
- type GetLocationsSearchBadRequest
- func (o *GetLocationsSearchBadRequest) Error() string
- func (o *GetLocationsSearchBadRequest) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchBadRequest) IsClientError() bool
- func (o *GetLocationsSearchBadRequest) IsCode(code int) bool
- func (o *GetLocationsSearchBadRequest) IsRedirect() bool
- func (o *GetLocationsSearchBadRequest) IsServerError() bool
- func (o *GetLocationsSearchBadRequest) IsSuccess() bool
- func (o *GetLocationsSearchBadRequest) String() string
- type GetLocationsSearchForbidden
- func (o *GetLocationsSearchForbidden) Error() string
- func (o *GetLocationsSearchForbidden) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchForbidden) IsClientError() bool
- func (o *GetLocationsSearchForbidden) IsCode(code int) bool
- func (o *GetLocationsSearchForbidden) IsRedirect() bool
- func (o *GetLocationsSearchForbidden) IsServerError() bool
- func (o *GetLocationsSearchForbidden) IsSuccess() bool
- func (o *GetLocationsSearchForbidden) String() string
- type GetLocationsSearchGatewayTimeout
- func (o *GetLocationsSearchGatewayTimeout) Error() string
- func (o *GetLocationsSearchGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchGatewayTimeout) IsClientError() bool
- func (o *GetLocationsSearchGatewayTimeout) IsCode(code int) bool
- func (o *GetLocationsSearchGatewayTimeout) IsRedirect() bool
- func (o *GetLocationsSearchGatewayTimeout) IsServerError() bool
- func (o *GetLocationsSearchGatewayTimeout) IsSuccess() bool
- func (o *GetLocationsSearchGatewayTimeout) String() string
- type GetLocationsSearchInternalServerError
- func (o *GetLocationsSearchInternalServerError) Error() string
- func (o *GetLocationsSearchInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchInternalServerError) IsClientError() bool
- func (o *GetLocationsSearchInternalServerError) IsCode(code int) bool
- func (o *GetLocationsSearchInternalServerError) IsRedirect() bool
- func (o *GetLocationsSearchInternalServerError) IsServerError() bool
- func (o *GetLocationsSearchInternalServerError) IsSuccess() bool
- func (o *GetLocationsSearchInternalServerError) String() string
- type GetLocationsSearchNotFound
- func (o *GetLocationsSearchNotFound) Error() string
- func (o *GetLocationsSearchNotFound) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchNotFound) IsClientError() bool
- func (o *GetLocationsSearchNotFound) IsCode(code int) bool
- func (o *GetLocationsSearchNotFound) IsRedirect() bool
- func (o *GetLocationsSearchNotFound) IsServerError() bool
- func (o *GetLocationsSearchNotFound) IsSuccess() bool
- func (o *GetLocationsSearchNotFound) String() string
- type GetLocationsSearchOK
- func (o *GetLocationsSearchOK) Error() string
- func (o *GetLocationsSearchOK) GetPayload() *models.LocationsSearchResponse
- func (o *GetLocationsSearchOK) IsClientError() bool
- func (o *GetLocationsSearchOK) IsCode(code int) bool
- func (o *GetLocationsSearchOK) IsRedirect() bool
- func (o *GetLocationsSearchOK) IsServerError() bool
- func (o *GetLocationsSearchOK) IsSuccess() bool
- func (o *GetLocationsSearchOK) String() string
- type GetLocationsSearchParams
- func NewGetLocationsSearchParams() *GetLocationsSearchParams
- func NewGetLocationsSearchParamsWithContext(ctx context.Context) *GetLocationsSearchParams
- func NewGetLocationsSearchParamsWithHTTPClient(client *http.Client) *GetLocationsSearchParams
- func NewGetLocationsSearchParamsWithTimeout(timeout time.Duration) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) SetContext(ctx context.Context)
- func (o *GetLocationsSearchParams) SetDefaults()
- func (o *GetLocationsSearchParams) SetExpand(expand []string)
- func (o *GetLocationsSearchParams) SetHTTPClient(client *http.Client)
- func (o *GetLocationsSearchParams) SetQ64(q64 string)
- func (o *GetLocationsSearchParams) SetTimeout(timeout time.Duration)
- func (o *GetLocationsSearchParams) WithContext(ctx context.Context) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WithDefaults() *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WithExpand(expand []string) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WithHTTPClient(client *http.Client) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WithQ64(q64 string) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WithTimeout(timeout time.Duration) *GetLocationsSearchParams
- func (o *GetLocationsSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocationsSearchReader
- type GetLocationsSearchRequestEntityTooLarge
- func (o *GetLocationsSearchRequestEntityTooLarge) Error() string
- func (o *GetLocationsSearchRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchRequestEntityTooLarge) IsClientError() bool
- func (o *GetLocationsSearchRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetLocationsSearchRequestEntityTooLarge) IsRedirect() bool
- func (o *GetLocationsSearchRequestEntityTooLarge) IsServerError() bool
- func (o *GetLocationsSearchRequestEntityTooLarge) IsSuccess() bool
- func (o *GetLocationsSearchRequestEntityTooLarge) String() string
- type GetLocationsSearchRequestTimeout
- func (o *GetLocationsSearchRequestTimeout) Error() string
- func (o *GetLocationsSearchRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchRequestTimeout) IsClientError() bool
- func (o *GetLocationsSearchRequestTimeout) IsCode(code int) bool
- func (o *GetLocationsSearchRequestTimeout) IsRedirect() bool
- func (o *GetLocationsSearchRequestTimeout) IsServerError() bool
- func (o *GetLocationsSearchRequestTimeout) IsSuccess() bool
- func (o *GetLocationsSearchRequestTimeout) String() string
- type GetLocationsSearchServiceUnavailable
- func (o *GetLocationsSearchServiceUnavailable) Error() string
- func (o *GetLocationsSearchServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchServiceUnavailable) IsClientError() bool
- func (o *GetLocationsSearchServiceUnavailable) IsCode(code int) bool
- func (o *GetLocationsSearchServiceUnavailable) IsRedirect() bool
- func (o *GetLocationsSearchServiceUnavailable) IsServerError() bool
- func (o *GetLocationsSearchServiceUnavailable) IsSuccess() bool
- func (o *GetLocationsSearchServiceUnavailable) String() string
- type GetLocationsSearchTooManyRequests
- func (o *GetLocationsSearchTooManyRequests) Error() string
- func (o *GetLocationsSearchTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchTooManyRequests) IsClientError() bool
- func (o *GetLocationsSearchTooManyRequests) IsCode(code int) bool
- func (o *GetLocationsSearchTooManyRequests) IsRedirect() bool
- func (o *GetLocationsSearchTooManyRequests) IsServerError() bool
- func (o *GetLocationsSearchTooManyRequests) IsSuccess() bool
- func (o *GetLocationsSearchTooManyRequests) String() string
- type GetLocationsSearchUnauthorized
- func (o *GetLocationsSearchUnauthorized) Error() string
- func (o *GetLocationsSearchUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchUnauthorized) IsClientError() bool
- func (o *GetLocationsSearchUnauthorized) IsCode(code int) bool
- func (o *GetLocationsSearchUnauthorized) IsRedirect() bool
- func (o *GetLocationsSearchUnauthorized) IsServerError() bool
- func (o *GetLocationsSearchUnauthorized) IsSuccess() bool
- func (o *GetLocationsSearchUnauthorized) String() string
- type GetLocationsSearchUnsupportedMediaType
- func (o *GetLocationsSearchUnsupportedMediaType) Error() string
- func (o *GetLocationsSearchUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetLocationsSearchUnsupportedMediaType) IsClientError() bool
- func (o *GetLocationsSearchUnsupportedMediaType) IsCode(code int) bool
- func (o *GetLocationsSearchUnsupportedMediaType) IsRedirect() bool
- func (o *GetLocationsSearchUnsupportedMediaType) IsServerError() bool
- func (o *GetLocationsSearchUnsupportedMediaType) IsSuccess() bool
- func (o *GetLocationsSearchUnsupportedMediaType) String() string
- type GetLocationsServiceUnavailable
- func (o *GetLocationsServiceUnavailable) Error() string
- func (o *GetLocationsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetLocationsServiceUnavailable) IsClientError() bool
- func (o *GetLocationsServiceUnavailable) IsCode(code int) bool
- func (o *GetLocationsServiceUnavailable) IsRedirect() bool
- func (o *GetLocationsServiceUnavailable) IsServerError() bool
- func (o *GetLocationsServiceUnavailable) IsSuccess() bool
- func (o *GetLocationsServiceUnavailable) String() string
- type GetLocationsTooManyRequests
- func (o *GetLocationsTooManyRequests) Error() string
- func (o *GetLocationsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetLocationsTooManyRequests) IsClientError() bool
- func (o *GetLocationsTooManyRequests) IsCode(code int) bool
- func (o *GetLocationsTooManyRequests) IsRedirect() bool
- func (o *GetLocationsTooManyRequests) IsServerError() bool
- func (o *GetLocationsTooManyRequests) IsSuccess() bool
- func (o *GetLocationsTooManyRequests) String() string
- type GetLocationsUnauthorized
- func (o *GetLocationsUnauthorized) Error() string
- func (o *GetLocationsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetLocationsUnauthorized) IsClientError() bool
- func (o *GetLocationsUnauthorized) IsCode(code int) bool
- func (o *GetLocationsUnauthorized) IsRedirect() bool
- func (o *GetLocationsUnauthorized) IsServerError() bool
- func (o *GetLocationsUnauthorized) IsSuccess() bool
- func (o *GetLocationsUnauthorized) String() string
- type GetLocationsUnsupportedMediaType
- func (o *GetLocationsUnsupportedMediaType) Error() string
- func (o *GetLocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetLocationsUnsupportedMediaType) IsClientError() bool
- func (o *GetLocationsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetLocationsUnsupportedMediaType) IsRedirect() bool
- func (o *GetLocationsUnsupportedMediaType) IsServerError() bool
- func (o *GetLocationsUnsupportedMediaType) IsSuccess() bool
- func (o *GetLocationsUnsupportedMediaType) String() string
- type PatchLocationBadRequest
- func (o *PatchLocationBadRequest) Error() string
- func (o *PatchLocationBadRequest) GetPayload() *models.ErrorBody
- func (o *PatchLocationBadRequest) IsClientError() bool
- func (o *PatchLocationBadRequest) IsCode(code int) bool
- func (o *PatchLocationBadRequest) IsRedirect() bool
- func (o *PatchLocationBadRequest) IsServerError() bool
- func (o *PatchLocationBadRequest) IsSuccess() bool
- func (o *PatchLocationBadRequest) String() string
- type PatchLocationConflict
- func (o *PatchLocationConflict) Error() string
- func (o *PatchLocationConflict) GetPayload() *models.ErrorBody
- func (o *PatchLocationConflict) IsClientError() bool
- func (o *PatchLocationConflict) IsCode(code int) bool
- func (o *PatchLocationConflict) IsRedirect() bool
- func (o *PatchLocationConflict) IsServerError() bool
- func (o *PatchLocationConflict) IsSuccess() bool
- func (o *PatchLocationConflict) String() string
- type PatchLocationForbidden
- func (o *PatchLocationForbidden) Error() string
- func (o *PatchLocationForbidden) GetPayload() *models.ErrorBody
- func (o *PatchLocationForbidden) IsClientError() bool
- func (o *PatchLocationForbidden) IsCode(code int) bool
- func (o *PatchLocationForbidden) IsRedirect() bool
- func (o *PatchLocationForbidden) IsServerError() bool
- func (o *PatchLocationForbidden) IsSuccess() bool
- func (o *PatchLocationForbidden) String() string
- type PatchLocationGatewayTimeout
- func (o *PatchLocationGatewayTimeout) Error() string
- func (o *PatchLocationGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PatchLocationGatewayTimeout) IsClientError() bool
- func (o *PatchLocationGatewayTimeout) IsCode(code int) bool
- func (o *PatchLocationGatewayTimeout) IsRedirect() bool
- func (o *PatchLocationGatewayTimeout) IsServerError() bool
- func (o *PatchLocationGatewayTimeout) IsSuccess() bool
- func (o *PatchLocationGatewayTimeout) String() string
- type PatchLocationInternalServerError
- func (o *PatchLocationInternalServerError) Error() string
- func (o *PatchLocationInternalServerError) GetPayload() *models.ErrorBody
- func (o *PatchLocationInternalServerError) IsClientError() bool
- func (o *PatchLocationInternalServerError) IsCode(code int) bool
- func (o *PatchLocationInternalServerError) IsRedirect() bool
- func (o *PatchLocationInternalServerError) IsServerError() bool
- func (o *PatchLocationInternalServerError) IsSuccess() bool
- func (o *PatchLocationInternalServerError) String() string
- type PatchLocationNotFound
- func (o *PatchLocationNotFound) Error() string
- func (o *PatchLocationNotFound) GetPayload() *models.ErrorBody
- func (o *PatchLocationNotFound) IsClientError() bool
- func (o *PatchLocationNotFound) IsCode(code int) bool
- func (o *PatchLocationNotFound) IsRedirect() bool
- func (o *PatchLocationNotFound) IsServerError() bool
- func (o *PatchLocationNotFound) IsSuccess() bool
- func (o *PatchLocationNotFound) String() string
- type PatchLocationOK
- func (o *PatchLocationOK) Error() string
- func (o *PatchLocationOK) GetPayload() *models.LocationDefinition
- func (o *PatchLocationOK) IsClientError() bool
- func (o *PatchLocationOK) IsCode(code int) bool
- func (o *PatchLocationOK) IsRedirect() bool
- func (o *PatchLocationOK) IsServerError() bool
- func (o *PatchLocationOK) IsSuccess() bool
- func (o *PatchLocationOK) String() string
- type PatchLocationParams
- func (o *PatchLocationParams) SetBody(body *models.LocationUpdateDefinition)
- func (o *PatchLocationParams) SetContext(ctx context.Context)
- func (o *PatchLocationParams) SetDefaults()
- func (o *PatchLocationParams) SetHTTPClient(client *http.Client)
- func (o *PatchLocationParams) SetLocationID(locationID string)
- func (o *PatchLocationParams) SetTimeout(timeout time.Duration)
- func (o *PatchLocationParams) WithBody(body *models.LocationUpdateDefinition) *PatchLocationParams
- func (o *PatchLocationParams) WithContext(ctx context.Context) *PatchLocationParams
- func (o *PatchLocationParams) WithDefaults() *PatchLocationParams
- func (o *PatchLocationParams) WithHTTPClient(client *http.Client) *PatchLocationParams
- func (o *PatchLocationParams) WithLocationID(locationID string) *PatchLocationParams
- func (o *PatchLocationParams) WithTimeout(timeout time.Duration) *PatchLocationParams
- func (o *PatchLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchLocationReader
- type PatchLocationRequestEntityTooLarge
- func (o *PatchLocationRequestEntityTooLarge) Error() string
- func (o *PatchLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PatchLocationRequestEntityTooLarge) IsClientError() bool
- func (o *PatchLocationRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchLocationRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchLocationRequestEntityTooLarge) IsServerError() bool
- func (o *PatchLocationRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchLocationRequestEntityTooLarge) String() string
- type PatchLocationRequestTimeout
- func (o *PatchLocationRequestTimeout) Error() string
- func (o *PatchLocationRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PatchLocationRequestTimeout) IsClientError() bool
- func (o *PatchLocationRequestTimeout) IsCode(code int) bool
- func (o *PatchLocationRequestTimeout) IsRedirect() bool
- func (o *PatchLocationRequestTimeout) IsServerError() bool
- func (o *PatchLocationRequestTimeout) IsSuccess() bool
- func (o *PatchLocationRequestTimeout) String() string
- type PatchLocationServiceUnavailable
- func (o *PatchLocationServiceUnavailable) Error() string
- func (o *PatchLocationServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PatchLocationServiceUnavailable) IsClientError() bool
- func (o *PatchLocationServiceUnavailable) IsCode(code int) bool
- func (o *PatchLocationServiceUnavailable) IsRedirect() bool
- func (o *PatchLocationServiceUnavailable) IsServerError() bool
- func (o *PatchLocationServiceUnavailable) IsSuccess() bool
- func (o *PatchLocationServiceUnavailable) String() string
- type PatchLocationTooManyRequests
- func (o *PatchLocationTooManyRequests) Error() string
- func (o *PatchLocationTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PatchLocationTooManyRequests) IsClientError() bool
- func (o *PatchLocationTooManyRequests) IsCode(code int) bool
- func (o *PatchLocationTooManyRequests) IsRedirect() bool
- func (o *PatchLocationTooManyRequests) IsServerError() bool
- func (o *PatchLocationTooManyRequests) IsSuccess() bool
- func (o *PatchLocationTooManyRequests) String() string
- type PatchLocationUnauthorized
- func (o *PatchLocationUnauthorized) Error() string
- func (o *PatchLocationUnauthorized) GetPayload() *models.ErrorBody
- func (o *PatchLocationUnauthorized) IsClientError() bool
- func (o *PatchLocationUnauthorized) IsCode(code int) bool
- func (o *PatchLocationUnauthorized) IsRedirect() bool
- func (o *PatchLocationUnauthorized) IsServerError() bool
- func (o *PatchLocationUnauthorized) IsSuccess() bool
- func (o *PatchLocationUnauthorized) String() string
- type PatchLocationUnsupportedMediaType
- func (o *PatchLocationUnsupportedMediaType) Error() string
- func (o *PatchLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PatchLocationUnsupportedMediaType) IsClientError() bool
- func (o *PatchLocationUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchLocationUnsupportedMediaType) IsRedirect() bool
- func (o *PatchLocationUnsupportedMediaType) IsServerError() bool
- func (o *PatchLocationUnsupportedMediaType) IsSuccess() bool
- func (o *PatchLocationUnsupportedMediaType) String() string
- type PostLocationsBadRequest
- func (o *PostLocationsBadRequest) Error() string
- func (o *PostLocationsBadRequest) GetPayload() *models.ErrorBody
- func (o *PostLocationsBadRequest) IsClientError() bool
- func (o *PostLocationsBadRequest) IsCode(code int) bool
- func (o *PostLocationsBadRequest) IsRedirect() bool
- func (o *PostLocationsBadRequest) IsServerError() bool
- func (o *PostLocationsBadRequest) IsSuccess() bool
- func (o *PostLocationsBadRequest) String() string
- type PostLocationsForbidden
- func (o *PostLocationsForbidden) Error() string
- func (o *PostLocationsForbidden) GetPayload() *models.ErrorBody
- func (o *PostLocationsForbidden) IsClientError() bool
- func (o *PostLocationsForbidden) IsCode(code int) bool
- func (o *PostLocationsForbidden) IsRedirect() bool
- func (o *PostLocationsForbidden) IsServerError() bool
- func (o *PostLocationsForbidden) IsSuccess() bool
- func (o *PostLocationsForbidden) String() string
- type PostLocationsGatewayTimeout
- func (o *PostLocationsGatewayTimeout) Error() string
- func (o *PostLocationsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostLocationsGatewayTimeout) IsClientError() bool
- func (o *PostLocationsGatewayTimeout) IsCode(code int) bool
- func (o *PostLocationsGatewayTimeout) IsRedirect() bool
- func (o *PostLocationsGatewayTimeout) IsServerError() bool
- func (o *PostLocationsGatewayTimeout) IsSuccess() bool
- func (o *PostLocationsGatewayTimeout) String() string
- type PostLocationsInternalServerError
- func (o *PostLocationsInternalServerError) Error() string
- func (o *PostLocationsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostLocationsInternalServerError) IsClientError() bool
- func (o *PostLocationsInternalServerError) IsCode(code int) bool
- func (o *PostLocationsInternalServerError) IsRedirect() bool
- func (o *PostLocationsInternalServerError) IsServerError() bool
- func (o *PostLocationsInternalServerError) IsSuccess() bool
- func (o *PostLocationsInternalServerError) String() string
- type PostLocationsNotFound
- func (o *PostLocationsNotFound) Error() string
- func (o *PostLocationsNotFound) GetPayload() *models.ErrorBody
- func (o *PostLocationsNotFound) IsClientError() bool
- func (o *PostLocationsNotFound) IsCode(code int) bool
- func (o *PostLocationsNotFound) IsRedirect() bool
- func (o *PostLocationsNotFound) IsServerError() bool
- func (o *PostLocationsNotFound) IsSuccess() bool
- func (o *PostLocationsNotFound) String() string
- type PostLocationsOK
- func (o *PostLocationsOK) Error() string
- func (o *PostLocationsOK) GetPayload() *models.LocationDefinition
- func (o *PostLocationsOK) IsClientError() bool
- func (o *PostLocationsOK) IsCode(code int) bool
- func (o *PostLocationsOK) IsRedirect() bool
- func (o *PostLocationsOK) IsServerError() bool
- func (o *PostLocationsOK) IsSuccess() bool
- func (o *PostLocationsOK) String() string
- type PostLocationsParams
- func (o *PostLocationsParams) SetBody(body *models.LocationCreateDefinition)
- func (o *PostLocationsParams) SetContext(ctx context.Context)
- func (o *PostLocationsParams) SetDefaults()
- func (o *PostLocationsParams) SetHTTPClient(client *http.Client)
- func (o *PostLocationsParams) SetTimeout(timeout time.Duration)
- func (o *PostLocationsParams) WithBody(body *models.LocationCreateDefinition) *PostLocationsParams
- func (o *PostLocationsParams) WithContext(ctx context.Context) *PostLocationsParams
- func (o *PostLocationsParams) WithDefaults() *PostLocationsParams
- func (o *PostLocationsParams) WithHTTPClient(client *http.Client) *PostLocationsParams
- func (o *PostLocationsParams) WithTimeout(timeout time.Duration) *PostLocationsParams
- func (o *PostLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostLocationsReader
- type PostLocationsRequestEntityTooLarge
- func (o *PostLocationsRequestEntityTooLarge) Error() string
- func (o *PostLocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostLocationsRequestEntityTooLarge) IsClientError() bool
- func (o *PostLocationsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostLocationsRequestEntityTooLarge) IsRedirect() bool
- func (o *PostLocationsRequestEntityTooLarge) IsServerError() bool
- func (o *PostLocationsRequestEntityTooLarge) IsSuccess() bool
- func (o *PostLocationsRequestEntityTooLarge) String() string
- type PostLocationsRequestTimeout
- func (o *PostLocationsRequestTimeout) Error() string
- func (o *PostLocationsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostLocationsRequestTimeout) IsClientError() bool
- func (o *PostLocationsRequestTimeout) IsCode(code int) bool
- func (o *PostLocationsRequestTimeout) IsRedirect() bool
- func (o *PostLocationsRequestTimeout) IsServerError() bool
- func (o *PostLocationsRequestTimeout) IsSuccess() bool
- func (o *PostLocationsRequestTimeout) String() string
- type PostLocationsSearchBadRequest
- func (o *PostLocationsSearchBadRequest) Error() string
- func (o *PostLocationsSearchBadRequest) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchBadRequest) IsClientError() bool
- func (o *PostLocationsSearchBadRequest) IsCode(code int) bool
- func (o *PostLocationsSearchBadRequest) IsRedirect() bool
- func (o *PostLocationsSearchBadRequest) IsServerError() bool
- func (o *PostLocationsSearchBadRequest) IsSuccess() bool
- func (o *PostLocationsSearchBadRequest) String() string
- type PostLocationsSearchForbidden
- func (o *PostLocationsSearchForbidden) Error() string
- func (o *PostLocationsSearchForbidden) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchForbidden) IsClientError() bool
- func (o *PostLocationsSearchForbidden) IsCode(code int) bool
- func (o *PostLocationsSearchForbidden) IsRedirect() bool
- func (o *PostLocationsSearchForbidden) IsServerError() bool
- func (o *PostLocationsSearchForbidden) IsSuccess() bool
- func (o *PostLocationsSearchForbidden) String() string
- type PostLocationsSearchGatewayTimeout
- func (o *PostLocationsSearchGatewayTimeout) Error() string
- func (o *PostLocationsSearchGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchGatewayTimeout) IsClientError() bool
- func (o *PostLocationsSearchGatewayTimeout) IsCode(code int) bool
- func (o *PostLocationsSearchGatewayTimeout) IsRedirect() bool
- func (o *PostLocationsSearchGatewayTimeout) IsServerError() bool
- func (o *PostLocationsSearchGatewayTimeout) IsSuccess() bool
- func (o *PostLocationsSearchGatewayTimeout) String() string
- type PostLocationsSearchInternalServerError
- func (o *PostLocationsSearchInternalServerError) Error() string
- func (o *PostLocationsSearchInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchInternalServerError) IsClientError() bool
- func (o *PostLocationsSearchInternalServerError) IsCode(code int) bool
- func (o *PostLocationsSearchInternalServerError) IsRedirect() bool
- func (o *PostLocationsSearchInternalServerError) IsServerError() bool
- func (o *PostLocationsSearchInternalServerError) IsSuccess() bool
- func (o *PostLocationsSearchInternalServerError) String() string
- type PostLocationsSearchNotFound
- func (o *PostLocationsSearchNotFound) Error() string
- func (o *PostLocationsSearchNotFound) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchNotFound) IsClientError() bool
- func (o *PostLocationsSearchNotFound) IsCode(code int) bool
- func (o *PostLocationsSearchNotFound) IsRedirect() bool
- func (o *PostLocationsSearchNotFound) IsServerError() bool
- func (o *PostLocationsSearchNotFound) IsSuccess() bool
- func (o *PostLocationsSearchNotFound) String() string
- type PostLocationsSearchOK
- func (o *PostLocationsSearchOK) Error() string
- func (o *PostLocationsSearchOK) GetPayload() *models.LocationsSearchResponse
- func (o *PostLocationsSearchOK) IsClientError() bool
- func (o *PostLocationsSearchOK) IsCode(code int) bool
- func (o *PostLocationsSearchOK) IsRedirect() bool
- func (o *PostLocationsSearchOK) IsServerError() bool
- func (o *PostLocationsSearchOK) IsSuccess() bool
- func (o *PostLocationsSearchOK) String() string
- type PostLocationsSearchParams
- func NewPostLocationsSearchParams() *PostLocationsSearchParams
- func NewPostLocationsSearchParamsWithContext(ctx context.Context) *PostLocationsSearchParams
- func NewPostLocationsSearchParamsWithHTTPClient(client *http.Client) *PostLocationsSearchParams
- func NewPostLocationsSearchParamsWithTimeout(timeout time.Duration) *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) SetBody(body *models.LocationSearchRequest)
- func (o *PostLocationsSearchParams) SetContext(ctx context.Context)
- func (o *PostLocationsSearchParams) SetDefaults()
- func (o *PostLocationsSearchParams) SetHTTPClient(client *http.Client)
- func (o *PostLocationsSearchParams) SetTimeout(timeout time.Duration)
- func (o *PostLocationsSearchParams) WithBody(body *models.LocationSearchRequest) *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) WithContext(ctx context.Context) *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) WithDefaults() *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) WithHTTPClient(client *http.Client) *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) WithTimeout(timeout time.Duration) *PostLocationsSearchParams
- func (o *PostLocationsSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostLocationsSearchReader
- type PostLocationsSearchRequestEntityTooLarge
- func (o *PostLocationsSearchRequestEntityTooLarge) Error() string
- func (o *PostLocationsSearchRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchRequestEntityTooLarge) IsClientError() bool
- func (o *PostLocationsSearchRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostLocationsSearchRequestEntityTooLarge) IsRedirect() bool
- func (o *PostLocationsSearchRequestEntityTooLarge) IsServerError() bool
- func (o *PostLocationsSearchRequestEntityTooLarge) IsSuccess() bool
- func (o *PostLocationsSearchRequestEntityTooLarge) String() string
- type PostLocationsSearchRequestTimeout
- func (o *PostLocationsSearchRequestTimeout) Error() string
- func (o *PostLocationsSearchRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchRequestTimeout) IsClientError() bool
- func (o *PostLocationsSearchRequestTimeout) IsCode(code int) bool
- func (o *PostLocationsSearchRequestTimeout) IsRedirect() bool
- func (o *PostLocationsSearchRequestTimeout) IsServerError() bool
- func (o *PostLocationsSearchRequestTimeout) IsSuccess() bool
- func (o *PostLocationsSearchRequestTimeout) String() string
- type PostLocationsSearchServiceUnavailable
- func (o *PostLocationsSearchServiceUnavailable) Error() string
- func (o *PostLocationsSearchServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchServiceUnavailable) IsClientError() bool
- func (o *PostLocationsSearchServiceUnavailable) IsCode(code int) bool
- func (o *PostLocationsSearchServiceUnavailable) IsRedirect() bool
- func (o *PostLocationsSearchServiceUnavailable) IsServerError() bool
- func (o *PostLocationsSearchServiceUnavailable) IsSuccess() bool
- func (o *PostLocationsSearchServiceUnavailable) String() string
- type PostLocationsSearchTooManyRequests
- func (o *PostLocationsSearchTooManyRequests) Error() string
- func (o *PostLocationsSearchTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchTooManyRequests) IsClientError() bool
- func (o *PostLocationsSearchTooManyRequests) IsCode(code int) bool
- func (o *PostLocationsSearchTooManyRequests) IsRedirect() bool
- func (o *PostLocationsSearchTooManyRequests) IsServerError() bool
- func (o *PostLocationsSearchTooManyRequests) IsSuccess() bool
- func (o *PostLocationsSearchTooManyRequests) String() string
- type PostLocationsSearchUnauthorized
- func (o *PostLocationsSearchUnauthorized) Error() string
- func (o *PostLocationsSearchUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchUnauthorized) IsClientError() bool
- func (o *PostLocationsSearchUnauthorized) IsCode(code int) bool
- func (o *PostLocationsSearchUnauthorized) IsRedirect() bool
- func (o *PostLocationsSearchUnauthorized) IsServerError() bool
- func (o *PostLocationsSearchUnauthorized) IsSuccess() bool
- func (o *PostLocationsSearchUnauthorized) String() string
- type PostLocationsSearchUnsupportedMediaType
- func (o *PostLocationsSearchUnsupportedMediaType) Error() string
- func (o *PostLocationsSearchUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostLocationsSearchUnsupportedMediaType) IsClientError() bool
- func (o *PostLocationsSearchUnsupportedMediaType) IsCode(code int) bool
- func (o *PostLocationsSearchUnsupportedMediaType) IsRedirect() bool
- func (o *PostLocationsSearchUnsupportedMediaType) IsServerError() bool
- func (o *PostLocationsSearchUnsupportedMediaType) IsSuccess() bool
- func (o *PostLocationsSearchUnsupportedMediaType) String() string
- type PostLocationsServiceUnavailable
- func (o *PostLocationsServiceUnavailable) Error() string
- func (o *PostLocationsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostLocationsServiceUnavailable) IsClientError() bool
- func (o *PostLocationsServiceUnavailable) IsCode(code int) bool
- func (o *PostLocationsServiceUnavailable) IsRedirect() bool
- func (o *PostLocationsServiceUnavailable) IsServerError() bool
- func (o *PostLocationsServiceUnavailable) IsSuccess() bool
- func (o *PostLocationsServiceUnavailable) String() string
- type PostLocationsTooManyRequests
- func (o *PostLocationsTooManyRequests) Error() string
- func (o *PostLocationsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostLocationsTooManyRequests) IsClientError() bool
- func (o *PostLocationsTooManyRequests) IsCode(code int) bool
- func (o *PostLocationsTooManyRequests) IsRedirect() bool
- func (o *PostLocationsTooManyRequests) IsServerError() bool
- func (o *PostLocationsTooManyRequests) IsSuccess() bool
- func (o *PostLocationsTooManyRequests) String() string
- type PostLocationsUnauthorized
- func (o *PostLocationsUnauthorized) Error() string
- func (o *PostLocationsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostLocationsUnauthorized) IsClientError() bool
- func (o *PostLocationsUnauthorized) IsCode(code int) bool
- func (o *PostLocationsUnauthorized) IsRedirect() bool
- func (o *PostLocationsUnauthorized) IsServerError() bool
- func (o *PostLocationsUnauthorized) IsSuccess() bool
- func (o *PostLocationsUnauthorized) String() string
- type PostLocationsUnsupportedMediaType
- func (o *PostLocationsUnsupportedMediaType) Error() string
- func (o *PostLocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostLocationsUnsupportedMediaType) IsClientError() bool
- func (o *PostLocationsUnsupportedMediaType) IsCode(code int) bool
- func (o *PostLocationsUnsupportedMediaType) IsRedirect() bool
- func (o *PostLocationsUnsupportedMediaType) IsServerError() bool
- func (o *PostLocationsUnsupportedMediaType) IsSuccess() bool
- func (o *PostLocationsUnsupportedMediaType) String() string
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 ¶
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 ¶
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 ¶
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 (o *DeleteLocationGatewayTimeout) Error() string
func (*DeleteLocationGatewayTimeout) GetPayload ¶
func (o *DeleteLocationGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationGatewayTimeout) String() string
type DeleteLocationInternalServerError ¶
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 (o *DeleteLocationInternalServerError) Error() string
func (*DeleteLocationInternalServerError) GetPayload ¶
func (o *DeleteLocationInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationInternalServerError) String() 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 ¶
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 ¶
func (o *DeleteLocationParams) WithContext(ctx context.Context) *DeleteLocationParams
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 ¶
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 (o *DeleteLocationRequestEntityTooLarge) Error() string
func (*DeleteLocationRequestEntityTooLarge) GetPayload ¶
func (o *DeleteLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *DeleteLocationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete location request entity too large response has a 2xx status code
func (*DeleteLocationRequestEntityTooLarge) String ¶
func (o *DeleteLocationRequestEntityTooLarge) String() string
type DeleteLocationRequestTimeout ¶
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 (o *DeleteLocationRequestTimeout) Error() string
func (*DeleteLocationRequestTimeout) GetPayload ¶
func (o *DeleteLocationRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationRequestTimeout) String() string
type DeleteLocationServiceUnavailable ¶
type DeleteLocationServiceUnavailable struct {
}
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 (o *DeleteLocationServiceUnavailable) Error() string
func (*DeleteLocationServiceUnavailable) GetPayload ¶
func (o *DeleteLocationServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationServiceUnavailable) String() string
type DeleteLocationTooManyRequests ¶
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 (o *DeleteLocationTooManyRequests) Error() string
func (*DeleteLocationTooManyRequests) GetPayload ¶
func (o *DeleteLocationTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationTooManyRequests) String() string
type DeleteLocationUnauthorized ¶
type DeleteLocationUnauthorized struct {
}
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 (o *DeleteLocationUnauthorized) Error() string
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 ¶
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 (o *DeleteLocationUnsupportedMediaType) Error() string
func (*DeleteLocationUnsupportedMediaType) GetPayload ¶
func (o *DeleteLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteLocationUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *DeleteLocationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete location unsupported media type response has a 2xx status code
func (*DeleteLocationUnsupportedMediaType) String ¶
func (o *DeleteLocationUnsupportedMediaType) String() string
type GetLocationBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *GetLocationInternalServerError) Error() string
func (*GetLocationInternalServerError) GetPayload ¶
func (o *GetLocationInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationInternalServerError) String() string
type GetLocationNotFound ¶
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 ¶
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 (o *GetLocationRequestEntityTooLarge) Error() string
func (*GetLocationRequestEntityTooLarge) GetPayload ¶
func (o *GetLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationRequestEntityTooLarge) String() string
type GetLocationRequestTimeout ¶
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 {
}
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 (o *GetLocationServiceUnavailable) Error() string
func (*GetLocationServiceUnavailable) GetPayload ¶
func (o *GetLocationServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationServiceUnavailable) String() string
type GetLocationSublocationsBadRequest ¶
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 (o *GetLocationSublocationsBadRequest) Error() string
func (*GetLocationSublocationsBadRequest) GetPayload ¶
func (o *GetLocationSublocationsBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsBadRequest) String() string
type GetLocationSublocationsForbidden ¶
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 (o *GetLocationSublocationsForbidden) Error() string
func (*GetLocationSublocationsForbidden) GetPayload ¶
func (o *GetLocationSublocationsForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsForbidden) String() string
type GetLocationSublocationsGatewayTimeout ¶
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 (o *GetLocationSublocationsGatewayTimeout) Error() string
func (*GetLocationSublocationsGatewayTimeout) GetPayload ¶
func (o *GetLocationSublocationsGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get location sublocations gateway timeout response a status code equal to that given
func (*GetLocationSublocationsGatewayTimeout) IsRedirect ¶
func (o *GetLocationSublocationsGatewayTimeout) IsRedirect() bool
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 ¶
func (o *GetLocationSublocationsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get location sublocations gateway timeout response has a 2xx status code
func (*GetLocationSublocationsGatewayTimeout) String ¶
func (o *GetLocationSublocationsGatewayTimeout) String() string
type GetLocationSublocationsInternalServerError ¶
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 (o *GetLocationSublocationsInternalServerError) Error() string
func (*GetLocationSublocationsInternalServerError) GetPayload ¶
func (o *GetLocationSublocationsInternalServerError) GetPayload() *models.ErrorBody
func (*GetLocationSublocationsInternalServerError) IsClientError ¶
func (o *GetLocationSublocationsInternalServerError) IsClientError() bool
IsClientError returns true when this get location sublocations internal server error response has a 4xx status code
func (*GetLocationSublocationsInternalServerError) IsCode ¶
func (o *GetLocationSublocationsInternalServerError) IsCode(code int) bool
IsCode returns true when this get location sublocations internal server error response a status code equal to that given
func (*GetLocationSublocationsInternalServerError) IsRedirect ¶
func (o *GetLocationSublocationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get location sublocations internal server error response has a 3xx status code
func (*GetLocationSublocationsInternalServerError) IsServerError ¶
func (o *GetLocationSublocationsInternalServerError) IsServerError() bool
IsServerError returns true when this get location sublocations internal server error response has a 5xx status code
func (*GetLocationSublocationsInternalServerError) IsSuccess ¶
func (o *GetLocationSublocationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get location sublocations internal server error response has a 2xx status code
func (*GetLocationSublocationsInternalServerError) String ¶
func (o *GetLocationSublocationsInternalServerError) String() string
type GetLocationSublocationsNotFound ¶
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 (o *GetLocationSublocationsNotFound) Error() string
func (*GetLocationSublocationsNotFound) GetPayload ¶
func (o *GetLocationSublocationsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsNotFound) String() 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 (o *GetLocationSublocationsOK) GetPayload() *models.LocationEntityListing
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 ¶
func (o *GetLocationSublocationsParams) WithContext(ctx context.Context) *GetLocationSublocationsParams
WithContext adds the context to the get location sublocations params
func (*GetLocationSublocationsParams) WithDefaults ¶
func (o *GetLocationSublocationsParams) WithDefaults() *GetLocationSublocationsParams
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 ¶
func (o *GetLocationSublocationsParams) WithHTTPClient(client *http.Client) *GetLocationSublocationsParams
WithHTTPClient adds the HTTPClient to the get location sublocations params
func (*GetLocationSublocationsParams) WithLocationID ¶
func (o *GetLocationSublocationsParams) WithLocationID(locationID string) *GetLocationSublocationsParams
WithLocationID adds the locationID to the get location sublocations params
func (*GetLocationSublocationsParams) WithTimeout ¶
func (o *GetLocationSublocationsParams) WithTimeout(timeout time.Duration) *GetLocationSublocationsParams
WithTimeout adds the timeout to the get location sublocations params
func (*GetLocationSublocationsParams) WriteToRequest ¶
func (o *GetLocationSublocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetLocationSublocationsRequestEntityTooLarge) Error() string
func (*GetLocationSublocationsRequestEntityTooLarge) GetPayload ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetLocationSublocationsRequestEntityTooLarge) IsClientError ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get location sublocations request entity too large response has a 4xx status code
func (*GetLocationSublocationsRequestEntityTooLarge) IsCode ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get location sublocations request entity too large response a status code equal to that given
func (*GetLocationSublocationsRequestEntityTooLarge) IsRedirect ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get location sublocations request entity too large response has a 3xx status code
func (*GetLocationSublocationsRequestEntityTooLarge) IsServerError ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get location sublocations request entity too large response has a 5xx status code
func (*GetLocationSublocationsRequestEntityTooLarge) IsSuccess ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get location sublocations request entity too large response has a 2xx status code
func (*GetLocationSublocationsRequestEntityTooLarge) String ¶
func (o *GetLocationSublocationsRequestEntityTooLarge) String() string
type GetLocationSublocationsRequestTimeout ¶
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 (o *GetLocationSublocationsRequestTimeout) Error() string
func (*GetLocationSublocationsRequestTimeout) GetPayload ¶
func (o *GetLocationSublocationsRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsRequestTimeout) IsCode(code int) bool
IsCode returns true when this get location sublocations request timeout response a status code equal to that given
func (*GetLocationSublocationsRequestTimeout) IsRedirect ¶
func (o *GetLocationSublocationsRequestTimeout) IsRedirect() bool
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 ¶
func (o *GetLocationSublocationsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get location sublocations request timeout response has a 2xx status code
func (*GetLocationSublocationsRequestTimeout) String ¶
func (o *GetLocationSublocationsRequestTimeout) String() string
type GetLocationSublocationsServiceUnavailable ¶
type GetLocationSublocationsServiceUnavailable struct {
}
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 (o *GetLocationSublocationsServiceUnavailable) Error() string
func (*GetLocationSublocationsServiceUnavailable) GetPayload ¶
func (o *GetLocationSublocationsServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetLocationSublocationsServiceUnavailable) IsClientError ¶
func (o *GetLocationSublocationsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get location sublocations service unavailable response has a 4xx status code
func (*GetLocationSublocationsServiceUnavailable) IsCode ¶
func (o *GetLocationSublocationsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get location sublocations service unavailable response a status code equal to that given
func (*GetLocationSublocationsServiceUnavailable) IsRedirect ¶
func (o *GetLocationSublocationsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get location sublocations service unavailable response has a 3xx status code
func (*GetLocationSublocationsServiceUnavailable) IsServerError ¶
func (o *GetLocationSublocationsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get location sublocations service unavailable response has a 5xx status code
func (*GetLocationSublocationsServiceUnavailable) IsSuccess ¶
func (o *GetLocationSublocationsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get location sublocations service unavailable response has a 2xx status code
func (*GetLocationSublocationsServiceUnavailable) String ¶
func (o *GetLocationSublocationsServiceUnavailable) String() string
type GetLocationSublocationsTooManyRequests ¶
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 (o *GetLocationSublocationsTooManyRequests) Error() string
func (*GetLocationSublocationsTooManyRequests) GetPayload ¶
func (o *GetLocationSublocationsTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get location sublocations too many requests response a status code equal to that given
func (*GetLocationSublocationsTooManyRequests) IsRedirect ¶
func (o *GetLocationSublocationsTooManyRequests) IsRedirect() bool
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 ¶
func (o *GetLocationSublocationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get location sublocations too many requests response has a 2xx status code
func (*GetLocationSublocationsTooManyRequests) String ¶
func (o *GetLocationSublocationsTooManyRequests) String() string
type GetLocationSublocationsUnauthorized ¶
type GetLocationSublocationsUnauthorized struct {
}
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 (o *GetLocationSublocationsUnauthorized) Error() string
func (*GetLocationSublocationsUnauthorized) GetPayload ¶
func (o *GetLocationSublocationsUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationSublocationsUnauthorized) IsCode(code int) bool
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 ¶
func (o *GetLocationSublocationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get location sublocations unauthorized response has a 2xx status code
func (*GetLocationSublocationsUnauthorized) String ¶
func (o *GetLocationSublocationsUnauthorized) String() string
type GetLocationSublocationsUnsupportedMediaType ¶
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 (o *GetLocationSublocationsUnsupportedMediaType) Error() string
func (*GetLocationSublocationsUnsupportedMediaType) GetPayload ¶
func (o *GetLocationSublocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetLocationSublocationsUnsupportedMediaType) IsClientError ¶
func (o *GetLocationSublocationsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get location sublocations unsupported media type response has a 4xx status code
func (*GetLocationSublocationsUnsupportedMediaType) IsCode ¶
func (o *GetLocationSublocationsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get location sublocations unsupported media type response a status code equal to that given
func (*GetLocationSublocationsUnsupportedMediaType) IsRedirect ¶
func (o *GetLocationSublocationsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get location sublocations unsupported media type response has a 3xx status code
func (*GetLocationSublocationsUnsupportedMediaType) IsServerError ¶
func (o *GetLocationSublocationsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get location sublocations unsupported media type response has a 5xx status code
func (*GetLocationSublocationsUnsupportedMediaType) IsSuccess ¶
func (o *GetLocationSublocationsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get location sublocations unsupported media type response has a 2xx status code
func (*GetLocationSublocationsUnsupportedMediaType) String ¶
func (o *GetLocationSublocationsUnsupportedMediaType) String() string
type GetLocationTooManyRequests ¶
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 (o *GetLocationTooManyRequests) Error() string
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 {
}
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 ¶
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 (o *GetLocationUnsupportedMediaType) Error() string
func (*GetLocationUnsupportedMediaType) GetPayload ¶
func (o *GetLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationUnsupportedMediaType) String() string
type GetLocationsBadRequest ¶
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 ¶
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 ¶
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 (o *GetLocationsGatewayTimeout) Error() string
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 ¶
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 (o *GetLocationsInternalServerError) Error() string
func (*GetLocationsInternalServerError) GetPayload ¶
func (o *GetLocationsInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsInternalServerError) String() string
type GetLocationsNotFound ¶
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 ¶
func (o *GetLocationsParams) WithContext(ctx context.Context) *GetLocationsParams
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 ¶
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 (o *GetLocationsRequestEntityTooLarge) Error() string
func (*GetLocationsRequestEntityTooLarge) GetPayload ¶
func (o *GetLocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsRequestEntityTooLarge) String() string
type GetLocationsRequestTimeout ¶
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 (o *GetLocationsRequestTimeout) Error() string
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 ¶
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 (o *GetLocationsSearchBadRequest) Error() string
func (*GetLocationsSearchBadRequest) GetPayload ¶
func (o *GetLocationsSearchBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchBadRequest) String() string
type GetLocationsSearchForbidden ¶
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 (o *GetLocationsSearchForbidden) Error() string
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 ¶
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 (o *GetLocationsSearchGatewayTimeout) Error() string
func (*GetLocationsSearchGatewayTimeout) GetPayload ¶
func (o *GetLocationsSearchGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchGatewayTimeout) String() string
type GetLocationsSearchInternalServerError ¶
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 (o *GetLocationsSearchInternalServerError) Error() string
func (*GetLocationsSearchInternalServerError) GetPayload ¶
func (o *GetLocationsSearchInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this get locations search internal server error response a status code equal to that given
func (*GetLocationsSearchInternalServerError) IsRedirect ¶
func (o *GetLocationsSearchInternalServerError) IsRedirect() bool
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 ¶
func (o *GetLocationsSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this get locations search internal server error response has a 2xx status code
func (*GetLocationsSearchInternalServerError) String ¶
func (o *GetLocationsSearchInternalServerError) String() string
type GetLocationsSearchNotFound ¶
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 (o *GetLocationsSearchNotFound) Error() string
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 (o *GetLocationsSearchOK) GetPayload() *models.LocationsSearchResponse
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 ¶
func (o *GetLocationsSearchParams) WithContext(ctx context.Context) *GetLocationsSearchParams
WithContext adds the context to the get locations search params
func (*GetLocationsSearchParams) WithDefaults ¶
func (o *GetLocationsSearchParams) WithDefaults() *GetLocationsSearchParams
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 ¶
func (o *GetLocationsSearchParams) WithQ64(q64 string) *GetLocationsSearchParams
WithQ64 adds the q64 to the get locations search params
func (*GetLocationsSearchParams) WithTimeout ¶
func (o *GetLocationsSearchParams) WithTimeout(timeout time.Duration) *GetLocationsSearchParams
WithTimeout adds the timeout to the get locations search params
func (*GetLocationsSearchParams) WriteToRequest ¶
func (o *GetLocationsSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetLocationsSearchRequestEntityTooLarge) Error() string
func (*GetLocationsSearchRequestEntityTooLarge) GetPayload ¶
func (o *GetLocationsSearchRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get locations search request entity too large response a status code equal to that given
func (*GetLocationsSearchRequestEntityTooLarge) IsRedirect ¶
func (o *GetLocationsSearchRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *GetLocationsSearchRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get locations search request entity too large response has a 2xx status code
func (*GetLocationsSearchRequestEntityTooLarge) String ¶
func (o *GetLocationsSearchRequestEntityTooLarge) String() string
type GetLocationsSearchRequestTimeout ¶
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 (o *GetLocationsSearchRequestTimeout) Error() string
func (*GetLocationsSearchRequestTimeout) GetPayload ¶
func (o *GetLocationsSearchRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchRequestTimeout) String() string
type GetLocationsSearchServiceUnavailable ¶
type GetLocationsSearchServiceUnavailable struct {
}
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 (o *GetLocationsSearchServiceUnavailable) Error() string
func (*GetLocationsSearchServiceUnavailable) GetPayload ¶
func (o *GetLocationsSearchServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get locations search service unavailable response a status code equal to that given
func (*GetLocationsSearchServiceUnavailable) IsRedirect ¶
func (o *GetLocationsSearchServiceUnavailable) IsRedirect() bool
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 ¶
func (o *GetLocationsSearchServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get locations search service unavailable response has a 2xx status code
func (*GetLocationsSearchServiceUnavailable) String ¶
func (o *GetLocationsSearchServiceUnavailable) String() string
type GetLocationsSearchTooManyRequests ¶
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 (o *GetLocationsSearchTooManyRequests) Error() string
func (*GetLocationsSearchTooManyRequests) GetPayload ¶
func (o *GetLocationsSearchTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchTooManyRequests) String() string
type GetLocationsSearchUnauthorized ¶
type GetLocationsSearchUnauthorized struct {
}
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 (o *GetLocationsSearchUnauthorized) Error() string
func (*GetLocationsSearchUnauthorized) GetPayload ¶
func (o *GetLocationsSearchUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchUnauthorized) String() string
type GetLocationsSearchUnsupportedMediaType ¶
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 (o *GetLocationsSearchUnsupportedMediaType) Error() string
func (*GetLocationsSearchUnsupportedMediaType) GetPayload ¶
func (o *GetLocationsSearchUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsSearchUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get locations search unsupported media type response a status code equal to that given
func (*GetLocationsSearchUnsupportedMediaType) IsRedirect ¶
func (o *GetLocationsSearchUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *GetLocationsSearchUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get locations search unsupported media type response has a 2xx status code
func (*GetLocationsSearchUnsupportedMediaType) String ¶
func (o *GetLocationsSearchUnsupportedMediaType) String() string
type GetLocationsServiceUnavailable ¶
type GetLocationsServiceUnavailable struct {
}
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 (o *GetLocationsServiceUnavailable) Error() string
func (*GetLocationsServiceUnavailable) GetPayload ¶
func (o *GetLocationsServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsServiceUnavailable) String() string
type GetLocationsTooManyRequests ¶
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 (o *GetLocationsTooManyRequests) Error() string
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 {
}
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 ¶
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 (o *GetLocationsUnsupportedMediaType) Error() string
func (*GetLocationsUnsupportedMediaType) GetPayload ¶
func (o *GetLocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *GetLocationsUnsupportedMediaType) String() string
type PatchLocationBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *PatchLocationGatewayTimeout) Error() string
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 ¶
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 (o *PatchLocationInternalServerError) Error() string
func (*PatchLocationInternalServerError) GetPayload ¶
func (o *PatchLocationInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchLocationInternalServerError) String() string
type PatchLocationNotFound ¶
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 ¶
func (o *PatchLocationParams) SetBody(body *models.LocationUpdateDefinition)
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 ¶
func (o *PatchLocationParams) WithBody(body *models.LocationUpdateDefinition) *PatchLocationParams
WithBody adds the body to the patch location params
func (*PatchLocationParams) WithContext ¶
func (o *PatchLocationParams) WithContext(ctx context.Context) *PatchLocationParams
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 ¶
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 (o *PatchLocationRequestEntityTooLarge) Error() string
func (*PatchLocationRequestEntityTooLarge) GetPayload ¶
func (o *PatchLocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchLocationRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *PatchLocationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch location request entity too large response has a 2xx status code
func (*PatchLocationRequestEntityTooLarge) String ¶
func (o *PatchLocationRequestEntityTooLarge) String() string
type PatchLocationRequestTimeout ¶
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 (o *PatchLocationRequestTimeout) Error() string
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 {
}
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 (o *PatchLocationServiceUnavailable) Error() string
func (*PatchLocationServiceUnavailable) GetPayload ¶
func (o *PatchLocationServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchLocationServiceUnavailable) String() string
type PatchLocationTooManyRequests ¶
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 (o *PatchLocationTooManyRequests) Error() string
func (*PatchLocationTooManyRequests) GetPayload ¶
func (o *PatchLocationTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchLocationTooManyRequests) String() string
type PatchLocationUnauthorized ¶
type PatchLocationUnauthorized struct {
}
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 ¶
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 (o *PatchLocationUnsupportedMediaType) Error() string
func (*PatchLocationUnsupportedMediaType) GetPayload ¶
func (o *PatchLocationUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchLocationUnsupportedMediaType) String() string
type PostLocationsBadRequest ¶
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 ¶
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 ¶
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 (o *PostLocationsGatewayTimeout) Error() string
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 ¶
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 (o *PostLocationsInternalServerError) Error() string
func (*PostLocationsInternalServerError) GetPayload ¶
func (o *PostLocationsInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsInternalServerError) String() string
type PostLocationsNotFound ¶
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 ¶
func (o *PostLocationsParams) SetBody(body *models.LocationCreateDefinition)
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 ¶
func (o *PostLocationsParams) WithBody(body *models.LocationCreateDefinition) *PostLocationsParams
WithBody adds the body to the post locations params
func (*PostLocationsParams) WithContext ¶
func (o *PostLocationsParams) WithContext(ctx context.Context) *PostLocationsParams
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 ¶
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 (o *PostLocationsRequestEntityTooLarge) Error() string
func (*PostLocationsRequestEntityTooLarge) GetPayload ¶
func (o *PostLocationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *PostLocationsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post locations request entity too large response has a 2xx status code
func (*PostLocationsRequestEntityTooLarge) String ¶
func (o *PostLocationsRequestEntityTooLarge) String() string
type PostLocationsRequestTimeout ¶
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 (o *PostLocationsRequestTimeout) Error() string
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 ¶
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 (o *PostLocationsSearchBadRequest) Error() string
func (*PostLocationsSearchBadRequest) GetPayload ¶
func (o *PostLocationsSearchBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchBadRequest) String() string
type PostLocationsSearchForbidden ¶
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 (o *PostLocationsSearchForbidden) Error() string
func (*PostLocationsSearchForbidden) GetPayload ¶
func (o *PostLocationsSearchForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchForbidden) String() string
type PostLocationsSearchGatewayTimeout ¶
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 (o *PostLocationsSearchGatewayTimeout) Error() string
func (*PostLocationsSearchGatewayTimeout) GetPayload ¶
func (o *PostLocationsSearchGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchGatewayTimeout) String() string
type PostLocationsSearchInternalServerError ¶
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 (o *PostLocationsSearchInternalServerError) Error() string
func (*PostLocationsSearchInternalServerError) GetPayload ¶
func (o *PostLocationsSearchInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this post locations search internal server error response a status code equal to that given
func (*PostLocationsSearchInternalServerError) IsRedirect ¶
func (o *PostLocationsSearchInternalServerError) IsRedirect() bool
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 ¶
func (o *PostLocationsSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this post locations search internal server error response has a 2xx status code
func (*PostLocationsSearchInternalServerError) String ¶
func (o *PostLocationsSearchInternalServerError) String() string
type PostLocationsSearchNotFound ¶
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 (o *PostLocationsSearchNotFound) Error() string
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 (o *PostLocationsSearchOK) GetPayload() *models.LocationsSearchResponse
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 ¶
func (o *PostLocationsSearchParams) SetBody(body *models.LocationSearchRequest)
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 ¶
func (o *PostLocationsSearchParams) WithBody(body *models.LocationSearchRequest) *PostLocationsSearchParams
WithBody adds the body to the post locations search params
func (*PostLocationsSearchParams) WithContext ¶
func (o *PostLocationsSearchParams) WithContext(ctx context.Context) *PostLocationsSearchParams
WithContext adds the context to the post locations search params
func (*PostLocationsSearchParams) WithDefaults ¶
func (o *PostLocationsSearchParams) WithDefaults() *PostLocationsSearchParams
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 ¶
func (o *PostLocationsSearchParams) WithTimeout(timeout time.Duration) *PostLocationsSearchParams
WithTimeout adds the timeout to the post locations search params
func (*PostLocationsSearchParams) WriteToRequest ¶
func (o *PostLocationsSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostLocationsSearchRequestEntityTooLarge) Error() string
func (*PostLocationsSearchRequestEntityTooLarge) GetPayload ¶
func (o *PostLocationsSearchRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PostLocationsSearchRequestEntityTooLarge) IsClientError ¶
func (o *PostLocationsSearchRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this post locations search request entity too large response has a 4xx status code
func (*PostLocationsSearchRequestEntityTooLarge) IsCode ¶
func (o *PostLocationsSearchRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this post locations search request entity too large response a status code equal to that given
func (*PostLocationsSearchRequestEntityTooLarge) IsRedirect ¶
func (o *PostLocationsSearchRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this post locations search request entity too large response has a 3xx status code
func (*PostLocationsSearchRequestEntityTooLarge) IsServerError ¶
func (o *PostLocationsSearchRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this post locations search request entity too large response has a 5xx status code
func (*PostLocationsSearchRequestEntityTooLarge) IsSuccess ¶
func (o *PostLocationsSearchRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post locations search request entity too large response has a 2xx status code
func (*PostLocationsSearchRequestEntityTooLarge) String ¶
func (o *PostLocationsSearchRequestEntityTooLarge) String() string
type PostLocationsSearchRequestTimeout ¶
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 (o *PostLocationsSearchRequestTimeout) Error() string
func (*PostLocationsSearchRequestTimeout) GetPayload ¶
func (o *PostLocationsSearchRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchRequestTimeout) String() string
type PostLocationsSearchServiceUnavailable ¶
type PostLocationsSearchServiceUnavailable struct {
}
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 (o *PostLocationsSearchServiceUnavailable) Error() string
func (*PostLocationsSearchServiceUnavailable) GetPayload ¶
func (o *PostLocationsSearchServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post locations search service unavailable response a status code equal to that given
func (*PostLocationsSearchServiceUnavailable) IsRedirect ¶
func (o *PostLocationsSearchServiceUnavailable) IsRedirect() bool
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 ¶
func (o *PostLocationsSearchServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post locations search service unavailable response has a 2xx status code
func (*PostLocationsSearchServiceUnavailable) String ¶
func (o *PostLocationsSearchServiceUnavailable) String() string
type PostLocationsSearchTooManyRequests ¶
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 (o *PostLocationsSearchTooManyRequests) Error() string
func (*PostLocationsSearchTooManyRequests) GetPayload ¶
func (o *PostLocationsSearchTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchTooManyRequests) IsCode(code int) bool
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 ¶
func (o *PostLocationsSearchTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post locations search too many requests response has a 2xx status code
func (*PostLocationsSearchTooManyRequests) String ¶
func (o *PostLocationsSearchTooManyRequests) String() string
type PostLocationsSearchUnauthorized ¶
type PostLocationsSearchUnauthorized struct {
}
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 (o *PostLocationsSearchUnauthorized) Error() string
func (*PostLocationsSearchUnauthorized) GetPayload ¶
func (o *PostLocationsSearchUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchUnauthorized) String() string
type PostLocationsSearchUnsupportedMediaType ¶
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 (o *PostLocationsSearchUnsupportedMediaType) Error() string
func (*PostLocationsSearchUnsupportedMediaType) GetPayload ¶
func (o *PostLocationsSearchUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsSearchUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this post locations search unsupported media type response a status code equal to that given
func (*PostLocationsSearchUnsupportedMediaType) IsRedirect ¶
func (o *PostLocationsSearchUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *PostLocationsSearchUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this post locations search unsupported media type response has a 2xx status code
func (*PostLocationsSearchUnsupportedMediaType) String ¶
func (o *PostLocationsSearchUnsupportedMediaType) String() string
type PostLocationsServiceUnavailable ¶
type PostLocationsServiceUnavailable struct {
}
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 (o *PostLocationsServiceUnavailable) Error() string
func (*PostLocationsServiceUnavailable) GetPayload ¶
func (o *PostLocationsServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsServiceUnavailable) String() string
type PostLocationsTooManyRequests ¶
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 (o *PostLocationsTooManyRequests) Error() string
func (*PostLocationsTooManyRequests) GetPayload ¶
func (o *PostLocationsTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsTooManyRequests) String() string
type PostLocationsUnauthorized ¶
type PostLocationsUnauthorized struct {
}
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 ¶
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 (o *PostLocationsUnsupportedMediaType) Error() string
func (*PostLocationsUnsupportedMediaType) GetPayload ¶
func (o *PostLocationsUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *PostLocationsUnsupportedMediaType) String() string
Source Files
¶
- delete_location_parameters.go
- delete_location_responses.go
- get_location_parameters.go
- get_location_responses.go
- get_location_sublocations_parameters.go
- get_location_sublocations_responses.go
- get_locations_parameters.go
- get_locations_responses.go
- get_locations_search_parameters.go
- get_locations_search_responses.go
- locations_client.go
- patch_location_parameters.go
- patch_location_responses.go
- post_locations_parameters.go
- post_locations_responses.go
- post_locations_search_parameters.go
- post_locations_search_responses.go