audits

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 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 audits API

func (*Client) GetAPI24Audits

func (a *Client) GetAPI24Audits(params *GetAPI24AuditsParams) (*GetApi24AuditsOK, error)

GetAPI24Audits lists audits

Displays a list of audits.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAPI24Audits(params *GetAPI24AuditsParams) (*GetApi24AuditsOK, 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 audits API client.

type GetAPI24AuditsParams

type GetAPI24AuditsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Ids
	  Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together.

	*/
	Ids []string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24AuditsParams contains all the parameters to send to the API endpoint for the get API 24 audits operation typically these are written to a http.Request

func NewGetAPI24AuditsParams

func NewGetAPI24AuditsParams() *GetAPI24AuditsParams

NewGetAPI24AuditsParams creates a new GetAPI24AuditsParams object with the default values initialized.

func NewGetAPI24AuditsParamsWithContext

func NewGetAPI24AuditsParamsWithContext(ctx context.Context) *GetAPI24AuditsParams

NewGetAPI24AuditsParamsWithContext creates a new GetAPI24AuditsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24AuditsParamsWithHTTPClient

func NewGetAPI24AuditsParamsWithHTTPClient(client *http.Client) *GetAPI24AuditsParams

NewGetAPI24AuditsParamsWithHTTPClient creates a new GetAPI24AuditsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24AuditsParamsWithTimeout

func NewGetAPI24AuditsParamsWithTimeout(timeout time.Duration) *GetAPI24AuditsParams

NewGetAPI24AuditsParamsWithTimeout creates a new GetAPI24AuditsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24AuditsParams) SetAuthorization

func (o *GetAPI24AuditsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 audits params

func (*GetAPI24AuditsParams) SetContext

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

SetContext adds the context to the get API 24 audits params

func (*GetAPI24AuditsParams) SetContinuationToken

func (o *GetAPI24AuditsParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 audits params

func (*GetAPI24AuditsParams) SetFilter

func (o *GetAPI24AuditsParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 audits params

func (*GetAPI24AuditsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 audits params

func (*GetAPI24AuditsParams) SetIds

func (o *GetAPI24AuditsParams) SetIds(ids []string)

SetIds adds the ids to the get API 24 audits params

func (*GetAPI24AuditsParams) SetLimit

func (o *GetAPI24AuditsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 audits params

func (*GetAPI24AuditsParams) SetNames

func (o *GetAPI24AuditsParams) SetNames(names []string)

SetNames adds the names to the get API 24 audits params

func (*GetAPI24AuditsParams) SetOffset

func (o *GetAPI24AuditsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 audits params

func (*GetAPI24AuditsParams) SetSort

func (o *GetAPI24AuditsParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 audits params

func (*GetAPI24AuditsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 audits params

func (*GetAPI24AuditsParams) SetTotalItemCount

func (o *GetAPI24AuditsParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 audits params

func (*GetAPI24AuditsParams) SetXRequestID

func (o *GetAPI24AuditsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 audits params

func (*GetAPI24AuditsParams) WithAuthorization

func (o *GetAPI24AuditsParams) WithAuthorization(authorization *string) *GetAPI24AuditsParams

WithAuthorization adds the authorization to the get API 24 audits params

func (*GetAPI24AuditsParams) WithContext

WithContext adds the context to the get API 24 audits params

func (*GetAPI24AuditsParams) WithContinuationToken

func (o *GetAPI24AuditsParams) WithContinuationToken(continuationToken *string) *GetAPI24AuditsParams

WithContinuationToken adds the continuationToken to the get API 24 audits params

func (*GetAPI24AuditsParams) WithFilter

func (o *GetAPI24AuditsParams) WithFilter(filter *string) *GetAPI24AuditsParams

WithFilter adds the filter to the get API 24 audits params

func (*GetAPI24AuditsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 audits params

func (*GetAPI24AuditsParams) WithIds

WithIds adds the ids to the get API 24 audits params

func (*GetAPI24AuditsParams) WithLimit

func (o *GetAPI24AuditsParams) WithLimit(limit *int32) *GetAPI24AuditsParams

WithLimit adds the limit to the get API 24 audits params

func (*GetAPI24AuditsParams) WithNames

func (o *GetAPI24AuditsParams) WithNames(names []string) *GetAPI24AuditsParams

WithNames adds the names to the get API 24 audits params

func (*GetAPI24AuditsParams) WithOffset

func (o *GetAPI24AuditsParams) WithOffset(offset *int32) *GetAPI24AuditsParams

WithOffset adds the offset to the get API 24 audits params

func (*GetAPI24AuditsParams) WithSort

func (o *GetAPI24AuditsParams) WithSort(sort []string) *GetAPI24AuditsParams

WithSort adds the sort to the get API 24 audits params

func (*GetAPI24AuditsParams) WithTimeout

func (o *GetAPI24AuditsParams) WithTimeout(timeout time.Duration) *GetAPI24AuditsParams

WithTimeout adds the timeout to the get API 24 audits params

func (*GetAPI24AuditsParams) WithTotalItemCount

func (o *GetAPI24AuditsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AuditsParams

WithTotalItemCount adds the totalItemCount to the get API 24 audits params

func (*GetAPI24AuditsParams) WithXRequestID

func (o *GetAPI24AuditsParams) WithXRequestID(xRequestID *string) *GetAPI24AuditsParams

WithXRequestID adds the xRequestID to the get API 24 audits params

func (*GetAPI24AuditsParams) WriteToRequest

func (o *GetAPI24AuditsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPI24AuditsReader

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

GetAPI24AuditsReader is a Reader for the GetAPI24Audits structure.

func (*GetAPI24AuditsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24AuditsBadRequest

type GetApi24AuditsBadRequest struct {
	Payload *models.Error
}

GetApi24AuditsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24AuditsBadRequest

func NewGetApi24AuditsBadRequest() *GetApi24AuditsBadRequest

NewGetApi24AuditsBadRequest creates a GetApi24AuditsBadRequest with default headers values

func (*GetApi24AuditsBadRequest) Error

func (o *GetApi24AuditsBadRequest) Error() string

func (*GetApi24AuditsBadRequest) GetPayload

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

type GetApi24AuditsOK

type GetApi24AuditsOK struct {
	Payload *models.AuditGetResponse
}

GetApi24AuditsOK handles this case with default header values.

OK

func NewGetApi24AuditsOK

func NewGetApi24AuditsOK() *GetApi24AuditsOK

NewGetApi24AuditsOK creates a GetApi24AuditsOK with default headers values

func (*GetApi24AuditsOK) Error

func (o *GetApi24AuditsOK) Error() string

func (*GetApi24AuditsOK) GetPayload

func (o *GetApi24AuditsOK) GetPayload() *models.AuditGetResponse

Jump to

Keyboard shortcuts

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