Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) GetGeolocationsSettings(ctx context.Context, params *GetGeolocationsSettingsParams) (*GetGeolocationsSettingsOK, error)
- func (a *Client) GetUserGeolocation(ctx context.Context, params *GetUserGeolocationParams) (*GetUserGeolocationOK, error)
- func (a *Client) PatchGeolocationsSettings(ctx context.Context, params *PatchGeolocationsSettingsParams) (*PatchGeolocationsSettingsOK, error)
- func (a *Client) PatchUserGeolocation(ctx context.Context, params *PatchUserGeolocationParams) (*PatchUserGeolocationOK, error)
- type GetGeolocationsSettingsBadRequest
- func (o *GetGeolocationsSettingsBadRequest) Error() string
- func (o *GetGeolocationsSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsBadRequest) IsClientError() bool
- func (o *GetGeolocationsSettingsBadRequest) IsCode(code int) bool
- func (o *GetGeolocationsSettingsBadRequest) IsRedirect() bool
- func (o *GetGeolocationsSettingsBadRequest) IsServerError() bool
- func (o *GetGeolocationsSettingsBadRequest) IsSuccess() bool
- func (o *GetGeolocationsSettingsBadRequest) String() string
- type GetGeolocationsSettingsForbidden
- func (o *GetGeolocationsSettingsForbidden) Error() string
- func (o *GetGeolocationsSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsForbidden) IsClientError() bool
- func (o *GetGeolocationsSettingsForbidden) IsCode(code int) bool
- func (o *GetGeolocationsSettingsForbidden) IsRedirect() bool
- func (o *GetGeolocationsSettingsForbidden) IsServerError() bool
- func (o *GetGeolocationsSettingsForbidden) IsSuccess() bool
- func (o *GetGeolocationsSettingsForbidden) String() string
- type GetGeolocationsSettingsGatewayTimeout
- func (o *GetGeolocationsSettingsGatewayTimeout) Error() string
- func (o *GetGeolocationsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsGatewayTimeout) IsClientError() bool
- func (o *GetGeolocationsSettingsGatewayTimeout) IsCode(code int) bool
- func (o *GetGeolocationsSettingsGatewayTimeout) IsRedirect() bool
- func (o *GetGeolocationsSettingsGatewayTimeout) IsServerError() bool
- func (o *GetGeolocationsSettingsGatewayTimeout) IsSuccess() bool
- func (o *GetGeolocationsSettingsGatewayTimeout) String() string
- type GetGeolocationsSettingsInternalServerError
- func (o *GetGeolocationsSettingsInternalServerError) Error() string
- func (o *GetGeolocationsSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsInternalServerError) IsClientError() bool
- func (o *GetGeolocationsSettingsInternalServerError) IsCode(code int) bool
- func (o *GetGeolocationsSettingsInternalServerError) IsRedirect() bool
- func (o *GetGeolocationsSettingsInternalServerError) IsServerError() bool
- func (o *GetGeolocationsSettingsInternalServerError) IsSuccess() bool
- func (o *GetGeolocationsSettingsInternalServerError) String() string
- type GetGeolocationsSettingsNotFound
- func (o *GetGeolocationsSettingsNotFound) Error() string
- func (o *GetGeolocationsSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsNotFound) IsClientError() bool
- func (o *GetGeolocationsSettingsNotFound) IsCode(code int) bool
- func (o *GetGeolocationsSettingsNotFound) IsRedirect() bool
- func (o *GetGeolocationsSettingsNotFound) IsServerError() bool
- func (o *GetGeolocationsSettingsNotFound) IsSuccess() bool
- func (o *GetGeolocationsSettingsNotFound) String() string
- type GetGeolocationsSettingsOK
- func (o *GetGeolocationsSettingsOK) Error() string
- func (o *GetGeolocationsSettingsOK) GetPayload() *models.GeolocationSettings
- func (o *GetGeolocationsSettingsOK) IsClientError() bool
- func (o *GetGeolocationsSettingsOK) IsCode(code int) bool
- func (o *GetGeolocationsSettingsOK) IsRedirect() bool
- func (o *GetGeolocationsSettingsOK) IsServerError() bool
- func (o *GetGeolocationsSettingsOK) IsSuccess() bool
- func (o *GetGeolocationsSettingsOK) String() string
- type GetGeolocationsSettingsParams
- func NewGetGeolocationsSettingsParams() *GetGeolocationsSettingsParams
- func NewGetGeolocationsSettingsParamsWithContext(ctx context.Context) *GetGeolocationsSettingsParams
- func NewGetGeolocationsSettingsParamsWithHTTPClient(client *http.Client) *GetGeolocationsSettingsParams
- func NewGetGeolocationsSettingsParamsWithTimeout(timeout time.Duration) *GetGeolocationsSettingsParams
- func (o *GetGeolocationsSettingsParams) SetContext(ctx context.Context)
- func (o *GetGeolocationsSettingsParams) SetDefaults()
- func (o *GetGeolocationsSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetGeolocationsSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetGeolocationsSettingsParams) WithContext(ctx context.Context) *GetGeolocationsSettingsParams
- func (o *GetGeolocationsSettingsParams) WithDefaults() *GetGeolocationsSettingsParams
- func (o *GetGeolocationsSettingsParams) WithHTTPClient(client *http.Client) *GetGeolocationsSettingsParams
- func (o *GetGeolocationsSettingsParams) WithTimeout(timeout time.Duration) *GetGeolocationsSettingsParams
- func (o *GetGeolocationsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGeolocationsSettingsReader
- type GetGeolocationsSettingsRequestEntityTooLarge
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) Error() string
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetGeolocationsSettingsRequestEntityTooLarge) String() string
- type GetGeolocationsSettingsRequestTimeout
- func (o *GetGeolocationsSettingsRequestTimeout) Error() string
- func (o *GetGeolocationsSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsRequestTimeout) IsClientError() bool
- func (o *GetGeolocationsSettingsRequestTimeout) IsCode(code int) bool
- func (o *GetGeolocationsSettingsRequestTimeout) IsRedirect() bool
- func (o *GetGeolocationsSettingsRequestTimeout) IsServerError() bool
- func (o *GetGeolocationsSettingsRequestTimeout) IsSuccess() bool
- func (o *GetGeolocationsSettingsRequestTimeout) String() string
- type GetGeolocationsSettingsServiceUnavailable
- func (o *GetGeolocationsSettingsServiceUnavailable) Error() string
- func (o *GetGeolocationsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsServiceUnavailable) IsClientError() bool
- func (o *GetGeolocationsSettingsServiceUnavailable) IsCode(code int) bool
- func (o *GetGeolocationsSettingsServiceUnavailable) IsRedirect() bool
- func (o *GetGeolocationsSettingsServiceUnavailable) IsServerError() bool
- func (o *GetGeolocationsSettingsServiceUnavailable) IsSuccess() bool
- func (o *GetGeolocationsSettingsServiceUnavailable) String() string
- type GetGeolocationsSettingsTooManyRequests
- func (o *GetGeolocationsSettingsTooManyRequests) Error() string
- func (o *GetGeolocationsSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsTooManyRequests) IsClientError() bool
- func (o *GetGeolocationsSettingsTooManyRequests) IsCode(code int) bool
- func (o *GetGeolocationsSettingsTooManyRequests) IsRedirect() bool
- func (o *GetGeolocationsSettingsTooManyRequests) IsServerError() bool
- func (o *GetGeolocationsSettingsTooManyRequests) IsSuccess() bool
- func (o *GetGeolocationsSettingsTooManyRequests) String() string
- type GetGeolocationsSettingsUnauthorized
- func (o *GetGeolocationsSettingsUnauthorized) Error() string
- func (o *GetGeolocationsSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsUnauthorized) IsClientError() bool
- func (o *GetGeolocationsSettingsUnauthorized) IsCode(code int) bool
- func (o *GetGeolocationsSettingsUnauthorized) IsRedirect() bool
- func (o *GetGeolocationsSettingsUnauthorized) IsServerError() bool
- func (o *GetGeolocationsSettingsUnauthorized) IsSuccess() bool
- func (o *GetGeolocationsSettingsUnauthorized) String() string
- type GetGeolocationsSettingsUnsupportedMediaType
- func (o *GetGeolocationsSettingsUnsupportedMediaType) Error() string
- func (o *GetGeolocationsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetGeolocationsSettingsUnsupportedMediaType) IsClientError() bool
- func (o *GetGeolocationsSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetGeolocationsSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *GetGeolocationsSettingsUnsupportedMediaType) IsServerError() bool
- func (o *GetGeolocationsSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *GetGeolocationsSettingsUnsupportedMediaType) String() string
- type GetUserGeolocationBadRequest
- func (o *GetUserGeolocationBadRequest) Error() string
- func (o *GetUserGeolocationBadRequest) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationBadRequest) IsClientError() bool
- func (o *GetUserGeolocationBadRequest) IsCode(code int) bool
- func (o *GetUserGeolocationBadRequest) IsRedirect() bool
- func (o *GetUserGeolocationBadRequest) IsServerError() bool
- func (o *GetUserGeolocationBadRequest) IsSuccess() bool
- func (o *GetUserGeolocationBadRequest) String() string
- type GetUserGeolocationForbidden
- func (o *GetUserGeolocationForbidden) Error() string
- func (o *GetUserGeolocationForbidden) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationForbidden) IsClientError() bool
- func (o *GetUserGeolocationForbidden) IsCode(code int) bool
- func (o *GetUserGeolocationForbidden) IsRedirect() bool
- func (o *GetUserGeolocationForbidden) IsServerError() bool
- func (o *GetUserGeolocationForbidden) IsSuccess() bool
- func (o *GetUserGeolocationForbidden) String() string
- type GetUserGeolocationGatewayTimeout
- func (o *GetUserGeolocationGatewayTimeout) Error() string
- func (o *GetUserGeolocationGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationGatewayTimeout) IsClientError() bool
- func (o *GetUserGeolocationGatewayTimeout) IsCode(code int) bool
- func (o *GetUserGeolocationGatewayTimeout) IsRedirect() bool
- func (o *GetUserGeolocationGatewayTimeout) IsServerError() bool
- func (o *GetUserGeolocationGatewayTimeout) IsSuccess() bool
- func (o *GetUserGeolocationGatewayTimeout) String() string
- type GetUserGeolocationInternalServerError
- func (o *GetUserGeolocationInternalServerError) Error() string
- func (o *GetUserGeolocationInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationInternalServerError) IsClientError() bool
- func (o *GetUserGeolocationInternalServerError) IsCode(code int) bool
- func (o *GetUserGeolocationInternalServerError) IsRedirect() bool
- func (o *GetUserGeolocationInternalServerError) IsServerError() bool
- func (o *GetUserGeolocationInternalServerError) IsSuccess() bool
- func (o *GetUserGeolocationInternalServerError) String() string
- type GetUserGeolocationNotFound
- func (o *GetUserGeolocationNotFound) Error() string
- func (o *GetUserGeolocationNotFound) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationNotFound) IsClientError() bool
- func (o *GetUserGeolocationNotFound) IsCode(code int) bool
- func (o *GetUserGeolocationNotFound) IsRedirect() bool
- func (o *GetUserGeolocationNotFound) IsServerError() bool
- func (o *GetUserGeolocationNotFound) IsSuccess() bool
- func (o *GetUserGeolocationNotFound) String() string
- type GetUserGeolocationOK
- func (o *GetUserGeolocationOK) Error() string
- func (o *GetUserGeolocationOK) GetPayload() *models.Geolocation
- func (o *GetUserGeolocationOK) IsClientError() bool
- func (o *GetUserGeolocationOK) IsCode(code int) bool
- func (o *GetUserGeolocationOK) IsRedirect() bool
- func (o *GetUserGeolocationOK) IsServerError() bool
- func (o *GetUserGeolocationOK) IsSuccess() bool
- func (o *GetUserGeolocationOK) String() string
- type GetUserGeolocationParams
- func NewGetUserGeolocationParams() *GetUserGeolocationParams
- func NewGetUserGeolocationParamsWithContext(ctx context.Context) *GetUserGeolocationParams
- func NewGetUserGeolocationParamsWithHTTPClient(client *http.Client) *GetUserGeolocationParams
- func NewGetUserGeolocationParamsWithTimeout(timeout time.Duration) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) SetClientID(clientID string)
- func (o *GetUserGeolocationParams) SetContext(ctx context.Context)
- func (o *GetUserGeolocationParams) SetDefaults()
- func (o *GetUserGeolocationParams) SetHTTPClient(client *http.Client)
- func (o *GetUserGeolocationParams) SetTimeout(timeout time.Duration)
- func (o *GetUserGeolocationParams) SetUserID(userID string)
- func (o *GetUserGeolocationParams) WithClientID(clientID string) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WithContext(ctx context.Context) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WithDefaults() *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WithHTTPClient(client *http.Client) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WithTimeout(timeout time.Duration) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WithUserID(userID string) *GetUserGeolocationParams
- func (o *GetUserGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserGeolocationReader
- type GetUserGeolocationRequestEntityTooLarge
- func (o *GetUserGeolocationRequestEntityTooLarge) Error() string
- func (o *GetUserGeolocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationRequestEntityTooLarge) IsClientError() bool
- func (o *GetUserGeolocationRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetUserGeolocationRequestEntityTooLarge) IsRedirect() bool
- func (o *GetUserGeolocationRequestEntityTooLarge) IsServerError() bool
- func (o *GetUserGeolocationRequestEntityTooLarge) IsSuccess() bool
- func (o *GetUserGeolocationRequestEntityTooLarge) String() string
- type GetUserGeolocationRequestTimeout
- func (o *GetUserGeolocationRequestTimeout) Error() string
- func (o *GetUserGeolocationRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationRequestTimeout) IsClientError() bool
- func (o *GetUserGeolocationRequestTimeout) IsCode(code int) bool
- func (o *GetUserGeolocationRequestTimeout) IsRedirect() bool
- func (o *GetUserGeolocationRequestTimeout) IsServerError() bool
- func (o *GetUserGeolocationRequestTimeout) IsSuccess() bool
- func (o *GetUserGeolocationRequestTimeout) String() string
- type GetUserGeolocationServiceUnavailable
- func (o *GetUserGeolocationServiceUnavailable) Error() string
- func (o *GetUserGeolocationServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationServiceUnavailable) IsClientError() bool
- func (o *GetUserGeolocationServiceUnavailable) IsCode(code int) bool
- func (o *GetUserGeolocationServiceUnavailable) IsRedirect() bool
- func (o *GetUserGeolocationServiceUnavailable) IsServerError() bool
- func (o *GetUserGeolocationServiceUnavailable) IsSuccess() bool
- func (o *GetUserGeolocationServiceUnavailable) String() string
- type GetUserGeolocationTooManyRequests
- func (o *GetUserGeolocationTooManyRequests) Error() string
- func (o *GetUserGeolocationTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationTooManyRequests) IsClientError() bool
- func (o *GetUserGeolocationTooManyRequests) IsCode(code int) bool
- func (o *GetUserGeolocationTooManyRequests) IsRedirect() bool
- func (o *GetUserGeolocationTooManyRequests) IsServerError() bool
- func (o *GetUserGeolocationTooManyRequests) IsSuccess() bool
- func (o *GetUserGeolocationTooManyRequests) String() string
- type GetUserGeolocationUnauthorized
- func (o *GetUserGeolocationUnauthorized) Error() string
- func (o *GetUserGeolocationUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationUnauthorized) IsClientError() bool
- func (o *GetUserGeolocationUnauthorized) IsCode(code int) bool
- func (o *GetUserGeolocationUnauthorized) IsRedirect() bool
- func (o *GetUserGeolocationUnauthorized) IsServerError() bool
- func (o *GetUserGeolocationUnauthorized) IsSuccess() bool
- func (o *GetUserGeolocationUnauthorized) String() string
- type GetUserGeolocationUnsupportedMediaType
- func (o *GetUserGeolocationUnsupportedMediaType) Error() string
- func (o *GetUserGeolocationUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetUserGeolocationUnsupportedMediaType) IsClientError() bool
- func (o *GetUserGeolocationUnsupportedMediaType) IsCode(code int) bool
- func (o *GetUserGeolocationUnsupportedMediaType) IsRedirect() bool
- func (o *GetUserGeolocationUnsupportedMediaType) IsServerError() bool
- func (o *GetUserGeolocationUnsupportedMediaType) IsSuccess() bool
- func (o *GetUserGeolocationUnsupportedMediaType) String() string
- type PatchGeolocationsSettingsBadRequest
- func (o *PatchGeolocationsSettingsBadRequest) Error() string
- func (o *PatchGeolocationsSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsBadRequest) IsClientError() bool
- func (o *PatchGeolocationsSettingsBadRequest) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsBadRequest) IsRedirect() bool
- func (o *PatchGeolocationsSettingsBadRequest) IsServerError() bool
- func (o *PatchGeolocationsSettingsBadRequest) IsSuccess() bool
- func (o *PatchGeolocationsSettingsBadRequest) String() string
- type PatchGeolocationsSettingsForbidden
- func (o *PatchGeolocationsSettingsForbidden) Error() string
- func (o *PatchGeolocationsSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsForbidden) IsClientError() bool
- func (o *PatchGeolocationsSettingsForbidden) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsForbidden) IsRedirect() bool
- func (o *PatchGeolocationsSettingsForbidden) IsServerError() bool
- func (o *PatchGeolocationsSettingsForbidden) IsSuccess() bool
- func (o *PatchGeolocationsSettingsForbidden) String() string
- type PatchGeolocationsSettingsGatewayTimeout
- func (o *PatchGeolocationsSettingsGatewayTimeout) Error() string
- func (o *PatchGeolocationsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsGatewayTimeout) IsClientError() bool
- func (o *PatchGeolocationsSettingsGatewayTimeout) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsGatewayTimeout) IsRedirect() bool
- func (o *PatchGeolocationsSettingsGatewayTimeout) IsServerError() bool
- func (o *PatchGeolocationsSettingsGatewayTimeout) IsSuccess() bool
- func (o *PatchGeolocationsSettingsGatewayTimeout) String() string
- type PatchGeolocationsSettingsInternalServerError
- func (o *PatchGeolocationsSettingsInternalServerError) Error() string
- func (o *PatchGeolocationsSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsInternalServerError) IsClientError() bool
- func (o *PatchGeolocationsSettingsInternalServerError) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsInternalServerError) IsRedirect() bool
- func (o *PatchGeolocationsSettingsInternalServerError) IsServerError() bool
- func (o *PatchGeolocationsSettingsInternalServerError) IsSuccess() bool
- func (o *PatchGeolocationsSettingsInternalServerError) String() string
- type PatchGeolocationsSettingsNotFound
- func (o *PatchGeolocationsSettingsNotFound) Error() string
- func (o *PatchGeolocationsSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsNotFound) IsClientError() bool
- func (o *PatchGeolocationsSettingsNotFound) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsNotFound) IsRedirect() bool
- func (o *PatchGeolocationsSettingsNotFound) IsServerError() bool
- func (o *PatchGeolocationsSettingsNotFound) IsSuccess() bool
- func (o *PatchGeolocationsSettingsNotFound) String() string
- type PatchGeolocationsSettingsOK
- func (o *PatchGeolocationsSettingsOK) Error() string
- func (o *PatchGeolocationsSettingsOK) GetPayload() *models.GeolocationSettings
- func (o *PatchGeolocationsSettingsOK) IsClientError() bool
- func (o *PatchGeolocationsSettingsOK) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsOK) IsRedirect() bool
- func (o *PatchGeolocationsSettingsOK) IsServerError() bool
- func (o *PatchGeolocationsSettingsOK) IsSuccess() bool
- func (o *PatchGeolocationsSettingsOK) String() string
- type PatchGeolocationsSettingsParams
- func NewPatchGeolocationsSettingsParams() *PatchGeolocationsSettingsParams
- func NewPatchGeolocationsSettingsParamsWithContext(ctx context.Context) *PatchGeolocationsSettingsParams
- func NewPatchGeolocationsSettingsParamsWithHTTPClient(client *http.Client) *PatchGeolocationsSettingsParams
- func NewPatchGeolocationsSettingsParamsWithTimeout(timeout time.Duration) *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) SetBody(body *models.GeolocationSettings)
- func (o *PatchGeolocationsSettingsParams) SetContext(ctx context.Context)
- func (o *PatchGeolocationsSettingsParams) SetDefaults()
- func (o *PatchGeolocationsSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PatchGeolocationsSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PatchGeolocationsSettingsParams) WithBody(body *models.GeolocationSettings) *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) WithContext(ctx context.Context) *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) WithDefaults() *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) WithHTTPClient(client *http.Client) *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) WithTimeout(timeout time.Duration) *PatchGeolocationsSettingsParams
- func (o *PatchGeolocationsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchGeolocationsSettingsReader
- type PatchGeolocationsSettingsRequestEntityTooLarge
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) Error() string
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchGeolocationsSettingsRequestEntityTooLarge) String() string
- type PatchGeolocationsSettingsRequestTimeout
- func (o *PatchGeolocationsSettingsRequestTimeout) Error() string
- func (o *PatchGeolocationsSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsRequestTimeout) IsClientError() bool
- func (o *PatchGeolocationsSettingsRequestTimeout) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsRequestTimeout) IsRedirect() bool
- func (o *PatchGeolocationsSettingsRequestTimeout) IsServerError() bool
- func (o *PatchGeolocationsSettingsRequestTimeout) IsSuccess() bool
- func (o *PatchGeolocationsSettingsRequestTimeout) String() string
- type PatchGeolocationsSettingsServiceUnavailable
- func (o *PatchGeolocationsSettingsServiceUnavailable) Error() string
- func (o *PatchGeolocationsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsServiceUnavailable) IsClientError() bool
- func (o *PatchGeolocationsSettingsServiceUnavailable) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsServiceUnavailable) IsRedirect() bool
- func (o *PatchGeolocationsSettingsServiceUnavailable) IsServerError() bool
- func (o *PatchGeolocationsSettingsServiceUnavailable) IsSuccess() bool
- func (o *PatchGeolocationsSettingsServiceUnavailable) String() string
- type PatchGeolocationsSettingsTooManyRequests
- func (o *PatchGeolocationsSettingsTooManyRequests) Error() string
- func (o *PatchGeolocationsSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsTooManyRequests) IsClientError() bool
- func (o *PatchGeolocationsSettingsTooManyRequests) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsTooManyRequests) IsRedirect() bool
- func (o *PatchGeolocationsSettingsTooManyRequests) IsServerError() bool
- func (o *PatchGeolocationsSettingsTooManyRequests) IsSuccess() bool
- func (o *PatchGeolocationsSettingsTooManyRequests) String() string
- type PatchGeolocationsSettingsUnauthorized
- func (o *PatchGeolocationsSettingsUnauthorized) Error() string
- func (o *PatchGeolocationsSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsUnauthorized) IsClientError() bool
- func (o *PatchGeolocationsSettingsUnauthorized) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsUnauthorized) IsRedirect() bool
- func (o *PatchGeolocationsSettingsUnauthorized) IsServerError() bool
- func (o *PatchGeolocationsSettingsUnauthorized) IsSuccess() bool
- func (o *PatchGeolocationsSettingsUnauthorized) String() string
- type PatchGeolocationsSettingsUnsupportedMediaType
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) Error() string
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsClientError() bool
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsServerError() bool
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *PatchGeolocationsSettingsUnsupportedMediaType) String() string
- type PatchUserGeolocationBadRequest
- func (o *PatchUserGeolocationBadRequest) Error() string
- func (o *PatchUserGeolocationBadRequest) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationBadRequest) IsClientError() bool
- func (o *PatchUserGeolocationBadRequest) IsCode(code int) bool
- func (o *PatchUserGeolocationBadRequest) IsRedirect() bool
- func (o *PatchUserGeolocationBadRequest) IsServerError() bool
- func (o *PatchUserGeolocationBadRequest) IsSuccess() bool
- func (o *PatchUserGeolocationBadRequest) String() string
- type PatchUserGeolocationForbidden
- func (o *PatchUserGeolocationForbidden) Error() string
- func (o *PatchUserGeolocationForbidden) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationForbidden) IsClientError() bool
- func (o *PatchUserGeolocationForbidden) IsCode(code int) bool
- func (o *PatchUserGeolocationForbidden) IsRedirect() bool
- func (o *PatchUserGeolocationForbidden) IsServerError() bool
- func (o *PatchUserGeolocationForbidden) IsSuccess() bool
- func (o *PatchUserGeolocationForbidden) String() string
- type PatchUserGeolocationGatewayTimeout
- func (o *PatchUserGeolocationGatewayTimeout) Error() string
- func (o *PatchUserGeolocationGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationGatewayTimeout) IsClientError() bool
- func (o *PatchUserGeolocationGatewayTimeout) IsCode(code int) bool
- func (o *PatchUserGeolocationGatewayTimeout) IsRedirect() bool
- func (o *PatchUserGeolocationGatewayTimeout) IsServerError() bool
- func (o *PatchUserGeolocationGatewayTimeout) IsSuccess() bool
- func (o *PatchUserGeolocationGatewayTimeout) String() string
- type PatchUserGeolocationInternalServerError
- func (o *PatchUserGeolocationInternalServerError) Error() string
- func (o *PatchUserGeolocationInternalServerError) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationInternalServerError) IsClientError() bool
- func (o *PatchUserGeolocationInternalServerError) IsCode(code int) bool
- func (o *PatchUserGeolocationInternalServerError) IsRedirect() bool
- func (o *PatchUserGeolocationInternalServerError) IsServerError() bool
- func (o *PatchUserGeolocationInternalServerError) IsSuccess() bool
- func (o *PatchUserGeolocationInternalServerError) String() string
- type PatchUserGeolocationMethodNotAllowed
- func (o *PatchUserGeolocationMethodNotAllowed) Error() string
- func (o *PatchUserGeolocationMethodNotAllowed) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationMethodNotAllowed) IsClientError() bool
- func (o *PatchUserGeolocationMethodNotAllowed) IsCode(code int) bool
- func (o *PatchUserGeolocationMethodNotAllowed) IsRedirect() bool
- func (o *PatchUserGeolocationMethodNotAllowed) IsServerError() bool
- func (o *PatchUserGeolocationMethodNotAllowed) IsSuccess() bool
- func (o *PatchUserGeolocationMethodNotAllowed) String() string
- type PatchUserGeolocationNotFound
- func (o *PatchUserGeolocationNotFound) Error() string
- func (o *PatchUserGeolocationNotFound) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationNotFound) IsClientError() bool
- func (o *PatchUserGeolocationNotFound) IsCode(code int) bool
- func (o *PatchUserGeolocationNotFound) IsRedirect() bool
- func (o *PatchUserGeolocationNotFound) IsServerError() bool
- func (o *PatchUserGeolocationNotFound) IsSuccess() bool
- func (o *PatchUserGeolocationNotFound) String() string
- type PatchUserGeolocationOK
- func (o *PatchUserGeolocationOK) Error() string
- func (o *PatchUserGeolocationOK) GetPayload() *models.Geolocation
- func (o *PatchUserGeolocationOK) IsClientError() bool
- func (o *PatchUserGeolocationOK) IsCode(code int) bool
- func (o *PatchUserGeolocationOK) IsRedirect() bool
- func (o *PatchUserGeolocationOK) IsServerError() bool
- func (o *PatchUserGeolocationOK) IsSuccess() bool
- func (o *PatchUserGeolocationOK) String() string
- type PatchUserGeolocationParams
- func NewPatchUserGeolocationParams() *PatchUserGeolocationParams
- func NewPatchUserGeolocationParamsWithContext(ctx context.Context) *PatchUserGeolocationParams
- func NewPatchUserGeolocationParamsWithHTTPClient(client *http.Client) *PatchUserGeolocationParams
- func NewPatchUserGeolocationParamsWithTimeout(timeout time.Duration) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) SetBody(body *models.Geolocation)
- func (o *PatchUserGeolocationParams) SetClientID(clientID string)
- func (o *PatchUserGeolocationParams) SetContext(ctx context.Context)
- func (o *PatchUserGeolocationParams) SetDefaults()
- func (o *PatchUserGeolocationParams) SetHTTPClient(client *http.Client)
- func (o *PatchUserGeolocationParams) SetTimeout(timeout time.Duration)
- func (o *PatchUserGeolocationParams) SetUserID(userID string)
- func (o *PatchUserGeolocationParams) WithBody(body *models.Geolocation) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithClientID(clientID string) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithContext(ctx context.Context) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithDefaults() *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithHTTPClient(client *http.Client) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithTimeout(timeout time.Duration) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WithUserID(userID string) *PatchUserGeolocationParams
- func (o *PatchUserGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchUserGeolocationReader
- type PatchUserGeolocationRequestEntityTooLarge
- func (o *PatchUserGeolocationRequestEntityTooLarge) Error() string
- func (o *PatchUserGeolocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationRequestEntityTooLarge) IsClientError() bool
- func (o *PatchUserGeolocationRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchUserGeolocationRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchUserGeolocationRequestEntityTooLarge) IsServerError() bool
- func (o *PatchUserGeolocationRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchUserGeolocationRequestEntityTooLarge) String() string
- type PatchUserGeolocationRequestTimeout
- func (o *PatchUserGeolocationRequestTimeout) Error() string
- func (o *PatchUserGeolocationRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationRequestTimeout) IsClientError() bool
- func (o *PatchUserGeolocationRequestTimeout) IsCode(code int) bool
- func (o *PatchUserGeolocationRequestTimeout) IsRedirect() bool
- func (o *PatchUserGeolocationRequestTimeout) IsServerError() bool
- func (o *PatchUserGeolocationRequestTimeout) IsSuccess() bool
- func (o *PatchUserGeolocationRequestTimeout) String() string
- type PatchUserGeolocationServiceUnavailable
- func (o *PatchUserGeolocationServiceUnavailable) Error() string
- func (o *PatchUserGeolocationServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationServiceUnavailable) IsClientError() bool
- func (o *PatchUserGeolocationServiceUnavailable) IsCode(code int) bool
- func (o *PatchUserGeolocationServiceUnavailable) IsRedirect() bool
- func (o *PatchUserGeolocationServiceUnavailable) IsServerError() bool
- func (o *PatchUserGeolocationServiceUnavailable) IsSuccess() bool
- func (o *PatchUserGeolocationServiceUnavailable) String() string
- type PatchUserGeolocationTooManyRequests
- func (o *PatchUserGeolocationTooManyRequests) Error() string
- func (o *PatchUserGeolocationTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationTooManyRequests) IsClientError() bool
- func (o *PatchUserGeolocationTooManyRequests) IsCode(code int) bool
- func (o *PatchUserGeolocationTooManyRequests) IsRedirect() bool
- func (o *PatchUserGeolocationTooManyRequests) IsServerError() bool
- func (o *PatchUserGeolocationTooManyRequests) IsSuccess() bool
- func (o *PatchUserGeolocationTooManyRequests) String() string
- type PatchUserGeolocationUnauthorized
- func (o *PatchUserGeolocationUnauthorized) Error() string
- func (o *PatchUserGeolocationUnauthorized) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationUnauthorized) IsClientError() bool
- func (o *PatchUserGeolocationUnauthorized) IsCode(code int) bool
- func (o *PatchUserGeolocationUnauthorized) IsRedirect() bool
- func (o *PatchUserGeolocationUnauthorized) IsServerError() bool
- func (o *PatchUserGeolocationUnauthorized) IsSuccess() bool
- func (o *PatchUserGeolocationUnauthorized) String() string
- type PatchUserGeolocationUnsupportedMediaType
- func (o *PatchUserGeolocationUnsupportedMediaType) Error() string
- func (o *PatchUserGeolocationUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PatchUserGeolocationUnsupportedMediaType) IsClientError() bool
- func (o *PatchUserGeolocationUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchUserGeolocationUnsupportedMediaType) IsRedirect() bool
- func (o *PatchUserGeolocationUnsupportedMediaType) IsServerError() bool
- func (o *PatchUserGeolocationUnsupportedMediaType) IsSuccess() bool
- func (o *PatchUserGeolocationUnsupportedMediaType) String() string
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 ¶
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 (o *GetGeolocationsSettingsBadRequest) Error() string
func (*GetGeolocationsSettingsBadRequest) GetPayload ¶
func (o *GetGeolocationsSettingsBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsBadRequest) String() string
type GetGeolocationsSettingsForbidden ¶
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 (o *GetGeolocationsSettingsForbidden) Error() string
func (*GetGeolocationsSettingsForbidden) GetPayload ¶
func (o *GetGeolocationsSettingsForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsForbidden) String() string
type GetGeolocationsSettingsGatewayTimeout ¶
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 (o *GetGeolocationsSettingsGatewayTimeout) Error() string
func (*GetGeolocationsSettingsGatewayTimeout) GetPayload ¶
func (o *GetGeolocationsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get geolocations settings gateway timeout response a status code equal to that given
func (*GetGeolocationsSettingsGatewayTimeout) IsRedirect ¶
func (o *GetGeolocationsSettingsGatewayTimeout) IsRedirect() bool
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 ¶
func (o *GetGeolocationsSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get geolocations settings gateway timeout response has a 2xx status code
func (*GetGeolocationsSettingsGatewayTimeout) String ¶
func (o *GetGeolocationsSettingsGatewayTimeout) String() string
type GetGeolocationsSettingsInternalServerError ¶
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 (o *GetGeolocationsSettingsInternalServerError) Error() string
func (*GetGeolocationsSettingsInternalServerError) GetPayload ¶
func (o *GetGeolocationsSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*GetGeolocationsSettingsInternalServerError) IsClientError ¶
func (o *GetGeolocationsSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get geolocations settings internal server error response has a 4xx status code
func (*GetGeolocationsSettingsInternalServerError) IsCode ¶
func (o *GetGeolocationsSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get geolocations settings internal server error response a status code equal to that given
func (*GetGeolocationsSettingsInternalServerError) IsRedirect ¶
func (o *GetGeolocationsSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get geolocations settings internal server error response has a 3xx status code
func (*GetGeolocationsSettingsInternalServerError) IsServerError ¶
func (o *GetGeolocationsSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get geolocations settings internal server error response has a 5xx status code
func (*GetGeolocationsSettingsInternalServerError) IsSuccess ¶
func (o *GetGeolocationsSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get geolocations settings internal server error response has a 2xx status code
func (*GetGeolocationsSettingsInternalServerError) String ¶
func (o *GetGeolocationsSettingsInternalServerError) String() string
type GetGeolocationsSettingsNotFound ¶
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 (o *GetGeolocationsSettingsNotFound) Error() string
func (*GetGeolocationsSettingsNotFound) GetPayload ¶
func (o *GetGeolocationsSettingsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsNotFound) String() 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 (o *GetGeolocationsSettingsOK) GetPayload() *models.GeolocationSettings
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 ¶
func (o *GetGeolocationsSettingsParams) WithContext(ctx context.Context) *GetGeolocationsSettingsParams
WithContext adds the context to the get geolocations settings params
func (*GetGeolocationsSettingsParams) WithDefaults ¶
func (o *GetGeolocationsSettingsParams) WithDefaults() *GetGeolocationsSettingsParams
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 ¶
func (o *GetGeolocationsSettingsParams) WithHTTPClient(client *http.Client) *GetGeolocationsSettingsParams
WithHTTPClient adds the HTTPClient to the get geolocations settings params
func (*GetGeolocationsSettingsParams) WithTimeout ¶
func (o *GetGeolocationsSettingsParams) WithTimeout(timeout time.Duration) *GetGeolocationsSettingsParams
WithTimeout adds the timeout to the get geolocations settings params
func (*GetGeolocationsSettingsParams) WriteToRequest ¶
func (o *GetGeolocationsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetGeolocationsSettingsRequestEntityTooLarge) Error() string
func (*GetGeolocationsSettingsRequestEntityTooLarge) GetPayload ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetGeolocationsSettingsRequestEntityTooLarge) IsClientError ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get geolocations settings request entity too large response has a 4xx status code
func (*GetGeolocationsSettingsRequestEntityTooLarge) IsCode ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get geolocations settings request entity too large response a status code equal to that given
func (*GetGeolocationsSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get geolocations settings request entity too large response has a 3xx status code
func (*GetGeolocationsSettingsRequestEntityTooLarge) IsServerError ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get geolocations settings request entity too large response has a 5xx status code
func (*GetGeolocationsSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get geolocations settings request entity too large response has a 2xx status code
func (*GetGeolocationsSettingsRequestEntityTooLarge) String ¶
func (o *GetGeolocationsSettingsRequestEntityTooLarge) String() string
type GetGeolocationsSettingsRequestTimeout ¶
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 (o *GetGeolocationsSettingsRequestTimeout) Error() string
func (*GetGeolocationsSettingsRequestTimeout) GetPayload ¶
func (o *GetGeolocationsSettingsRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this get geolocations settings request timeout response a status code equal to that given
func (*GetGeolocationsSettingsRequestTimeout) IsRedirect ¶
func (o *GetGeolocationsSettingsRequestTimeout) IsRedirect() bool
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 ¶
func (o *GetGeolocationsSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get geolocations settings request timeout response has a 2xx status code
func (*GetGeolocationsSettingsRequestTimeout) String ¶
func (o *GetGeolocationsSettingsRequestTimeout) String() string
type GetGeolocationsSettingsServiceUnavailable ¶
type GetGeolocationsSettingsServiceUnavailable struct {
}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 (o *GetGeolocationsSettingsServiceUnavailable) Error() string
func (*GetGeolocationsSettingsServiceUnavailable) GetPayload ¶
func (o *GetGeolocationsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetGeolocationsSettingsServiceUnavailable) IsClientError ¶
func (o *GetGeolocationsSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get geolocations settings service unavailable response has a 4xx status code
func (*GetGeolocationsSettingsServiceUnavailable) IsCode ¶
func (o *GetGeolocationsSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get geolocations settings service unavailable response a status code equal to that given
func (*GetGeolocationsSettingsServiceUnavailable) IsRedirect ¶
func (o *GetGeolocationsSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get geolocations settings service unavailable response has a 3xx status code
func (*GetGeolocationsSettingsServiceUnavailable) IsServerError ¶
func (o *GetGeolocationsSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get geolocations settings service unavailable response has a 5xx status code
func (*GetGeolocationsSettingsServiceUnavailable) IsSuccess ¶
func (o *GetGeolocationsSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get geolocations settings service unavailable response has a 2xx status code
func (*GetGeolocationsSettingsServiceUnavailable) String ¶
func (o *GetGeolocationsSettingsServiceUnavailable) String() string
type GetGeolocationsSettingsTooManyRequests ¶
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 (o *GetGeolocationsSettingsTooManyRequests) Error() string
func (*GetGeolocationsSettingsTooManyRequests) GetPayload ¶
func (o *GetGeolocationsSettingsTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get geolocations settings too many requests response a status code equal to that given
func (*GetGeolocationsSettingsTooManyRequests) IsRedirect ¶
func (o *GetGeolocationsSettingsTooManyRequests) IsRedirect() bool
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 ¶
func (o *GetGeolocationsSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get geolocations settings too many requests response has a 2xx status code
func (*GetGeolocationsSettingsTooManyRequests) String ¶
func (o *GetGeolocationsSettingsTooManyRequests) String() string
type GetGeolocationsSettingsUnauthorized ¶
type GetGeolocationsSettingsUnauthorized struct {
}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 (o *GetGeolocationsSettingsUnauthorized) Error() string
func (*GetGeolocationsSettingsUnauthorized) GetPayload ¶
func (o *GetGeolocationsSettingsUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *GetGeolocationsSettingsUnauthorized) IsCode(code int) bool
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 ¶
func (o *GetGeolocationsSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get geolocations settings unauthorized response has a 2xx status code
func (*GetGeolocationsSettingsUnauthorized) String ¶
func (o *GetGeolocationsSettingsUnauthorized) String() string
type GetGeolocationsSettingsUnsupportedMediaType ¶
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 (o *GetGeolocationsSettingsUnsupportedMediaType) Error() string
func (*GetGeolocationsSettingsUnsupportedMediaType) GetPayload ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetGeolocationsSettingsUnsupportedMediaType) IsClientError ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get geolocations settings unsupported media type response has a 4xx status code
func (*GetGeolocationsSettingsUnsupportedMediaType) IsCode ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get geolocations settings unsupported media type response a status code equal to that given
func (*GetGeolocationsSettingsUnsupportedMediaType) IsRedirect ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get geolocations settings unsupported media type response has a 3xx status code
func (*GetGeolocationsSettingsUnsupportedMediaType) IsServerError ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get geolocations settings unsupported media type response has a 5xx status code
func (*GetGeolocationsSettingsUnsupportedMediaType) IsSuccess ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get geolocations settings unsupported media type response has a 2xx status code
func (*GetGeolocationsSettingsUnsupportedMediaType) String ¶
func (o *GetGeolocationsSettingsUnsupportedMediaType) String() string
type GetUserGeolocationBadRequest ¶
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 (o *GetUserGeolocationBadRequest) Error() string
func (*GetUserGeolocationBadRequest) GetPayload ¶
func (o *GetUserGeolocationBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationBadRequest) String() string
type GetUserGeolocationForbidden ¶
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 (o *GetUserGeolocationForbidden) Error() string
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 ¶
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 (o *GetUserGeolocationGatewayTimeout) Error() string
func (*GetUserGeolocationGatewayTimeout) GetPayload ¶
func (o *GetUserGeolocationGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationGatewayTimeout) String() string
type GetUserGeolocationInternalServerError ¶
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 (o *GetUserGeolocationInternalServerError) Error() string
func (*GetUserGeolocationInternalServerError) GetPayload ¶
func (o *GetUserGeolocationInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationInternalServerError) IsCode(code int) bool
IsCode returns true when this get user geolocation internal server error response a status code equal to that given
func (*GetUserGeolocationInternalServerError) IsRedirect ¶
func (o *GetUserGeolocationInternalServerError) IsRedirect() bool
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 ¶
func (o *GetUserGeolocationInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user geolocation internal server error response has a 2xx status code
func (*GetUserGeolocationInternalServerError) String ¶
func (o *GetUserGeolocationInternalServerError) String() string
type GetUserGeolocationNotFound ¶
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 (o *GetUserGeolocationNotFound) Error() string
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 ¶
func (o *GetUserGeolocationParams) WithContext(ctx context.Context) *GetUserGeolocationParams
WithContext adds the context to the get user geolocation params
func (*GetUserGeolocationParams) WithDefaults ¶
func (o *GetUserGeolocationParams) WithDefaults() *GetUserGeolocationParams
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 ¶
func (o *GetUserGeolocationParams) WithTimeout(timeout time.Duration) *GetUserGeolocationParams
WithTimeout adds the timeout to the get user geolocation params
func (*GetUserGeolocationParams) WithUserID ¶
func (o *GetUserGeolocationParams) WithUserID(userID string) *GetUserGeolocationParams
WithUserID adds the userID to the get user geolocation params
func (*GetUserGeolocationParams) WriteToRequest ¶
func (o *GetUserGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetUserGeolocationRequestEntityTooLarge) Error() string
func (*GetUserGeolocationRequestEntityTooLarge) GetPayload ¶
func (o *GetUserGeolocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get user geolocation request entity too large response a status code equal to that given
func (*GetUserGeolocationRequestEntityTooLarge) IsRedirect ¶
func (o *GetUserGeolocationRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *GetUserGeolocationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get user geolocation request entity too large response has a 2xx status code
func (*GetUserGeolocationRequestEntityTooLarge) String ¶
func (o *GetUserGeolocationRequestEntityTooLarge) String() string
type GetUserGeolocationRequestTimeout ¶
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 (o *GetUserGeolocationRequestTimeout) Error() string
func (*GetUserGeolocationRequestTimeout) GetPayload ¶
func (o *GetUserGeolocationRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationRequestTimeout) String() string
type GetUserGeolocationServiceUnavailable ¶
type GetUserGeolocationServiceUnavailable struct {
}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 (o *GetUserGeolocationServiceUnavailable) Error() string
func (*GetUserGeolocationServiceUnavailable) GetPayload ¶
func (o *GetUserGeolocationServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get user geolocation service unavailable response a status code equal to that given
func (*GetUserGeolocationServiceUnavailable) IsRedirect ¶
func (o *GetUserGeolocationServiceUnavailable) IsRedirect() bool
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 ¶
func (o *GetUserGeolocationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get user geolocation service unavailable response has a 2xx status code
func (*GetUserGeolocationServiceUnavailable) String ¶
func (o *GetUserGeolocationServiceUnavailable) String() string
type GetUserGeolocationTooManyRequests ¶
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 (o *GetUserGeolocationTooManyRequests) Error() string
func (*GetUserGeolocationTooManyRequests) GetPayload ¶
func (o *GetUserGeolocationTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationTooManyRequests) String() string
type GetUserGeolocationUnauthorized ¶
type GetUserGeolocationUnauthorized struct {
}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 (o *GetUserGeolocationUnauthorized) Error() string
func (*GetUserGeolocationUnauthorized) GetPayload ¶
func (o *GetUserGeolocationUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationUnauthorized) String() string
type GetUserGeolocationUnsupportedMediaType ¶
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 (o *GetUserGeolocationUnsupportedMediaType) Error() string
func (*GetUserGeolocationUnsupportedMediaType) GetPayload ¶
func (o *GetUserGeolocationUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserGeolocationUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get user geolocation unsupported media type response a status code equal to that given
func (*GetUserGeolocationUnsupportedMediaType) IsRedirect ¶
func (o *GetUserGeolocationUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *GetUserGeolocationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get user geolocation unsupported media type response has a 2xx status code
func (*GetUserGeolocationUnsupportedMediaType) String ¶
func (o *GetUserGeolocationUnsupportedMediaType) String() string
type PatchGeolocationsSettingsBadRequest ¶
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 (o *PatchGeolocationsSettingsBadRequest) Error() string
func (*PatchGeolocationsSettingsBadRequest) GetPayload ¶
func (o *PatchGeolocationsSettingsBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsBadRequest) IsCode(code int) bool
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 ¶
func (o *PatchGeolocationsSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings bad request response has a 2xx status code
func (*PatchGeolocationsSettingsBadRequest) String ¶
func (o *PatchGeolocationsSettingsBadRequest) String() string
type PatchGeolocationsSettingsForbidden ¶
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 (o *PatchGeolocationsSettingsForbidden) Error() string
func (*PatchGeolocationsSettingsForbidden) GetPayload ¶
func (o *PatchGeolocationsSettingsForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsForbidden) IsCode(code int) bool
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 ¶
func (o *PatchGeolocationsSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings forbidden response has a 2xx status code
func (*PatchGeolocationsSettingsForbidden) String ¶
func (o *PatchGeolocationsSettingsForbidden) String() string
type PatchGeolocationsSettingsGatewayTimeout ¶
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 (o *PatchGeolocationsSettingsGatewayTimeout) Error() string
func (*PatchGeolocationsSettingsGatewayTimeout) GetPayload ¶
func (o *PatchGeolocationsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this patch geolocations settings gateway timeout response a status code equal to that given
func (*PatchGeolocationsSettingsGatewayTimeout) IsRedirect ¶
func (o *PatchGeolocationsSettingsGatewayTimeout) IsRedirect() bool
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 ¶
func (o *PatchGeolocationsSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings gateway timeout response has a 2xx status code
func (*PatchGeolocationsSettingsGatewayTimeout) String ¶
func (o *PatchGeolocationsSettingsGatewayTimeout) String() string
type PatchGeolocationsSettingsInternalServerError ¶
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 (o *PatchGeolocationsSettingsInternalServerError) Error() string
func (*PatchGeolocationsSettingsInternalServerError) GetPayload ¶
func (o *PatchGeolocationsSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*PatchGeolocationsSettingsInternalServerError) IsClientError ¶
func (o *PatchGeolocationsSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this patch geolocations settings internal server error response has a 4xx status code
func (*PatchGeolocationsSettingsInternalServerError) IsCode ¶
func (o *PatchGeolocationsSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this patch geolocations settings internal server error response a status code equal to that given
func (*PatchGeolocationsSettingsInternalServerError) IsRedirect ¶
func (o *PatchGeolocationsSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this patch geolocations settings internal server error response has a 3xx status code
func (*PatchGeolocationsSettingsInternalServerError) IsServerError ¶
func (o *PatchGeolocationsSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this patch geolocations settings internal server error response has a 5xx status code
func (*PatchGeolocationsSettingsInternalServerError) IsSuccess ¶
func (o *PatchGeolocationsSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings internal server error response has a 2xx status code
func (*PatchGeolocationsSettingsInternalServerError) String ¶
func (o *PatchGeolocationsSettingsInternalServerError) String() string
type PatchGeolocationsSettingsNotFound ¶
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 (o *PatchGeolocationsSettingsNotFound) Error() string
func (*PatchGeolocationsSettingsNotFound) GetPayload ¶
func (o *PatchGeolocationsSettingsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsNotFound) String() 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 (o *PatchGeolocationsSettingsOK) Error() string
func (*PatchGeolocationsSettingsOK) GetPayload ¶
func (o *PatchGeolocationsSettingsOK) GetPayload() *models.GeolocationSettings
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 ¶
func (o *PatchGeolocationsSettingsParams) SetBody(body *models.GeolocationSettings)
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 ¶
func (o *PatchGeolocationsSettingsParams) WithBody(body *models.GeolocationSettings) *PatchGeolocationsSettingsParams
WithBody adds the body to the patch geolocations settings params
func (*PatchGeolocationsSettingsParams) WithContext ¶
func (o *PatchGeolocationsSettingsParams) WithContext(ctx context.Context) *PatchGeolocationsSettingsParams
WithContext adds the context to the patch geolocations settings params
func (*PatchGeolocationsSettingsParams) WithDefaults ¶
func (o *PatchGeolocationsSettingsParams) WithDefaults() *PatchGeolocationsSettingsParams
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 ¶
func (o *PatchGeolocationsSettingsParams) WithHTTPClient(client *http.Client) *PatchGeolocationsSettingsParams
WithHTTPClient adds the HTTPClient to the patch geolocations settings params
func (*PatchGeolocationsSettingsParams) WithTimeout ¶
func (o *PatchGeolocationsSettingsParams) WithTimeout(timeout time.Duration) *PatchGeolocationsSettingsParams
WithTimeout adds the timeout to the patch geolocations settings params
func (*PatchGeolocationsSettingsParams) WriteToRequest ¶
func (o *PatchGeolocationsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PatchGeolocationsSettingsRequestEntityTooLarge) Error() string
func (*PatchGeolocationsSettingsRequestEntityTooLarge) GetPayload ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsClientError ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this patch geolocations settings request entity too large response has a 4xx status code
func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsCode ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch geolocations settings request entity too large response a status code equal to that given
func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this patch geolocations settings request entity too large response has a 3xx status code
func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsServerError ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this patch geolocations settings request entity too large response has a 5xx status code
func (*PatchGeolocationsSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings request entity too large response has a 2xx status code
func (*PatchGeolocationsSettingsRequestEntityTooLarge) String ¶
func (o *PatchGeolocationsSettingsRequestEntityTooLarge) String() string
type PatchGeolocationsSettingsRequestTimeout ¶
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 (o *PatchGeolocationsSettingsRequestTimeout) Error() string
func (*PatchGeolocationsSettingsRequestTimeout) GetPayload ¶
func (o *PatchGeolocationsSettingsRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this patch geolocations settings request timeout response a status code equal to that given
func (*PatchGeolocationsSettingsRequestTimeout) IsRedirect ¶
func (o *PatchGeolocationsSettingsRequestTimeout) IsRedirect() bool
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 ¶
func (o *PatchGeolocationsSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings request timeout response has a 2xx status code
func (*PatchGeolocationsSettingsRequestTimeout) String ¶
func (o *PatchGeolocationsSettingsRequestTimeout) String() string
type PatchGeolocationsSettingsServiceUnavailable ¶
type PatchGeolocationsSettingsServiceUnavailable struct {
}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 (o *PatchGeolocationsSettingsServiceUnavailable) Error() string
func (*PatchGeolocationsSettingsServiceUnavailable) GetPayload ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PatchGeolocationsSettingsServiceUnavailable) IsClientError ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this patch geolocations settings service unavailable response has a 4xx status code
func (*PatchGeolocationsSettingsServiceUnavailable) IsCode ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch geolocations settings service unavailable response a status code equal to that given
func (*PatchGeolocationsSettingsServiceUnavailable) IsRedirect ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this patch geolocations settings service unavailable response has a 3xx status code
func (*PatchGeolocationsSettingsServiceUnavailable) IsServerError ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this patch geolocations settings service unavailable response has a 5xx status code
func (*PatchGeolocationsSettingsServiceUnavailable) IsSuccess ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings service unavailable response has a 2xx status code
func (*PatchGeolocationsSettingsServiceUnavailable) String ¶
func (o *PatchGeolocationsSettingsServiceUnavailable) String() string
type PatchGeolocationsSettingsTooManyRequests ¶
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 (o *PatchGeolocationsSettingsTooManyRequests) Error() string
func (*PatchGeolocationsSettingsTooManyRequests) GetPayload ¶
func (o *PatchGeolocationsSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*PatchGeolocationsSettingsTooManyRequests) IsClientError ¶
func (o *PatchGeolocationsSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this patch geolocations settings too many requests response has a 4xx status code
func (*PatchGeolocationsSettingsTooManyRequests) IsCode ¶
func (o *PatchGeolocationsSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch geolocations settings too many requests response a status code equal to that given
func (*PatchGeolocationsSettingsTooManyRequests) IsRedirect ¶
func (o *PatchGeolocationsSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch geolocations settings too many requests response has a 3xx status code
func (*PatchGeolocationsSettingsTooManyRequests) IsServerError ¶
func (o *PatchGeolocationsSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this patch geolocations settings too many requests response has a 5xx status code
func (*PatchGeolocationsSettingsTooManyRequests) IsSuccess ¶
func (o *PatchGeolocationsSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings too many requests response has a 2xx status code
func (*PatchGeolocationsSettingsTooManyRequests) String ¶
func (o *PatchGeolocationsSettingsTooManyRequests) String() string
type PatchGeolocationsSettingsUnauthorized ¶
type PatchGeolocationsSettingsUnauthorized struct {
}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 (o *PatchGeolocationsSettingsUnauthorized) Error() string
func (*PatchGeolocationsSettingsUnauthorized) GetPayload ¶
func (o *PatchGeolocationsSettingsUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchGeolocationsSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this patch geolocations settings unauthorized response a status code equal to that given
func (*PatchGeolocationsSettingsUnauthorized) IsRedirect ¶
func (o *PatchGeolocationsSettingsUnauthorized) IsRedirect() bool
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 ¶
func (o *PatchGeolocationsSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings unauthorized response has a 2xx status code
func (*PatchGeolocationsSettingsUnauthorized) String ¶
func (o *PatchGeolocationsSettingsUnauthorized) String() string
type PatchGeolocationsSettingsUnsupportedMediaType ¶
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 (o *PatchGeolocationsSettingsUnsupportedMediaType) Error() string
func (*PatchGeolocationsSettingsUnsupportedMediaType) GetPayload ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PatchGeolocationsSettingsUnsupportedMediaType) IsClientError ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this patch geolocations settings unsupported media type response has a 4xx status code
func (*PatchGeolocationsSettingsUnsupportedMediaType) IsCode ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch geolocations settings unsupported media type response a status code equal to that given
func (*PatchGeolocationsSettingsUnsupportedMediaType) IsRedirect ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this patch geolocations settings unsupported media type response has a 3xx status code
func (*PatchGeolocationsSettingsUnsupportedMediaType) IsServerError ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this patch geolocations settings unsupported media type response has a 5xx status code
func (*PatchGeolocationsSettingsUnsupportedMediaType) IsSuccess ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch geolocations settings unsupported media type response has a 2xx status code
func (*PatchGeolocationsSettingsUnsupportedMediaType) String ¶
func (o *PatchGeolocationsSettingsUnsupportedMediaType) String() string
type PatchUserGeolocationBadRequest ¶
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 (o *PatchUserGeolocationBadRequest) Error() string
func (*PatchUserGeolocationBadRequest) GetPayload ¶
func (o *PatchUserGeolocationBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationBadRequest) String() string
type PatchUserGeolocationForbidden ¶
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 (o *PatchUserGeolocationForbidden) Error() string
func (*PatchUserGeolocationForbidden) GetPayload ¶
func (o *PatchUserGeolocationForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationForbidden) String() string
type PatchUserGeolocationGatewayTimeout ¶
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 (o *PatchUserGeolocationGatewayTimeout) Error() string
func (*PatchUserGeolocationGatewayTimeout) GetPayload ¶
func (o *PatchUserGeolocationGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationGatewayTimeout) IsCode(code int) bool
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 ¶
func (o *PatchUserGeolocationGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this patch user geolocation gateway timeout response has a 2xx status code
func (*PatchUserGeolocationGatewayTimeout) String ¶
func (o *PatchUserGeolocationGatewayTimeout) String() string
type PatchUserGeolocationInternalServerError ¶
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 (o *PatchUserGeolocationInternalServerError) Error() string
func (*PatchUserGeolocationInternalServerError) GetPayload ¶
func (o *PatchUserGeolocationInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationInternalServerError) IsCode(code int) bool
IsCode returns true when this patch user geolocation internal server error response a status code equal to that given
func (*PatchUserGeolocationInternalServerError) IsRedirect ¶
func (o *PatchUserGeolocationInternalServerError) IsRedirect() bool
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 ¶
func (o *PatchUserGeolocationInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch user geolocation internal server error response has a 2xx status code
func (*PatchUserGeolocationInternalServerError) String ¶
func (o *PatchUserGeolocationInternalServerError) String() string
type PatchUserGeolocationMethodNotAllowed ¶
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 (o *PatchUserGeolocationMethodNotAllowed) Error() string
func (*PatchUserGeolocationMethodNotAllowed) GetPayload ¶
func (o *PatchUserGeolocationMethodNotAllowed) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this patch user geolocation method not allowed response a status code equal to that given
func (*PatchUserGeolocationMethodNotAllowed) IsRedirect ¶
func (o *PatchUserGeolocationMethodNotAllowed) IsRedirect() bool
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 ¶
func (o *PatchUserGeolocationMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this patch user geolocation method not allowed response has a 2xx status code
func (*PatchUserGeolocationMethodNotAllowed) String ¶
func (o *PatchUserGeolocationMethodNotAllowed) String() string
type PatchUserGeolocationNotFound ¶
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 (o *PatchUserGeolocationNotFound) Error() string
func (*PatchUserGeolocationNotFound) GetPayload ¶
func (o *PatchUserGeolocationNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationNotFound) String() 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 ¶
func (o *PatchUserGeolocationParams) WithBody(body *models.Geolocation) *PatchUserGeolocationParams
WithBody adds the body to the patch user geolocation params
func (*PatchUserGeolocationParams) WithClientID ¶
func (o *PatchUserGeolocationParams) WithClientID(clientID string) *PatchUserGeolocationParams
WithClientID adds the clientID to the patch user geolocation params
func (*PatchUserGeolocationParams) WithContext ¶
func (o *PatchUserGeolocationParams) WithContext(ctx context.Context) *PatchUserGeolocationParams
WithContext adds the context to the patch user geolocation params
func (*PatchUserGeolocationParams) WithDefaults ¶
func (o *PatchUserGeolocationParams) WithDefaults() *PatchUserGeolocationParams
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 ¶
func (o *PatchUserGeolocationParams) WithHTTPClient(client *http.Client) *PatchUserGeolocationParams
WithHTTPClient adds the HTTPClient to the patch user geolocation params
func (*PatchUserGeolocationParams) WithTimeout ¶
func (o *PatchUserGeolocationParams) WithTimeout(timeout time.Duration) *PatchUserGeolocationParams
WithTimeout adds the timeout to the patch user geolocation params
func (*PatchUserGeolocationParams) WithUserID ¶
func (o *PatchUserGeolocationParams) WithUserID(userID string) *PatchUserGeolocationParams
WithUserID adds the userID to the patch user geolocation params
func (*PatchUserGeolocationParams) WriteToRequest ¶
func (o *PatchUserGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PatchUserGeolocationRequestEntityTooLarge) Error() string
func (*PatchUserGeolocationRequestEntityTooLarge) GetPayload ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PatchUserGeolocationRequestEntityTooLarge) IsClientError ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this patch user geolocation request entity too large response has a 4xx status code
func (*PatchUserGeolocationRequestEntityTooLarge) IsCode ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch user geolocation request entity too large response a status code equal to that given
func (*PatchUserGeolocationRequestEntityTooLarge) IsRedirect ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this patch user geolocation request entity too large response has a 3xx status code
func (*PatchUserGeolocationRequestEntityTooLarge) IsServerError ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this patch user geolocation request entity too large response has a 5xx status code
func (*PatchUserGeolocationRequestEntityTooLarge) IsSuccess ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch user geolocation request entity too large response has a 2xx status code
func (*PatchUserGeolocationRequestEntityTooLarge) String ¶
func (o *PatchUserGeolocationRequestEntityTooLarge) String() string
type PatchUserGeolocationRequestTimeout ¶
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 (o *PatchUserGeolocationRequestTimeout) Error() string
func (*PatchUserGeolocationRequestTimeout) GetPayload ¶
func (o *PatchUserGeolocationRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationRequestTimeout) IsCode(code int) bool
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 ¶
func (o *PatchUserGeolocationRequestTimeout) IsSuccess() bool
IsSuccess returns true when this patch user geolocation request timeout response has a 2xx status code
func (*PatchUserGeolocationRequestTimeout) String ¶
func (o *PatchUserGeolocationRequestTimeout) String() string
type PatchUserGeolocationServiceUnavailable ¶
type PatchUserGeolocationServiceUnavailable struct {
}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 (o *PatchUserGeolocationServiceUnavailable) Error() string
func (*PatchUserGeolocationServiceUnavailable) GetPayload ¶
func (o *PatchUserGeolocationServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch user geolocation service unavailable response a status code equal to that given
func (*PatchUserGeolocationServiceUnavailable) IsRedirect ¶
func (o *PatchUserGeolocationServiceUnavailable) IsRedirect() bool
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 ¶
func (o *PatchUserGeolocationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch user geolocation service unavailable response has a 2xx status code
func (*PatchUserGeolocationServiceUnavailable) String ¶
func (o *PatchUserGeolocationServiceUnavailable) String() string
type PatchUserGeolocationTooManyRequests ¶
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 (o *PatchUserGeolocationTooManyRequests) Error() string
func (*PatchUserGeolocationTooManyRequests) GetPayload ¶
func (o *PatchUserGeolocationTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationTooManyRequests) IsCode(code int) bool
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 ¶
func (o *PatchUserGeolocationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch user geolocation too many requests response has a 2xx status code
func (*PatchUserGeolocationTooManyRequests) String ¶
func (o *PatchUserGeolocationTooManyRequests) String() string
type PatchUserGeolocationUnauthorized ¶
type PatchUserGeolocationUnauthorized struct {
}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 (o *PatchUserGeolocationUnauthorized) Error() string
func (*PatchUserGeolocationUnauthorized) GetPayload ¶
func (o *PatchUserGeolocationUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *PatchUserGeolocationUnauthorized) String() string
type PatchUserGeolocationUnsupportedMediaType ¶
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 (o *PatchUserGeolocationUnsupportedMediaType) Error() string
func (*PatchUserGeolocationUnsupportedMediaType) GetPayload ¶
func (o *PatchUserGeolocationUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PatchUserGeolocationUnsupportedMediaType) IsClientError ¶
func (o *PatchUserGeolocationUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this patch user geolocation unsupported media type response has a 4xx status code
func (*PatchUserGeolocationUnsupportedMediaType) IsCode ¶
func (o *PatchUserGeolocationUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch user geolocation unsupported media type response a status code equal to that given
func (*PatchUserGeolocationUnsupportedMediaType) IsRedirect ¶
func (o *PatchUserGeolocationUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this patch user geolocation unsupported media type response has a 3xx status code
func (*PatchUserGeolocationUnsupportedMediaType) IsServerError ¶
func (o *PatchUserGeolocationUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this patch user geolocation unsupported media type response has a 5xx status code
func (*PatchUserGeolocationUnsupportedMediaType) IsSuccess ¶
func (o *PatchUserGeolocationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch user geolocation unsupported media type response has a 2xx status code
func (*PatchUserGeolocationUnsupportedMediaType) String ¶
func (o *PatchUserGeolocationUnsupportedMediaType) String() string
Source Files ¶
- geolocation_client.go
- get_geolocations_settings_parameters.go
- get_geolocations_settings_responses.go
- get_user_geolocation_parameters.go
- get_user_geolocation_responses.go
- patch_geolocations_settings_parameters.go
- patch_geolocations_settings_responses.go
- patch_user_geolocation_parameters.go
- patch_user_geolocation_responses.go