Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudEventsGet(params *PcloudEventsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudEventsGetOK, error)
- func (a *Client) PcloudEventsGetsince(params *PcloudEventsGetsinceParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudEventsGetsinceOK, 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 PcloudEventsGetsinceBadRequest
- type PcloudEventsGetsinceInternalServerError
- type PcloudEventsGetsinceOK
- type PcloudEventsGetsinceParams
- func NewPcloudEventsGetsinceParams() *PcloudEventsGetsinceParams
- func NewPcloudEventsGetsinceParamsWithContext(ctx context.Context) *PcloudEventsGetsinceParams
- func NewPcloudEventsGetsinceParamsWithHTTPClient(client *http.Client) *PcloudEventsGetsinceParams
- func NewPcloudEventsGetsinceParamsWithTimeout(timeout time.Duration) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *PcloudEventsGetsinceParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudEventsGetsinceParams) SetContext(ctx context.Context)
- func (o *PcloudEventsGetsinceParams) SetHTTPClient(client *http.Client)
- func (o *PcloudEventsGetsinceParams) SetTime(time string)
- func (o *PcloudEventsGetsinceParams) SetTimeout(timeout time.Duration)
- func (o *PcloudEventsGetsinceParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WithContext(ctx context.Context) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WithHTTPClient(client *http.Client) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WithTime(time string) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WithTimeout(timeout time.Duration) *PcloudEventsGetsinceParams
- func (o *PcloudEventsGetsinceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudEventsGetsinceReader
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) PcloudEventsGetsince ¶
func (a *Client) PcloudEventsGetsince(params *PcloudEventsGetsinceParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudEventsGetsinceOK, error)
PcloudEventsGetsince 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 PcloudEventsGetsinceBadRequest ¶
PcloudEventsGetsinceBadRequest handles this case with default header values.
Bad Request
func NewPcloudEventsGetsinceBadRequest ¶
func NewPcloudEventsGetsinceBadRequest() *PcloudEventsGetsinceBadRequest
NewPcloudEventsGetsinceBadRequest creates a PcloudEventsGetsinceBadRequest with default headers values
func (*PcloudEventsGetsinceBadRequest) Error ¶
func (o *PcloudEventsGetsinceBadRequest) Error() string
type PcloudEventsGetsinceInternalServerError ¶
PcloudEventsGetsinceInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudEventsGetsinceInternalServerError ¶
func NewPcloudEventsGetsinceInternalServerError() *PcloudEventsGetsinceInternalServerError
NewPcloudEventsGetsinceInternalServerError creates a PcloudEventsGetsinceInternalServerError with default headers values
func (*PcloudEventsGetsinceInternalServerError) Error ¶
func (o *PcloudEventsGetsinceInternalServerError) Error() string
type PcloudEventsGetsinceOK ¶
PcloudEventsGetsinceOK handles this case with default header values.
OK
func NewPcloudEventsGetsinceOK ¶
func NewPcloudEventsGetsinceOK() *PcloudEventsGetsinceOK
NewPcloudEventsGetsinceOK creates a PcloudEventsGetsinceOK with default headers values
func (*PcloudEventsGetsinceOK) Error ¶
func (o *PcloudEventsGetsinceOK) Error() string
type PcloudEventsGetsinceParams ¶
type PcloudEventsGetsinceParams struct { /*AcceptLanguage The language requested for the return document */ AcceptLanguage *string /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*Time A time in either ISO 8601 or unix epoch format */ Time string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudEventsGetsinceParams contains all the parameters to send to the API endpoint for the pcloud events getsince operation typically these are written to a http.Request
func NewPcloudEventsGetsinceParams ¶
func NewPcloudEventsGetsinceParams() *PcloudEventsGetsinceParams
NewPcloudEventsGetsinceParams creates a new PcloudEventsGetsinceParams object with the default values initialized.
func NewPcloudEventsGetsinceParamsWithContext ¶
func NewPcloudEventsGetsinceParamsWithContext(ctx context.Context) *PcloudEventsGetsinceParams
NewPcloudEventsGetsinceParamsWithContext creates a new PcloudEventsGetsinceParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudEventsGetsinceParamsWithHTTPClient ¶
func NewPcloudEventsGetsinceParamsWithHTTPClient(client *http.Client) *PcloudEventsGetsinceParams
NewPcloudEventsGetsinceParamsWithHTTPClient creates a new PcloudEventsGetsinceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudEventsGetsinceParamsWithTimeout ¶
func NewPcloudEventsGetsinceParamsWithTimeout(timeout time.Duration) *PcloudEventsGetsinceParams
NewPcloudEventsGetsinceParamsWithTimeout creates a new PcloudEventsGetsinceParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudEventsGetsinceParams) SetAcceptLanguage ¶
func (o *PcloudEventsGetsinceParams) SetAcceptLanguage(acceptLanguage *string)
SetAcceptLanguage adds the acceptLanguage to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) SetCloudInstanceID ¶
func (o *PcloudEventsGetsinceParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) SetContext ¶
func (o *PcloudEventsGetsinceParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) SetHTTPClient ¶
func (o *PcloudEventsGetsinceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) SetTime ¶
func (o *PcloudEventsGetsinceParams) SetTime(time string)
SetTime adds the time to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) SetTimeout ¶
func (o *PcloudEventsGetsinceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithAcceptLanguage ¶
func (o *PcloudEventsGetsinceParams) WithAcceptLanguage(acceptLanguage *string) *PcloudEventsGetsinceParams
WithAcceptLanguage adds the acceptLanguage to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithCloudInstanceID ¶
func (o *PcloudEventsGetsinceParams) WithCloudInstanceID(cloudInstanceID string) *PcloudEventsGetsinceParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithContext ¶
func (o *PcloudEventsGetsinceParams) WithContext(ctx context.Context) *PcloudEventsGetsinceParams
WithContext adds the context to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithHTTPClient ¶
func (o *PcloudEventsGetsinceParams) WithHTTPClient(client *http.Client) *PcloudEventsGetsinceParams
WithHTTPClient adds the HTTPClient to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithTime ¶
func (o *PcloudEventsGetsinceParams) WithTime(time string) *PcloudEventsGetsinceParams
WithTime adds the time to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WithTimeout ¶
func (o *PcloudEventsGetsinceParams) WithTimeout(timeout time.Duration) *PcloudEventsGetsinceParams
WithTimeout adds the timeout to the pcloud events getsince params
func (*PcloudEventsGetsinceParams) WriteToRequest ¶
func (o *PcloudEventsGetsinceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudEventsGetsinceReader ¶
type PcloudEventsGetsinceReader struct {
// contains filtered or unexported fields
}
PcloudEventsGetsinceReader is a Reader for the PcloudEventsGetsince structure.
func (*PcloudEventsGetsinceReader) ReadResponse ¶
func (o *PcloudEventsGetsinceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.