geolocation

package
v0.0.0-...-e2f0fdc Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   GetGeolocationsSettings gets a organization s geolocation settings
	*/
	GetGeolocationsSettings(ctx context.Context, params *GetGeolocationsSettingsParams) (*GetGeolocationsSettingsOK, error)
	/*
	   GetUserGeolocation gets a user s geolocation
	*/
	GetUserGeolocation(ctx context.Context, params *GetUserGeolocationParams) (*GetUserGeolocationOK, error)
	/*
	   PatchGeolocationsSettings patches a organization s geolocation settings
	*/
	PatchGeolocationsSettings(ctx context.Context, params *PatchGeolocationsSettingsParams) (*PatchGeolocationsSettingsOK, error)
	/*
	   PatchUserGeolocation patches a user s geolocation
	   The geolocation object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the client as the user's primary geolocation source.  Option 2: Provide the 'latitude' and 'longitude' values.  This will enqueue an asynchronous update of the 'city', 'region', and 'country', generating a notification. A subsequent GET operation will include the new values for 'city', 'region' and 'country'.  Option 3:  Provide the 'city', 'region', 'country' values.  Option 1 can be combined with Option 2 or Option 3.  For example, update the client as primary and provide latitude and longitude values.
	*/
	PatchUserGeolocation(ctx context.Context, params *PatchUserGeolocationParams) (*PatchUserGeolocationOK, error)
}

API is the interface of the geolocation client

type Client

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

Client for geolocation API

func New

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

New creates a new geolocation API client.

func (*Client) GetGeolocationsSettings

func (a *Client) GetGeolocationsSettings(ctx context.Context, params *GetGeolocationsSettingsParams) (*GetGeolocationsSettingsOK, error)

GetGeolocationsSettings gets a organization s geolocation settings

func (*Client) GetUserGeolocation

func (a *Client) GetUserGeolocation(ctx context.Context, params *GetUserGeolocationParams) (*GetUserGeolocationOK, error)

GetUserGeolocation gets a user s geolocation

func (*Client) PatchGeolocationsSettings

func (a *Client) PatchGeolocationsSettings(ctx context.Context, params *PatchGeolocationsSettingsParams) (*PatchGeolocationsSettingsOK, error)

PatchGeolocationsSettings patches a organization s geolocation settings

func (*Client) PatchUserGeolocation

func (a *Client) PatchUserGeolocation(ctx context.Context, params *PatchUserGeolocationParams) (*PatchUserGeolocationOK, error)

PatchUserGeolocation patches a user s geolocation

The geolocation object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the client as the user's primary geolocation source. Option 2: Provide the 'latitude' and 'longitude' values. This will enqueue an asynchronous update of the 'city', 'region', and 'country', generating a notification. A subsequent GET operation will include the new values for 'city', 'region' and 'country'. Option 3: Provide the 'city', 'region', 'country' values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.

type GetGeolocationsSettingsBadRequest

type GetGeolocationsSettingsBadRequest struct {
	Payload *models.ErrorBody
}

GetGeolocationsSettingsBadRequest 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 NewGetGeolocationsSettingsBadRequest

func NewGetGeolocationsSettingsBadRequest() *GetGeolocationsSettingsBadRequest

NewGetGeolocationsSettingsBadRequest creates a GetGeolocationsSettingsBadRequest with default headers values

func (*GetGeolocationsSettingsBadRequest) Error

func (*GetGeolocationsSettingsBadRequest) GetPayload

func (*GetGeolocationsSettingsBadRequest) IsClientError

func (o *GetGeolocationsSettingsBadRequest) IsClientError() bool

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

func (*GetGeolocationsSettingsBadRequest) IsCode

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

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

func (*GetGeolocationsSettingsBadRequest) IsRedirect

func (o *GetGeolocationsSettingsBadRequest) IsRedirect() bool

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

func (*GetGeolocationsSettingsBadRequest) IsServerError

func (o *GetGeolocationsSettingsBadRequest) IsServerError() bool

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

func (*GetGeolocationsSettingsBadRequest) IsSuccess

func (o *GetGeolocationsSettingsBadRequest) IsSuccess() bool

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

func (*GetGeolocationsSettingsBadRequest) String

type GetGeolocationsSettingsForbidden

type GetGeolocationsSettingsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetGeolocationsSettingsForbidden

func NewGetGeolocationsSettingsForbidden() *GetGeolocationsSettingsForbidden

NewGetGeolocationsSettingsForbidden creates a GetGeolocationsSettingsForbidden with default headers values

func (*GetGeolocationsSettingsForbidden) Error

func (*GetGeolocationsSettingsForbidden) GetPayload

func (*GetGeolocationsSettingsForbidden) IsClientError

func (o *GetGeolocationsSettingsForbidden) IsClientError() bool

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

func (*GetGeolocationsSettingsForbidden) IsCode

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

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

func (*GetGeolocationsSettingsForbidden) IsRedirect

func (o *GetGeolocationsSettingsForbidden) IsRedirect() bool

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

func (*GetGeolocationsSettingsForbidden) IsServerError

func (o *GetGeolocationsSettingsForbidden) IsServerError() bool

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

func (*GetGeolocationsSettingsForbidden) IsSuccess

func (o *GetGeolocationsSettingsForbidden) IsSuccess() bool

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

func (*GetGeolocationsSettingsForbidden) String

type GetGeolocationsSettingsGatewayTimeout

type GetGeolocationsSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetGeolocationsSettingsGatewayTimeout

func NewGetGeolocationsSettingsGatewayTimeout() *GetGeolocationsSettingsGatewayTimeout

NewGetGeolocationsSettingsGatewayTimeout creates a GetGeolocationsSettingsGatewayTimeout with default headers values

func (*GetGeolocationsSettingsGatewayTimeout) Error

func (*GetGeolocationsSettingsGatewayTimeout) GetPayload

func (*GetGeolocationsSettingsGatewayTimeout) IsClientError

func (o *GetGeolocationsSettingsGatewayTimeout) IsClientError() bool

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

func (*GetGeolocationsSettingsGatewayTimeout) IsCode

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

func (*GetGeolocationsSettingsGatewayTimeout) IsRedirect

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

func (*GetGeolocationsSettingsGatewayTimeout) IsServerError

func (o *GetGeolocationsSettingsGatewayTimeout) IsServerError() bool

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

func (*GetGeolocationsSettingsGatewayTimeout) IsSuccess

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

func (*GetGeolocationsSettingsGatewayTimeout) String

type GetGeolocationsSettingsInternalServerError

type GetGeolocationsSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

GetGeolocationsSettingsInternalServerError 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 NewGetGeolocationsSettingsInternalServerError

func NewGetGeolocationsSettingsInternalServerError() *GetGeolocationsSettingsInternalServerError

NewGetGeolocationsSettingsInternalServerError creates a GetGeolocationsSettingsInternalServerError with default headers values

func (*GetGeolocationsSettingsInternalServerError) Error

func (*GetGeolocationsSettingsInternalServerError) GetPayload

func (*GetGeolocationsSettingsInternalServerError) IsClientError

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

func (*GetGeolocationsSettingsInternalServerError) IsCode

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

func (*GetGeolocationsSettingsInternalServerError) IsRedirect

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

func (*GetGeolocationsSettingsInternalServerError) IsServerError

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

func (*GetGeolocationsSettingsInternalServerError) IsSuccess

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

func (*GetGeolocationsSettingsInternalServerError) String

type GetGeolocationsSettingsNotFound

type GetGeolocationsSettingsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetGeolocationsSettingsNotFound

func NewGetGeolocationsSettingsNotFound() *GetGeolocationsSettingsNotFound

NewGetGeolocationsSettingsNotFound creates a GetGeolocationsSettingsNotFound with default headers values

func (*GetGeolocationsSettingsNotFound) Error

func (*GetGeolocationsSettingsNotFound) GetPayload

func (*GetGeolocationsSettingsNotFound) IsClientError

func (o *GetGeolocationsSettingsNotFound) IsClientError() bool

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

func (*GetGeolocationsSettingsNotFound) IsCode

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

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

func (*GetGeolocationsSettingsNotFound) IsRedirect

func (o *GetGeolocationsSettingsNotFound) IsRedirect() bool

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

func (*GetGeolocationsSettingsNotFound) IsServerError

func (o *GetGeolocationsSettingsNotFound) IsServerError() bool

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

func (*GetGeolocationsSettingsNotFound) IsSuccess

func (o *GetGeolocationsSettingsNotFound) IsSuccess() bool

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

func (*GetGeolocationsSettingsNotFound) String

type GetGeolocationsSettingsOK

