user_events

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 11 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 user events API

func (*Client) GetUserEventsUsingGET2

func (a *Client) GetUserEventsUsingGET2(params *GetUserEventsUsingGET2Params, opts ...ClientOption) (*GetUserEventsUsingGET2OK, error)

GetUserEventsUsingGET2 gets user events for deployment

Returns paged user events for given deployment ID. User events represent: Create, Day2, Approval or vRO User Interaction

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 {
	GetUserEventsUsingGET2(params *GetUserEventsUsingGET2Params, opts ...ClientOption) (*GetUserEventsUsingGET2OK, 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 user events API client.

type GetUserEventsUsingGET2NotFound

type GetUserEventsUsingGET2NotFound struct {
	Payload *models.Error
}

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

Not Found

func NewGetUserEventsUsingGET2NotFound

func NewGetUserEventsUsingGET2NotFound() *GetUserEventsUsingGET2NotFound

NewGetUserEventsUsingGET2NotFound creates a GetUserEventsUsingGET2NotFound with default headers values

func (*GetUserEventsUsingGET2NotFound) Error

func (*GetUserEventsUsingGET2NotFound) GetPayload

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

func (*GetUserEventsUsingGET2NotFound) IsClientError

func (o *GetUserEventsUsingGET2NotFound) IsClientError() bool

IsClientError returns true when this get user events using g e t2 not found response has a 4xx status code

func (*GetUserEventsUsingGET2NotFound) IsCode

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

IsCode returns true when this get user events using g e t2 not found response a status code equal to that given

func (*GetUserEventsUsingGET2NotFound) IsRedirect

func (o *GetUserEventsUsingGET2NotFound) IsRedirect() bool

IsRedirect returns true when this get user events using g e t2 not found response has a 3xx status code

func (*GetUserEventsUsingGET2NotFound) IsServerError

func (o *GetUserEventsUsingGET2NotFound) IsServerError() bool

IsServerError returns true when this get user events using g e t2 not found response has a 5xx status code

func (*GetUserEventsUsingGET2NotFound) IsSuccess

func (o *GetUserEventsUsingGET2NotFound) IsSuccess() bool

IsSuccess returns true when this get user events using g e t2 not found response has a 2xx status code

func (*GetUserEventsUsingGET2NotFound) String

type GetUserEventsUsingGET2OK

type GetUserEventsUsingGET2OK struct {
	Payload *models.PageOfUserEvent
}

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

OK

func NewGetUserEventsUsingGET2OK

func NewGetUserEventsUsingGET2OK() *GetUserEventsUsingGET2OK

NewGetUserEventsUsingGET2OK creates a GetUserEventsUsingGET2OK with default headers values

func (*GetUserEventsUsingGET2OK) Error

func (o *GetUserEventsUsingGET2OK) Error() string

func (*GetUserEventsUsingGET2OK) GetPayload

func (*GetUserEventsUsingGET2OK) IsClientError

func (o *GetUserEventsUsingGET2OK) IsClientError() bool

IsClientError returns true when this get user events using g e t2 o k response has a 4xx status code

func (*GetUserEventsUsingGET2OK) IsCode

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

IsCode returns true when this get user events using g e t2 o k response a status code equal to that given

func (*GetUserEventsUsingGET2OK) IsRedirect

func (o *GetUserEventsUsingGET2OK) IsRedirect() bool

IsRedirect returns true when this get user events using g e t2 o k response has a 3xx status code

func (*GetUserEventsUsingGET2OK) IsServerError

func (o *GetUserEventsUsingGET2OK) IsServerError() bool

IsServerError returns true when this get user events using g e t2 o k response has a 5xx status code

func (*GetUserEventsUsingGET2OK) IsSuccess

func (o *GetUserEventsUsingGET2OK) IsSuccess() bool

IsSuccess returns true when this get user events using g e t2 o k response has a 2xx status code

func (*GetUserEventsUsingGET2OK) String

func (o *GetUserEventsUsingGET2OK) String() string

type GetUserEventsUsingGET2Params

type GetUserEventsUsingGET2Params struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* DeploymentID.

	   Deployment ID

	   Format: uuid
	*/
	DeploymentID strfmt.UUID

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

GetUserEventsUsingGET2Params contains all the parameters to send to the API endpoint

for the get user events using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetUserEventsUsingGET2Params

func NewGetUserEventsUsingGET2Params() *GetUserEventsUsingGET2Params

NewGetUserEventsUsingGET2Params creates a new GetUserEventsUsingGET2Params 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 NewGetUserEventsUsingGET2ParamsWithContext

func NewGetUserEventsUsingGET2ParamsWithContext(ctx context.Context) *GetUserEventsUsingGET2Params

NewGetUserEventsUsingGET2ParamsWithContext creates a new GetUserEventsUsingGET2Params object with the ability to set a context for a request.

func NewGetUserEventsUsingGET2ParamsWithHTTPClient

func NewGetUserEventsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetUserEventsUsingGET2Params

NewGetUserEventsUsingGET2ParamsWithHTTPClient creates a new GetUserEventsUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetUserEventsUsingGET2ParamsWithTimeout

func NewGetUserEventsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetUserEventsUsingGET2Params

NewGetUserEventsUsingGET2ParamsWithTimeout creates a new GetUserEventsUsingGET2Params object with the ability to set a timeout on a request.

func (*GetUserEventsUsingGET2Params) SetAPIVersion

func (o *GetUserEventsUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetContext

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

SetContext adds the context to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetDefaults

func (o *GetUserEventsUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get user events using g e t 2 params (not the query body).

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

func (*GetUserEventsUsingGET2Params) SetDeploymentID

func (o *GetUserEventsUsingGET2Params) SetDeploymentID(deploymentID strfmt.UUID)

SetDeploymentID adds the deploymentId to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetDollarOrderby

func (o *GetUserEventsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetDollarSkip

func (o *GetUserEventsUsingGET2Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetDollarTop

func (o *GetUserEventsUsingGET2Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) SetTimeout

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

SetTimeout adds the timeout to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithAPIVersion

func (o *GetUserEventsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetUserEventsUsingGET2Params

WithAPIVersion adds the aPIVersion to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithContext

WithContext adds the context to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithDefaults

WithDefaults hydrates default values in the get user events using g e t 2 params (not the query body).

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

func (*GetUserEventsUsingGET2Params) WithDeploymentID

func (o *GetUserEventsUsingGET2Params) WithDeploymentID(deploymentID strfmt.UUID) *GetUserEventsUsingGET2Params

WithDeploymentID adds the deploymentID to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithDollarOrderby

func (o *GetUserEventsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetUserEventsUsingGET2Params

WithDollarOrderby adds the dollarOrderby to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithDollarSkip

func (o *GetUserEventsUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetUserEventsUsingGET2Params

WithDollarSkip adds the dollarSkip to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithDollarTop

func (o *GetUserEventsUsingGET2Params) WithDollarTop(dollarTop *int32) *GetUserEventsUsingGET2Params

WithDollarTop adds the dollarTop to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WithTimeout

WithTimeout adds the timeout to the get user events using g e t 2 params

func (*GetUserEventsUsingGET2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEventsUsingGET2Reader

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

GetUserEventsUsingGET2Reader is a Reader for the GetUserEventsUsingGET2 structure.

func (*GetUserEventsUsingGET2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserEventsUsingGET2Unauthorized

type GetUserEventsUsingGET2Unauthorized struct {
}

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

Unauthorized

func NewGetUserEventsUsingGET2Unauthorized

func NewGetUserEventsUsingGET2Unauthorized() *GetUserEventsUsingGET2Unauthorized

NewGetUserEventsUsingGET2Unauthorized creates a GetUserEventsUsingGET2Unauthorized with default headers values

func (*GetUserEventsUsingGET2Unauthorized) Error

func (*GetUserEventsUsingGET2Unauthorized) IsClientError

func (o *GetUserEventsUsingGET2Unauthorized) IsClientError() bool

IsClientError returns true when this get user events using g e t2 unauthorized response has a 4xx status code

func (*GetUserEventsUsingGET2Unauthorized) IsCode

IsCode returns true when this get user events using g e t2 unauthorized response a status code equal to that given

func (*GetUserEventsUsingGET2Unauthorized) IsRedirect

func (o *GetUserEventsUsingGET2Unauthorized) IsRedirect() bool

IsRedirect returns true when this get user events using g e t2 unauthorized response has a 3xx status code

func (*GetUserEventsUsingGET2Unauthorized) IsServerError

func (o *GetUserEventsUsingGET2Unauthorized) IsServerError() bool

IsServerError returns true when this get user events using g e t2 unauthorized response has a 5xx status code

func (*GetUserEventsUsingGET2Unauthorized) IsSuccess

IsSuccess returns true when this get user events using g e t2 unauthorized response has a 2xx status code

func (*GetUserEventsUsingGET2Unauthorized) String

Jump to

Keyboard shortcuts

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