p_cloud_events

package
v1.8.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud events API

func (*Client) PcloudEventsGet

func (a *Client) PcloudEventsGet(params *PcloudEventsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudEventsGetOK, error)

PcloudEventsGet gets a single event

func (*Client) PcloudEventsGetquery added in v1.0.54

func (a *Client) PcloudEventsGetquery(params *PcloudEventsGetqueryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudEventsGetqueryOK, error)

PcloudEventsGetquery gets events from this cloud instance since a specific timestamp

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService added in v1.1.0

type ClientService interface {
	PcloudEventsGet(params *PcloudEventsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudEventsGetOK, error)

	PcloudEventsGetquery(params *PcloudEventsGetqueryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudEventsGetqueryOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new p cloud events API client.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new p cloud events API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v1.7.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new p cloud events API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type PcloudEventsGetBadRequest

type PcloudEventsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudEventsGetBadRequest

func NewPcloudEventsGetBadRequest() *PcloudEventsGetBadRequest

NewPcloudEventsGetBadRequest creates a PcloudEventsGetBadRequest with default headers values

func (*PcloudEventsGetBadRequest) Code added in v1.2.4

func (o *PcloudEventsGetBadRequest) Code() int

Code gets the status code for the pcloud events get bad request response

func (*PcloudEventsGetBadRequest) Error

func (o *PcloudEventsGetBadRequest) Error() string

func (*PcloudEventsGetBadRequest) GetPayload added in v1.1.0

func (o *PcloudEventsGetBadRequest) GetPayload() *models.Error

func (*PcloudEventsGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudEventsGetBadRequest) IsClientError() bool

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

func (*PcloudEventsGetBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudEventsGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudEventsGetBadRequest) IsRedirect() bool

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

func (*PcloudEventsGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudEventsGetBadRequest) IsServerError() bool

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

func (*PcloudEventsGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudEventsGetBadRequest) IsSuccess() bool

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

func (*PcloudEventsGetBadRequest) String added in v1.2.2

func (o *PcloudEventsGetBadRequest) String() string

type PcloudEventsGetForbidden added in v1.2.2

type PcloudEventsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudEventsGetForbidden added in v1.2.2

func NewPcloudEventsGetForbidden() *PcloudEventsGetForbidden

NewPcloudEventsGetForbidden creates a PcloudEventsGetForbidden with default headers values

func (*PcloudEventsGetForbidden) Code added in v1.2.4

func (o *PcloudEventsGetForbidden) Code() int

Code gets the status code for the pcloud events get forbidden response

func (*PcloudEventsGetForbidden) Error added in v1.2.2

func (o *PcloudEventsGetForbidden) Error() string

func (*PcloudEventsGetForbidden) GetPayload added in v1.2.2

func (o *PcloudEventsGetForbidden) GetPayload() *models.Error

func (*PcloudEventsGetForbidden) IsClientError added in v1.2.2

func (o *PcloudEventsGetForbidden) IsClientError() bool

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

func (*PcloudEventsGetForbidden) IsCode added in v1.2.2

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

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

func (*PcloudEventsGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudEventsGetForbidden) IsRedirect() bool

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

func (*PcloudEventsGetForbidden) IsServerError added in v1.2.2

func (o *PcloudEventsGetForbidden) IsServerError() bool

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

func (*PcloudEventsGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudEventsGetForbidden) IsSuccess() bool

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

func (*PcloudEventsGetForbidden) String added in v1.2.2

func (o *PcloudEventsGetForbidden) String() string

type PcloudEventsGetInternalServerError

type PcloudEventsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudEventsGetInternalServerError

func NewPcloudEventsGetInternalServerError() *PcloudEventsGetInternalServerError

NewPcloudEventsGetInternalServerError creates a PcloudEventsGetInternalServerError with default headers values

func (*PcloudEventsGetInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud events get internal server error response

func (*PcloudEventsGetInternalServerError) Error

func (*PcloudEventsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudEventsGetInternalServerError) IsClientError added in v1.2.2

func (o *PcloudEventsGetInternalServerError) IsClientError() bool

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

func (*PcloudEventsGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudEventsGetInternalServerError) IsRedirect added in v1.2.2

func (o *PcloudEventsGetInternalServerError) IsRedirect() bool

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

func (*PcloudEventsGetInternalServerError) IsServerError added in v1.2.2

func (o *PcloudEventsGetInternalServerError) IsServerError() bool

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

func (*PcloudEventsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudEventsGetInternalServerError) String added in v1.2.2

type PcloudEventsGetNotFound

type PcloudEventsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudEventsGetNotFound

func NewPcloudEventsGetNotFound() *PcloudEventsGetNotFound

NewPcloudEventsGetNotFound creates a PcloudEventsGetNotFound with default headers values

func (*PcloudEventsGetNotFound) Code added in v1.2.4

func (o *PcloudEventsGetNotFound) Code() int

Code gets the status code for the pcloud events get not found response

func (*PcloudEventsGetNotFound) Error

func (o *PcloudEventsGetNotFound) Error() string

func (*PcloudEventsGetNotFound) GetPayload added in v1.1.0

func (o *PcloudEventsGetNotFound) GetPayload() *models.Error

func (*PcloudEventsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudEventsGetNotFound) IsClientError() bool

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

func (*PcloudEventsGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudEventsGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudEventsGetNotFound) IsRedirect() bool

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

func (*PcloudEventsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudEventsGetNotFound) IsServerError() bool

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

func (*PcloudEventsGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudEventsGetNotFound) IsSuccess() bool

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

func (*PcloudEventsGetNotFound) String added in v1.2.2

func (o *PcloudEventsGetNotFound) String() string

type PcloudEventsGetOK

type PcloudEventsGetOK struct {
	Payload *models.Event
}

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

OK

func NewPcloudEventsGetOK

func NewPcloudEventsGetOK() *PcloudEventsGetOK

NewPcloudEventsGetOK creates a PcloudEventsGetOK with default headers values

func (*PcloudEventsGetOK) Code added in v1.2.4

func (o *PcloudEventsGetOK) Code() int

Code gets the status code for the pcloud events get o k response

func (*PcloudEventsGetOK) Error

func (o *PcloudEventsGetOK) Error() string

func (*PcloudEventsGetOK) GetPayload added in v1.1.0

func (o *PcloudEventsGetOK) GetPayload() *models.Event

func (*PcloudEventsGetOK) IsClientError added in v1.2.2

func (o *PcloudEventsGetOK) IsClientError() bool

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

func (*PcloudEventsGetOK) IsCode added in v1.2.2

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

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

func (*PcloudEventsGetOK) IsRedirect added in v1.2.2

func (o *PcloudEventsGetOK) IsRedirect() bool

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

func (*PcloudEventsGetOK) IsServerError added in v1.2.2

func (o *PcloudEventsGetOK) IsServerError() bool

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

func (*PcloudEventsGetOK) IsSuccess added in v1.2.2

func (o *PcloudEventsGetOK) IsSuccess() bool

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

func (*PcloudEventsGetOK) String added in v1.2.2

func (o *PcloudEventsGetOK) String() string

type PcloudEventsGetParams

type PcloudEventsGetParams struct {

	/* AcceptLanguage.

	   The language requested for the return document
	*/
	AcceptLanguage *string

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* EventID.

	   Event ID
	*/
	EventID string

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

PcloudEventsGetParams contains all the parameters to send to the API endpoint

for the pcloud events get operation.

Typically these are written to a http.Request.

func NewPcloudEventsGetParams

func NewPcloudEventsGetParams() *PcloudEventsGetParams

NewPcloudEventsGetParams creates a new PcloudEventsGetParams 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 NewPcloudEventsGetParamsWithContext

func NewPcloudEventsGetParamsWithContext(ctx context.Context) *PcloudEventsGetParams

NewPcloudEventsGetParamsWithContext creates a new PcloudEventsGetParams object with the ability to set a context for a request.

func NewPcloudEventsGetParamsWithHTTPClient

func NewPcloudEventsGetParamsWithHTTPClient(client *http.Client) *PcloudEventsGetParams

NewPcloudEventsGetParamsWithHTTPClient creates a new PcloudEventsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudEventsGetParamsWithTimeout

func NewPcloudEventsGetParamsWithTimeout(timeout time.Duration) *PcloudEventsGetParams

NewPcloudEventsGetParamsWithTimeout creates a new PcloudEventsGetParams object with the ability to set a timeout on a request.

func (*PcloudEventsGetParams) SetAcceptLanguage

func (o *PcloudEventsGetParams) SetAcceptLanguage(acceptLanguage *string)

SetAcceptLanguage adds the acceptLanguage to the pcloud events get params

func (*PcloudEventsGetParams) SetCloudInstanceID

func (o *PcloudEventsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud events get params

func (*PcloudEventsGetParams) SetContext

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

SetContext adds the context to the pcloud events get params

func (*PcloudEventsGetParams) SetDefaults added in v1.1.0

func (o *PcloudEventsGetParams) SetDefaults()

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

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

func (*PcloudEventsGetParams) SetEventID

func (o *PcloudEventsGetParams) SetEventID(eventID string)

SetEventID adds the eventId to the pcloud events get params

func (*PcloudEventsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud events get params

func (*PcloudEventsGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud events get params

func (*PcloudEventsGetParams) WithAcceptLanguage

func (o *PcloudEventsGetParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetParams

WithAcceptLanguage adds the acceptLanguage to the pcloud events get params

func (*PcloudEventsGetParams) WithCloudInstanceID

func (o *PcloudEventsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud events get params

func (*PcloudEventsGetParams) WithContext

WithContext adds the context to the pcloud events get params

func (*PcloudEventsGetParams) WithDefaults added in v1.1.0

func (o *PcloudEventsGetParams) WithDefaults() *PcloudEventsGetParams

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

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

func (*PcloudEventsGetParams) WithEventID

func (o *PcloudEventsGetParams) WithEventID(eventID string) *PcloudEventsGetParams

WithEventID adds the eventID to the pcloud events get params

func (*PcloudEventsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pcloud events get params

func (*PcloudEventsGetParams) WithTimeout

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

WithTimeout adds the timeout to the pcloud events get params

func (*PcloudEventsGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PcloudEventsGetReader

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

PcloudEventsGetReader is a Reader for the PcloudEventsGet structure.

func (*PcloudEventsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudEventsGetUnauthorized added in v1.0.59

type PcloudEventsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudEventsGetUnauthorized added in v1.0.59

func NewPcloudEventsGetUnauthorized() *PcloudEventsGetUnauthorized

NewPcloudEventsGetUnauthorized creates a PcloudEventsGetUnauthorized with default headers values

func (*PcloudEventsGetUnauthorized) Code added in v1.4.2

func (o *PcloudEventsGetUnauthorized) Code() int

Code gets the status code for the pcloud events get unauthorized response

func (*PcloudEventsGetUnauthorized) Error added in v1.0.59

func (*PcloudEventsGetUnauthorized) GetPayload added in v1.1.0

func (o *PcloudEventsGetUnauthorized) GetPayload() *models.Error

func (*PcloudEventsGetUnauthorized) IsClientError added in v1.4.2

func (o *PcloudEventsGetUnauthorized) IsClientError() bool

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

func (*PcloudEventsGetUnauthorized) IsCode added in v1.4.2

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

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

func (*PcloudEventsGetUnauthorized) IsRedirect added in v1.4.2

func (o *PcloudEventsGetUnauthorized) IsRedirect() bool

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

func (*PcloudEventsGetUnauthorized) IsServerError added in v1.4.2

func (o *PcloudEventsGetUnauthorized) IsServerError() bool

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

func (*PcloudEventsGetUnauthorized) IsSuccess added in v1.4.2

func (o *PcloudEventsGetUnauthorized) IsSuccess() bool

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

func (*PcloudEventsGetUnauthorized) String added in v1.4.2

func (o *PcloudEventsGetUnauthorized) String() string

type PcloudEventsGetqueryBadRequest added in v1.0.54

type PcloudEventsGetqueryBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudEventsGetqueryBadRequest added in v1.0.54

func NewPcloudEventsGetqueryBadRequest() *PcloudEventsGetqueryBadRequest

NewPcloudEventsGetqueryBadRequest creates a PcloudEventsGetqueryBadRequest with default headers values

func (*PcloudEventsGetqueryBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud events getquery bad request response

func (*PcloudEventsGetqueryBadRequest) Error added in v1.0.54

func (*PcloudEventsGetqueryBadRequest) GetPayload added in v1.1.0

func (o *PcloudEventsGetqueryBadRequest) GetPayload() *models.Error

func (*PcloudEventsGetqueryBadRequest) IsClientError added in v1.2.2

func (o *PcloudEventsGetqueryBadRequest) IsClientError() bool

IsClientError returns true when this pcloud events getquery bad request response has a 4xx status code

func (*PcloudEventsGetqueryBadRequest) IsCode added in v1.2.2

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

IsCode returns true when this pcloud events getquery bad request response a status code equal to that given

func (*PcloudEventsGetqueryBadRequest) IsRedirect added in v1.2.2

func (o *PcloudEventsGetqueryBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud events getquery bad request response has a 3xx status code

func (*PcloudEventsGetqueryBadRequest) IsServerError added in v1.2.2

func (o *PcloudEventsGetqueryBadRequest) IsServerError() bool

IsServerError returns true when this pcloud events getquery bad request response has a 5xx status code

func (*PcloudEventsGetqueryBadRequest) IsSuccess added in v1.2.2

func (o *PcloudEventsGetqueryBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud events getquery bad request response has a 2xx status code

func (*PcloudEventsGetqueryBadRequest) String added in v1.2.2

type PcloudEventsGetqueryForbidden added in v1.2.2

type PcloudEventsGetqueryForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudEventsGetqueryForbidden added in v1.2.2

func NewPcloudEventsGetqueryForbidden() *PcloudEventsGetqueryForbidden

NewPcloudEventsGetqueryForbidden creates a PcloudEventsGetqueryForbidden with default headers values

func (*PcloudEventsGetqueryForbidden) Code added in v1.2.4

Code gets the status code for the pcloud events getquery forbidden response

func (*PcloudEventsGetqueryForbidden) Error added in v1.2.2

func (*PcloudEventsGetqueryForbidden) GetPayload added in v1.2.2

func (o *PcloudEventsGetqueryForbidden) GetPayload() *models.Error

func (*PcloudEventsGetqueryForbidden) IsClientError added in v1.2.2

func (o *PcloudEventsGetqueryForbidden) IsClientError() bool

IsClientError returns true when this pcloud events getquery forbidden response has a 4xx status code

func (*PcloudEventsGetqueryForbidden) IsCode added in v1.2.2

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

IsCode returns true when this pcloud events getquery forbidden response a status code equal to that given

func (*PcloudEventsGetqueryForbidden) IsRedirect added in v1.2.2

func (o *PcloudEventsGetqueryForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud events getquery forbidden response has a 3xx status code

func (*PcloudEventsGetqueryForbidden) IsServerError added in v1.2.2

func (o *PcloudEventsGetqueryForbidden) IsServerError() bool

IsServerError returns true when this pcloud events getquery forbidden response has a 5xx status code

func (*PcloudEventsGetqueryForbidden) IsSuccess added in v1.2.2

func (o *PcloudEventsGetqueryForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud events getquery forbidden response has a 2xx status code

func (*PcloudEventsGetqueryForbidden) String added in v1.2.2

type PcloudEventsGetqueryInternalServerError added in v1.0.54

type PcloudEventsGetqueryInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudEventsGetqueryInternalServerError added in v1.0.54

func NewPcloudEventsGetqueryInternalServerError() *PcloudEventsGetqueryInternalServerError

NewPcloudEventsGetqueryInternalServerError creates a PcloudEventsGetqueryInternalServerError with default headers values

func (*PcloudEventsGetqueryInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud events getquery internal server error response

func (*PcloudEventsGetqueryInternalServerError) Error added in v1.0.54

func (*PcloudEventsGetqueryInternalServerError) GetPayload added in v1.1.0

func (*PcloudEventsGetqueryInternalServerError) IsClientError added in v1.2.2

func (o *PcloudEventsGetqueryInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud events getquery internal server error response has a 4xx status code

func (*PcloudEventsGetqueryInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud events getquery internal server error response a status code equal to that given

func (*PcloudEventsGetqueryInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud events getquery internal server error response has a 3xx status code

func (*PcloudEventsGetqueryInternalServerError) IsServerError added in v1.2.2

func (o *PcloudEventsGetqueryInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud events getquery internal server error response has a 5xx status code

func (*PcloudEventsGetqueryInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud events getquery internal server error response has a 2xx status code

func (*PcloudEventsGetqueryInternalServerError) String added in v1.2.2

type PcloudEventsGetqueryNotFound added in v1.4.2

type PcloudEventsGetqueryNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudEventsGetqueryNotFound added in v1.4.2

func NewPcloudEventsGetqueryNotFound() *PcloudEventsGetqueryNotFound

NewPcloudEventsGetqueryNotFound creates a PcloudEventsGetqueryNotFound with default headers values

func (*PcloudEventsGetqueryNotFound) Code added in v1.4.2

Code gets the status code for the pcloud events getquery not found response

func (*PcloudEventsGetqueryNotFound) Error added in v1.4.2

func (*PcloudEventsGetqueryNotFound) GetPayload added in v1.4.2

func (o *PcloudEventsGetqueryNotFound) GetPayload() *models.Error

func (*PcloudEventsGetqueryNotFound) IsClientError added in v1.4.2

func (o *PcloudEventsGetqueryNotFound) IsClientError() bool

IsClientError returns true when this pcloud events getquery not found response has a 4xx status code

func (*PcloudEventsGetqueryNotFound) IsCode added in v1.4.2

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

IsCode returns true when this pcloud events getquery not found response a status code equal to that given

func (*PcloudEventsGetqueryNotFound) IsRedirect added in v1.4.2

func (o *PcloudEventsGetqueryNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud events getquery not found response has a 3xx status code

func (*PcloudEventsGetqueryNotFound) IsServerError added in v1.4.2

func (o *PcloudEventsGetqueryNotFound) IsServerError() bool

IsServerError returns true when this pcloud events getquery not found response has a 5xx status code

func (*PcloudEventsGetqueryNotFound) IsSuccess added in v1.4.2

func (o *PcloudEventsGetqueryNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud events getquery not found response has a 2xx status code

func (*PcloudEventsGetqueryNotFound) String added in v1.4.2

type PcloudEventsGetqueryOK added in v1.0.54

type PcloudEventsGetqueryOK struct {
	Payload *models.Events
}

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

OK

func NewPcloudEventsGetqueryOK added in v1.0.54

func NewPcloudEventsGetqueryOK() *PcloudEventsGetqueryOK

NewPcloudEventsGetqueryOK creates a PcloudEventsGetqueryOK with default headers values

func (*PcloudEventsGetqueryOK) Code added in v1.2.4

func (o *PcloudEventsGetqueryOK) Code() int

Code gets the status code for the pcloud events getquery o k response

func (*PcloudEventsGetqueryOK) Error added in v1.0.54

func (o *PcloudEventsGetqueryOK) Error() string

func (*PcloudEventsGetqueryOK) GetPayload added in v1.1.0

func (o *PcloudEventsGetqueryOK) GetPayload() *models.Events

func (*PcloudEventsGetqueryOK) IsClientError added in v1.2.2

func (o *PcloudEventsGetqueryOK) IsClientError() bool

IsClientError returns true when this pcloud events getquery o k response has a 4xx status code

func (*PcloudEventsGetqueryOK) IsCode added in v1.2.2

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

IsCode returns true when this pcloud events getquery o k response a status code equal to that given

func (*PcloudEventsGetqueryOK) IsRedirect added in v1.2.2

func (o *PcloudEventsGetqueryOK) IsRedirect() bool

IsRedirect returns true when this pcloud events getquery o k response has a 3xx status code

func (*PcloudEventsGetqueryOK) IsServerError added in v1.2.2

func (o *PcloudEventsGetqueryOK) IsServerError() bool

IsServerError returns true when this pcloud events getquery o k response has a 5xx status code

func (*PcloudEventsGetqueryOK) IsSuccess added in v1.2.2

func (o *PcloudEventsGetqueryOK) IsSuccess() bool

IsSuccess returns true when this pcloud events getquery o k response has a 2xx status code

func (*PcloudEventsGetqueryOK) String added in v1.2.2

func (o *PcloudEventsGetqueryOK) String() string

type PcloudEventsGetqueryParams added in v1.0.54

type PcloudEventsGetqueryParams struct {

	/* AcceptLanguage.

	   The language requested for the return document
	*/
	AcceptLanguage *string

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* FromTime.

	   A from query time in either ISO 8601 or unix epoch format
	*/
	FromTime *string

	/* Time.

	   (deprecated - use from_time) A time in either ISO 8601 or unix epoch format
	*/
	Time *string

	/* ToTime.

	   A to query time in either ISO 8601 or unix epoch format
	*/
	ToTime *string

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

PcloudEventsGetqueryParams contains all the parameters to send to the API endpoint

for the pcloud events getquery operation.

Typically these are written to a http.Request.

func NewPcloudEventsGetqueryParams added in v1.0.54

func NewPcloudEventsGetqueryParams() *PcloudEventsGetqueryParams

NewPcloudEventsGetqueryParams creates a new PcloudEventsGetqueryParams 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 NewPcloudEventsGetqueryParamsWithContext added in v1.0.54

func NewPcloudEventsGetqueryParamsWithContext(ctx context.Context) *PcloudEventsGetqueryParams

NewPcloudEventsGetqueryParamsWithContext creates a new PcloudEventsGetqueryParams object with the ability to set a context for a request.

func NewPcloudEventsGetqueryParamsWithHTTPClient added in v1.0.54

func NewPcloudEventsGetqueryParamsWithHTTPClient(client *http.Client) *PcloudEventsGetqueryParams

NewPcloudEventsGetqueryParamsWithHTTPClient creates a new PcloudEventsGetqueryParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudEventsGetqueryParamsWithTimeout added in v1.0.54

func NewPcloudEventsGetqueryParamsWithTimeout(timeout time.Duration) *PcloudEventsGetqueryParams

NewPcloudEventsGetqueryParamsWithTimeout creates a new PcloudEventsGetqueryParams object with the ability to set a timeout on a request.

func (*PcloudEventsGetqueryParams) SetAcceptLanguage added in v1.0.54

func (o *PcloudEventsGetqueryParams) SetAcceptLanguage(acceptLanguage *string)

SetAcceptLanguage adds the acceptLanguage to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetCloudInstanceID added in v1.0.54

func (o *PcloudEventsGetqueryParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetContext added in v1.0.54

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

SetContext adds the context to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetDefaults added in v1.1.0

func (o *PcloudEventsGetqueryParams) SetDefaults()

SetDefaults hydrates default values in the pcloud events getquery params (not the query body).

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

func (*PcloudEventsGetqueryParams) SetFromTime added in v1.0.54

func (o *PcloudEventsGetqueryParams) SetFromTime(fromTime *string)

SetFromTime adds the fromTime to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetHTTPClient added in v1.0.54

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

SetHTTPClient adds the HTTPClient to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetTime added in v1.0.54

func (o *PcloudEventsGetqueryParams) SetTime(time *string)

SetTime adds the time to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetTimeout added in v1.0.54

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

SetTimeout adds the timeout to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) SetToTime added in v1.0.54

func (o *PcloudEventsGetqueryParams) SetToTime(toTime *string)

SetToTime adds the toTime to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithAcceptLanguage added in v1.0.54

func (o *PcloudEventsGetqueryParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetqueryParams

WithAcceptLanguage adds the acceptLanguage to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithCloudInstanceID added in v1.0.54

func (o *PcloudEventsGetqueryParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetqueryParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithContext added in v1.0.54

WithContext adds the context to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud events getquery params (not the query body).

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

func (*PcloudEventsGetqueryParams) WithFromTime added in v1.0.54

func (o *PcloudEventsGetqueryParams) WithFromTime(fromTime *string) *PcloudEventsGetqueryParams

WithFromTime adds the fromTime to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithHTTPClient added in v1.0.54

WithHTTPClient adds the HTTPClient to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithTime added in v1.0.54

WithTime adds the time to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithTimeout added in v1.0.54

WithTimeout adds the timeout to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WithToTime added in v1.0.54

WithToTime adds the toTime to the pcloud events getquery params

func (*PcloudEventsGetqueryParams) WriteToRequest added in v1.0.54

WriteToRequest writes these params to a swagger request

type PcloudEventsGetqueryReader added in v1.0.54

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

PcloudEventsGetqueryReader is a Reader for the PcloudEventsGetquery structure.

func (*PcloudEventsGetqueryReader) ReadResponse added in v1.0.54

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

ReadResponse reads a server response into the received o.

type PcloudEventsGetqueryUnauthorized added in v1.0.59

type PcloudEventsGetqueryUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudEventsGetqueryUnauthorized added in v1.0.59

func NewPcloudEventsGetqueryUnauthorized() *PcloudEventsGetqueryUnauthorized

NewPcloudEventsGetqueryUnauthorized creates a PcloudEventsGetqueryUnauthorized with default headers values

func (*PcloudEventsGetqueryUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud events getquery unauthorized response

func (*PcloudEventsGetqueryUnauthorized) Error added in v1.0.59

func (*PcloudEventsGetqueryUnauthorized) GetPayload added in v1.1.0

func (*PcloudEventsGetqueryUnauthorized) IsClientError added in v1.2.2

func (o *PcloudEventsGetqueryUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud events getquery unauthorized response has a 4xx status code

func (*PcloudEventsGetqueryUnauthorized) IsCode added in v1.2.2

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

IsCode returns true when this pcloud events getquery unauthorized response a status code equal to that given

func (*PcloudEventsGetqueryUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudEventsGetqueryUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud events getquery unauthorized response has a 3xx status code

func (*PcloudEventsGetqueryUnauthorized) IsServerError added in v1.2.2

func (o *PcloudEventsGetqueryUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud events getquery unauthorized response has a 5xx status code

func (*PcloudEventsGetqueryUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudEventsGetqueryUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud events getquery unauthorized response has a 2xx status code

func (*PcloudEventsGetqueryUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

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