type GetGeolocationsSettingsOK struct {
	Payload *models.GeolocationSettings
}

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

successful operation

func NewGetGeolocationsSettingsOK

func NewGetGeolocationsSettingsOK() *GetGeolocationsSettingsOK

NewGetGeolocationsSettingsOK creates a GetGeolocationsSettingsOK with default headers values

func (*GetGeolocationsSettingsOK) Error

func (o *GetGeolocationsSettingsOK) Error() string

func (*GetGeolocationsSettingsOK) GetPayload

func (*GetGeolocationsSettingsOK) IsClientError

func (o *GetGeolocationsSettingsOK) IsClientError() bool

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

func (*GetGeolocationsSettingsOK) IsCode

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

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

func (*GetGeolocationsSettingsOK) IsRedirect

func (o *GetGeolocationsSettingsOK) IsRedirect() bool

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

func (*GetGeolocationsSettingsOK) IsServerError

func (o *GetGeolocationsSettingsOK) IsServerError() bool

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

func (*GetGeolocationsSettingsOK) IsSuccess

func (o *GetGeolocationsSettingsOK) IsSuccess() bool

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

func (*GetGeolocationsSettingsOK) String

func (o *GetGeolocationsSettingsOK) String() string

type GetGeolocationsSettingsParams

type GetGeolocationsSettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGeolocationsSettingsParams contains all the parameters to send to the API endpoint

for the get geolocations settings operation.

Typically these are written to a http.Request.

func NewGetGeolocationsSettingsParams

func NewGetGeolocationsSettingsParams() *GetGeolocationsSettingsParams

NewGetGeolocationsSettingsParams creates a new GetGeolocationsSettingsParams 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 NewGetGeolocationsSettingsParamsWithContext

func NewGetGeolocationsSettingsParamsWithContext(ctx context.Context) *GetGeolocationsSettingsParams

NewGetGeolocationsSettingsParamsWithContext creates a new GetGeolocationsSettingsParams object with the ability to set a context for a request.

func NewGetGeolocationsSettingsParamsWithHTTPClient

func NewGetGeolocationsSettingsParamsWithHTTPClient(client *http.Client) *GetGeolocationsSettingsParams

NewGetGeolocationsSettingsParamsWithHTTPClient creates a new GetGeolocationsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGeolocationsSettingsParamsWithTimeout

func NewGetGeolocationsSettingsParamsWithTimeout(timeout time.Duration) *GetGeolocationsSettingsParams

NewGetGeolocationsSettingsParamsWithTimeout creates a new GetGeolocationsSettingsParams object with the ability to set a timeout on a request.

func (*GetGeolocationsSettingsParams) SetContext

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

SetContext adds the context to the get geolocations settings params

func (*GetGeolocationsSettingsParams) SetDefaults

func (o *GetGeolocationsSettingsParams) SetDefaults()

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

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

