utilities

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   GetDate gets the current system date time
	*/
	GetDate(ctx context.Context, params *GetDateParams) (*GetDateOK, error)
	/*
	   GetIpranges gets public ip address ranges for genesys cloud
	*/
	GetIpranges(ctx context.Context, params *GetIprangesParams) (*GetIprangesOK, error)
	/*
	   GetTimezones gets time zones list
	*/
	GetTimezones(ctx context.Context, params *GetTimezonesParams) (*GetTimezonesOK, error)
	/*
	   PostCertificateDetails returns the information about an x509 p e m encoded certificate or certificate chain
	*/
	PostCertificateDetails(ctx context.Context, params *PostCertificateDetailsParams) (*PostCertificateDetailsOK, error)
}

API is the interface of the utilities client

type Client

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

Client for utilities API

func New

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

New creates a new utilities API client.

func (*Client) GetDate

func (a *Client) GetDate(ctx context.Context, params *GetDateParams) (*GetDateOK, error)

GetDate gets the current system date time

func (*Client) GetIpranges

func (a *Client) GetIpranges(ctx context.Context, params *GetIprangesParams) (*GetIprangesOK, error)

GetIpranges gets public ip address ranges for genesys cloud

func (*Client) GetTimezones

func (a *Client) GetTimezones(ctx context.Context, params *GetTimezonesParams) (*GetTimezonesOK, error)

GetTimezones gets time zones list

func (*Client) PostCertificateDetails

func (a *Client) PostCertificateDetails(ctx context.Context, params *PostCertificateDetailsParams) (*PostCertificateDetailsOK, error)

PostCertificateDetails returns the information about an x509 p e m encoded certificate or certificate chain

type GetDateBadRequest

type GetDateBadRequest struct {
	Payload *models.ErrorBody
}

GetDateBadRequest 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 NewGetDateBadRequest

func NewGetDateBadRequest() *GetDateBadRequest

NewGetDateBadRequest creates a GetDateBadRequest with default headers values

func (*GetDateBadRequest) Error

func (o *GetDateBadRequest) Error() string

func (*GetDateBadRequest) GetPayload

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

func (*GetDateBadRequest) IsClientError

func (o *GetDateBadRequest) IsClientError() bool

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

func (*GetDateBadRequest) IsCode

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

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

func (*GetDateBadRequest) IsRedirect

func (o *GetDateBadRequest) IsRedirect() bool

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

func (*GetDateBadRequest) IsServerError

func (o *GetDateBadRequest) IsServerError() bool

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

func (*GetDateBadRequest) IsSuccess

func (o *GetDateBadRequest) IsSuccess() bool

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

func (*GetDateBadRequest) String

func (o *GetDateBadRequest) String() string

type GetDateForbidden

type GetDateForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetDateForbidden

func NewGetDateForbidden() *GetDateForbidden

NewGetDateForbidden creates a GetDateForbidden with default headers values

func (*GetDateForbidden) Error

func (o *GetDateForbidden) Error() string

func (*GetDateForbidden) GetPayload

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

func (*GetDateForbidden) IsClientError

func (o *GetDateForbidden) IsClientError() bool

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

func (*GetDateForbidden) IsCode

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

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

func (*GetDateForbidden) IsRedirect

func (o *GetDateForbidden) IsRedirect() bool

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

func (*GetDateForbidden) IsServerError

func (o *GetDateForbidden) IsServerError() bool

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

func (*GetDateForbidden) IsSuccess

func (o *GetDateForbidden) IsSuccess() bool

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

func (*GetDateForbidden) String

func (o *GetDateForbidden) String() string

type GetDateGatewayTimeout

type GetDateGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetDateGatewayTimeout

func NewGetDateGatewayTimeout() *GetDateGatewayTimeout

NewGetDateGatewayTimeout creates a GetDateGatewayTimeout with default headers values

func (*GetDateGatewayTimeout) Error

func (o *GetDateGatewayTimeout) Error() string

func (*GetDateGatewayTimeout) GetPayload

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

func (*GetDateGatewayTimeout) IsClientError

func (o *GetDateGatewayTimeout) IsClientError() bool

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

func (*GetDateGatewayTimeout) IsCode

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

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

func (*GetDateGatewayTimeout) IsRedirect

func (o *GetDateGatewayTimeout) IsRedirect() bool

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

func (*GetDateGatewayTimeout) IsServerError

func (o *GetDateGatewayTimeout) IsServerError() bool

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

func (*GetDateGatewayTimeout) IsSuccess

func (o *GetDateGatewayTimeout) IsSuccess() bool

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

func (*GetDateGatewayTimeout) String

func (o *GetDateGatewayTimeout) String() string

type GetDateInternalServerError

type GetDateInternalServerError struct {
	Payload *models.ErrorBody
}

GetDateInternalServerError 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 NewGetDateInternalServerError

func NewGetDateInternalServerError() *GetDateInternalServerError

NewGetDateInternalServerError creates a GetDateInternalServerError with default headers values

func (*GetDateInternalServerError) Error

func (*GetDateInternalServerError) GetPayload

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

func (*GetDateInternalServerError) IsClientError

func (o *GetDateInternalServerError) IsClientError() bool

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

func (*GetDateInternalServerError) IsCode

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

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

func (*GetDateInternalServerError) IsRedirect

func (o *GetDateInternalServerError) IsRedirect() bool

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

func (*GetDateInternalServerError) IsServerError

func (o *GetDateInternalServerError) IsServerError() bool

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

func (*GetDateInternalServerError) IsSuccess

func (o *GetDateInternalServerError) IsSuccess() bool

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

func (*GetDateInternalServerError) String

func (o *GetDateInternalServerError) String() string

type GetDateNotFound

type GetDateNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetDateNotFound

func NewGetDateNotFound() *GetDateNotFound

NewGetDateNotFound creates a GetDateNotFound with default headers values

func (*GetDateNotFound) Error

func (o *GetDateNotFound) Error() string

func (*GetDateNotFound) GetPayload

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

func (*GetDateNotFound) IsClientError

func (o *GetDateNotFound) IsClientError() bool

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

func (*GetDateNotFound) IsCode

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

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

func (*GetDateNotFound) IsRedirect

func (o *GetDateNotFound) IsRedirect() bool

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

func (*GetDateNotFound) IsServerError

func (o *GetDateNotFound) IsServerError() bool

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

func (*GetDateNotFound) IsSuccess

func (o *GetDateNotFound) IsSuccess() bool

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

func (*GetDateNotFound) String

func (o *GetDateNotFound) String() string

type GetDateOK

type GetDateOK struct {
	Payload *models.ServerDate
}

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

successful operation

func NewGetDateOK

func NewGetDateOK() *GetDateOK

NewGetDateOK creates a GetDateOK with default headers values

func (*GetDateOK) Error

func (o *GetDateOK) Error() string

func (*GetDateOK) GetPayload

func (o *GetDateOK) GetPayload() *models.ServerDate

func (*GetDateOK) IsClientError

func (o *GetDateOK) IsClientError() bool

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

func (*GetDateOK) IsCode

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

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

func (*GetDateOK) IsRedirect

func (o *GetDateOK) IsRedirect() bool

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

func (*GetDateOK) IsServerError

func (o *GetDateOK) IsServerError() bool

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

func (*GetDateOK) IsSuccess

func (o *GetDateOK) IsSuccess() bool

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

func (*GetDateOK) String

func (o *GetDateOK) String() string

type GetDateParams

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

GetDateParams contains all the parameters to send to the API endpoint

for the get date operation.

Typically these are written to a http.Request.

func NewGetDateParams

func NewGetDateParams() *GetDateParams

NewGetDateParams creates a new GetDateParams 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 NewGetDateParamsWithContext

func NewGetDateParamsWithContext(ctx context.Context) *GetDateParams

NewGetDateParamsWithContext creates a new GetDateParams object with the ability to set a context for a request.

