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 PcloudEventsGetBadRequest
- type PcloudEventsGetInternalServerError
- type PcloudEventsGetNotFound
- type PcloudEventsGetOK
- 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) 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) 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 PcloudEventsGetUnauthorized
- type PcloudEventsGetqueryBadRequest
- type PcloudEventsGetqueryInternalServerError
- type PcloudEventsGetqueryOK
- 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) 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud events API client.
func (*Client) PcloudEventsGet ¶
func (a *Client) PcloudEventsGet(params *PcloudEventsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudEventsGetOK, error)
PcloudEventsGet gets a single event
func (*Client) PcloudEventsGetquery ¶ added in v1.0.54
func (a *Client) PcloudEventsGetquery(params *PcloudEventsGetqueryParams, authInfo runtime.ClientAuthInfoWriter) (*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 PcloudEventsGetBadRequest ¶
PcloudEventsGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudEventsGetBadRequest ¶
func NewPcloudEventsGetBadRequest() *PcloudEventsGetBadRequest
NewPcloudEventsGetBadRequest creates a PcloudEventsGetBadRequest with default headers values
func (*PcloudEventsGetBadRequest) Error ¶
func (o *PcloudEventsGetBadRequest) Error() string
type PcloudEventsGetInternalServerError ¶
PcloudEventsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudEventsGetInternalServerError ¶
func NewPcloudEventsGetInternalServerError() *PcloudEventsGetInternalServerError
NewPcloudEventsGetInternalServerError creates a PcloudEventsGetInternalServerError with default headers values
func (*PcloudEventsGetInternalServerError) Error ¶
func (o *PcloudEventsGetInternalServerError) Error() string
type PcloudEventsGetNotFound ¶
PcloudEventsGetNotFound handles this case with default header values.
Not Found
func NewPcloudEventsGetNotFound ¶
func NewPcloudEventsGetNotFound() *PcloudEventsGetNotFound
NewPcloudEventsGetNotFound creates a PcloudEventsGetNotFound with default headers values
func (*PcloudEventsGetNotFound) Error ¶
func (o *PcloudEventsGetNotFound) Error() string
type PcloudEventsGetOK ¶
PcloudEventsGetOK handles this case with default header values.
OK
func NewPcloudEventsGetOK ¶
func NewPcloudEventsGetOK() *PcloudEventsGetOK
NewPcloudEventsGetOK creates a PcloudEventsGetOK with default headers values
func (*PcloudEventsGetOK) Error ¶
func (o *PcloudEventsGetOK) Error() 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 values initialized.
func NewPcloudEventsGetParamsWithContext ¶
func NewPcloudEventsGetParamsWithContext(ctx context.Context) *PcloudEventsGetParams
NewPcloudEventsGetParamsWithContext creates a new PcloudEventsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}PcloudEventsGetUnauthorized handles this case 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) Error ¶ added in v1.0.59
func (o *PcloudEventsGetUnauthorized) Error() string
type PcloudEventsGetqueryBadRequest ¶ added in v1.0.54
PcloudEventsGetqueryBadRequest handles this case 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) Error ¶ added in v1.0.54
func (o *PcloudEventsGetqueryBadRequest) Error() string
type PcloudEventsGetqueryInternalServerError ¶ added in v1.0.54
PcloudEventsGetqueryInternalServerError handles this case 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) Error ¶ added in v1.0.54
func (o *PcloudEventsGetqueryInternalServerError) Error() string
type PcloudEventsGetqueryOK ¶ added in v1.0.54
PcloudEventsGetqueryOK handles this case 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) Error ¶ added in v1.0.54
func (o *PcloudEventsGetqueryOK) Error() 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 values initialized.
func NewPcloudEventsGetqueryParamsWithContext ¶ added in v1.0.54
func NewPcloudEventsGetqueryParamsWithContext(ctx context.Context) *PcloudEventsGetqueryParams
NewPcloudEventsGetqueryParamsWithContext creates a new PcloudEventsGetqueryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *PcloudEventsGetqueryParams) WithContext(ctx context.Context) *PcloudEventsGetqueryParams
WithContext adds the context to the pcloud events getquery params
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
func (o *PcloudEventsGetqueryParams) WithHTTPClient(client *http.Client) *PcloudEventsGetqueryParams
WithHTTPClient adds the HTTPClient to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithTime ¶ added in v1.0.54
func (o *PcloudEventsGetqueryParams) WithTime(time *string) *PcloudEventsGetqueryParams
WithTime adds the time to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithTimeout ¶ added in v1.0.54
func (o *PcloudEventsGetqueryParams) WithTimeout(timeout time.Duration) *PcloudEventsGetqueryParams
WithTimeout adds the timeout to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WithToTime ¶ added in v1.0.54
func (o *PcloudEventsGetqueryParams) WithToTime(toTime *string) *PcloudEventsGetqueryParams
WithToTime adds the toTime to the pcloud events getquery params
func (*PcloudEventsGetqueryParams) WriteToRequest ¶ added in v1.0.54
func (o *PcloudEventsGetqueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}PcloudEventsGetqueryUnauthorized handles this case 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) Error ¶ added in v1.0.59
func (o *PcloudEventsGetqueryUnauthorized) Error() string