Documentation ¶
Index ¶
- type Client
- func (a *Client) GetUserAuditLogs(params *GetUserAuditLogsParams, opts ...ClientOption) (*GetUserAuditLogsOK, error)
- func (a *Client) GetUserAuditLogsConnection(params *GetUserAuditLogsConnectionParams, opts ...ClientOption) (*GetUserAuditLogsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetUserAuditLogsBadRequest
- type GetUserAuditLogsConnectionBadRequest
- type GetUserAuditLogsConnectionInternalServerError
- type GetUserAuditLogsConnectionNotFound
- type GetUserAuditLogsConnectionOK
- type GetUserAuditLogsConnectionParams
- func NewGetUserAuditLogsConnectionParams() *GetUserAuditLogsConnectionParams
- func NewGetUserAuditLogsConnectionParamsWithContext(ctx context.Context) *GetUserAuditLogsConnectionParams
- func NewGetUserAuditLogsConnectionParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsConnectionParams
- func NewGetUserAuditLogsConnectionParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUserAuditLogsConnectionParams) SetContext(ctx context.Context)
- func (o *GetUserAuditLogsConnectionParams) SetDefaults()
- func (o *GetUserAuditLogsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetUserAuditLogsConnectionParams) SetRequestBody(requestBody *models.GetUserAuditLogsConnectionRequestBody)
- func (o *GetUserAuditLogsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetUserAuditLogsConnectionParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WithContext(ctx context.Context) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WithDefaults() *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WithHTTPClient(client *http.Client) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WithRequestBody(requestBody *models.GetUserAuditLogsConnectionRequestBody) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WithTimeout(timeout time.Duration) *GetUserAuditLogsConnectionParams
- func (o *GetUserAuditLogsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAuditLogsConnectionReader
- type GetUserAuditLogsInternalServerError
- type GetUserAuditLogsNotFound
- type GetUserAuditLogsOK
- type GetUserAuditLogsParams
- func NewGetUserAuditLogsParams() *GetUserAuditLogsParams
- func NewGetUserAuditLogsParamsWithContext(ctx context.Context) *GetUserAuditLogsParams
- func NewGetUserAuditLogsParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsParams
- func NewGetUserAuditLogsParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUserAuditLogsParams) SetContext(ctx context.Context)
- func (o *GetUserAuditLogsParams) SetDefaults()
- func (o *GetUserAuditLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserAuditLogsParams) SetRequestBody(requestBody *models.GetUserAuditLogsRequestBody)
- func (o *GetUserAuditLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserAuditLogsParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WithContext(ctx context.Context) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WithDefaults() *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WithHTTPClient(client *http.Client) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WithRequestBody(requestBody *models.GetUserAuditLogsRequestBody) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WithTimeout(timeout time.Duration) *GetUserAuditLogsParams
- func (o *GetUserAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAuditLogsReader
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 ¶
GetUserAuditLogsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUserAuditLogsBadRequest ¶
func NewGetUserAuditLogsBadRequest() *GetUserAuditLogsBadRequest
NewGetUserAuditLogsBadRequest creates a GetUserAuditLogsBadRequest with default headers values
func (*GetUserAuditLogsBadRequest) Error ¶
func (o *GetUserAuditLogsBadRequest) Error() string
func (*GetUserAuditLogsBadRequest) GetPayload ¶
func (o *GetUserAuditLogsBadRequest) GetPayload() *models.ErrorBody
type GetUserAuditLogsConnectionBadRequest ¶
GetUserAuditLogsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUserAuditLogsConnectionBadRequest ¶
func NewGetUserAuditLogsConnectionBadRequest() *GetUserAuditLogsConnectionBadRequest
NewGetUserAuditLogsConnectionBadRequest creates a GetUserAuditLogsConnectionBadRequest with default headers values
func (*GetUserAuditLogsConnectionBadRequest) Error ¶
func (o *GetUserAuditLogsConnectionBadRequest) Error() string
func (*GetUserAuditLogsConnectionBadRequest) GetPayload ¶
func (o *GetUserAuditLogsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetUserAuditLogsConnectionInternalServerError ¶
GetUserAuditLogsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUserAuditLogsConnectionInternalServerError ¶
func NewGetUserAuditLogsConnectionInternalServerError() *GetUserAuditLogsConnectionInternalServerError
NewGetUserAuditLogsConnectionInternalServerError creates a GetUserAuditLogsConnectionInternalServerError with default headers values
func (*GetUserAuditLogsConnectionInternalServerError) Error ¶
func (o *GetUserAuditLogsConnectionInternalServerError) Error() string
func (*GetUserAuditLogsConnectionInternalServerError) GetPayload ¶
func (o *GetUserAuditLogsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetUserAuditLogsConnectionNotFound ¶
GetUserAuditLogsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserAuditLogsConnectionNotFound ¶
func NewGetUserAuditLogsConnectionNotFound() *GetUserAuditLogsConnectionNotFound
NewGetUserAuditLogsConnectionNotFound creates a GetUserAuditLogsConnectionNotFound with default headers values
func (*GetUserAuditLogsConnectionNotFound) Error ¶
func (o *GetUserAuditLogsConnectionNotFound) Error() string
func (*GetUserAuditLogsConnectionNotFound) GetPayload ¶
func (o *GetUserAuditLogsConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetUserAuditLogsConnectionOK) Error() string
func (*GetUserAuditLogsConnectionOK) GetPayload ¶
func (o *GetUserAuditLogsConnectionOK) GetPayload() *models.UserAuditLogConnection
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 ¶
func (o *GetUserAuditLogsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetUserAuditLogsConnectionParams) SetRequestBody(requestBody *models.GetUserAuditLogsConnectionRequestBody)
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 ¶
func (o *GetUserAuditLogsConnectionParams) WithContext(ctx context.Context) *GetUserAuditLogsConnectionParams
WithContext adds the context to the get user audit logs connection params
func (*GetUserAuditLogsConnectionParams) WithDefaults ¶
func (o *GetUserAuditLogsConnectionParams) WithDefaults() *GetUserAuditLogsConnectionParams
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 ¶
func (o *GetUserAuditLogsConnectionParams) WithHTTPClient(client *http.Client) *GetUserAuditLogsConnectionParams
WithHTTPClient adds the HTTPClient to the get user audit logs connection params
func (*GetUserAuditLogsConnectionParams) WithRequestBody ¶
func (o *GetUserAuditLogsConnectionParams) WithRequestBody(requestBody *models.GetUserAuditLogsConnectionRequestBody) *GetUserAuditLogsConnectionParams
WithRequestBody adds the requestBody to the get user audit logs connection params
func (*GetUserAuditLogsConnectionParams) WithTimeout ¶
func (o *GetUserAuditLogsConnectionParams) WithTimeout(timeout time.Duration) *GetUserAuditLogsConnectionParams
WithTimeout adds the timeout to the get user audit logs connection params
func (*GetUserAuditLogsConnectionParams) WriteToRequest ¶
func (o *GetUserAuditLogsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetUserAuditLogsInternalServerError ¶
GetUserAuditLogsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUserAuditLogsInternalServerError ¶
func NewGetUserAuditLogsInternalServerError() *GetUserAuditLogsInternalServerError
NewGetUserAuditLogsInternalServerError creates a GetUserAuditLogsInternalServerError with default headers values
func (*GetUserAuditLogsInternalServerError) Error ¶
func (o *GetUserAuditLogsInternalServerError) Error() string
func (*GetUserAuditLogsInternalServerError) GetPayload ¶
func (o *GetUserAuditLogsInternalServerError) GetPayload() *models.ErrorBody
type GetUserAuditLogsNotFound ¶
GetUserAuditLogsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUserAuditLogsNotFound ¶
func NewGetUserAuditLogsNotFound() *GetUserAuditLogsNotFound
NewGetUserAuditLogsNotFound creates a GetUserAuditLogsNotFound with default headers values
func (*GetUserAuditLogsNotFound) Error ¶
func (o *GetUserAuditLogsNotFound) Error() string
func (*GetUserAuditLogsNotFound) GetPayload ¶
func (o *GetUserAuditLogsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUserAuditLogsParams) WithContext(ctx context.Context) *GetUserAuditLogsParams
WithContext adds the context to the get user audit logs params
func (*GetUserAuditLogsParams) WithDefaults ¶
func (o *GetUserAuditLogsParams) WithDefaults() *GetUserAuditLogsParams
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 ¶
func (o *GetUserAuditLogsParams) WithRequestBody(requestBody *models.GetUserAuditLogsRequestBody) *GetUserAuditLogsParams
WithRequestBody adds the requestBody to the get user audit logs params
func (*GetUserAuditLogsParams) WithTimeout ¶
func (o *GetUserAuditLogsParams) WithTimeout(timeout time.Duration) *GetUserAuditLogsParams
WithTimeout adds the timeout to the get user audit logs params
func (*GetUserAuditLogsParams) WriteToRequest ¶
func (o *GetUserAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.