p_cloud_events

package
v1.0.54-beta Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

type PcloudEventsGetBadRequest struct {
	Payload *models.Error
}

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

type PcloudEventsGetInternalServerError struct {
	Payload *models.Error
}

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

type PcloudEventsGetNotFound

type PcloudEventsGetNotFound struct {
	Payload *models.Error
}

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

type PcloudEventsGetOK struct {
	Payload *models.Event
}

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

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

type PcloudEventsGetsinceBadRequest struct {
	Payload *models.Error
}

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

type PcloudEventsGetsinceInternalServerError

type PcloudEventsGetsinceInternalServerError struct {
	Payload *models.Error
}

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

type PcloudEventsGetsinceOK

type PcloudEventsGetsinceOK struct {
	Payload *models.Events
}

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

WithContext adds the context to the pcloud events getsince params

func (*PcloudEventsGetsinceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud events getsince params

func (*PcloudEventsGetsinceParams) WithTime

WithTime adds the time to the pcloud events getsince params

func (*PcloudEventsGetsinceParams) WithTimeout

WithTimeout adds the timeout to the pcloud events getsince params

func (*PcloudEventsGetsinceParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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