func (*GetGeolocationsSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get geolocations settings params

func (*GetGeolocationsSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get geolocations settings params

func (*GetGeolocationsSettingsParams) WithContext

WithContext adds the context to the get geolocations settings params

func (*GetGeolocationsSettingsParams) WithDefaults

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

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

func (*GetGeolocationsSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get geolocations settings params

func (*GetGeolocationsSettingsParams) WithTimeout

WithTimeout adds the timeout to the get geolocations settings params

func (*GetGeolocationsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGeolocationsSettingsReader

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

GetGeolocationsSettingsReader is a Reader for the GetGeolocationsSettings structure.

func (*GetGeolocationsSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGeolocationsSettingsRequestEntityTooLarge

type GetGeolocationsSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetGeolocationsSettingsRequestEntityTooLarge

func NewGetGeolocationsSettingsRequestEntityTooLarge() *GetGeolocationsSettingsRequestEntityTooLarge

NewGetGeolocationsSettingsRequestEntityTooLarge creates a GetGeolocationsSettingsRequestEntityTooLarge with default headers values

func (*GetGeolocationsSettingsRequestEntityTooLarge) Error

func (*GetGeolocationsSettingsRequestEntityTooLarge) GetPayload

func (*GetGeolocationsSettingsRequestEntityTooLarge) IsClientError

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

func (*GetGeolocationsSettingsRequestEntityTooLarge) IsCode

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

func (*GetGeolocationsSettingsRequestEntityTooLarge) IsRedirect

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

func (*GetGeolocationsSettingsRequestEntityTooLarge) IsServerError

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

func (*GetGeolocationsSettingsRequestEntityTooLarge) IsSuccess

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

func (*GetGeolocationsSettingsRequestEntityTooLarge) String

type GetGeolocationsSettingsRequestTimeout

type GetGeolocationsSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetGeolocationsSettingsRequestTimeout 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 NewGetGeolocationsSettingsRequestTimeout

func NewGetGeolocationsSettingsRequestTimeout() *GetGeolocationsSettingsRequestTimeout

NewGetGeolocationsSettingsRequestTimeout creates a GetGeolocationsSettingsRequestTimeout with default headers values

func (*GetGeolocationsSettingsRequestTimeout) Error

func (*GetGeolocationsSettingsRequestTimeout) GetPayload

func (*GetGeolocationsSettingsRequestTimeout) IsClientError

func (o *GetGeolocationsSettingsRequestTimeout) IsClientError() bool

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

func (*GetGeolocationsSettingsRequestTimeout) IsCode

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

func (*GetGeolocationsSettingsRequestTimeout) IsRedirect

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

func (*GetGeolocationsSettingsRequestTimeout) IsServerError

func (o *GetGeolocationsSettingsRequestTimeout) IsServerError() bool

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

func (*GetGeolocationsSettingsRequestTimeout) IsSuccess

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

func (*GetGeolocationsSettingsRequestTimeout) String

type GetGeolocationsSettingsServiceUnavailable

type GetGeolocationsSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetGeolocationsSettingsServiceUnavailable 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 NewGetGeolocationsSettingsServiceUnavailable

func NewGetGeolocationsSettingsServiceUnavailable() *GetGeolocationsSettingsServiceUnavailable

NewGetGeolocationsSettingsServiceUnavailable creates a GetGeolocationsSettingsServiceUnavailable with default headers values

func (*GetGeolocationsSettingsServiceUnavailable) Error

func (*GetGeolocationsSettingsServiceUnavailable) GetPayload

func (*GetGeolocationsSettingsServiceUnavailable) IsClientError

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

func (*GetGeolocationsSettingsServiceUnavailable) IsCode

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

func (*GetGeolocationsSettingsServiceUnavailable) IsRedirect

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

func (*GetGeolocationsSettingsServiceUnavailable) IsServerError

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

func (*GetGeolocationsSettingsServiceUnavailable) IsSuccess

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

func (*GetGeolocationsSettingsServiceUnavailable) String

type GetGeolocationsSettingsTooManyRequests

type GetGeolocationsSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetGeolocationsSettingsTooManyRequests

func NewGetGeolocationsSettingsTooManyRequests() *GetGeolocationsSettingsTooManyRequests

NewGetGeolocationsSettingsTooManyRequests creates a GetGeolocationsSettingsTooManyRequests with default headers values

func (*GetGeolocationsSettingsTooManyRequests) Error

func (*GetGeolocationsSettingsTooManyRequests) GetPayload

func (*GetGeolocationsSettingsTooManyRequests) IsClientError

func (o *GetGeolocationsSettingsTooManyRequests) IsClientError() bool

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

func (*GetGeolocationsSettingsTooManyRequests) IsCode

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

func (*GetGeolocationsSettingsTooManyRequests) IsRedirect

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

func (*GetGeolocationsSettingsTooManyRequests) IsServerError

func (o *GetGeolocationsSettingsTooManyRequests) IsServerError() bool

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

func (*GetGeolocationsSettingsTooManyRequests) IsSuccess

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

func (*GetGeolocationsSettingsTooManyRequests) String

type GetGeolocationsSettingsUnauthorized

type GetGeolocationsSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetGeolocationsSettingsUnauthorized

func NewGetGeolocationsSettingsUnauthorized() *GetGeolocationsSettingsUnauthorized

NewGetGeolocationsSettingsUnauthorized creates a GetGeolocationsSettingsUnauthorized with default headers values

func (*GetGeolocationsSettingsUnauthorized) Error

func (*GetGeolocationsSettingsUnauthorized) GetPayload

func (*GetGeolocationsSettingsUnauthorized) IsClientError

func (o *GetGeolocationsSettingsUnauthorized) IsClientError() bool

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

func (*GetGeolocationsSettingsUnauthorized) IsCode

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

func (*GetGeolocationsSettingsUnauthorized) IsRedirect

func (o *GetGeolocationsSettingsUnauthorized) IsRedirect() bool

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

func (*GetGeolocationsSettingsUnauthorized) IsServerError

func (o *GetGeolocationsSettingsUnauthorized) IsServerError() bool

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

func (*GetGeolocationsSettingsUnauthorized) IsSuccess

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

func (*GetGeolocationsSettingsUnauthorized) String

type GetGeolocationsSettingsUnsupportedMediaType

type GetGeolocationsSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetGeolocationsSettingsUnsupportedMediaType 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 NewGetGeolocationsSettingsUnsupportedMediaType

func NewGetGeolocationsSettingsUnsupportedMediaType() *GetGeolocationsSettingsUnsupportedMediaType

NewGetGeolocationsSettingsUnsupportedMediaType creates a GetGeolocationsSettingsUnsupportedMediaType with default headers values

func (*GetGeolocationsSettingsUnsupportedMediaType) Error

func (*GetGeolocationsSettingsUnsupportedMediaType) GetPayload

func (*GetGeolocationsSettingsUnsupportedMediaType) IsClientError

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

func (*GetGeolocationsSettingsUnsupportedMediaType) IsCode

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

func (*GetGeolocationsSettingsUnsupportedMediaType) IsRedirect

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

func (*GetGeolocationsSettingsUnsupportedMediaType) IsServerError

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

func (*GetGeolocationsSettingsUnsupportedMediaType) IsSuccess

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

func (*GetGeolocationsSettingsUnsupportedMediaType) String

type GetUserGeolocationBadRequest

type GetUserGeolocationBadRequest struct {
	Payload *models.ErrorBody
}

GetUserGeolocationBadRequest 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 NewGetUserGeolocationBadRequest

func NewGetUserGeolocationBadRequest() *GetUserGeolocationBadRequest

NewGetUserGeolocationBadRequest creates a GetUserGeolocationBadRequest with default headers values

func (*GetUserGeolocationBadRequest) Error

func (*GetUserGeolocationBadRequest) GetPayload

func (*GetUserGeolocationBadRequest) IsClientError

func (o *GetUserGeolocationBadRequest) IsClientError() bool

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

func (*GetUserGeolocationBadRequest) IsCode

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

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

func (*GetUserGeolocationBadRequest) IsRedirect

func (o *GetUserGeolocationBadRequest) IsRedirect() bool

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

func (*GetUserGeolocationBadRequest) IsServerError

func (o *GetUserGeolocationBadRequest) IsServerError() bool

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

func (*GetUserGeolocationBadRequest) IsSuccess

func (o *GetUserGeolocationBadRequest) IsSuccess() bool

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

func (*GetUserGeolocationBadRequest) String

type GetUserGeolocationForbidden

type GetUserGeolocationForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetUserGeolocationForbidden

func NewGetUserGeolocationForbidden() *GetUserGeolocationForbidden

NewGetUserGeolocationForbidden creates a GetUserGeolocationForbidden with default headers values

func (*GetUserGeolocationForbidden) Error

func (*GetUserGeolocationForbidden) GetPayload

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

func (*GetUserGeolocationForbidden) IsClientError

func (o *GetUserGeolocationForbidden) IsClientError() bool

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

func (*GetUserGeolocationForbidden) IsCode

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

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

func (*GetUserGeolocationForbidden) IsRedirect

func (o *GetUserGeolocationForbidden) IsRedirect() bool

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

func (*GetUserGeolocationForbidden) IsServerError

func (o *GetUserGeolocationForbidden) IsServerError() bool

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

func (*GetUserGeolocationForbidden) IsSuccess

func (o *GetUserGeolocationForbidden) IsSuccess() bool

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

func (*GetUserGeolocationForbidden) String

func (o *GetUserGeolocationForbidden) String() string

type GetUserGeolocationGatewayTimeout

type GetUserGeolocationGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetUserGeolocationGatewayTimeout

func NewGetUserGeolocationGatewayTimeout() *GetUserGeolocationGatewayTimeout

NewGetUserGeolocationGatewayTimeout creates a GetUserGeolocationGatewayTimeout with default headers values

func (*GetUserGeolocationGatewayTimeout) Error

func (*GetUserGeolocationGatewayTimeout) GetPayload

func (*GetUserGeolocationGatewayTimeout) IsClientError

func (o *GetUserGeolocationGatewayTimeout) IsClientError() bool

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

func (*GetUserGeolocationGatewayTimeout) IsCode

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

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

func (*GetUserGeolocationGatewayTimeout) IsRedirect

func (o *GetUserGeolocationGatewayTimeout) IsRedirect() bool

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

func (*GetUserGeolocationGatewayTimeout) IsServerError

func (o *GetUserGeolocationGatewayTimeout) IsServerError() bool

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

func (*GetUserGeolocationGatewayTimeout) IsSuccess

func (o *GetUserGeolocationGatewayTimeout) IsSuccess() bool

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

func (*GetUserGeolocationGatewayTimeout) String

type GetUserGeolocationInternalServerError

type GetUserGeolocationInternalServerError struct {
	Payload *models.ErrorBody
}

GetUserGeolocationInternalServerError 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 NewGetUserGeolocationInternalServerError

func NewGetUserGeolocationInternalServerError() *GetUserGeolocationInternalServerError

NewGetUserGeolocationInternalServerError creates a GetUserGeolocationInternalServerError with default headers values

func (*GetUserGeolocationInternalServerError) Error

func (*GetUserGeolocationInternalServerError) GetPayload

func (*GetUserGeolocationInternalServerError) IsClientError

func (o *GetUserGeolocationInternalServerError) IsClientError() bool

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

func (*GetUserGeolocationInternalServerError) IsCode

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

func (*GetUserGeolocationInternalServerError) IsRedirect

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

func (*GetUserGeolocationInternalServerError) IsServerError

func (o *GetUserGeolocationInternalServerError) IsServerError() bool

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

func (*GetUserGeolocationInternalServerError) IsSuccess

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

func (*GetUserGeolocationInternalServerError) String

type GetUserGeolocationNotFound

type GetUserGeolocationNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetUserGeolocationNotFound

func NewGetUserGeolocationNotFound() *GetUserGeolocationNotFound

NewGetUserGeolocationNotFound creates a GetUserGeolocationNotFound with default headers values

func (*GetUserGeolocationNotFound) Error

func (*GetUserGeolocationNotFound) GetPayload

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

func (*GetUserGeolocationNotFound) IsClientError

func (o *GetUserGeolocationNotFound) IsClientError() bool

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

func (*GetUserGeolocationNotFound) IsCode

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

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

func (*GetUserGeolocationNotFound) IsRedirect

func (o *GetUserGeolocationNotFound) IsRedirect() bool

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

func (*GetUserGeolocationNotFound) IsServerError

func (o *GetUserGeolocationNotFound) IsServerError() bool

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

func (*GetUserGeolocationNotFound) IsSuccess

func (o *GetUserGeolocationNotFound) IsSuccess() bool

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

func (*GetUserGeolocationNotFound) String

func (o *GetUserGeolocationNotFound) String() string

type GetUserGeolocationOK

type GetUserGeolocationOK struct {
	Payload *models.Geolocation
}

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

successful operation

func NewGetUserGeolocationOK

func NewGetUserGeolocationOK() *GetUserGeolocationOK

NewGetUserGeolocationOK creates a GetUserGeolocationOK with default headers values

func (*GetUserGeolocationOK) Error

func (o *GetUserGeolocationOK) Error() string

func (*GetUserGeolocationOK) GetPayload

func (o *GetUserGeolocationOK) GetPayload() *models.Geolocation

func (*GetUserGeolocationOK) IsClientError

func (o *GetUserGeolocationOK) IsClientError() bool

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

func (*GetUserGeolocationOK) IsCode

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

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

func (*GetUserGeolocationOK) IsRedirect

func (o *GetUserGeolocationOK) IsRedirect() bool

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

func (*GetUserGeolocationOK) IsServerError

func (o *GetUserGeolocationOK) IsServerError() bool

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

func (*GetUserGeolocationOK) IsSuccess

func (o *GetUserGeolocationOK) IsSuccess() bool

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

func (*GetUserGeolocationOK) String

func (o *GetUserGeolocationOK) String() string

type GetUserGeolocationParams

type GetUserGeolocationParams struct {

	/* ClientID.

	   client Id
	*/
	ClientID string

	/* UserID.

	   user Id
	*/
	UserID string

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

GetUserGeolocationParams contains all the parameters to send to the API endpoint

for the get user geolocation operation.

Typically these are written to a http.Request.

func NewGetUserGeolocationParams

func NewGetUserGeolocationParams() *GetUserGeolocationParams

NewGetUserGeolocationParams creates a new GetUserGeolocationParams 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 NewGetUserGeolocationParamsWithContext

func NewGetUserGeolocationParamsWithContext(ctx context.Context) *GetUserGeolocationParams

NewGetUserGeolocationParamsWithContext creates a new GetUserGeolocationParams object with the ability to set a context for a request.

func NewGetUserGeolocationParamsWithHTTPClient

func NewGetUserGeolocationParamsWithHTTPClient(client *http.Client) *GetUserGeolocationParams

NewGetUserGeolocationParamsWithHTTPClient creates a new GetUserGeolocationParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserGeolocationParamsWithTimeout

func NewGetUserGeolocationParamsWithTimeout(timeout time.Duration) *GetUserGeolocationParams

NewGetUserGeolocationParamsWithTimeout creates a new GetUserGeolocationParams object with the ability to set a timeout on a request.

func (*GetUserGeolocationParams) SetClientID

func (o *GetUserGeolocationParams) SetClientID(clientID string)

SetClientID adds the clientId to the get user geolocation params

func (*GetUserGeolocationParams) SetContext

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

SetContext adds the context to the get user geolocation params

func (*GetUserGeolocationParams) SetDefaults

func (o *GetUserGeolocationParams) SetDefaults()

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

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

func (*GetUserGeolocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user geolocation params

func (*GetUserGeolocationParams) SetTimeout

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

SetTimeout adds the timeout to the get user geolocation params

func (*GetUserGeolocationParams) SetUserID

func (o *GetUserGeolocationParams) SetUserID(userID string)

SetUserID adds the userId to the get user geolocation params

func (*GetUserGeolocationParams) WithClientID

func (o *GetUserGeolocationParams) WithClientID(clientID string) *GetUserGeolocationParams

WithClientID adds the clientID to the get user geolocation params

func (*GetUserGeolocationParams) WithContext

WithContext adds the context to the get user geolocation params

func (*GetUserGeolocationParams) WithDefaults

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

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

func (*GetUserGeolocationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user geolocation params

func (*GetUserGeolocationParams) WithTimeout

WithTimeout adds the timeout to the get user geolocation params

func (*GetUserGeolocationParams) WithUserID

WithUserID adds the userID to the get user geolocation params

func (*GetUserGeolocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserGeolocationReader

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

GetUserGeolocationReader is a Reader for the GetUserGeolocation structure.

func (*GetUserGeolocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserGeolocationRequestEntityTooLarge

type GetUserGeolocationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserGeolocationRequestEntityTooLarge

func NewGetUserGeolocationRequestEntityTooLarge() *GetUserGeolocationRequestEntityTooLarge

NewGetUserGeolocationRequestEntityTooLarge creates a GetUserGeolocationRequestEntityTooLarge with default headers values

func (*GetUserGeolocationRequestEntityTooLarge) Error

func (*GetUserGeolocationRequestEntityTooLarge) GetPayload

func (*GetUserGeolocationRequestEntityTooLarge) IsClientError

func (o *GetUserGeolocationRequestEntityTooLarge) IsClientError() bool

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

func (*GetUserGeolocationRequestEntityTooLarge) IsCode

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

func (*GetUserGeolocationRequestEntityTooLarge) IsRedirect

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

func (*GetUserGeolocationRequestEntityTooLarge) IsServerError

func (o *GetUserGeolocationRequestEntityTooLarge) IsServerError() bool

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

func (*GetUserGeolocationRequestEntityTooLarge) IsSuccess

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

func (*GetUserGeolocationRequestEntityTooLarge) String

type GetUserGeolocationRequestTimeout

type GetUserGeolocationRequestTimeout struct {
	Payload *models.ErrorBody
}

GetUserGeolocationRequestTimeout 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 NewGetUserGeolocationRequestTimeout

func NewGetUserGeolocationRequestTimeout() *GetUserGeolocationRequestTimeout

NewGetUserGeolocationRequestTimeout creates a GetUserGeolocationRequestTimeout with default headers values

func (*GetUserGeolocationRequestTimeout) Error

func (*GetUserGeolocationRequestTimeout) GetPayload

func (*GetUserGeolocationRequestTimeout) IsClientError

func (o *GetUserGeolocationRequestTimeout) IsClientError() bool

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

func (*GetUserGeolocationRequestTimeout) IsCode

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

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

func (*GetUserGeolocationRequestTimeout) IsRedirect

func (o *GetUserGeolocationRequestTimeout) IsRedirect() bool

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

func (*GetUserGeolocationRequestTimeout) IsServerError

func (o *GetUserGeolocationRequestTimeout) IsServerError() bool

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

func (*GetUserGeolocationRequestTimeout) IsSuccess

func (o *GetUserGeolocationRequestTimeout) IsSuccess() bool

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

func (*GetUserGeolocationRequestTimeout) String

type GetUserGeolocationServiceUnavailable

type GetUserGeolocationServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetUserGeolocationServiceUnavailable 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 NewGetUserGeolocationServiceUnavailable

func NewGetUserGeolocationServiceUnavailable() *GetUserGeolocationServiceUnavailable

NewGetUserGeolocationServiceUnavailable creates a GetUserGeolocationServiceUnavailable with default headers values

func (*GetUserGeolocationServiceUnavailable) Error

func (*GetUserGeolocationServiceUnavailable) GetPayload

func (*GetUserGeolocationServiceUnavailable) IsClientError

func (o *GetUserGeolocationServiceUnavailable) IsClientError() bool

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

func (*GetUserGeolocationServiceUnavailable) IsCode

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

func (*GetUserGeolocationServiceUnavailable) IsRedirect

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

func (*GetUserGeolocationServiceUnavailable) IsServerError

func (o *GetUserGeolocationServiceUnavailable) IsServerError() bool

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

func (*GetUserGeolocationServiceUnavailable) IsSuccess

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

func (*GetUserGeolocationServiceUnavailable) String

type GetUserGeolocationTooManyRequests

type GetUserGeolocationTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserGeolocationTooManyRequests

func NewGetUserGeolocationTooManyRequests() *GetUserGeolocationTooManyRequests

NewGetUserGeolocationTooManyRequests creates a GetUserGeolocationTooManyRequests with default headers values

func (*GetUserGeolocationTooManyRequests) Error

func (*GetUserGeolocationTooManyRequests) GetPayload

func (*GetUserGeolocationTooManyRequests) IsClientError

func (o *GetUserGeolocationTooManyRequests) IsClientError() bool

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

func (*GetUserGeolocationTooManyRequests) IsCode

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

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

func (*GetUserGeolocationTooManyRequests) IsRedirect

func (o *GetUserGeolocationTooManyRequests) IsRedirect() bool

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

func (*GetUserGeolocationTooManyRequests) IsServerError

func (o *GetUserGeolocationTooManyRequests) IsServerError() bool

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

func (*GetUserGeolocationTooManyRequests) IsSuccess

func (o *GetUserGeolocationTooManyRequests) IsSuccess() bool

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

func (*GetUserGeolocationTooManyRequests) String

type GetUserGeolocationUnauthorized

type GetUserGeolocationUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetUserGeolocationUnauthorized

func NewGetUserGeolocationUnauthorized() *GetUserGeolocationUnauthorized

NewGetUserGeolocationUnauthorized creates a GetUserGeolocationUnauthorized with default headers values

func (*GetUserGeolocationUnauthorized) Error

func (*GetUserGeolocationUnauthorized) GetPayload

func (*GetUserGeolocationUnauthorized) IsClientError

func (o *GetUserGeolocationUnauthorized) IsClientError() bool

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

func (*GetUserGeolocationUnauthorized) IsCode

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

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

func (*GetUserGeolocationUnauthorized) IsRedirect

func (o *GetUserGeolocationUnauthorized) IsRedirect() bool

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

func (*GetUserGeolocationUnauthorized) IsServerError

func (o *GetUserGeolocationUnauthorized) IsServerError() bool

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

func (*GetUserGeolocationUnauthorized) IsSuccess

func (o *GetUserGeolocationUnauthorized) IsSuccess() bool

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

func (*GetUserGeolocationUnauthorized) String

type GetUserGeolocationUnsupportedMediaType

type GetUserGeolocationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetUserGeolocationUnsupportedMediaType 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 NewGetUserGeolocationUnsupportedMediaType

func NewGetUserGeolocationUnsupportedMediaType() *GetUserGeolocationUnsupportedMediaType

NewGetUserGeolocationUnsupportedMediaType creates a GetUserGeolocationUnsupportedMediaType with default headers values

func (*GetUserGeolocationUnsupportedMediaType) Error

func (*GetUserGeolocationUnsupportedMediaType) GetPayload

func (*GetUserGeolocationUnsupportedMediaType) IsClientError

func (o *GetUserGeolocationUnsupportedMediaType) IsClientError() bool

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

func (*GetUserGeolocationUnsupportedMediaType) IsCode

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

func (*GetUserGeolocationUnsupportedMediaType) IsRedirect

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

func (*GetUserGeolocationUnsupportedMediaType) IsServerError

func (o *GetUserGeolocationUnsupportedMediaType) IsServerError() bool

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

func (*GetUserGeolocationUnsupportedMediaType) IsSuccess

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

func (*GetUserGeolocationUnsupportedMediaType) String

type PatchGeolocationsSettingsBadRequest

type PatchGeolocationsSettingsBadRequest struct {
	Payload *models.ErrorBody
}

PatchGeolocationsSettingsBadRequest 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 NewPatchGeolocationsSettingsBadRequest

func NewPatchGeolocationsSettingsBadRequest() *PatchGeolocationsSettingsBadRequest

NewPatchGeolocationsSettingsBadRequest creates a PatchGeolocationsSettingsBadRequest with default headers values

func (*PatchGeolocationsSettingsBadRequest) Error

func (*PatchGeolocationsSettingsBadRequest) GetPayload

func (*PatchGeolocationsSettingsBadRequest) IsClientError

func (o *PatchGeolocationsSettingsBadRequest) IsClientError() bool

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

func (*PatchGeolocationsSettingsBadRequest) IsCode

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

func (*PatchGeolocationsSettingsBadRequest) IsRedirect

func (o *PatchGeolocationsSettingsBadRequest) IsRedirect() bool

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

func (*PatchGeolocationsSettingsBadRequest) IsServerError

func (o *PatchGeolocationsSettingsBadRequest) IsServerError() bool

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

func (*PatchGeolocationsSettingsBadRequest) IsSuccess

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

func (*PatchGeolocationsSettingsBadRequest) String

type PatchGeolocationsSettingsForbidden

type PatchGeolocationsSettingsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPatchGeolocationsSettingsForbidden

func NewPatchGeolocationsSettingsForbidden() *PatchGeolocationsSettingsForbidden

NewPatchGeolocationsSettingsForbidden creates a PatchGeolocationsSettingsForbidden with default headers values

func (*PatchGeolocationsSettingsForbidden) Error

func (*PatchGeolocationsSettingsForbidden) GetPayload

func (*PatchGeolocationsSettingsForbidden) IsClientError

func (o *PatchGeolocationsSettingsForbidden) IsClientError() bool

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

func (*PatchGeolocationsSettingsForbidden) IsCode

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

func (*PatchGeolocationsSettingsForbidden) IsRedirect

func (o *PatchGeolocationsSettingsForbidden) IsRedirect() bool

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

func (*PatchGeolocationsSettingsForbidden) IsServerError

func (o *PatchGeolocationsSettingsForbidden) IsServerError() bool

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

func (*PatchGeolocationsSettingsForbidden) IsSuccess

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

func (*PatchGeolocationsSettingsForbidden) String

type PatchGeolocationsSettingsGatewayTimeout

type PatchGeolocationsSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPatchGeolocationsSettingsGatewayTimeout

func NewPatchGeolocationsSettingsGatewayTimeout() *PatchGeolocationsSettingsGatewayTimeout

NewPatchGeolocationsSettingsGatewayTimeout creates a PatchGeolocationsSettingsGatewayTimeout with default headers values

func (*PatchGeolocationsSettingsGatewayTimeout) Error

func (*PatchGeolocationsSettingsGatewayTimeout) GetPayload

func (*PatchGeolocationsSettingsGatewayTimeout) IsClientError

func (o *PatchGeolocationsSettingsGatewayTimeout) IsClientError() bool

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

func (*PatchGeolocationsSettingsGatewayTimeout) IsCode

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

func (*PatchGeolocationsSettingsGatewayTimeout) IsRedirect

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

func (*PatchGeolocationsSettingsGatewayTimeout) IsServerError

func (o *PatchGeolocationsSettingsGatewayTimeout) IsServerError() bool

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

func (*PatchGeolocationsSettingsGatewayTimeout) IsSuccess

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

func (*PatchGeolocationsSettingsGatewayTimeout) String

type PatchGeolocationsSettingsInternalServerError

type PatchGeolocationsSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

PatchGeolocationsSettingsInternalServerError 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 NewPatchGeolocationsSettingsInternalServerError

func NewPatchGeolocationsSettingsInternalServerError() *PatchGeolocationsSettingsInternalServerError

NewPatchGeolocationsSettingsInternalServerError creates a PatchGeolocationsSettingsInternalServerError with default headers values

func (*PatchGeolocationsSettingsInternalServerError) Error

func (*PatchGeolocationsSettingsInternalServerError) GetPayload

func (*PatchGeolocationsSettingsInternalServerError) IsClientError

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

func (*PatchGeolocationsSettingsInternalServerError) IsCode

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

func (*PatchGeolocationsSettingsInternalServerError) IsRedirect

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

func (*PatchGeolocationsSettingsInternalServerError) IsServerError

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

func (*PatchGeolocationsSettingsInternalServerError) IsSuccess

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

func (*PatchGeolocationsSettingsInternalServerError) String

type PatchGeolocationsSettingsNotFound

type PatchGeolocationsSettingsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPatchGeolocationsSettingsNotFound

func NewPatchGeolocationsSettingsNotFound() *PatchGeolocationsSettingsNotFound

NewPatchGeolocationsSettingsNotFound creates a PatchGeolocationsSettingsNotFound with default headers values

func (*PatchGeolocationsSettingsNotFound) Error

func (*PatchGeolocationsSettingsNotFound) GetPayload

func (*PatchGeolocationsSettingsNotFound) IsClientError

func (o *PatchGeolocationsSettingsNotFound) IsClientError() bool

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

func (*PatchGeolocationsSettingsNotFound) IsCode

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

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

func (*PatchGeolocationsSettingsNotFound) IsRedirect

func (o *PatchGeolocationsSettingsNotFound) IsRedirect() bool

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

func (*PatchGeolocationsSettingsNotFound) IsServerError

func (o *PatchGeolocationsSettingsNotFound) IsServerError() bool

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

func (*PatchGeolocationsSettingsNotFound) IsSuccess

func (o *PatchGeolocationsSettingsNotFound) IsSuccess() bool

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

func (*PatchGeolocationsSettingsNotFound) String

type PatchGeolocationsSettingsOK

type PatchGeolocationsSettingsOK struct {
	Payload *models.GeolocationSettings
}

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

successful operation

func NewPatchGeolocationsSettingsOK

func NewPatchGeolocationsSettingsOK() *PatchGeolocationsSettingsOK

NewPatchGeolocationsSettingsOK creates a PatchGeolocationsSettingsOK with default headers values

func (*PatchGeolocationsSettingsOK) Error

func (*PatchGeolocationsSettingsOK) GetPayload

func (*PatchGeolocationsSettingsOK) IsClientError

func (o *PatchGeolocationsSettingsOK) IsClientError() bool

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

func (*PatchGeolocationsSettingsOK) IsCode

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

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

func (*PatchGeolocationsSettingsOK) IsRedirect

func (o *PatchGeolocationsSettingsOK) IsRedirect() bool

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

func (*PatchGeolocationsSettingsOK) IsServerError

func (o *PatchGeolocationsSettingsOK) IsServerError() bool

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

func (*PatchGeolocationsSettingsOK) IsSuccess

func (o *PatchGeolocationsSettingsOK) IsSuccess() bool

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

func (*PatchGeolocationsSettingsOK) String

func (o *PatchGeolocationsSettingsOK) String() string

type PatchGeolocationsSettingsParams

type PatchGeolocationsSettingsParams struct {

	/* Body.

	   Geolocation settings
	*/
	Body *models.GeolocationSettings

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

PatchGeolocationsSettingsParams contains all the parameters to send to the API endpoint

for the patch geolocations settings operation.

Typically these are written to a http.Request.

func NewPatchGeolocationsSettingsParams

func NewPatchGeolocationsSettingsParams() *PatchGeolocationsSettingsParams

NewPatchGeolocationsSettingsParams creates a new PatchGeolocationsSettingsParams 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 NewPatchGeolocationsSettingsParamsWithContext

func NewPatchGeolocationsSettingsParamsWithContext(ctx context.Context) *PatchGeolocationsSettingsParams

NewPatchGeolocationsSettingsParamsWithContext creates a new PatchGeolocationsSettingsParams object with the ability to set a context for a request.

func NewPatchGeolocationsSettingsParamsWithHTTPClient

func NewPatchGeolocationsSettingsParamsWithHTTPClient(client *http.Client) *PatchGeolocationsSettingsParams

NewPatchGeolocationsSettingsParamsWithHTTPClient creates a new PatchGeolocationsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewPatchGeolocationsSettingsParamsWithTimeout

func NewPatchGeolocationsSettingsParamsWithTimeout(timeout time.Duration) *PatchGeolocationsSettingsParams

NewPatchGeolocationsSettingsParamsWithTimeout creates a new PatchGeolocationsSettingsParams object with the ability to set a timeout on a request.

func (*PatchGeolocationsSettingsParams) SetBody

SetBody adds the body to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) SetContext

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

SetContext adds the context to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) SetDefaults

func (o *PatchGeolocationsSettingsParams) SetDefaults()

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

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

func (*PatchGeolocationsSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) WithBody

WithBody adds the body to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) WithContext

WithContext adds the context to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) WithDefaults

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

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

func (*PatchGeolocationsSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) WithTimeout

WithTimeout adds the timeout to the patch geolocations settings params

func (*PatchGeolocationsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchGeolocationsSettingsReader

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

PatchGeolocationsSettingsReader is a Reader for the PatchGeolocationsSettings structure.

func (*PatchGeolocationsSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchGeolocationsSettingsRequestEntityTooLarge

type PatchGeolocationsSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchGeolocationsSettingsRequestEntityTooLarge

func NewPatchGeolocationsSettingsRequestEntityTooLarge() *PatchGeolocationsSettingsRequestEntityTooLarge

NewPatchGeolocationsSettingsRequestEntityTooLarge creates a PatchGeolocationsSettingsRequestEntityTooLarge with default headers values

func (*PatchGeolocationsSettingsRequestEntityTooLarge) Error

func (*PatchGeolocationsSettingsRequestEntityTooLarge) GetPayload

func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsClientError

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

func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsCode

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

func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsRedirect

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

func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsServerError

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

func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsSuccess

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

func (*PatchGeolocationsSettingsRequestEntityTooLarge) String

type PatchGeolocationsSettingsRequestTimeout

type PatchGeolocationsSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchGeolocationsSettingsRequestTimeout 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 NewPatchGeolocationsSettingsRequestTimeout

func NewPatchGeolocationsSettingsRequestTimeout() *PatchGeolocationsSettingsRequestTimeout

NewPatchGeolocationsSettingsRequestTimeout creates a PatchGeolocationsSettingsRequestTimeout with default headers values

func (*PatchGeolocationsSettingsRequestTimeout) Error

func (*PatchGeolocationsSettingsRequestTimeout) GetPayload

func (*PatchGeolocationsSettingsRequestTimeout) IsClientError

func (o *PatchGeolocationsSettingsRequestTimeout) IsClientError() bool

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

func (*PatchGeolocationsSettingsRequestTimeout) IsCode

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

func (*PatchGeolocationsSettingsRequestTimeout) IsRedirect

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

func (*PatchGeolocationsSettingsRequestTimeout) IsServerError

func (o *PatchGeolocationsSettingsRequestTimeout) IsServerError() bool

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

func (*PatchGeolocationsSettingsRequestTimeout) IsSuccess

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

func (*PatchGeolocationsSettingsRequestTimeout) String

type PatchGeolocationsSettingsServiceUnavailable

type PatchGeolocationsSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchGeolocationsSettingsServiceUnavailable 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 NewPatchGeolocationsSettingsServiceUnavailable

func NewPatchGeolocationsSettingsServiceUnavailable() *PatchGeolocationsSettingsServiceUnavailable

NewPatchGeolocationsSettingsServiceUnavailable creates a PatchGeolocationsSettingsServiceUnavailable with default headers values

func (*PatchGeolocationsSettingsServiceUnavailable) Error

func (*PatchGeolocationsSettingsServiceUnavailable) GetPayload

func (*PatchGeolocationsSettingsServiceUnavailable) IsClientError

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

func (*PatchGeolocationsSettingsServiceUnavailable) IsCode

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

func (*PatchGeolocationsSettingsServiceUnavailable) IsRedirect

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

func (*PatchGeolocationsSettingsServiceUnavailable) IsServerError

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

func (*PatchGeolocationsSettingsServiceUnavailable) IsSuccess

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

func (*PatchGeolocationsSettingsServiceUnavailable) String

type PatchGeolocationsSettingsTooManyRequests

type PatchGeolocationsSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchGeolocationsSettingsTooManyRequests

func NewPatchGeolocationsSettingsTooManyRequests() *PatchGeolocationsSettingsTooManyRequests

NewPatchGeolocationsSettingsTooManyRequests creates a PatchGeolocationsSettingsTooManyRequests with default headers values

func (*PatchGeolocationsSettingsTooManyRequests) Error

func (*PatchGeolocationsSettingsTooManyRequests) GetPayload

func (*PatchGeolocationsSettingsTooManyRequests) IsClientError

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

func (*PatchGeolocationsSettingsTooManyRequests) IsCode

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

func (*PatchGeolocationsSettingsTooManyRequests) IsRedirect

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

func (*PatchGeolocationsSettingsTooManyRequests) IsServerError

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

func (*PatchGeolocationsSettingsTooManyRequests) IsSuccess

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

func (*PatchGeolocationsSettingsTooManyRequests) String

type PatchGeolocationsSettingsUnauthorized

type PatchGeolocationsSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPatchGeolocationsSettingsUnauthorized

func NewPatchGeolocationsSettingsUnauthorized() *PatchGeolocationsSettingsUnauthorized

NewPatchGeolocationsSettingsUnauthorized creates a PatchGeolocationsSettingsUnauthorized with default headers values

func (*PatchGeolocationsSettingsUnauthorized) Error

func (*PatchGeolocationsSettingsUnauthorized) GetPayload

func (*PatchGeolocationsSettingsUnauthorized) IsClientError

func (o *PatchGeolocationsSettingsUnauthorized) IsClientError() bool

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

func (*PatchGeolocationsSettingsUnauthorized) IsCode

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

func (*PatchGeolocationsSettingsUnauthorized) IsRedirect

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

func (*PatchGeolocationsSettingsUnauthorized) IsServerError

func (o *PatchGeolocationsSettingsUnauthorized) IsServerError() bool

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

func (*PatchGeolocationsSettingsUnauthorized) IsSuccess

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

func (*PatchGeolocationsSettingsUnauthorized) String

type PatchGeolocationsSettingsUnsupportedMediaType

type PatchGeolocationsSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchGeolocationsSettingsUnsupportedMediaType 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 NewPatchGeolocationsSettingsUnsupportedMediaType

func NewPatchGeolocationsSettingsUnsupportedMediaType() *PatchGeolocationsSettingsUnsupportedMediaType

NewPatchGeolocationsSettingsUnsupportedMediaType creates a PatchGeolocationsSettingsUnsupportedMediaType with default headers values

func (*PatchGeolocationsSettingsUnsupportedMediaType) Error

func (*PatchGeolocationsSettingsUnsupportedMediaType) GetPayload

func (*PatchGeolocationsSettingsUnsupportedMediaType) IsClientError

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

func (*PatchGeolocationsSettingsUnsupportedMediaType) IsCode

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

func (*PatchGeolocationsSettingsUnsupportedMediaType) IsRedirect

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

func (*PatchGeolocationsSettingsUnsupportedMediaType) IsServerError

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

func (*PatchGeolocationsSettingsUnsupportedMediaType) IsSuccess

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

func (*PatchGeolocationsSettingsUnsupportedMediaType) String

type PatchUserGeolocationBadRequest

type PatchUserGeolocationBadRequest struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationBadRequest 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 NewPatchUserGeolocationBadRequest

func NewPatchUserGeolocationBadRequest() *PatchUserGeolocationBadRequest

NewPatchUserGeolocationBadRequest creates a PatchUserGeolocationBadRequest with default headers values

func (*PatchUserGeolocationBadRequest) Error

func (*PatchUserGeolocationBadRequest) GetPayload

func (*PatchUserGeolocationBadRequest) IsClientError

func (o *PatchUserGeolocationBadRequest) IsClientError() bool

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

func (*PatchUserGeolocationBadRequest) IsCode

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

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

func (*PatchUserGeolocationBadRequest) IsRedirect

func (o *PatchUserGeolocationBadRequest) IsRedirect() bool

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

func (*PatchUserGeolocationBadRequest) IsServerError

func (o *PatchUserGeolocationBadRequest) IsServerError() bool

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

func (*PatchUserGeolocationBadRequest) IsSuccess

func (o *PatchUserGeolocationBadRequest) IsSuccess() bool

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

func (*PatchUserGeolocationBadRequest) String

type PatchUserGeolocationForbidden

type PatchUserGeolocationForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPatchUserGeolocationForbidden

func NewPatchUserGeolocationForbidden() *PatchUserGeolocationForbidden

NewPatchUserGeolocationForbidden creates a PatchUserGeolocationForbidden with default headers values

func (*PatchUserGeolocationForbidden) Error

func (*PatchUserGeolocationForbidden) GetPayload

func (*PatchUserGeolocationForbidden) IsClientError

func (o *PatchUserGeolocationForbidden) IsClientError() bool

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

func (*PatchUserGeolocationForbidden) IsCode

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

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

func (*PatchUserGeolocationForbidden) IsRedirect

func (o *PatchUserGeolocationForbidden) IsRedirect() bool

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

func (*PatchUserGeolocationForbidden) IsServerError

func (o *PatchUserGeolocationForbidden) IsServerError() bool

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

func (*PatchUserGeolocationForbidden) IsSuccess

func (o *PatchUserGeolocationForbidden) IsSuccess() bool

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

func (*PatchUserGeolocationForbidden) String

type PatchUserGeolocationGatewayTimeout

type PatchUserGeolocationGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPatchUserGeolocationGatewayTimeout

func NewPatchUserGeolocationGatewayTimeout() *PatchUserGeolocationGatewayTimeout

NewPatchUserGeolocationGatewayTimeout creates a PatchUserGeolocationGatewayTimeout with default headers values

func (*PatchUserGeolocationGatewayTimeout) Error

func (*PatchUserGeolocationGatewayTimeout) GetPayload

func (*PatchUserGeolocationGatewayTimeout) IsClientError

func (o *PatchUserGeolocationGatewayTimeout) IsClientError() bool

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

func (*PatchUserGeolocationGatewayTimeout) IsCode

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

func (*PatchUserGeolocationGatewayTimeout) IsRedirect

func (o *PatchUserGeolocationGatewayTimeout) IsRedirect() bool

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

func (*PatchUserGeolocationGatewayTimeout) IsServerError

func (o *PatchUserGeolocationGatewayTimeout) IsServerError() bool

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

func (*PatchUserGeolocationGatewayTimeout) IsSuccess

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

func (*PatchUserGeolocationGatewayTimeout) String

type PatchUserGeolocationInternalServerError

type PatchUserGeolocationInternalServerError struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationInternalServerError 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 NewPatchUserGeolocationInternalServerError

func NewPatchUserGeolocationInternalServerError() *PatchUserGeolocationInternalServerError

NewPatchUserGeolocationInternalServerError creates a PatchUserGeolocationInternalServerError with default headers values

func (*PatchUserGeolocationInternalServerError) Error

func (*PatchUserGeolocationInternalServerError) GetPayload

func (*PatchUserGeolocationInternalServerError) IsClientError

func (o *PatchUserGeolocationInternalServerError) IsClientError() bool

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

func (*PatchUserGeolocationInternalServerError) IsCode

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

func (*PatchUserGeolocationInternalServerError) IsRedirect

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

func (*PatchUserGeolocationInternalServerError) IsServerError

func (o *PatchUserGeolocationInternalServerError) IsServerError() bool

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

func (*PatchUserGeolocationInternalServerError) IsSuccess

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

func (*PatchUserGeolocationInternalServerError) String

type PatchUserGeolocationMethodNotAllowed

type PatchUserGeolocationMethodNotAllowed struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewPatchUserGeolocationMethodNotAllowed

func NewPatchUserGeolocationMethodNotAllowed() *PatchUserGeolocationMethodNotAllowed

NewPatchUserGeolocationMethodNotAllowed creates a PatchUserGeolocationMethodNotAllowed with default headers values

func (*PatchUserGeolocationMethodNotAllowed) Error

func (*PatchUserGeolocationMethodNotAllowed) GetPayload

func (*PatchUserGeolocationMethodNotAllowed) IsClientError

func (o *PatchUserGeolocationMethodNotAllowed) IsClientError() bool

IsClientError returns true when this patch user geolocation method not allowed response has a 4xx status code

func (*PatchUserGeolocationMethodNotAllowed) IsCode

IsCode returns true when this patch user geolocation method not allowed response a status code equal to that given

func (*PatchUserGeolocationMethodNotAllowed) IsRedirect

IsRedirect returns true when this patch user geolocation method not allowed response has a 3xx status code

func (*PatchUserGeolocationMethodNotAllowed) IsServerError

func (o *PatchUserGeolocationMethodNotAllowed) IsServerError() bool

IsServerError returns true when this patch user geolocation method not allowed response has a 5xx status code

func (*PatchUserGeolocationMethodNotAllowed) IsSuccess

IsSuccess returns true when this patch user geolocation method not allowed response has a 2xx status code

func (*PatchUserGeolocationMethodNotAllowed) String

type PatchUserGeolocationNotFound

type PatchUserGeolocationNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPatchUserGeolocationNotFound

func NewPatchUserGeolocationNotFound() *PatchUserGeolocationNotFound

NewPatchUserGeolocationNotFound creates a PatchUserGeolocationNotFound with default headers values

func (*PatchUserGeolocationNotFound) Error

func (*PatchUserGeolocationNotFound) GetPayload

func (*PatchUserGeolocationNotFound) IsClientError

func (o *PatchUserGeolocationNotFound) IsClientError() bool

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

func (*PatchUserGeolocationNotFound) IsCode

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

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

func (*PatchUserGeolocationNotFound) IsRedirect

func (o *PatchUserGeolocationNotFound) IsRedirect() bool

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

func (*PatchUserGeolocationNotFound) IsServerError

func (o *PatchUserGeolocationNotFound) IsServerError() bool

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

func (*PatchUserGeolocationNotFound) IsSuccess

func (o *PatchUserGeolocationNotFound) IsSuccess() bool

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

func (*PatchUserGeolocationNotFound) String

type PatchUserGeolocationOK

type PatchUserGeolocationOK struct {
	Payload *models.Geolocation
}

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

successful operation

func NewPatchUserGeolocationOK

func NewPatchUserGeolocationOK() *PatchUserGeolocationOK

NewPatchUserGeolocationOK creates a PatchUserGeolocationOK with default headers values

func (*PatchUserGeolocationOK) Error

func (o *PatchUserGeolocationOK) Error() string

func (*PatchUserGeolocationOK) GetPayload

func (o *PatchUserGeolocationOK) GetPayload() *models.Geolocation

func (*PatchUserGeolocationOK) IsClientError

func (o *PatchUserGeolocationOK) IsClientError() bool

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

func (*PatchUserGeolocationOK) IsCode

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

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

func (*PatchUserGeolocationOK) IsRedirect

func (o *PatchUserGeolocationOK) IsRedirect() bool

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

func (*PatchUserGeolocationOK) IsServerError

func (o *PatchUserGeolocationOK) IsServerError() bool

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

func (*PatchUserGeolocationOK) IsSuccess

func (o *PatchUserGeolocationOK) IsSuccess() bool

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

func (*PatchUserGeolocationOK) String

func (o *PatchUserGeolocationOK) String() string

type PatchUserGeolocationParams

type PatchUserGeolocationParams struct {

	/* Body.

	   Geolocation
	*/
	Body *models.Geolocation

	/* ClientID.

	   client Id
	*/
	ClientID string

	/* UserID.

	   user Id
	*/
	UserID string

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

PatchUserGeolocationParams contains all the parameters to send to the API endpoint

for the patch user geolocation operation.

Typically these are written to a http.Request.

func NewPatchUserGeolocationParams

func NewPatchUserGeolocationParams() *PatchUserGeolocationParams

NewPatchUserGeolocationParams creates a new PatchUserGeolocationParams 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 NewPatchUserGeolocationParamsWithContext

func NewPatchUserGeolocationParamsWithContext(ctx context.Context) *PatchUserGeolocationParams

NewPatchUserGeolocationParamsWithContext creates a new PatchUserGeolocationParams object with the ability to set a context for a request.

func NewPatchUserGeolocationParamsWithHTTPClient

func NewPatchUserGeolocationParamsWithHTTPClient(client *http.Client) *PatchUserGeolocationParams

NewPatchUserGeolocationParamsWithHTTPClient creates a new PatchUserGeolocationParams object with the ability to set a custom HTTPClient for a request.

func NewPatchUserGeolocationParamsWithTimeout

func NewPatchUserGeolocationParamsWithTimeout(timeout time.Duration) *PatchUserGeolocationParams

NewPatchUserGeolocationParamsWithTimeout creates a new PatchUserGeolocationParams object with the ability to set a timeout on a request.

func (*PatchUserGeolocationParams) SetBody

func (o *PatchUserGeolocationParams) SetBody(body *models.Geolocation)

SetBody adds the body to the patch user geolocation params

func (*PatchUserGeolocationParams) SetClientID

func (o *PatchUserGeolocationParams) SetClientID(clientID string)

SetClientID adds the clientId to the patch user geolocation params

func (*PatchUserGeolocationParams) SetContext

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

SetContext adds the context to the patch user geolocation params

func (*PatchUserGeolocationParams) SetDefaults

func (o *PatchUserGeolocationParams) SetDefaults()

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

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

func (*PatchUserGeolocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch user geolocation params

func (*PatchUserGeolocationParams) SetTimeout

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

SetTimeout adds the timeout to the patch user geolocation params

func (*PatchUserGeolocationParams) SetUserID

func (o *PatchUserGeolocationParams) SetUserID(userID string)

SetUserID adds the userId to the patch user geolocation params

func (*PatchUserGeolocationParams) WithBody

WithBody adds the body to the patch user geolocation params

func (*PatchUserGeolocationParams) WithClientID

WithClientID adds the clientID to the patch user geolocation params

func (*PatchUserGeolocationParams) WithContext

WithContext adds the context to the patch user geolocation params

func (*PatchUserGeolocationParams) WithDefaults

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

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

func (*PatchUserGeolocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch user geolocation params

func (*PatchUserGeolocationParams) WithTimeout

WithTimeout adds the timeout to the patch user geolocation params

func (*PatchUserGeolocationParams) WithUserID

WithUserID adds the userID to the patch user geolocation params

func (*PatchUserGeolocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchUserGeolocationReader

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

PatchUserGeolocationReader is a Reader for the PatchUserGeolocation structure.

func (*PatchUserGeolocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUserGeolocationRequestEntityTooLarge

type PatchUserGeolocationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserGeolocationRequestEntityTooLarge

func NewPatchUserGeolocationRequestEntityTooLarge() *PatchUserGeolocationRequestEntityTooLarge

NewPatchUserGeolocationRequestEntityTooLarge creates a PatchUserGeolocationRequestEntityTooLarge with default headers values

func (*PatchUserGeolocationRequestEntityTooLarge) Error

func (*PatchUserGeolocationRequestEntityTooLarge) GetPayload

func (*PatchUserGeolocationRequestEntityTooLarge) IsClientError

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

func (*PatchUserGeolocationRequestEntityTooLarge) IsCode

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

func (*PatchUserGeolocationRequestEntityTooLarge) IsRedirect

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

func (*PatchUserGeolocationRequestEntityTooLarge) IsServerError

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

func (*PatchUserGeolocationRequestEntityTooLarge) IsSuccess

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

func (*PatchUserGeolocationRequestEntityTooLarge) String

type PatchUserGeolocationRequestTimeout

type PatchUserGeolocationRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationRequestTimeout 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 NewPatchUserGeolocationRequestTimeout

func NewPatchUserGeolocationRequestTimeout() *PatchUserGeolocationRequestTimeout

NewPatchUserGeolocationRequestTimeout creates a PatchUserGeolocationRequestTimeout with default headers values

func (*PatchUserGeolocationRequestTimeout) Error

func (*PatchUserGeolocationRequestTimeout) GetPayload

func (*PatchUserGeolocationRequestTimeout) IsClientError

func (o *PatchUserGeolocationRequestTimeout) IsClientError() bool

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

func (*PatchUserGeolocationRequestTimeout) IsCode

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

func (*PatchUserGeolocationRequestTimeout) IsRedirect

func (o *PatchUserGeolocationRequestTimeout) IsRedirect() bool

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

func (*PatchUserGeolocationRequestTimeout) IsServerError

func (o *PatchUserGeolocationRequestTimeout) IsServerError() bool

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

func (*PatchUserGeolocationRequestTimeout) IsSuccess

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

func (*PatchUserGeolocationRequestTimeout) String

type PatchUserGeolocationServiceUnavailable

type PatchUserGeolocationServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationServiceUnavailable 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 NewPatchUserGeolocationServiceUnavailable

func NewPatchUserGeolocationServiceUnavailable() *PatchUserGeolocationServiceUnavailable

NewPatchUserGeolocationServiceUnavailable creates a PatchUserGeolocationServiceUnavailable with default headers values

func (*PatchUserGeolocationServiceUnavailable) Error

func (*PatchUserGeolocationServiceUnavailable) GetPayload

func (*PatchUserGeolocationServiceUnavailable) IsClientError

func (o *PatchUserGeolocationServiceUnavailable) IsClientError() bool

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

func (*PatchUserGeolocationServiceUnavailable) IsCode

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

func (*PatchUserGeolocationServiceUnavailable) IsRedirect

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

func (*PatchUserGeolocationServiceUnavailable) IsServerError

func (o *PatchUserGeolocationServiceUnavailable) IsServerError() bool

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

func (*PatchUserGeolocationServiceUnavailable) IsSuccess

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

func (*PatchUserGeolocationServiceUnavailable) String

type PatchUserGeolocationTooManyRequests

type PatchUserGeolocationTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserGeolocationTooManyRequests

func NewPatchUserGeolocationTooManyRequests() *PatchUserGeolocationTooManyRequests

NewPatchUserGeolocationTooManyRequests creates a PatchUserGeolocationTooManyRequests with default headers values

func (*PatchUserGeolocationTooManyRequests) Error

func (*PatchUserGeolocationTooManyRequests) GetPayload

func (*PatchUserGeolocationTooManyRequests) IsClientError

func (o *PatchUserGeolocationTooManyRequests) IsClientError() bool

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

func (*PatchUserGeolocationTooManyRequests) IsCode

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

func (*PatchUserGeolocationTooManyRequests) IsRedirect

func (o *PatchUserGeolocationTooManyRequests) IsRedirect() bool

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

func (*PatchUserGeolocationTooManyRequests) IsServerError

func (o *PatchUserGeolocationTooManyRequests) IsServerError() bool

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

func (*PatchUserGeolocationTooManyRequests) IsSuccess

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

func (*PatchUserGeolocationTooManyRequests) String

type PatchUserGeolocationUnauthorized

type PatchUserGeolocationUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPatchUserGeolocationUnauthorized

func NewPatchUserGeolocationUnauthorized() *PatchUserGeolocationUnauthorized

NewPatchUserGeolocationUnauthorized creates a PatchUserGeolocationUnauthorized with default headers values

func (*PatchUserGeolocationUnauthorized) Error

func (*PatchUserGeolocationUnauthorized) GetPayload

func (*PatchUserGeolocationUnauthorized) IsClientError

func (o *PatchUserGeolocationUnauthorized) IsClientError() bool

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

func (*PatchUserGeolocationUnauthorized) IsCode

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

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

func (*PatchUserGeolocationUnauthorized) IsRedirect

func (o *PatchUserGeolocationUnauthorized) IsRedirect() bool

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

func (*PatchUserGeolocationUnauthorized) IsServerError

func (o *PatchUserGeolocationUnauthorized) IsServerError() bool

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

func (*PatchUserGeolocationUnauthorized) IsSuccess

func (o *PatchUserGeolocationUnauthorized) IsSuccess() bool

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

func (*PatchUserGeolocationUnauthorized) String

type PatchUserGeolocationUnsupportedMediaType

type PatchUserGeolocationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchUserGeolocationUnsupportedMediaType 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 NewPatchUserGeolocationUnsupportedMediaType

func NewPatchUserGeolocationUnsupportedMediaType() *PatchUserGeolocationUnsupportedMediaType

NewPatchUserGeolocationUnsupportedMediaType creates a PatchUserGeolocationUnsupportedMediaType with default headers values

func (*PatchUserGeolocationUnsupportedMediaType) Error

func (*PatchUserGeolocationUnsupportedMediaType) GetPayload

func (*PatchUserGeolocationUnsupportedMediaType) IsClientError

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

func (*PatchUserGeolocationUnsupportedMediaType) IsCode

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

func (*PatchUserGeolocationUnsupportedMediaType) IsRedirect

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

func (*PatchUserGeolocationUnsupportedMediaType) IsServerError

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

func (*PatchUserGeolocationUnsupportedMediaType) IsSuccess

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

func (*PatchUserGeolocationUnsupportedMediaType) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL