user_audit_log

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: ISC 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 user audit log API

func (*Client) GetUserAuditLogs

func (a *Client) GetUserAuditLogs(params *GetUserAuditLogsParams, opts ...ClientOption) (*GetUserAuditLogsOK, error)

GetUserAuditLogs get user audit logs API

func (*Client) GetUserAuditLogsConnection

func (a *Client) GetUserAuditLogsConnection(params *GetUserAuditLogsConnectionParams, opts ...ClientOption) (*GetUserAuditLogsConnectionOK, error)

GetUserAuditLogsConnection get user audit logs connection API

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 {
	GetUserAuditLogs(params *GetUserAuditLogsParams, opts ...ClientOption) (*GetUserAuditLogsOK, error)

	GetUserAuditLogsConnection(params *GetUserAuditLogsConnectionParams, opts ...ClientOption) (*GetUserAuditLogsConnectionOK, 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 audit log API client.

type GetUserAuditLogsBadRequest

type GetUserAuditLogsBadRequest struct {
	Payload string
}
GetUserAuditLogsBadRequest describes a response with status code 400, with default header values.

GetUserAuditLogsBadRequest get user audit logs bad request

func NewGetUserAuditLogsBadRequest

func NewGetUserAuditLogsBadRequest() *GetUserAuditLogsBadRequest

NewGetUserAuditLogsBadRequest creates a GetUserAuditLogsBadRequest with default headers values

func (*GetUserAuditLogsBadRequest) Error

func (*GetUserAuditLogsBadRequest) GetPayload

func (o *GetUserAuditLogsBadRequest) GetPayload() string

type GetUserAuditLogsConnectionBadRequest

type GetUserAuditLogsConnectionBadRequest struct {
	Payload string
}
GetUserAuditLogsConnectionBadRequest describes a response with status code 400, with default header values.

GetUserAuditLogsConnectionBadRequest get user audit logs connection bad request

func NewGetUserAuditLogsConnectionBadRequest

func NewGetUserAuditLogsConnectionBadRequest() *GetUserAuditLogsConnectionBadRequest

NewGetUserAuditLogsConnectionBadRequest creates a GetUserAuditLogsConnectionBadRequest with default headers values

func (*GetUserAuditLogsConnectionBadRequest) Error

func (*GetUserAuditLogsConnectionBadRequest) GetPayload

type GetUserAuditLogsConnectionOK

type GetUserAuditLogsConnectionOK struct {
	Payload *models.UserAuditLogConnection
}
GetUserAuditLogsConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetUserAuditLogsConnectionOK

func NewGetUserAuditLogsConnectionOK() *GetUserAuditLogsConnectionOK

NewGetUserAuditLogsConnectionOK creates a GetUserAuditLogsConnectionOK with default headers values

func (*GetUserAuditLogsConnectionOK) Error

func (*GetUserAuditLogsConnectionOK) GetPayload

type GetUserAuditLogsConnectionParams

type GetUserAuditLogsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserAuditLogsConnectionRequestBody

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

GetUserAuditLogsConnectionParams contains all the parameters to send to the API endpoint

for the get user audit logs connection operation.

Typically these are written to a http.Request.

func NewGetUserAuditLogsConnectionParams

func NewGetUserAuditLogsConnectionParams() *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParams creates a new GetUserAuditLogsConnectionParams 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 NewGetUserAuditLogsConnectionParamsWithContext

func NewGetUserAuditLogsConnectionParamsWithContext(ctx context.Context) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithContext creates a new GetUserAuditLogsConnectionParams object with the ability to set a context for a request.

func NewGetUserAuditLogsConnectionParamsWithHTTPClient

func NewGetUserAuditLogsConnectionParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithHTTPClient creates a new GetUserAuditLogsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAuditLogsConnectionParamsWithTimeout

func NewGetUserAuditLogsConnectionParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithTimeout creates a new GetUserAuditLogsConnectionParams object with the ability to set a timeout on a request.

func (*GetUserAuditLogsConnectionParams) SetContentLanguage

func (o *GetUserAuditLogsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetContext

SetContext adds the context to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetDefaults

func (o *GetUserAuditLogsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get user audit logs connection params (not the query body).

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

func (*GetUserAuditLogsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithContentLanguage

func (o *GetUserAuditLogsConnectionParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsConnectionParams

WithContentLanguage adds the contentLanguage to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithContext

WithContext adds the context to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get user audit logs connection params (not the query body).

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

func (*GetUserAuditLogsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAuditLogsConnectionReader

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

GetUserAuditLogsConnectionReader is a Reader for the GetUserAuditLogsConnection structure.

func (*GetUserAuditLogsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAuditLogsOK

type GetUserAuditLogsOK struct {
	Payload []*models.UserAuditLog
}
GetUserAuditLogsOK describes a response with status code 200, with default header values.

Ok

func NewGetUserAuditLogsOK

func NewGetUserAuditLogsOK() *GetUserAuditLogsOK

NewGetUserAuditLogsOK creates a GetUserAuditLogsOK with default headers values

func (*GetUserAuditLogsOK) Error

func (o *GetUserAuditLogsOK) Error() string

func (*GetUserAuditLogsOK) GetPayload

func (o *GetUserAuditLogsOK) GetPayload() []*models.UserAuditLog

type GetUserAuditLogsParams

type GetUserAuditLogsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserAuditLogsRequestBody

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

GetUserAuditLogsParams contains all the parameters to send to the API endpoint

for the get user audit logs operation.

Typically these are written to a http.Request.

func NewGetUserAuditLogsParams

func NewGetUserAuditLogsParams() *GetUserAuditLogsParams

NewGetUserAuditLogsParams creates a new GetUserAuditLogsParams 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 NewGetUserAuditLogsParamsWithContext

func NewGetUserAuditLogsParamsWithContext(ctx context.Context) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithContext creates a new GetUserAuditLogsParams object with the ability to set a context for a request.

func NewGetUserAuditLogsParamsWithHTTPClient

func NewGetUserAuditLogsParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithHTTPClient creates a new GetUserAuditLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAuditLogsParamsWithTimeout

func NewGetUserAuditLogsParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithTimeout creates a new GetUserAuditLogsParams object with the ability to set a timeout on a request.

func (*GetUserAuditLogsParams) SetContentLanguage

func (o *GetUserAuditLogsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user audit logs params

func (*GetUserAuditLogsParams) SetContext

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

SetContext adds the context to the get user audit logs params

func (*GetUserAuditLogsParams) SetDefaults

func (o *GetUserAuditLogsParams) SetDefaults()

SetDefaults hydrates default values in the get user audit logs params (not the query body).

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

func (*GetUserAuditLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user audit logs params

func (*GetUserAuditLogsParams) SetRequestBody

func (o *GetUserAuditLogsParams) SetRequestBody(requestBody *models.GetUserAuditLogsRequestBody)

SetRequestBody adds the requestBody to the get user audit logs params

func (*GetUserAuditLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get user audit logs params

func (*GetUserAuditLogsParams) WithContentLanguage

func (o *GetUserAuditLogsParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsParams

WithContentLanguage adds the contentLanguage to the get user audit logs params

func (*GetUserAuditLogsParams) WithContext

WithContext adds the context to the get user audit logs params

func (*GetUserAuditLogsParams) WithDefaults

WithDefaults hydrates default values in the get user audit logs params (not the query body).

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

func (*GetUserAuditLogsParams) WithHTTPClient

func (o *GetUserAuditLogsParams) WithHTTPClient(client *http.Client) *GetUserAuditLogsParams

WithHTTPClient adds the HTTPClient to the get user audit logs params

func (*GetUserAuditLogsParams) WithRequestBody

WithRequestBody adds the requestBody to the get user audit logs params

func (*GetUserAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the get user audit logs params

func (*GetUserAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAuditLogsReader

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

GetUserAuditLogsReader is a Reader for the GetUserAuditLogs structure.

func (*GetUserAuditLogsReader) ReadResponse

func (o *GetUserAuditLogsReader) 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