func NewGetDateParamsWithHTTPClient

func NewGetDateParamsWithHTTPClient(client *http.Client) *GetDateParams

NewGetDateParamsWithHTTPClient creates a new GetDateParams object with the ability to set a custom HTTPClient for a request.

func NewGetDateParamsWithTimeout

func NewGetDateParamsWithTimeout(timeout time.Duration) *GetDateParams

NewGetDateParamsWithTimeout creates a new GetDateParams object with the ability to set a timeout on a request.

func (*GetDateParams) SetContext

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

SetContext adds the context to the get date params

func (*GetDateParams) SetDefaults

func (o *GetDateParams) SetDefaults()

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

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

func (*GetDateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get date params

func (*GetDateParams) SetTimeout

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

SetTimeout adds the timeout to the get date params

func (*GetDateParams) WithContext

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

WithContext adds the context to the get date params

func (*GetDateParams) WithDefaults

func (o *GetDateParams) WithDefaults() *GetDateParams

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

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

func (*GetDateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get date params

func (*GetDateParams) WithTimeout

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

WithTimeout adds the timeout to the get date params

func (*GetDateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDateReader

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

GetDateReader is a Reader for the GetDate structure.

func (*GetDateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDateRequestEntityTooLarge

type GetDateRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetDateRequestEntityTooLarge

func NewGetDateRequestEntityTooLarge() *GetDateRequestEntityTooLarge

NewGetDateRequestEntityTooLarge creates a GetDateRequestEntityTooLarge with default headers values

func (*GetDateRequestEntityTooLarge) Error

func (*GetDateRequestEntityTooLarge) GetPayload

func (*GetDateRequestEntityTooLarge) IsClientError

func (o *GetDateRequestEntityTooLarge) IsClientError() bool

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

func (*GetDateRequestEntityTooLarge) IsCode

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

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

func (*GetDateRequestEntityTooLarge) IsRedirect

func (o *GetDateRequestEntityTooLarge) IsRedirect() bool

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

func (*GetDateRequestEntityTooLarge) IsServerError

func (o *GetDateRequestEntityTooLarge) IsServerError() bool

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

func (*GetDateRequestEntityTooLarge) IsSuccess

func (o *GetDateRequestEntityTooLarge) IsSuccess() bool

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

func (*GetDateRequestEntityTooLarge) String

type GetDateRequestTimeout

type GetDateRequestTimeout struct {
	Payload *models.ErrorBody
}

GetDateRequestTimeout 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 NewGetDateRequestTimeout

func NewGetDateRequestTimeout() *GetDateRequestTimeout

NewGetDateRequestTimeout creates a GetDateRequestTimeout with default headers values

func (*GetDateRequestTimeout) Error

func (o *GetDateRequestTimeout) Error() string

func (*GetDateRequestTimeout) GetPayload

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

func (*GetDateRequestTimeout) IsClientError

func (o *GetDateRequestTimeout) IsClientError() bool

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

func (*GetDateRequestTimeout) IsCode

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

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

func (*GetDateRequestTimeout) IsRedirect

func (o *GetDateRequestTimeout) IsRedirect() bool

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

func (*GetDateRequestTimeout) IsServerError

func (o *GetDateRequestTimeout) IsServerError() bool

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

func (*GetDateRequestTimeout) IsSuccess

func (o *GetDateRequestTimeout) IsSuccess() bool

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

func (*GetDateRequestTimeout) String

func (o *GetDateRequestTimeout) String() string

type GetDateServiceUnavailable

type GetDateServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetDateServiceUnavailable 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 NewGetDateServiceUnavailable

func NewGetDateServiceUnavailable() *GetDateServiceUnavailable

NewGetDateServiceUnavailable creates a GetDateServiceUnavailable with default headers values

func (*GetDateServiceUnavailable) Error

func (o *GetDateServiceUnavailable) Error() string

func (*GetDateServiceUnavailable) GetPayload

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

func (*GetDateServiceUnavailable) IsClientError

func (o *GetDateServiceUnavailable) IsClientError() bool

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

func (*GetDateServiceUnavailable) IsCode

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

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

func (*GetDateServiceUnavailable) IsRedirect

func (o *GetDateServiceUnavailable) IsRedirect() bool

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

func (*GetDateServiceUnavailable) IsServerError

func (o *GetDateServiceUnavailable) IsServerError() bool

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

func (*GetDateServiceUnavailable) IsSuccess

func (o *GetDateServiceUnavailable) IsSuccess() bool

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

func (*GetDateServiceUnavailable) String

func (o *GetDateServiceUnavailable) String() string

type GetDateTooManyRequests

type GetDateTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetDateTooManyRequests

func NewGetDateTooManyRequests() *GetDateTooManyRequests

NewGetDateTooManyRequests creates a GetDateTooManyRequests with default headers values

func (*GetDateTooManyRequests) Error

func (o *GetDateTooManyRequests) Error() string

func (*GetDateTooManyRequests) GetPayload

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

func (*GetDateTooManyRequests) IsClientError

func (o *GetDateTooManyRequests) IsClientError() bool

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

func (*GetDateTooManyRequests) IsCode

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

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

func (*GetDateTooManyRequests) IsRedirect

func (o *GetDateTooManyRequests) IsRedirect() bool

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

func (*GetDateTooManyRequests) IsServerError

func (o *GetDateTooManyRequests) IsServerError() bool

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

func (*GetDateTooManyRequests) IsSuccess

func (o *GetDateTooManyRequests) IsSuccess() bool

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

func (*GetDateTooManyRequests) String

func (o *GetDateTooManyRequests) String() string

type GetDateUnauthorized

type GetDateUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetDateUnauthorized

func NewGetDateUnauthorized() *GetDateUnauthorized

NewGetDateUnauthorized creates a GetDateUnauthorized with default headers values

func (*GetDateUnauthorized) Error

func (o *GetDateUnauthorized) Error() string

func (*GetDateUnauthorized) GetPayload

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

func (*GetDateUnauthorized) IsClientError

func (o *GetDateUnauthorized) IsClientError() bool

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

func (*GetDateUnauthorized) IsCode

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

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

func (*GetDateUnauthorized) IsRedirect

func (o *GetDateUnauthorized) IsRedirect() bool

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

func (*GetDateUnauthorized) IsServerError

func (o *GetDateUnauthorized) IsServerError() bool

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

func (*GetDateUnauthorized) IsSuccess

func (o *GetDateUnauthorized) IsSuccess() bool

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

func (*GetDateUnauthorized) String

func (o *GetDateUnauthorized) String() string

type GetDateUnsupportedMediaType

type GetDateUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetDateUnsupportedMediaType 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 NewGetDateUnsupportedMediaType

func NewGetDateUnsupportedMediaType() *GetDateUnsupportedMediaType

NewGetDateUnsupportedMediaType creates a GetDateUnsupportedMediaType with default headers values

func (*GetDateUnsupportedMediaType) Error

func (*GetDateUnsupportedMediaType) GetPayload

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

func (*GetDateUnsupportedMediaType) IsClientError

func (o *GetDateUnsupportedMediaType) IsClientError() bool

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

func (*GetDateUnsupportedMediaType) IsCode

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

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

func (*GetDateUnsupportedMediaType) IsRedirect

func (o *GetDateUnsupportedMediaType) IsRedirect() bool

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

func (*GetDateUnsupportedMediaType) IsServerError

func (o *GetDateUnsupportedMediaType) IsServerError() bool

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

func (*GetDateUnsupportedMediaType) IsSuccess

func (o *GetDateUnsupportedMediaType) IsSuccess() bool

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

func (*GetDateUnsupportedMediaType) String

func (o *GetDateUnsupportedMediaType) String() string

type GetIprangesBadRequest

type GetIprangesBadRequest struct {
	Payload *models.ErrorBody
}

GetIprangesBadRequest 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 NewGetIprangesBadRequest

func NewGetIprangesBadRequest() *GetIprangesBadRequest

NewGetIprangesBadRequest creates a GetIprangesBadRequest with default headers values

func (*GetIprangesBadRequest) Error

func (o *GetIprangesBadRequest) Error() string

func (*GetIprangesBadRequest) GetPayload

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

func (*GetIprangesBadRequest) IsClientError

func (o *GetIprangesBadRequest) IsClientError() bool

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

func (*GetIprangesBadRequest) IsCode

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

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

func (*GetIprangesBadRequest) IsRedirect

func (o *GetIprangesBadRequest) IsRedirect() bool

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

func (*GetIprangesBadRequest) IsServerError

func (o *GetIprangesBadRequest) IsServerError() bool

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

func (*GetIprangesBadRequest) IsSuccess

func (o *GetIprangesBadRequest) IsSuccess() bool

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

func (*GetIprangesBadRequest) String

func (o *GetIprangesBadRequest) String() string

type GetIprangesForbidden

type GetIprangesForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetIprangesForbidden

func NewGetIprangesForbidden() *GetIprangesForbidden

NewGetIprangesForbidden creates a GetIprangesForbidden with default headers values

func (*GetIprangesForbidden) Error

func (o *GetIprangesForbidden) Error() string

func (*GetIprangesForbidden) GetPayload

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

func (*GetIprangesForbidden) IsClientError

func (o *GetIprangesForbidden) IsClientError() bool

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

func (*GetIprangesForbidden) IsCode

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

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

func (*GetIprangesForbidden) IsRedirect

func (o *GetIprangesForbidden) IsRedirect() bool

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

func (*GetIprangesForbidden) IsServerError

func (o *GetIprangesForbidden) IsServerError() bool

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

func (*GetIprangesForbidden) IsSuccess

func (o *GetIprangesForbidden) IsSuccess() bool

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

func (*GetIprangesForbidden) String

func (o *GetIprangesForbidden) String() string

type GetIprangesGatewayTimeout

type GetIprangesGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetIprangesGatewayTimeout

func NewGetIprangesGatewayTimeout() *GetIprangesGatewayTimeout

NewGetIprangesGatewayTimeout creates a GetIprangesGatewayTimeout with default headers values

func (*GetIprangesGatewayTimeout) Error

func (o *GetIprangesGatewayTimeout) Error() string

func (*GetIprangesGatewayTimeout) GetPayload

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

func (*GetIprangesGatewayTimeout) IsClientError

func (o *GetIprangesGatewayTimeout) IsClientError() bool

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

func (*GetIprangesGatewayTimeout) IsCode

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

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

func (*GetIprangesGatewayTimeout) IsRedirect

func (o *GetIprangesGatewayTimeout) IsRedirect() bool

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

func (*GetIprangesGatewayTimeout) IsServerError

func (o *GetIprangesGatewayTimeout) IsServerError() bool

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

func (*GetIprangesGatewayTimeout) IsSuccess

func (o *GetIprangesGatewayTimeout) IsSuccess() bool

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

func (*GetIprangesGatewayTimeout) String

func (o *GetIprangesGatewayTimeout) String() string

type GetIprangesInternalServerError

type GetIprangesInternalServerError struct {
	Payload *models.ErrorBody
}

GetIprangesInternalServerError 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 NewGetIprangesInternalServerError

func NewGetIprangesInternalServerError() *GetIprangesInternalServerError

NewGetIprangesInternalServerError creates a GetIprangesInternalServerError with default headers values

func (*GetIprangesInternalServerError) Error

func (*GetIprangesInternalServerError) GetPayload

func (*GetIprangesInternalServerError) IsClientError

func (o *GetIprangesInternalServerError) IsClientError() bool

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

func (*GetIprangesInternalServerError) IsCode

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

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

func (*GetIprangesInternalServerError) IsRedirect

func (o *GetIprangesInternalServerError) IsRedirect() bool

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

func (*GetIprangesInternalServerError) IsServerError

func (o *GetIprangesInternalServerError) IsServerError() bool

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

func (*GetIprangesInternalServerError) IsSuccess

func (o *GetIprangesInternalServerError) IsSuccess() bool

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

func (*GetIprangesInternalServerError) String

type GetIprangesNotFound

type GetIprangesNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetIprangesNotFound

func NewGetIprangesNotFound() *GetIprangesNotFound

NewGetIprangesNotFound creates a GetIprangesNotFound with default headers values

func (*GetIprangesNotFound) Error

func (o *GetIprangesNotFound) Error() string

func (*GetIprangesNotFound) GetPayload

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

func (*GetIprangesNotFound) IsClientError

func (o *GetIprangesNotFound) IsClientError() bool

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

func (*GetIprangesNotFound) IsCode

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

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

func (*GetIprangesNotFound) IsRedirect

func (o *GetIprangesNotFound) IsRedirect() bool

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

func (*GetIprangesNotFound) IsServerError

func (o *GetIprangesNotFound) IsServerError() bool

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

func (*GetIprangesNotFound) IsSuccess

func (o *GetIprangesNotFound) IsSuccess() bool

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

func (*GetIprangesNotFound) String

func (o *GetIprangesNotFound) String() string

type GetIprangesOK

type GetIprangesOK struct {
	Payload *models.IPAddressRangeListing
}

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

successful operation

func NewGetIprangesOK

func NewGetIprangesOK() *GetIprangesOK

NewGetIprangesOK creates a GetIprangesOK with default headers values

func (*GetIprangesOK) Error

func (o *GetIprangesOK) Error() string

func (*GetIprangesOK) GetPayload

func (o *GetIprangesOK) GetPayload() *models.IPAddressRangeListing

func (*GetIprangesOK) IsClientError

func (o *GetIprangesOK) IsClientError() bool

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

func (*GetIprangesOK) IsCode

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

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

func (*GetIprangesOK) IsRedirect

func (o *GetIprangesOK) IsRedirect() bool

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

func (*GetIprangesOK) IsServerError

func (o *GetIprangesOK) IsServerError() bool

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

func (*GetIprangesOK) IsSuccess

func (o *GetIprangesOK) IsSuccess() bool

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

func (*GetIprangesOK) String

func (o *GetIprangesOK) String() string

type GetIprangesParams

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

GetIprangesParams contains all the parameters to send to the API endpoint

for the get ipranges operation.

Typically these are written to a http.Request.

func NewGetIprangesParams

func NewGetIprangesParams() *GetIprangesParams

NewGetIprangesParams creates a new GetIprangesParams 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 NewGetIprangesParamsWithContext

func NewGetIprangesParamsWithContext(ctx context.Context) *GetIprangesParams

NewGetIprangesParamsWithContext creates a new GetIprangesParams object with the ability to set a context for a request.

func NewGetIprangesParamsWithHTTPClient

func NewGetIprangesParamsWithHTTPClient(client *http.Client) *GetIprangesParams

NewGetIprangesParamsWithHTTPClient creates a new GetIprangesParams object with the ability to set a custom HTTPClient for a request.

func NewGetIprangesParamsWithTimeout

func NewGetIprangesParamsWithTimeout(timeout time.Duration) *GetIprangesParams

NewGetIprangesParamsWithTimeout creates a new GetIprangesParams object with the ability to set a timeout on a request.

func (*GetIprangesParams) SetContext

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

SetContext adds the context to the get ipranges params

func (*GetIprangesParams) SetDefaults

func (o *GetIprangesParams) SetDefaults()

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

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

func (*GetIprangesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ipranges params

func (*GetIprangesParams) SetTimeout

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

SetTimeout adds the timeout to the get ipranges params

func (*GetIprangesParams) WithContext

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

WithContext adds the context to the get ipranges params

func (*GetIprangesParams) WithDefaults

func (o *GetIprangesParams) WithDefaults() *GetIprangesParams

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

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

func (*GetIprangesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ipranges params

func (*GetIprangesParams) WithTimeout

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

WithTimeout adds the timeout to the get ipranges params

func (*GetIprangesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIprangesReader

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

GetIprangesReader is a Reader for the GetIpranges structure.

func (*GetIprangesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIprangesRequestEntityTooLarge

type GetIprangesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetIprangesRequestEntityTooLarge

func NewGetIprangesRequestEntityTooLarge() *GetIprangesRequestEntityTooLarge

NewGetIprangesRequestEntityTooLarge creates a GetIprangesRequestEntityTooLarge with default headers values

func (*GetIprangesRequestEntityTooLarge) Error

func (*GetIprangesRequestEntityTooLarge) GetPayload

func (*GetIprangesRequestEntityTooLarge) IsClientError

func (o *GetIprangesRequestEntityTooLarge) IsClientError() bool

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

func (*GetIprangesRequestEntityTooLarge) IsCode

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

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

func (*GetIprangesRequestEntityTooLarge) IsRedirect

func (o *GetIprangesRequestEntityTooLarge) IsRedirect() bool

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

func (*GetIprangesRequestEntityTooLarge) IsServerError

func (o *GetIprangesRequestEntityTooLarge) IsServerError() bool

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

func (*GetIprangesRequestEntityTooLarge) IsSuccess

func (o *GetIprangesRequestEntityTooLarge) IsSuccess() bool

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

func (*GetIprangesRequestEntityTooLarge) String

type GetIprangesRequestTimeout

type GetIprangesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetIprangesRequestTimeout 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 NewGetIprangesRequestTimeout

func NewGetIprangesRequestTimeout() *GetIprangesRequestTimeout

NewGetIprangesRequestTimeout creates a GetIprangesRequestTimeout with default headers values

func (*GetIprangesRequestTimeout) Error

func (o *GetIprangesRequestTimeout) Error() string

func (*GetIprangesRequestTimeout) GetPayload

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

func (*GetIprangesRequestTimeout) IsClientError

func (o *GetIprangesRequestTimeout) IsClientError() bool

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

func (*GetIprangesRequestTimeout) IsCode

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

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

func (*GetIprangesRequestTimeout) IsRedirect

func (o *GetIprangesRequestTimeout) IsRedirect() bool

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

func (*GetIprangesRequestTimeout) IsServerError

func (o *GetIprangesRequestTimeout) IsServerError() bool

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

func (*GetIprangesRequestTimeout) IsSuccess

func (o *GetIprangesRequestTimeout) IsSuccess() bool

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

func (*GetIprangesRequestTimeout) String

func (o *GetIprangesRequestTimeout) String() string

type GetIprangesServiceUnavailable

type GetIprangesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetIprangesServiceUnavailable 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 NewGetIprangesServiceUnavailable

func NewGetIprangesServiceUnavailable() *GetIprangesServiceUnavailable

NewGetIprangesServiceUnavailable creates a GetIprangesServiceUnavailable with default headers values

func (*GetIprangesServiceUnavailable) Error

func (*GetIprangesServiceUnavailable) GetPayload

func (*GetIprangesServiceUnavailable) IsClientError

func (o *GetIprangesServiceUnavailable) IsClientError() bool

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

func (*GetIprangesServiceUnavailable) IsCode

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

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

func (*GetIprangesServiceUnavailable) IsRedirect

func (o *GetIprangesServiceUnavailable) IsRedirect() bool

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

func (*GetIprangesServiceUnavailable) IsServerError

func (o *GetIprangesServiceUnavailable) IsServerError() bool

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

func (*GetIprangesServiceUnavailable) IsSuccess

func (o *GetIprangesServiceUnavailable) IsSuccess() bool

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

func (*GetIprangesServiceUnavailable) String

type GetIprangesTooManyRequests

type GetIprangesTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetIprangesTooManyRequests

func NewGetIprangesTooManyRequests() *GetIprangesTooManyRequests

NewGetIprangesTooManyRequests creates a GetIprangesTooManyRequests with default headers values

func (*GetIprangesTooManyRequests) Error

func (*GetIprangesTooManyRequests) GetPayload

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

func (*GetIprangesTooManyRequests) IsClientError

func (o *GetIprangesTooManyRequests) IsClientError() bool

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

func (*GetIprangesTooManyRequests) IsCode

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

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

func (*GetIprangesTooManyRequests) IsRedirect

func (o *GetIprangesTooManyRequests) IsRedirect() bool

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

func (*GetIprangesTooManyRequests) IsServerError

func (o *GetIprangesTooManyRequests) IsServerError() bool

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

func (*GetIprangesTooManyRequests) IsSuccess

func (o *GetIprangesTooManyRequests) IsSuccess() bool

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

func (*GetIprangesTooManyRequests) String

func (o *GetIprangesTooManyRequests) String() string

type GetIprangesUnauthorized

type GetIprangesUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetIprangesUnauthorized

func NewGetIprangesUnauthorized() *GetIprangesUnauthorized

NewGetIprangesUnauthorized creates a GetIprangesUnauthorized with default headers values

func (*GetIprangesUnauthorized) Error

func (o *GetIprangesUnauthorized) Error() string

func (*GetIprangesUnauthorized) GetPayload

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

func (*GetIprangesUnauthorized) IsClientError

func (o *GetIprangesUnauthorized) IsClientError() bool

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

func (*GetIprangesUnauthorized) IsCode

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

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

func (*GetIprangesUnauthorized) IsRedirect

func (o *GetIprangesUnauthorized) IsRedirect() bool

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

func (*GetIprangesUnauthorized) IsServerError

func (o *GetIprangesUnauthorized) IsServerError() bool

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

func (*GetIprangesUnauthorized) IsSuccess

func (o *GetIprangesUnauthorized) IsSuccess() bool

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

func (*GetIprangesUnauthorized) String

func (o *GetIprangesUnauthorized) String() string

type GetIprangesUnsupportedMediaType

type GetIprangesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetIprangesUnsupportedMediaType 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 NewGetIprangesUnsupportedMediaType

func NewGetIprangesUnsupportedMediaType() *GetIprangesUnsupportedMediaType

NewGetIprangesUnsupportedMediaType creates a GetIprangesUnsupportedMediaType with default headers values

func (*GetIprangesUnsupportedMediaType) Error

func (*GetIprangesUnsupportedMediaType) GetPayload

func (*GetIprangesUnsupportedMediaType) IsClientError

func (o *GetIprangesUnsupportedMediaType) IsClientError() bool

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

func (*GetIprangesUnsupportedMediaType) IsCode

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

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

func (*GetIprangesUnsupportedMediaType) IsRedirect

func (o *GetIprangesUnsupportedMediaType) IsRedirect() bool

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

func (*GetIprangesUnsupportedMediaType) IsServerError

func (o *GetIprangesUnsupportedMediaType) IsServerError() bool

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

func (*GetIprangesUnsupportedMediaType) IsSuccess

func (o *GetIprangesUnsupportedMediaType) IsSuccess() bool

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

func (*GetIprangesUnsupportedMediaType) String

type GetTimezonesBadRequest

type GetTimezonesBadRequest struct {
	Payload *models.ErrorBody
}

GetTimezonesBadRequest 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 NewGetTimezonesBadRequest

func NewGetTimezonesBadRequest() *GetTimezonesBadRequest

NewGetTimezonesBadRequest creates a GetTimezonesBadRequest with default headers values

func (*GetTimezonesBadRequest) Error

func (o *GetTimezonesBadRequest) Error() string

func (*GetTimezonesBadRequest) GetPayload

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

func (*GetTimezonesBadRequest) IsClientError

func (o *GetTimezonesBadRequest) IsClientError() bool

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

func (*GetTimezonesBadRequest) IsCode

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

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

func (*GetTimezonesBadRequest) IsRedirect

func (o *GetTimezonesBadRequest) IsRedirect() bool

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

func (*GetTimezonesBadRequest) IsServerError

func (o *GetTimezonesBadRequest) IsServerError() bool

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

func (*GetTimezonesBadRequest) IsSuccess

func (o *GetTimezonesBadRequest) IsSuccess() bool

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

func (*GetTimezonesBadRequest) String

func (o *GetTimezonesBadRequest) String() string

type GetTimezonesForbidden

type GetTimezonesForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetTimezonesForbidden

func NewGetTimezonesForbidden() *GetTimezonesForbidden

NewGetTimezonesForbidden creates a GetTimezonesForbidden with default headers values

func (*GetTimezonesForbidden) Error

func (o *GetTimezonesForbidden) Error() string

func (*GetTimezonesForbidden) GetPayload

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

func (*GetTimezonesForbidden) IsClientError

func (o *GetTimezonesForbidden) IsClientError() bool

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

func (*GetTimezonesForbidden) IsCode

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

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

func (*GetTimezonesForbidden) IsRedirect

func (o *GetTimezonesForbidden) IsRedirect() bool

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

func (*GetTimezonesForbidden) IsServerError

func (o *GetTimezonesForbidden) IsServerError() bool

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

func (*GetTimezonesForbidden) IsSuccess

func (o *GetTimezonesForbidden) IsSuccess() bool

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

func (*GetTimezonesForbidden) String

func (o *GetTimezonesForbidden) String() string

type GetTimezonesGatewayTimeout

type GetTimezonesGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetTimezonesGatewayTimeout

func NewGetTimezonesGatewayTimeout() *GetTimezonesGatewayTimeout

NewGetTimezonesGatewayTimeout creates a GetTimezonesGatewayTimeout with default headers values

func (*GetTimezonesGatewayTimeout) Error

func (*GetTimezonesGatewayTimeout) GetPayload

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

func (*GetTimezonesGatewayTimeout) IsClientError

func (o *GetTimezonesGatewayTimeout) IsClientError() bool

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

func (*GetTimezonesGatewayTimeout) IsCode

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

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

func (*GetTimezonesGatewayTimeout) IsRedirect

func (o *GetTimezonesGatewayTimeout) IsRedirect() bool

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

func (*GetTimezonesGatewayTimeout) IsServerError

func (o *GetTimezonesGatewayTimeout) IsServerError() bool

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

func (*GetTimezonesGatewayTimeout) IsSuccess

func (o *GetTimezonesGatewayTimeout) IsSuccess() bool

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

func (*GetTimezonesGatewayTimeout) String

func (o *GetTimezonesGatewayTimeout) String() string

type GetTimezonesInternalServerError

type GetTimezonesInternalServerError struct {
	Payload *models.ErrorBody
}

GetTimezonesInternalServerError 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 NewGetTimezonesInternalServerError

func NewGetTimezonesInternalServerError() *GetTimezonesInternalServerError

NewGetTimezonesInternalServerError creates a GetTimezonesInternalServerError with default headers values

func (*GetTimezonesInternalServerError) Error

func (*GetTimezonesInternalServerError) GetPayload

func (*GetTimezonesInternalServerError) IsClientError

func (o *GetTimezonesInternalServerError) IsClientError() bool

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

func (*GetTimezonesInternalServerError) IsCode

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

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

func (*GetTimezonesInternalServerError) IsRedirect

func (o *GetTimezonesInternalServerError) IsRedirect() bool

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

func (*GetTimezonesInternalServerError) IsServerError

func (o *GetTimezonesInternalServerError) IsServerError() bool

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

func (*GetTimezonesInternalServerError) IsSuccess

func (o *GetTimezonesInternalServerError) IsSuccess() bool

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

func (*GetTimezonesInternalServerError) String

type GetTimezonesNotFound

type GetTimezonesNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetTimezonesNotFound

func NewGetTimezonesNotFound() *GetTimezonesNotFound

NewGetTimezonesNotFound creates a GetTimezonesNotFound with default headers values

func (*GetTimezonesNotFound) Error

func (o *GetTimezonesNotFound) Error() string

func (*GetTimezonesNotFound) GetPayload

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

func (*GetTimezonesNotFound) IsClientError

func (o *GetTimezonesNotFound) IsClientError() bool

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

func (*GetTimezonesNotFound) IsCode

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

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

func (*GetTimezonesNotFound) IsRedirect

func (o *GetTimezonesNotFound) IsRedirect() bool

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

func (*GetTimezonesNotFound) IsServerError

func (o *GetTimezonesNotFound) IsServerError() bool

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

func (*GetTimezonesNotFound) IsSuccess

func (o *GetTimezonesNotFound) IsSuccess() bool

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

func (*GetTimezonesNotFound) String

func (o *GetTimezonesNotFound) String() string

type GetTimezonesOK

type GetTimezonesOK struct {
	Payload *models.TimeZoneEntityListing
}

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

successful operation

func NewGetTimezonesOK

func NewGetTimezonesOK() *GetTimezonesOK

NewGetTimezonesOK creates a GetTimezonesOK with default headers values

func (*GetTimezonesOK) Error

func (o *GetTimezonesOK) Error() string

func (*GetTimezonesOK) GetPayload

func (o *GetTimezonesOK) GetPayload() *models.TimeZoneEntityListing

func (*GetTimezonesOK) IsClientError

func (o *GetTimezonesOK) IsClientError() bool

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

func (*GetTimezonesOK) IsCode

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

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

func (*GetTimezonesOK) IsRedirect

func (o *GetTimezonesOK) IsRedirect() bool

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

func (*GetTimezonesOK) IsServerError

func (o *GetTimezonesOK) IsServerError() bool

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

func (*GetTimezonesOK) IsSuccess

func (o *GetTimezonesOK) IsSuccess() bool

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

func (*GetTimezonesOK) String

func (o *GetTimezonesOK) String() string

type GetTimezonesParams

type GetTimezonesParams struct {

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

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

GetTimezonesParams contains all the parameters to send to the API endpoint

for the get timezones operation.

Typically these are written to a http.Request.

func NewGetTimezonesParams

func NewGetTimezonesParams() *GetTimezonesParams

NewGetTimezonesParams creates a new GetTimezonesParams 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 NewGetTimezonesParamsWithContext

func NewGetTimezonesParamsWithContext(ctx context.Context) *GetTimezonesParams

NewGetTimezonesParamsWithContext creates a new GetTimezonesParams object with the ability to set a context for a request.

func NewGetTimezonesParamsWithHTTPClient

func NewGetTimezonesParamsWithHTTPClient(client *http.Client) *GetTimezonesParams

NewGetTimezonesParamsWithHTTPClient creates a new GetTimezonesParams object with the ability to set a custom HTTPClient for a request.

func NewGetTimezonesParamsWithTimeout

func NewGetTimezonesParamsWithTimeout(timeout time.Duration) *GetTimezonesParams

NewGetTimezonesParamsWithTimeout creates a new GetTimezonesParams object with the ability to set a timeout on a request.

func (*GetTimezonesParams) SetContext

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

SetContext adds the context to the get timezones params

func (*GetTimezonesParams) SetDefaults

func (o *GetTimezonesParams) SetDefaults()

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

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

func (*GetTimezonesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get timezones params

func (*GetTimezonesParams) SetPageNumber

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

SetPageNumber adds the pageNumber to the get timezones params

func (*GetTimezonesParams) SetPageSize

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

SetPageSize adds the pageSize to the get timezones params

func (*GetTimezonesParams) SetTimeout

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

SetTimeout adds the timeout to the get timezones params

func (*GetTimezonesParams) WithContext

WithContext adds the context to the get timezones params

func (*GetTimezonesParams) WithDefaults

func (o *GetTimezonesParams) WithDefaults() *GetTimezonesParams

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

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

func (*GetTimezonesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get timezones params

func (*GetTimezonesParams) WithPageNumber

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

WithPageNumber adds the pageNumber to the get timezones params

func (*GetTimezonesParams) WithPageSize

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

WithPageSize adds the pageSize to the get timezones params

func (*GetTimezonesParams) WithTimeout

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

WithTimeout adds the timeout to the get timezones params

func (*GetTimezonesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTimezonesReader

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

GetTimezonesReader is a Reader for the GetTimezones structure.

func (*GetTimezonesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTimezonesRequestEntityTooLarge

type GetTimezonesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetTimezonesRequestEntityTooLarge

func NewGetTimezonesRequestEntityTooLarge() *GetTimezonesRequestEntityTooLarge

NewGetTimezonesRequestEntityTooLarge creates a GetTimezonesRequestEntityTooLarge with default headers values

func (*GetTimezonesRequestEntityTooLarge) Error

func (*GetTimezonesRequestEntityTooLarge) GetPayload

func (*GetTimezonesRequestEntityTooLarge) IsClientError

func (o *GetTimezonesRequestEntityTooLarge) IsClientError() bool

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

func (*GetTimezonesRequestEntityTooLarge) IsCode

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

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

func (*GetTimezonesRequestEntityTooLarge) IsRedirect

func (o *GetTimezonesRequestEntityTooLarge) IsRedirect() bool

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

func (*GetTimezonesRequestEntityTooLarge) IsServerError

func (o *GetTimezonesRequestEntityTooLarge) IsServerError() bool

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

func (*GetTimezonesRequestEntityTooLarge) IsSuccess

func (o *GetTimezonesRequestEntityTooLarge) IsSuccess() bool

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

func (*GetTimezonesRequestEntityTooLarge) String

type GetTimezonesRequestTimeout

type GetTimezonesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetTimezonesRequestTimeout 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 NewGetTimezonesRequestTimeout

func NewGetTimezonesRequestTimeout() *GetTimezonesRequestTimeout

NewGetTimezonesRequestTimeout creates a GetTimezonesRequestTimeout with default headers values

func (*GetTimezonesRequestTimeout) Error

func (*GetTimezonesRequestTimeout) GetPayload

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

func (*GetTimezonesRequestTimeout) IsClientError

func (o *GetTimezonesRequestTimeout) IsClientError() bool

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

func (*GetTimezonesRequestTimeout) IsCode

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

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

func (*GetTimezonesRequestTimeout) IsRedirect

func (o *GetTimezonesRequestTimeout) IsRedirect() bool

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

func (*GetTimezonesRequestTimeout) IsServerError

func (o *GetTimezonesRequestTimeout) IsServerError() bool

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

func (*GetTimezonesRequestTimeout) IsSuccess

func (o *GetTimezonesRequestTimeout) IsSuccess() bool

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

func (*GetTimezonesRequestTimeout) String

func (o *GetTimezonesRequestTimeout) String() string

type GetTimezonesServiceUnavailable

type GetTimezonesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetTimezonesServiceUnavailable 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 NewGetTimezonesServiceUnavailable

func NewGetTimezonesServiceUnavailable() *GetTimezonesServiceUnavailable

NewGetTimezonesServiceUnavailable creates a GetTimezonesServiceUnavailable with default headers values

func (*GetTimezonesServiceUnavailable) Error

func (*GetTimezonesServiceUnavailable) GetPayload

func (*GetTimezonesServiceUnavailable) IsClientError

func (o *GetTimezonesServiceUnavailable) IsClientError() bool

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

func (*GetTimezonesServiceUnavailable) IsCode

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

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

func (*GetTimezonesServiceUnavailable) IsRedirect

func (o *GetTimezonesServiceUnavailable) IsRedirect() bool

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

func (*GetTimezonesServiceUnavailable) IsServerError

func (o *GetTimezonesServiceUnavailable) IsServerError() bool

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

func (*GetTimezonesServiceUnavailable) IsSuccess

func (o *GetTimezonesServiceUnavailable) IsSuccess() bool

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

func (*GetTimezonesServiceUnavailable) String

type GetTimezonesTooManyRequests

type GetTimezonesTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetTimezonesTooManyRequests

func NewGetTimezonesTooManyRequests() *GetTimezonesTooManyRequests

NewGetTimezonesTooManyRequests creates a GetTimezonesTooManyRequests with default headers values

func (*GetTimezonesTooManyRequests) Error

func (*GetTimezonesTooManyRequests) GetPayload

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

func (*GetTimezonesTooManyRequests) IsClientError

func (o *GetTimezonesTooManyRequests) IsClientError() bool

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

func (*GetTimezonesTooManyRequests) IsCode

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

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

func (*GetTimezonesTooManyRequests) IsRedirect

func (o *GetTimezonesTooManyRequests) IsRedirect() bool

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

func (*GetTimezonesTooManyRequests) IsServerError

func (o *GetTimezonesTooManyRequests) IsServerError() bool

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

func (*GetTimezonesTooManyRequests) IsSuccess

func (o *GetTimezonesTooManyRequests) IsSuccess() bool

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

func (*GetTimezonesTooManyRequests) String

func (o *GetTimezonesTooManyRequests) String() string

type GetTimezonesUnauthorized

type GetTimezonesUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetTimezonesUnauthorized

func NewGetTimezonesUnauthorized() *GetTimezonesUnauthorized

NewGetTimezonesUnauthorized creates a GetTimezonesUnauthorized with default headers values

func (*GetTimezonesUnauthorized) Error

func (o *GetTimezonesUnauthorized) Error() string

func (*GetTimezonesUnauthorized) GetPayload

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

func (*GetTimezonesUnauthorized) IsClientError

func (o *GetTimezonesUnauthorized) IsClientError() bool

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

func (*GetTimezonesUnauthorized) IsCode

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

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

func (*GetTimezonesUnauthorized) IsRedirect

func (o *GetTimezonesUnauthorized) IsRedirect() bool

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

func (*GetTimezonesUnauthorized) IsServerError

func (o *GetTimezonesUnauthorized) IsServerError() bool

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

func (*GetTimezonesUnauthorized) IsSuccess

func (o *GetTimezonesUnauthorized) IsSuccess() bool

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

func (*GetTimezonesUnauthorized) String

func (o *GetTimezonesUnauthorized) String() string

type GetTimezonesUnsupportedMediaType

type GetTimezonesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetTimezonesUnsupportedMediaType 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 NewGetTimezonesUnsupportedMediaType

func NewGetTimezonesUnsupportedMediaType() *GetTimezonesUnsupportedMediaType

NewGetTimezonesUnsupportedMediaType creates a GetTimezonesUnsupportedMediaType with default headers values

func (*GetTimezonesUnsupportedMediaType) Error

func (*GetTimezonesUnsupportedMediaType) GetPayload

func (*GetTimezonesUnsupportedMediaType) IsClientError

func (o *GetTimezonesUnsupportedMediaType) IsClientError() bool

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

func (*GetTimezonesUnsupportedMediaType) IsCode

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

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

func (*GetTimezonesUnsupportedMediaType) IsRedirect

func (o *GetTimezonesUnsupportedMediaType) IsRedirect() bool

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

func (*GetTimezonesUnsupportedMediaType) IsServerError

func (o *GetTimezonesUnsupportedMediaType) IsServerError() bool

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

func (*GetTimezonesUnsupportedMediaType) IsSuccess

func (o *GetTimezonesUnsupportedMediaType) IsSuccess() bool

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

func (*GetTimezonesUnsupportedMediaType) String

type PostCertificateDetailsBadRequest

type PostCertificateDetailsBadRequest struct {
	Payload *models.ErrorBody
}

PostCertificateDetailsBadRequest 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 NewPostCertificateDetailsBadRequest

func NewPostCertificateDetailsBadRequest() *PostCertificateDetailsBadRequest

NewPostCertificateDetailsBadRequest creates a PostCertificateDetailsBadRequest with default headers values

func (*PostCertificateDetailsBadRequest) Error

func (*PostCertificateDetailsBadRequest) GetPayload

func (*PostCertificateDetailsBadRequest) IsClientError

func (o *PostCertificateDetailsBadRequest) IsClientError() bool

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

func (*PostCertificateDetailsBadRequest) IsCode

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

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

func (*PostCertificateDetailsBadRequest) IsRedirect

func (o *PostCertificateDetailsBadRequest) IsRedirect() bool

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

func (*PostCertificateDetailsBadRequest) IsServerError

func (o *PostCertificateDetailsBadRequest) IsServerError() bool

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

func (*PostCertificateDetailsBadRequest) IsSuccess

func (o *PostCertificateDetailsBadRequest) IsSuccess() bool

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

func (*PostCertificateDetailsBadRequest) String

type PostCertificateDetailsForbidden

type PostCertificateDetailsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPostCertificateDetailsForbidden

func NewPostCertificateDetailsForbidden() *PostCertificateDetailsForbidden

NewPostCertificateDetailsForbidden creates a PostCertificateDetailsForbidden with default headers values

func (*PostCertificateDetailsForbidden) Error

func (*PostCertificateDetailsForbidden) GetPayload

func (*PostCertificateDetailsForbidden) IsClientError

func (o *PostCertificateDetailsForbidden) IsClientError() bool

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

func (*PostCertificateDetailsForbidden) IsCode

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

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

func (*PostCertificateDetailsForbidden) IsRedirect

func (o *PostCertificateDetailsForbidden) IsRedirect() bool

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

func (*PostCertificateDetailsForbidden) IsServerError

func (o *PostCertificateDetailsForbidden) IsServerError() bool

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

func (*PostCertificateDetailsForbidden) IsSuccess

func (o *PostCertificateDetailsForbidden) IsSuccess() bool

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

func (*PostCertificateDetailsForbidden) String

type PostCertificateDetailsGatewayTimeout

type PostCertificateDetailsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPostCertificateDetailsGatewayTimeout

func NewPostCertificateDetailsGatewayTimeout() *PostCertificateDetailsGatewayTimeout

NewPostCertificateDetailsGatewayTimeout creates a PostCertificateDetailsGatewayTimeout with default headers values

func (*PostCertificateDetailsGatewayTimeout) Error

func (*PostCertificateDetailsGatewayTimeout) GetPayload

func (*PostCertificateDetailsGatewayTimeout) IsClientError

func (o *PostCertificateDetailsGatewayTimeout) IsClientError() bool

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

func (*PostCertificateDetailsGatewayTimeout) IsCode

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

func (*PostCertificateDetailsGatewayTimeout) IsRedirect

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

func (*PostCertificateDetailsGatewayTimeout) IsServerError

func (o *PostCertificateDetailsGatewayTimeout) IsServerError() bool

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

func (*PostCertificateDetailsGatewayTimeout) IsSuccess

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

func (*PostCertificateDetailsGatewayTimeout) String

type PostCertificateDetailsInternalServerError

type PostCertificateDetailsInternalServerError struct {
	Payload *models.ErrorBody
}

PostCertificateDetailsInternalServerError 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 NewPostCertificateDetailsInternalServerError

func NewPostCertificateDetailsInternalServerError() *PostCertificateDetailsInternalServerError

NewPostCertificateDetailsInternalServerError creates a PostCertificateDetailsInternalServerError with default headers values

func (*PostCertificateDetailsInternalServerError) Error

func (*PostCertificateDetailsInternalServerError) GetPayload

func (*PostCertificateDetailsInternalServerError) IsClientError

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

func (*PostCertificateDetailsInternalServerError) IsCode

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

func (*PostCertificateDetailsInternalServerError) IsRedirect

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

func (*PostCertificateDetailsInternalServerError) IsServerError

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

func (*PostCertificateDetailsInternalServerError) IsSuccess

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

func (*PostCertificateDetailsInternalServerError) String

type PostCertificateDetailsNotFound

type PostCertificateDetailsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPostCertificateDetailsNotFound

func NewPostCertificateDetailsNotFound() *PostCertificateDetailsNotFound

NewPostCertificateDetailsNotFound creates a PostCertificateDetailsNotFound with default headers values

func (*PostCertificateDetailsNotFound) Error

func (*PostCertificateDetailsNotFound) GetPayload

func (*PostCertificateDetailsNotFound) IsClientError

func (o *PostCertificateDetailsNotFound) IsClientError() bool

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

func (*PostCertificateDetailsNotFound) IsCode

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

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

func (*PostCertificateDetailsNotFound) IsRedirect

func (o *PostCertificateDetailsNotFound) IsRedirect() bool

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

func (*PostCertificateDetailsNotFound) IsServerError

func (o *PostCertificateDetailsNotFound) IsServerError() bool

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

func (*PostCertificateDetailsNotFound) IsSuccess

func (o *PostCertificateDetailsNotFound) IsSuccess() bool

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

func (*PostCertificateDetailsNotFound) String

type PostCertificateDetailsOK

type PostCertificateDetailsOK struct {
	Payload *models.ParsedCertificate
}

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

successful operation

func NewPostCertificateDetailsOK

func NewPostCertificateDetailsOK() *PostCertificateDetailsOK

NewPostCertificateDetailsOK creates a PostCertificateDetailsOK with default headers values

func (*PostCertificateDetailsOK) Error

func (o *PostCertificateDetailsOK) Error() string

func (*PostCertificateDetailsOK) GetPayload

func (*PostCertificateDetailsOK) IsClientError

func (o *PostCertificateDetailsOK) IsClientError() bool

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

func (*PostCertificateDetailsOK) IsCode

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

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

func (*PostCertificateDetailsOK) IsRedirect

func (o *PostCertificateDetailsOK) IsRedirect() bool

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

func (*PostCertificateDetailsOK) IsServerError

func (o *PostCertificateDetailsOK) IsServerError() bool

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

func (*PostCertificateDetailsOK) IsSuccess

func (o *PostCertificateDetailsOK) IsSuccess() bool

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

func (*PostCertificateDetailsOK) String

func (o *PostCertificateDetailsOK) String() string

type PostCertificateDetailsParams

type PostCertificateDetailsParams struct {

	/* Body.

	   Certificate
	*/
	Body *models.Certificate

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

PostCertificateDetailsParams contains all the parameters to send to the API endpoint

for the post certificate details operation.

Typically these are written to a http.Request.

func NewPostCertificateDetailsParams

func NewPostCertificateDetailsParams() *PostCertificateDetailsParams

NewPostCertificateDetailsParams creates a new PostCertificateDetailsParams 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 NewPostCertificateDetailsParamsWithContext

func NewPostCertificateDetailsParamsWithContext(ctx context.Context) *PostCertificateDetailsParams

NewPostCertificateDetailsParamsWithContext creates a new PostCertificateDetailsParams object with the ability to set a context for a request.

func NewPostCertificateDetailsParamsWithHTTPClient

func NewPostCertificateDetailsParamsWithHTTPClient(client *http.Client) *PostCertificateDetailsParams

NewPostCertificateDetailsParamsWithHTTPClient creates a new PostCertificateDetailsParams object with the ability to set a custom HTTPClient for a request.

func NewPostCertificateDetailsParamsWithTimeout

func NewPostCertificateDetailsParamsWithTimeout(timeout time.Duration) *PostCertificateDetailsParams

NewPostCertificateDetailsParamsWithTimeout creates a new PostCertificateDetailsParams object with the ability to set a timeout on a request.

func (*PostCertificateDetailsParams) SetBody

SetBody adds the body to the post certificate details params

func (*PostCertificateDetailsParams) SetContext

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

SetContext adds the context to the post certificate details params

func (*PostCertificateDetailsParams) SetDefaults

func (o *PostCertificateDetailsParams) SetDefaults()

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

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

func (*PostCertificateDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post certificate details params

func (*PostCertificateDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the post certificate details params

func (*PostCertificateDetailsParams) WithBody

WithBody adds the body to the post certificate details params

func (*PostCertificateDetailsParams) WithContext

WithContext adds the context to the post certificate details params

func (*PostCertificateDetailsParams) WithDefaults

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

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

func (*PostCertificateDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post certificate details params

func (*PostCertificateDetailsParams) WithTimeout

WithTimeout adds the timeout to the post certificate details params

func (*PostCertificateDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostCertificateDetailsReader

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

PostCertificateDetailsReader is a Reader for the PostCertificateDetails structure.

func (*PostCertificateDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostCertificateDetailsRequestEntityTooLarge

type PostCertificateDetailsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPostCertificateDetailsRequestEntityTooLarge

func NewPostCertificateDetailsRequestEntityTooLarge() *PostCertificateDetailsRequestEntityTooLarge

NewPostCertificateDetailsRequestEntityTooLarge creates a PostCertificateDetailsRequestEntityTooLarge with default headers values

func (*PostCertificateDetailsRequestEntityTooLarge) Error

func (*PostCertificateDetailsRequestEntityTooLarge) GetPayload

func (*PostCertificateDetailsRequestEntityTooLarge) IsClientError

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

func (*PostCertificateDetailsRequestEntityTooLarge) IsCode

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

func (*PostCertificateDetailsRequestEntityTooLarge) IsRedirect

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

func (*PostCertificateDetailsRequestEntityTooLarge) IsServerError

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

func (*PostCertificateDetailsRequestEntityTooLarge) IsSuccess

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

func (*PostCertificateDetailsRequestEntityTooLarge) String

type PostCertificateDetailsRequestTimeout

type PostCertificateDetailsRequestTimeout struct {
	Payload *models.ErrorBody
}

PostCertificateDetailsRequestTimeout 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 NewPostCertificateDetailsRequestTimeout

func NewPostCertificateDetailsRequestTimeout() *PostCertificateDetailsRequestTimeout

NewPostCertificateDetailsRequestTimeout creates a PostCertificateDetailsRequestTimeout with default headers values

func (*PostCertificateDetailsRequestTimeout) Error

func (*PostCertificateDetailsRequestTimeout) GetPayload

func (*PostCertificateDetailsRequestTimeout) IsClientError

func (o *PostCertificateDetailsRequestTimeout) IsClientError() bool

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

func (*PostCertificateDetailsRequestTimeout) IsCode

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

func (*PostCertificateDetailsRequestTimeout) IsRedirect

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

func (*PostCertificateDetailsRequestTimeout) IsServerError

func (o *PostCertificateDetailsRequestTimeout) IsServerError() bool

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

func (*PostCertificateDetailsRequestTimeout) IsSuccess

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

func (*PostCertificateDetailsRequestTimeout) String

type PostCertificateDetailsServiceUnavailable

type PostCertificateDetailsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostCertificateDetailsServiceUnavailable 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 NewPostCertificateDetailsServiceUnavailable

func NewPostCertificateDetailsServiceUnavailable() *PostCertificateDetailsServiceUnavailable

NewPostCertificateDetailsServiceUnavailable creates a PostCertificateDetailsServiceUnavailable with default headers values

func (*PostCertificateDetailsServiceUnavailable) Error

func (*PostCertificateDetailsServiceUnavailable) GetPayload

func (*PostCertificateDetailsServiceUnavailable) IsClientError

IsClientError returns true when this post certificate details service unavailable response has a 4xx status code

func (*PostCertificateDetailsServiceUnavailable) IsCode

IsCode returns true when this post certificate details service unavailable response a status code equal to that given

func (*PostCertificateDetailsServiceUnavailable) IsRedirect

IsRedirect returns true when this post certificate details service unavailable response has a 3xx status code

func (*PostCertificateDetailsServiceUnavailable) IsServerError

IsServerError returns true when this post certificate details service unavailable response has a 5xx status code

func (*PostCertificateDetailsServiceUnavailable) IsSuccess

IsSuccess returns true when this post certificate details service unavailable response has a 2xx status code

func (*PostCertificateDetailsServiceUnavailable) String

type PostCertificateDetailsTooManyRequests

type PostCertificateDetailsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPostCertificateDetailsTooManyRequests

func NewPostCertificateDetailsTooManyRequests() *PostCertificateDetailsTooManyRequests

NewPostCertificateDetailsTooManyRequests creates a PostCertificateDetailsTooManyRequests with default headers values

func (*PostCertificateDetailsTooManyRequests) Error

func (*PostCertificateDetailsTooManyRequests) GetPayload

func (*PostCertificateDetailsTooManyRequests) IsClientError

func (o *PostCertificateDetailsTooManyRequests) IsClientError() bool

IsClientError returns true when this post certificate details too many requests response has a 4xx status code

func (*PostCertificateDetailsTooManyRequests) IsCode

IsCode returns true when this post certificate details too many requests response a status code equal to that given

func (*PostCertificateDetailsTooManyRequests) IsRedirect

IsRedirect returns true when this post certificate details too many requests response has a 3xx status code

func (*PostCertificateDetailsTooManyRequests) IsServerError

func (o *PostCertificateDetailsTooManyRequests) IsServerError() bool

IsServerError returns true when this post certificate details too many requests response has a 5xx status code

func (*PostCertificateDetailsTooManyRequests) IsSuccess

IsSuccess returns true when this post certificate details too many requests response has a 2xx status code

func (*PostCertificateDetailsTooManyRequests) String

type PostCertificateDetailsUnauthorized

type PostCertificateDetailsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPostCertificateDetailsUnauthorized

func NewPostCertificateDetailsUnauthorized() *PostCertificateDetailsUnauthorized

NewPostCertificateDetailsUnauthorized creates a PostCertificateDetailsUnauthorized with default headers values

func (*PostCertificateDetailsUnauthorized) Error

func (*PostCertificateDetailsUnauthorized) GetPayload

func (*PostCertificateDetailsUnauthorized) IsClientError

func (o *PostCertificateDetailsUnauthorized) IsClientError() bool

IsClientError returns true when this post certificate details unauthorized response has a 4xx status code

func (*PostCertificateDetailsUnauthorized) IsCode

IsCode returns true when this post certificate details unauthorized response a status code equal to that given

func (*PostCertificateDetailsUnauthorized) IsRedirect

func (o *PostCertificateDetailsUnauthorized) IsRedirect() bool

IsRedirect returns true when this post certificate details unauthorized response has a 3xx status code

func (*PostCertificateDetailsUnauthorized) IsServerError

func (o *PostCertificateDetailsUnauthorized) IsServerError() bool

IsServerError returns true when this post certificate details unauthorized response has a 5xx status code

func (*PostCertificateDetailsUnauthorized) IsSuccess

IsSuccess returns true when this post certificate details unauthorized response has a 2xx status code

func (*PostCertificateDetailsUnauthorized) String

type PostCertificateDetailsUnsupportedMediaType

type PostCertificateDetailsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostCertificateDetailsUnsupportedMediaType 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 NewPostCertificateDetailsUnsupportedMediaType

func NewPostCertificateDetailsUnsupportedMediaType() *PostCertificateDetailsUnsupportedMediaType

NewPostCertificateDetailsUnsupportedMediaType creates a PostCertificateDetailsUnsupportedMediaType with default headers values

func (*PostCertificateDetailsUnsupportedMediaType) Error

func (*PostCertificateDetailsUnsupportedMediaType) GetPayload

func (*PostCertificateDetailsUnsupportedMediaType) IsClientError

IsClientError returns true when this post certificate details unsupported media type response has a 4xx status code

func (*PostCertificateDetailsUnsupportedMediaType) IsCode

IsCode returns true when this post certificate details unsupported media type response a status code equal to that given

func (*PostCertificateDetailsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post certificate details unsupported media type response has a 3xx status code

func (*PostCertificateDetailsUnsupportedMediaType) IsServerError

IsServerError returns true when this post certificate details unsupported media type response has a 5xx status code

func (*PostCertificateDetailsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post certificate details unsupported media type response has a 2xx status code

func (*PostCertificateDetailsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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