Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudEventsGet(params *PcloudEventsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudEventsGetOK, error)
- func (a *Client) PcloudEventsGetquery(params *PcloudEventsGetqueryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudEventsGetqueryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudEventsGetBadRequest
- func (o *PcloudEventsGetBadRequest) Code() int
- func (o *PcloudEventsGetBadRequest) Error() string
- func (o *PcloudEventsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudEventsGetBadRequest) IsClientError() bool
- func (o *PcloudEventsGetBadRequest) IsCode(code int) bool
- func (o *PcloudEventsGetBadRequest) IsRedirect() bool
- func (o *PcloudEventsGetBadRequest) IsServerError() bool
- func (o *PcloudEventsGetBadRequest) IsSuccess() bool
- func (o *PcloudEventsGetBadRequest) String() string
- type PcloudEventsGetForbidden
- func (o *PcloudEventsGetForbidden) Code() int
- func (o *PcloudEventsGetForbidden) Error() string
- func (o *PcloudEventsGetForbidden) GetPayload() *models.Error
- func (o *PcloudEventsGetForbidden) IsClientError() bool
- func (o *PcloudEventsGetForbidden) IsCode(code int) bool
- func (o *PcloudEventsGetForbidden) IsRedirect() bool
- func (o *PcloudEventsGetForbidden) IsServerError() bool
- func (o *PcloudEventsGetForbidden) IsSuccess() bool
- func (o *PcloudEventsGetForbidden) String() string
- type PcloudEventsGetInternalServerError
- func (o *PcloudEventsGetInternalServerError) Code() int
- func (o *PcloudEventsGetInternalServerError) Error() string
- func (o *PcloudEventsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudEventsGetInternalServerError) IsClientError() bool
- func (o *PcloudEventsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudEventsGetInternalServerError) IsRedirect() bool
- func (o *PcloudEventsGetInternalServerError) IsServerError() bool
- func (o *PcloudEventsGetInternalServerError) IsSuccess() bool
- func (o *PcloudEventsGetInternalServerError) String() string
- type PcloudEventsGetNotFound
- func (o *PcloudEventsGetNotFound) Code() int
- func (o *PcloudEventsGetNotFound) Error() string
- func (o *PcloudEventsGetNotFound) GetPayload() *models.Error
- func (o *PcloudEventsGetNotFound) IsClientError() bool
- func (o *PcloudEventsGetNotFound) IsCode(code int) bool
- func (o *PcloudEventsGetNotFound) IsRedirect() bool
- func (o *PcloudEventsGetNotFound) IsServerError() bool
- func (o *PcloudEventsGetNotFound) IsSuccess() bool
- func (o *PcloudEventsGetNotFound) String() string
- type PcloudEventsGetOK
- func (o *PcloudEventsGetOK) Code() int
- func (o *PcloudEventsGetOK) Error() string
- func (o *PcloudEventsGetOK) GetPayload() *models.Event
- func (o *PcloudEventsGetOK) IsClientError() bool
- func (o *PcloudEventsGetOK) IsCode(code int) bool
- func (o *PcloudEventsGetOK) IsRedirect() bool
- func (o *PcloudEventsGetOK) IsServerError() bool
- func (o *PcloudEventsGetOK) IsSuccess() bool
- func (o *PcloudEventsGetOK) String() string
- type PcloudEventsGetParams
- func NewPcloudEventsGetParams() *PcloudEventsGetParams
- func NewPcloudEventsGetParamsWithContext(ctx context.Context) *PcloudEventsGetParams
- func NewPcloudEventsGetParamsWithHTTPClient(client *http.Client) *PcloudEventsGetParams
- func NewPcloudEventsGetParamsWithTimeout(timeout time.Duration) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *PcloudEventsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudEventsGetParams) SetContext(ctx context.Context)
- func (o *PcloudEventsGetParams) SetDefaults()
- func (o *PcloudEventsGetParams) SetEventID(eventID string)
- func (o *PcloudEventsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudEventsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudEventsGetParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithContext(ctx context.Context) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithDefaults() *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithEventID(eventID string) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithHTTPClient(client *http.Client) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WithTimeout(timeout time.Duration) *PcloudEventsGetParams
- func (o *PcloudEventsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudEventsGetReader
- type PcloudEventsGetqueryBadRequest
- func (o *PcloudEventsGetqueryBadRequest) Code() int
- func (o *PcloudEventsGetqueryBadRequest) Error() string
- func (o *PcloudEventsGetqueryBadRequest) GetPayload() *models.Error
- func (o *PcloudEventsGetqueryBadRequest) IsClientError() bool
- func (o *PcloudEventsGetqueryBadRequest) IsCode(code int) bool
- func (o *PcloudEventsGetqueryBadRequest) IsRedirect() bool
- func (o *PcloudEventsGetqueryBadRequest) IsServerError() bool
- func (o *PcloudEventsGetqueryBadRequest) IsSuccess() bool
- func (o *PcloudEventsGetqueryBadRequest) String() string
- type PcloudEventsGetqueryForbidden
- func (o *PcloudEventsGetqueryForbidden) Code() int
- func (o *PcloudEventsGetqueryForbidden) Error() string
- func (o *PcloudEventsGetqueryForbidden) GetPayload() *models.Error
- func (o *PcloudEventsGetqueryForbidden) IsClientError() bool
- func (o *PcloudEventsGetqueryForbidden) IsCode(code int) bool
- func (o *PcloudEventsGetqueryForbidden) IsRedirect() bool
- func (o *PcloudEventsGetqueryForbidden) IsServerError() bool
- func (o *PcloudEventsGetqueryForbidden) IsSuccess() bool
- func (o *PcloudEventsGetqueryForbidden) String() string
- type PcloudEventsGetqueryInternalServerError
- func (o *PcloudEventsGetqueryInternalServerError) Code() int
- func (o *PcloudEventsGetqueryInternalServerError) Error() string
- func (o *PcloudEventsGetqueryInternalServerError) GetPayload() *models.Error
- func (o *PcloudEventsGetqueryInternalServerError) IsClientError() bool
- func (o *PcloudEventsGetqueryInternalServerError) IsCode(code int) bool
- func (o *PcloudEventsGetqueryInternalServerError) IsRedirect() bool
- func (o *PcloudEventsGetqueryInternalServerError) IsServerError() bool
- func (o *PcloudEventsGetqueryInternalServerError) IsSuccess() bool
- func (o *PcloudEventsGetqueryInternalServerError) String() string
- type PcloudEventsGetqueryOK
- func (o *PcloudEventsGetqueryOK) Code() int
- func (o *PcloudEventsGetqueryOK) Error() string
- func (o *PcloudEventsGetqueryOK) GetPayload() *models.Events
- func (o *PcloudEventsGetqueryOK) IsClientError() bool
- func (o *PcloudEventsGetqueryOK) IsCode(code int) bool
- func (o *PcloudEventsGetqueryOK) IsRedirect() bool
- func (o *PcloudEventsGetqueryOK) IsServerError() bool
- func (o *PcloudEventsGetqueryOK) IsSuccess() bool
- func (o *PcloudEventsGetqueryOK) String() string
- type PcloudEventsGetqueryParams
- func NewPcloudEventsGetqueryParams() *PcloudEventsGetqueryParams
- func NewPcloudEventsGetqueryParamsWithContext(ctx context.Context) *PcloudEventsGetqueryParams
- func NewPcloudEventsGetqueryParamsWithHTTPClient(client *http.Client) *PcloudEventsGetqueryParams
- func NewPcloudEventsGetqueryParamsWithTimeout(timeout time.Duration) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *PcloudEventsGetqueryParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudEventsGetqueryParams) SetContext(ctx context.Context)
- func (o *PcloudEventsGetqueryParams) SetDefaults()
- func (o *PcloudEventsGetqueryParams) SetFromTime(fromTime *string)
- func (o *PcloudEventsGetqueryParams) SetHTTPClient(client *http.Client)
- func (o *PcloudEventsGetqueryParams) SetTime(time *string)
- func (o *PcloudEventsGetqueryParams) SetTimeout(timeout time.Duration)
- func (o *PcloudEventsGetqueryParams) SetToTime(toTime *string)
- func (o *PcloudEventsGetqueryParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithContext(ctx context.Context) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithDefaults() *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithFromTime(fromTime *string) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithHTTPClient(client *http.Client) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithTime(time *string) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithTimeout(timeout time.Duration) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WithToTime(toTime *string) *PcloudEventsGetqueryParams
- func (o *PcloudEventsGetqueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudEventsGetqueryReader
- type PcloudEventsGetqueryUnauthorized
- func (o *PcloudEventsGetqueryUnauthorized) Code() int
- func (o *PcloudEventsGetqueryUnauthorized) Error() string
- func (o *PcloudEventsGetqueryUnauthorized) GetPayload() *models.Error
- func (o *PcloudEventsGetqueryUnauthorized) IsClientError() bool
- func (o *PcloudEventsGetqueryUnauthorized) IsCode(code int) bool
- func (o *PcloudEventsGetqueryUnauthorized) IsRedirect() bool
- func (o *PcloudEventsGetqueryUnauthorized) IsServerError() bool
- func (o *PcloudEventsGetqueryUnauthorized) IsSuccess() bool
- func (o *PcloudEventsGetqueryUnauthorized) String() string
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 ¶
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 ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
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.
type PcloudEventsGetBadRequest ¶
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 ¶
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 ¶
func (o *PcloudEventsGetBadRequest) GetPayload() *models.Error
func (*PcloudEventsGetBadRequest) IsClientError ¶
func (o *PcloudEventsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud events get bad request response has a 4xx status code
func (*PcloudEventsGetBadRequest) IsCode ¶
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 ¶
func (o *PcloudEventsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud events get bad request response has a 3xx status code
func (*PcloudEventsGetBadRequest) IsServerError ¶
func (o *PcloudEventsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud events get bad request response has a 5xx status code
func (*PcloudEventsGetBadRequest) IsSuccess ¶
func (o *PcloudEventsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud events get bad request response has a 2xx status code
func (*PcloudEventsGetBadRequest) String ¶
func (o *PcloudEventsGetBadRequest) String() string
type PcloudEventsGetForbidden ¶
PcloudEventsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudEventsGetForbidden ¶
func NewPcloudEventsGetForbidden() *PcloudEventsGetForbidden
NewPcloudEventsGetForbidden creates a PcloudEventsGetForbidden with default headers values
func (*PcloudEventsGetForbidden) Code ¶
func (o *PcloudEventsGetForbidden) Code() int
Code gets the status code for the pcloud events get forbidden response
func (*PcloudEventsGetForbidden) Error ¶
func (o *PcloudEventsGetForbidden) Error() string
func (*PcloudEventsGetForbidden) GetPayload ¶
func (o *PcloudEventsGetForbidden) GetPayload() *models.Error
func (*PcloudEventsGetForbidden) IsClientError ¶
func (o *PcloudEventsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud events get forbidden response has a 4xx status code
func (*PcloudEventsGetForbidden) IsCode ¶
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 ¶
func (o *PcloudEventsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud events get forbidden response has a 3xx status code
func (*PcloudEventsGetForbidden) IsServerError ¶
func (o *PcloudEventsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud events get forbidden response has a 5xx status code
func (*PcloudEventsGetForbidden) IsSuccess ¶
func (o *PcloudEventsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud events get forbidden response has a 2xx status code
func (*PcloudEventsGetForbidden) String ¶
func (o *PcloudEventsGetForbidden) String() string
type PcloudEventsGetInternalServerError ¶
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 ¶
func (o *PcloudEventsGetInternalServerError) Code() int
Code gets the status code for the pcloud events get internal server error response
func (*PcloudEventsGetInternalServerError) Error ¶
func (o *PcloudEventsGetInternalServerError) Error() string
func (*PcloudEventsGetInternalServerError) GetPayload ¶
func (o *PcloudEventsGetInternalServerError) GetPayload() *models.Error
func (*PcloudEventsGetInternalServerError) IsClientError ¶
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 ¶
func (o *PcloudEventsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud events get internal server error response a status code equal to that given
func (*PcloudEventsGetInternalServerError) IsRedirect ¶
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 ¶
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 ¶
func (o *PcloudEventsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud events get internal server error response has a 2xx status code
func (*PcloudEventsGetInternalServerError) String ¶
func (o *PcloudEventsGetInternalServerError) String() string
type PcloudEventsGetNotFound ¶
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 ¶
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 ¶
func (o *PcloudEventsGetNotFound) GetPayload() *models.Error
func (*PcloudEventsGetNotFound) IsClientError ¶
func (o *PcloudEventsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud events get not found response has a 4xx status code
func (*PcloudEventsGetNotFound) IsCode ¶
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 ¶
func (o *PcloudEventsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud events get not found response has a 3xx status code
func (*PcloudEventsGetNotFound) IsServerError ¶
func (o *PcloudEventsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud events get not found response has a 5xx status code
func (*PcloudEventsGetNotFound) IsSuccess ¶
func (o *PcloudEventsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud events get not found response has a 2xx status code
func (*PcloudEventsGetNotFound) String ¶
func (o *PcloudEventsGetNotFound) String() string
type PcloudEventsGetOK ¶
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 ¶
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 ¶
func (o *PcloudEventsGetOK) GetPayload() *models.Event
func (*PcloudEventsGetOK) IsClientError ¶
func (o *PcloudEventsGetOK) IsClientError() bool
IsClientError returns true when this pcloud events get o k response has a 4xx status code
func (*PcloudEventsGetOK) IsCode ¶
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 ¶
func (o *PcloudEventsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud events get o k response has a 3xx status code
func (*PcloudEventsGetOK) IsServerError ¶
func (o *PcloudEventsGetOK) IsServerError() bool
IsServerError returns true when this pcloud events get o k response has a 5xx status code
func (*PcloudEventsGetOK) IsSuccess ¶
func (o *PcloudEventsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud events get o k response has a 2xx status code
func (*PcloudEventsGetOK) String ¶
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 ¶
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 ¶
func (o *PcloudEventsGetParams) WithContext(ctx context.Context) *PcloudEventsGetParams
WithContext adds the context to the pcloud events get params
func (*PcloudEventsGetParams) WithDefaults ¶
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 PcloudEventsGetqueryBadRequest ¶
PcloudEventsGetqueryBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudEventsGetqueryBadRequest ¶
func NewPcloudEventsGetqueryBadRequest() *PcloudEventsGetqueryBadRequest
NewPcloudEventsGetqueryBadRequest creates a PcloudEventsGetqueryBadRequest with default headers values
func (*PcloudEventsGetqueryBadRequest) Code ¶
func (o *PcloudEventsGetqueryBadRequest) Code() int
Code gets the status code for the pcloud events getquery bad request response
func (*PcloudEventsGetqueryBadRequest) Error ¶
func (o *PcloudEventsGetqueryBadRequest) Error() string
func (*PcloudEventsGetqueryBadRequest) GetPayload ¶
func (o *PcloudEventsGetqueryBadRequest) GetPayload() *models.Error
func (*PcloudEventsGetqueryBadRequest) IsClientError ¶
func (o *PcloudEventsGetqueryBadRequest) IsClientError() bool
IsClientError returns true when this pcloud events getquery bad request response has a 4xx status code
func (*PcloudEventsGetqueryBadRequest) IsCode ¶
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 ¶
func (o *PcloudEventsGetqueryBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud events getquery bad request response has a 3xx status code
func (*PcloudEventsGetqueryBadRequest) IsServerError ¶
func (o *PcloudEventsGetqueryBadRequest) IsServerError() bool
IsServerError returns true when this pcloud events getquery bad request response has a 5xx status code
func (*PcloudEventsGetqueryBadRequest) IsSuccess ¶
func (o *PcloudEventsGetqueryBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud events getquery bad request response has a 2xx status code
func (*PcloudEventsGetqueryBadRequest) String ¶
func (o *PcloudEventsGetqueryBadRequest) String() string
type PcloudEventsGetqueryForbidden ¶
PcloudEventsGetqueryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudEventsGetqueryForbidden ¶
func NewPcloudEventsGetqueryForbidden() *PcloudEventsGetqueryForbidden
NewPcloudEventsGetqueryForbidden creates a PcloudEventsGetqueryForbidden with default headers values
func (*PcloudEventsGetqueryForbidden) Code ¶
func (o *PcloudEventsGetqueryForbidden) Code() int
Code gets the status code for the pcloud events getquery forbidden response
func (*PcloudEventsGetqueryForbidden) Error ¶
func (o *PcloudEventsGetqueryForbidden) Error() string
func (*PcloudEventsGetqueryForbidden) GetPayload ¶
func (o *PcloudEventsGetqueryForbidden) GetPayload() *models.Error
func (*PcloudEventsGetqueryForbidden) IsClientError ¶
func (o *PcloudEventsGetqueryForbidden) IsClientError() bool
IsClientError returns true when this pcloud events getquery forbidden response has a 4xx status code
func (*PcloudEventsGetqueryForbidden) IsCode ¶
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 ¶
func (o *PcloudEventsGetqueryForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud events getquery forbidden response has a 3xx status code
func (*PcloudEventsGetqueryForbidden) IsServerError ¶
func (o *PcloudEventsGetqueryForbidden) IsServerError() bool
IsServerError returns true when this pcloud events getquery forbidden response has a 5xx status code
func (*PcloudEventsGetqueryForbidden) IsSuccess ¶
func (o *PcloudEventsGetqueryForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud events getquery forbidden response has a 2xx status code
func (*PcloudEventsGetqueryForbidden) String ¶
func (o *PcloudEventsGetqueryForbidden) String() string
type PcloudEventsGetqueryInternalServerError ¶
PcloudEventsGetqueryInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudEventsGetqueryInternalServerError ¶
func NewPcloudEventsGetqueryInternalServerError() *PcloudEventsGetqueryInternalServerError
NewPcloudEventsGetqueryInternalServerError creates a PcloudEventsGetqueryInternalServerError with default headers values
func (*PcloudEventsGetqueryInternalServerError) Code ¶
func (o *PcloudEventsGetqueryInternalServerError) Code() int
Code gets the status code for the pcloud events getquery internal server error response
func (*PcloudEventsGetqueryInternalServerError) Error ¶
func (o *PcloudEventsGetqueryInternalServerError) Error() string
func (*PcloudEventsGetqueryInternalServerError) GetPayload ¶
func (o *PcloudEventsGetqueryInternalServerError) GetPayload() *models.Error
func (*PcloudEventsGetqueryInternalServerError) IsClientError ¶
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 ¶
func (o *PcloudEventsGetqueryInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud events getquery internal server error response a status code equal to that given
func (*PcloudEventsGetqueryInternalServerError) IsRedirect ¶
func (o *PcloudEventsGetqueryInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud events getquery internal server error response has a 3xx status code
func (*PcloudEventsGetqueryInternalServerError) IsServerError ¶
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 ¶
func (o *PcloudEventsGetqueryInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud events getquery internal server error response has a 2xx status code
func (*PcloudEventsGetqueryInternalServerError) String ¶
func (o *PcloudEventsGetqueryInternalServerError) String() string
type PcloudEventsGetqueryOK ¶
PcloudEventsGetqueryOK describes a response with status code 200, with default header values.
OK
func NewPcloudEventsGetqueryOK ¶
func NewPcloudEventsGetqueryOK() *PcloudEventsGetqueryOK
NewPcloudEventsGetqueryOK creates a PcloudEventsGetqueryOK with default headers values
func (*PcloudEventsGetqueryOK) Code ¶
func (o *PcloudEventsGetqueryOK) Code() int
Code gets the status code for the pcloud events getquery o k response
func (*PcloudEventsGetqueryOK) Error ¶
func (o *PcloudEventsGetqueryOK) Error() string
func (*PcloudEventsGetqueryOK) GetPayload ¶
func (o *PcloudEventsGetqueryOK) GetPayload() *models.Events
func (*PcloudEventsGetqueryOK) IsClientError ¶
func (o *PcloudEventsGetqueryOK) IsClientError() bool
IsClientError returns true when this pcloud events getquery o k response has a 4xx status code
func (*PcloudEventsGetqueryOK) IsCode ¶
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 ¶
func (o *PcloudEventsGetqueryOK) IsRedirect() bool
IsRedirect returns true when this pcloud events getquery o k response has a 3xx status code
func (*PcloudEventsGetqueryOK) IsServerError ¶
func (o *PcloudEventsGetqueryOK) IsServerError() bool
IsServerError returns true when this pcloud events getquery o k response has a 5xx status code
func (*PcloudEventsGetqueryOK) IsSuccess ¶
func (o *PcloudEventsGetqueryOK) IsSuccess() bool
IsSuccess returns true when this pcloud events getquery o k response has a 2xx status code
func (*PcloudEventsGetqueryOK) String ¶
func (o *PcloudEventsGetqueryOK) String() string
type PcloudEventsGetqueryParams ¶
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 ¶
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 ¶
func NewPcloudEventsGetqueryParamsWithContext(ctx context.Context) *PcloudEventsGetqueryParams
NewPcloudEventsGetqueryParamsWithContext creates a new PcloudEventsGetqueryParams object with the ability to set a context for a request.
func NewPcloudEventsGetqueryParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *PcloudEventsGetqueryParams) SetAcceptLanguage(acceptLanguage *string)
SetAcceptLanguage adds the acceptLanguage to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetCloudInstanceID ¶
func (o *PcloudEventsGetqueryParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetContext ¶
func (o *PcloudEventsGetqueryParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetDefaults ¶
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 ¶
func (o *PcloudEventsGetqueryParams) SetFromTime(fromTime *string)
SetFromTime adds the fromTime to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetHTTPClient ¶
func (o *PcloudEventsGetqueryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetTime ¶
func (o *PcloudEventsGetqueryParams) SetTime(time *string)
SetTime adds the time to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetTimeout ¶
func (o *PcloudEventsGetqueryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) SetToTime ¶
func (o *PcloudEventsGetqueryParams) SetToTime(toTime *string)
SetToTime adds the toTime to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithAcceptLanguage ¶
func (o *PcloudEventsGetqueryParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetqueryParams
WithAcceptLanguage adds the acceptLanguage to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithCloudInstanceID ¶
func (o *PcloudEventsGetqueryParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetqueryParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithContext ¶
func (o *PcloudEventsGetqueryParams) WithContext(ctx context.Context) *PcloudEventsGetqueryParams
WithContext adds the context to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithDefaults ¶
func (o *PcloudEventsGetqueryParams) WithDefaults() *PcloudEventsGetqueryParams
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 ¶
func (o *PcloudEventsGetqueryParams) WithFromTime(fromTime *string) *PcloudEventsGetqueryParams
WithFromTime adds the fromTime to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithHTTPClient ¶
func (o *PcloudEventsGetqueryParams) WithHTTPClient(client *http.Client) *PcloudEventsGetqueryParams
WithHTTPClient adds the HTTPClient to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithTime ¶
func (o *PcloudEventsGetqueryParams) WithTime(time *string) *PcloudEventsGetqueryParams
WithTime adds the time to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithTimeout ¶
func (o *PcloudEventsGetqueryParams) WithTimeout(timeout time.Duration) *PcloudEventsGetqueryParams
WithTimeout adds the timeout to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithToTime ¶
func (o *PcloudEventsGetqueryParams) WithToTime(toTime *string) *PcloudEventsGetqueryParams
WithToTime adds the toTime to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WriteToRequest ¶
func (o *PcloudEventsGetqueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudEventsGetqueryReader ¶
type PcloudEventsGetqueryReader struct {
// contains filtered or unexported fields
}
PcloudEventsGetqueryReader is a Reader for the PcloudEventsGetquery structure.
func (*PcloudEventsGetqueryReader) ReadResponse ¶
func (o *PcloudEventsGetqueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudEventsGetqueryUnauthorized ¶
type PcloudEventsGetqueryUnauthorized struct {
}PcloudEventsGetqueryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudEventsGetqueryUnauthorized ¶
func NewPcloudEventsGetqueryUnauthorized() *PcloudEventsGetqueryUnauthorized
NewPcloudEventsGetqueryUnauthorized creates a PcloudEventsGetqueryUnauthorized with default headers values
func (*PcloudEventsGetqueryUnauthorized) Code ¶
func (o *PcloudEventsGetqueryUnauthorized) Code() int
Code gets the status code for the pcloud events getquery unauthorized response
func (*PcloudEventsGetqueryUnauthorized) Error ¶
func (o *PcloudEventsGetqueryUnauthorized) Error() string
func (*PcloudEventsGetqueryUnauthorized) GetPayload ¶
func (o *PcloudEventsGetqueryUnauthorized) GetPayload() *models.Error
func (*PcloudEventsGetqueryUnauthorized) IsClientError ¶
func (o *PcloudEventsGetqueryUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud events getquery unauthorized response has a 4xx status code
func (*PcloudEventsGetqueryUnauthorized) IsCode ¶
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 ¶
func (o *PcloudEventsGetqueryUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud events getquery unauthorized response has a 3xx status code
func (*PcloudEventsGetqueryUnauthorized) IsServerError ¶
func (o *PcloudEventsGetqueryUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud events getquery unauthorized response has a 5xx status code
func (*PcloudEventsGetqueryUnauthorized) IsSuccess ¶
func (o *PcloudEventsGetqueryUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud events getquery unauthorized response has a 2xx status code
func (*PcloudEventsGetqueryUnauthorized) String ¶
func (o *PcloudEventsGetqueryUnauthorized) String() string