Documentation ¶
Index ¶
- type Client
- func (a *Client) ListOrgLogs(params *ListOrgLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOrgLogsOK, error)
- func (a *Client) ListRepoLogs(params *ListRepoLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoLogsOK, error)
- func (a *Client) ListUserLogs(params *ListUserLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListOrgLogsBadRequest
- type ListOrgLogsForbidden
- type ListOrgLogsNotFound
- type ListOrgLogsOK
- type ListOrgLogsParams
- func (o *ListOrgLogsParams) SetContext(ctx context.Context)
- func (o *ListOrgLogsParams) SetEndtime(endtime *string)
- func (o *ListOrgLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgLogsParams) SetNextPage(nextPage *string)
- func (o *ListOrgLogsParams) SetOrgname(orgname string)
- func (o *ListOrgLogsParams) SetPerformer(performer *string)
- func (o *ListOrgLogsParams) SetStarttime(starttime *string)
- func (o *ListOrgLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgLogsParams) WithContext(ctx context.Context) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithEndtime(endtime *string) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithHTTPClient(client *http.Client) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithNextPage(nextPage *string) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithOrgname(orgname string) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithPerformer(performer *string) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithStarttime(starttime *string) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WithTimeout(timeout time.Duration) *ListOrgLogsParams
- func (o *ListOrgLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgLogsReader
- type ListOrgLogsUnauthorized
- type ListRepoLogsBadRequest
- type ListRepoLogsForbidden
- type ListRepoLogsNotFound
- type ListRepoLogsOK
- type ListRepoLogsParams
- func (o *ListRepoLogsParams) SetContext(ctx context.Context)
- func (o *ListRepoLogsParams) SetEndtime(endtime *string)
- func (o *ListRepoLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoLogsParams) SetNextPage(nextPage *string)
- func (o *ListRepoLogsParams) SetRepository(repository string)
- func (o *ListRepoLogsParams) SetStarttime(starttime *string)
- func (o *ListRepoLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoLogsParams) WithContext(ctx context.Context) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithEndtime(endtime *string) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithHTTPClient(client *http.Client) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithNextPage(nextPage *string) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithRepository(repository string) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithStarttime(starttime *string) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WithTimeout(timeout time.Duration) *ListRepoLogsParams
- func (o *ListRepoLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoLogsReader
- type ListRepoLogsUnauthorized
- type ListUserLogsBadRequest
- type ListUserLogsForbidden
- type ListUserLogsNotFound
- type ListUserLogsOK
- type ListUserLogsParams
- func (o *ListUserLogsParams) SetContext(ctx context.Context)
- func (o *ListUserLogsParams) SetEndtime(endtime *string)
- func (o *ListUserLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserLogsParams) SetNextPage(nextPage *string)
- func (o *ListUserLogsParams) SetPerformer(performer *string)
- func (o *ListUserLogsParams) SetStarttime(starttime *string)
- func (o *ListUserLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserLogsParams) WithContext(ctx context.Context) *ListUserLogsParams
- func (o *ListUserLogsParams) WithEndtime(endtime *string) *ListUserLogsParams
- func (o *ListUserLogsParams) WithHTTPClient(client *http.Client) *ListUserLogsParams
- func (o *ListUserLogsParams) WithNextPage(nextPage *string) *ListUserLogsParams
- func (o *ListUserLogsParams) WithPerformer(performer *string) *ListUserLogsParams
- func (o *ListUserLogsParams) WithStarttime(starttime *string) *ListUserLogsParams
- func (o *ListUserLogsParams) WithTimeout(timeout time.Duration) *ListUserLogsParams
- func (o *ListUserLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserLogsReader
- type ListUserLogsUnauthorized
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 logs API
func (*Client) ListOrgLogs ¶
func (a *Client) ListOrgLogs(params *ListOrgLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOrgLogsOK, error)
ListOrgLogs List the logs for the specified organization.
func (*Client) ListRepoLogs ¶
func (a *Client) ListRepoLogs(params *ListRepoLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoLogsOK, error)
ListRepoLogs List the logs for the specified repository.
func (*Client) ListUserLogs ¶
func (a *Client) ListUserLogs(params *ListUserLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserLogsOK, error)
ListUserLogs List the logs for the current user.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListOrgLogs(params *ListOrgLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListOrgLogsOK, error) ListRepoLogs(params *ListRepoLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoLogsOK, error) ListUserLogs(params *ListUserLogsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserLogsOK, 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 logs API client.
type ListOrgLogsBadRequest ¶
ListOrgLogsBadRequest handles this case with default header values.
Bad Request
func NewListOrgLogsBadRequest ¶
func NewListOrgLogsBadRequest() *ListOrgLogsBadRequest
NewListOrgLogsBadRequest creates a ListOrgLogsBadRequest with default headers values
func (*ListOrgLogsBadRequest) Error ¶
func (o *ListOrgLogsBadRequest) Error() string
func (*ListOrgLogsBadRequest) GetPayload ¶
func (o *ListOrgLogsBadRequest) GetPayload() *models.APIError
type ListOrgLogsForbidden ¶
ListOrgLogsForbidden handles this case with default header values.
Unauthorized access
func NewListOrgLogsForbidden ¶
func NewListOrgLogsForbidden() *ListOrgLogsForbidden
NewListOrgLogsForbidden creates a ListOrgLogsForbidden with default headers values
func (*ListOrgLogsForbidden) Error ¶
func (o *ListOrgLogsForbidden) Error() string
func (*ListOrgLogsForbidden) GetPayload ¶
func (o *ListOrgLogsForbidden) GetPayload() *models.APIError
type ListOrgLogsNotFound ¶
ListOrgLogsNotFound handles this case with default header values.
Not found
func NewListOrgLogsNotFound ¶
func NewListOrgLogsNotFound() *ListOrgLogsNotFound
NewListOrgLogsNotFound creates a ListOrgLogsNotFound with default headers values
func (*ListOrgLogsNotFound) Error ¶
func (o *ListOrgLogsNotFound) Error() string
func (*ListOrgLogsNotFound) GetPayload ¶
func (o *ListOrgLogsNotFound) GetPayload() *models.APIError
type ListOrgLogsOK ¶
type ListOrgLogsOK struct { }
ListOrgLogsOK handles this case with default header values.
Successful invocation
func NewListOrgLogsOK ¶
func NewListOrgLogsOK() *ListOrgLogsOK
NewListOrgLogsOK creates a ListOrgLogsOK with default headers values
func (*ListOrgLogsOK) Error ¶
func (o *ListOrgLogsOK) Error() string
type ListOrgLogsParams ¶
type ListOrgLogsParams struct { /*Endtime Latest time for logs. Format: "%m/%d/%Y" in UTC. */ Endtime *string /*NextPage The page token for the next page */ NextPage *string /*Orgname The name of the organization */ Orgname string /*Performer Username for which to filter logs. */ Performer *string /*Starttime Earliest time for logs. Format: "%m/%d/%Y" in UTC. */ Starttime *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrgLogsParams contains all the parameters to send to the API endpoint for the list org logs operation typically these are written to a http.Request
func NewListOrgLogsParams ¶
func NewListOrgLogsParams() *ListOrgLogsParams
NewListOrgLogsParams creates a new ListOrgLogsParams object with the default values initialized.
func NewListOrgLogsParamsWithContext ¶
func NewListOrgLogsParamsWithContext(ctx context.Context) *ListOrgLogsParams
NewListOrgLogsParamsWithContext creates a new ListOrgLogsParams object with the default values initialized, and the ability to set a context for a request
func NewListOrgLogsParamsWithHTTPClient ¶
func NewListOrgLogsParamsWithHTTPClient(client *http.Client) *ListOrgLogsParams
NewListOrgLogsParamsWithHTTPClient creates a new ListOrgLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListOrgLogsParamsWithTimeout ¶
func NewListOrgLogsParamsWithTimeout(timeout time.Duration) *ListOrgLogsParams
NewListOrgLogsParamsWithTimeout creates a new ListOrgLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListOrgLogsParams) SetContext ¶
func (o *ListOrgLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the list org logs params
func (*ListOrgLogsParams) SetEndtime ¶
func (o *ListOrgLogsParams) SetEndtime(endtime *string)
SetEndtime adds the endtime to the list org logs params
func (*ListOrgLogsParams) SetHTTPClient ¶
func (o *ListOrgLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list org logs params
func (*ListOrgLogsParams) SetNextPage ¶
func (o *ListOrgLogsParams) SetNextPage(nextPage *string)
SetNextPage adds the nextPage to the list org logs params
func (*ListOrgLogsParams) SetOrgname ¶
func (o *ListOrgLogsParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the list org logs params
func (*ListOrgLogsParams) SetPerformer ¶
func (o *ListOrgLogsParams) SetPerformer(performer *string)
SetPerformer adds the performer to the list org logs params
func (*ListOrgLogsParams) SetStarttime ¶
func (o *ListOrgLogsParams) SetStarttime(starttime *string)
SetStarttime adds the starttime to the list org logs params
func (*ListOrgLogsParams) SetTimeout ¶
func (o *ListOrgLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list org logs params
func (*ListOrgLogsParams) WithContext ¶
func (o *ListOrgLogsParams) WithContext(ctx context.Context) *ListOrgLogsParams
WithContext adds the context to the list org logs params
func (*ListOrgLogsParams) WithEndtime ¶
func (o *ListOrgLogsParams) WithEndtime(endtime *string) *ListOrgLogsParams
WithEndtime adds the endtime to the list org logs params
func (*ListOrgLogsParams) WithHTTPClient ¶
func (o *ListOrgLogsParams) WithHTTPClient(client *http.Client) *ListOrgLogsParams
WithHTTPClient adds the HTTPClient to the list org logs params
func (*ListOrgLogsParams) WithNextPage ¶
func (o *ListOrgLogsParams) WithNextPage(nextPage *string) *ListOrgLogsParams
WithNextPage adds the nextPage to the list org logs params
func (*ListOrgLogsParams) WithOrgname ¶
func (o *ListOrgLogsParams) WithOrgname(orgname string) *ListOrgLogsParams
WithOrgname adds the orgname to the list org logs params
func (*ListOrgLogsParams) WithPerformer ¶
func (o *ListOrgLogsParams) WithPerformer(performer *string) *ListOrgLogsParams
WithPerformer adds the performer to the list org logs params
func (*ListOrgLogsParams) WithStarttime ¶
func (o *ListOrgLogsParams) WithStarttime(starttime *string) *ListOrgLogsParams
WithStarttime adds the starttime to the list org logs params
func (*ListOrgLogsParams) WithTimeout ¶
func (o *ListOrgLogsParams) WithTimeout(timeout time.Duration) *ListOrgLogsParams
WithTimeout adds the timeout to the list org logs params
func (*ListOrgLogsParams) WriteToRequest ¶
func (o *ListOrgLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrgLogsReader ¶
type ListOrgLogsReader struct {
// contains filtered or unexported fields
}
ListOrgLogsReader is a Reader for the ListOrgLogs structure.
func (*ListOrgLogsReader) ReadResponse ¶
func (o *ListOrgLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrgLogsUnauthorized ¶
type ListOrgLogsUnauthorized struct {
}ListOrgLogsUnauthorized handles this case with default header values.
Session required
func NewListOrgLogsUnauthorized ¶
func NewListOrgLogsUnauthorized() *ListOrgLogsUnauthorized
NewListOrgLogsUnauthorized creates a ListOrgLogsUnauthorized with default headers values
func (*ListOrgLogsUnauthorized) Error ¶
func (o *ListOrgLogsUnauthorized) Error() string
func (*ListOrgLogsUnauthorized) GetPayload ¶
func (o *ListOrgLogsUnauthorized) GetPayload() *models.APIError
type ListRepoLogsBadRequest ¶
ListRepoLogsBadRequest handles this case with default header values.
Bad Request
func NewListRepoLogsBadRequest ¶
func NewListRepoLogsBadRequest() *ListRepoLogsBadRequest
NewListRepoLogsBadRequest creates a ListRepoLogsBadRequest with default headers values
func (*ListRepoLogsBadRequest) Error ¶
func (o *ListRepoLogsBadRequest) Error() string
func (*ListRepoLogsBadRequest) GetPayload ¶
func (o *ListRepoLogsBadRequest) GetPayload() *models.APIError
type ListRepoLogsForbidden ¶
ListRepoLogsForbidden handles this case with default header values.
Unauthorized access
func NewListRepoLogsForbidden ¶
func NewListRepoLogsForbidden() *ListRepoLogsForbidden
NewListRepoLogsForbidden creates a ListRepoLogsForbidden with default headers values
func (*ListRepoLogsForbidden) Error ¶
func (o *ListRepoLogsForbidden) Error() string
func (*ListRepoLogsForbidden) GetPayload ¶
func (o *ListRepoLogsForbidden) GetPayload() *models.APIError
type ListRepoLogsNotFound ¶
ListRepoLogsNotFound handles this case with default header values.
Not found
func NewListRepoLogsNotFound ¶
func NewListRepoLogsNotFound() *ListRepoLogsNotFound
NewListRepoLogsNotFound creates a ListRepoLogsNotFound with default headers values
func (*ListRepoLogsNotFound) Error ¶
func (o *ListRepoLogsNotFound) Error() string
func (*ListRepoLogsNotFound) GetPayload ¶
func (o *ListRepoLogsNotFound) GetPayload() *models.APIError
type ListRepoLogsOK ¶
type ListRepoLogsOK struct { }
ListRepoLogsOK handles this case with default header values.
Successful invocation
func NewListRepoLogsOK ¶
func NewListRepoLogsOK() *ListRepoLogsOK
NewListRepoLogsOK creates a ListRepoLogsOK with default headers values
func (*ListRepoLogsOK) Error ¶
func (o *ListRepoLogsOK) Error() string
type ListRepoLogsParams ¶
type ListRepoLogsParams struct { /*Endtime Latest time for logs. Format: "%m/%d/%Y" in UTC. */ Endtime *string /*NextPage The page token for the next page */ NextPage *string /*Repository The full path of the repository. e.g. namespace/name */ Repository string /*Starttime Earliest time for logs. Format: "%m/%d/%Y" in UTC. */ Starttime *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepoLogsParams contains all the parameters to send to the API endpoint for the list repo logs operation typically these are written to a http.Request
func NewListRepoLogsParams ¶
func NewListRepoLogsParams() *ListRepoLogsParams
NewListRepoLogsParams creates a new ListRepoLogsParams object with the default values initialized.
func NewListRepoLogsParamsWithContext ¶
func NewListRepoLogsParamsWithContext(ctx context.Context) *ListRepoLogsParams
NewListRepoLogsParamsWithContext creates a new ListRepoLogsParams object with the default values initialized, and the ability to set a context for a request
func NewListRepoLogsParamsWithHTTPClient ¶
func NewListRepoLogsParamsWithHTTPClient(client *http.Client) *ListRepoLogsParams
NewListRepoLogsParamsWithHTTPClient creates a new ListRepoLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRepoLogsParamsWithTimeout ¶
func NewListRepoLogsParamsWithTimeout(timeout time.Duration) *ListRepoLogsParams
NewListRepoLogsParamsWithTimeout creates a new ListRepoLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRepoLogsParams) SetContext ¶
func (o *ListRepoLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the list repo logs params
func (*ListRepoLogsParams) SetEndtime ¶
func (o *ListRepoLogsParams) SetEndtime(endtime *string)
SetEndtime adds the endtime to the list repo logs params
func (*ListRepoLogsParams) SetHTTPClient ¶
func (o *ListRepoLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repo logs params
func (*ListRepoLogsParams) SetNextPage ¶
func (o *ListRepoLogsParams) SetNextPage(nextPage *string)
SetNextPage adds the nextPage to the list repo logs params
func (*ListRepoLogsParams) SetRepository ¶
func (o *ListRepoLogsParams) SetRepository(repository string)
SetRepository adds the repository to the list repo logs params
func (*ListRepoLogsParams) SetStarttime ¶
func (o *ListRepoLogsParams) SetStarttime(starttime *string)
SetStarttime adds the starttime to the list repo logs params
func (*ListRepoLogsParams) SetTimeout ¶
func (o *ListRepoLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repo logs params
func (*ListRepoLogsParams) WithContext ¶
func (o *ListRepoLogsParams) WithContext(ctx context.Context) *ListRepoLogsParams
WithContext adds the context to the list repo logs params
func (*ListRepoLogsParams) WithEndtime ¶
func (o *ListRepoLogsParams) WithEndtime(endtime *string) *ListRepoLogsParams
WithEndtime adds the endtime to the list repo logs params
func (*ListRepoLogsParams) WithHTTPClient ¶
func (o *ListRepoLogsParams) WithHTTPClient(client *http.Client) *ListRepoLogsParams
WithHTTPClient adds the HTTPClient to the list repo logs params
func (*ListRepoLogsParams) WithNextPage ¶
func (o *ListRepoLogsParams) WithNextPage(nextPage *string) *ListRepoLogsParams
WithNextPage adds the nextPage to the list repo logs params
func (*ListRepoLogsParams) WithRepository ¶
func (o *ListRepoLogsParams) WithRepository(repository string) *ListRepoLogsParams
WithRepository adds the repository to the list repo logs params
func (*ListRepoLogsParams) WithStarttime ¶
func (o *ListRepoLogsParams) WithStarttime(starttime *string) *ListRepoLogsParams
WithStarttime adds the starttime to the list repo logs params
func (*ListRepoLogsParams) WithTimeout ¶
func (o *ListRepoLogsParams) WithTimeout(timeout time.Duration) *ListRepoLogsParams
WithTimeout adds the timeout to the list repo logs params
func (*ListRepoLogsParams) WriteToRequest ¶
func (o *ListRepoLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepoLogsReader ¶
type ListRepoLogsReader struct {
// contains filtered or unexported fields
}
ListRepoLogsReader is a Reader for the ListRepoLogs structure.
func (*ListRepoLogsReader) ReadResponse ¶
func (o *ListRepoLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepoLogsUnauthorized ¶
type ListRepoLogsUnauthorized struct {
}ListRepoLogsUnauthorized handles this case with default header values.
Session required
func NewListRepoLogsUnauthorized ¶
func NewListRepoLogsUnauthorized() *ListRepoLogsUnauthorized
NewListRepoLogsUnauthorized creates a ListRepoLogsUnauthorized with default headers values
func (*ListRepoLogsUnauthorized) Error ¶
func (o *ListRepoLogsUnauthorized) Error() string
func (*ListRepoLogsUnauthorized) GetPayload ¶
func (o *ListRepoLogsUnauthorized) GetPayload() *models.APIError
type ListUserLogsBadRequest ¶
ListUserLogsBadRequest handles this case with default header values.
Bad Request
func NewListUserLogsBadRequest ¶
func NewListUserLogsBadRequest() *ListUserLogsBadRequest
NewListUserLogsBadRequest creates a ListUserLogsBadRequest with default headers values
func (*ListUserLogsBadRequest) Error ¶
func (o *ListUserLogsBadRequest) Error() string
func (*ListUserLogsBadRequest) GetPayload ¶
func (o *ListUserLogsBadRequest) GetPayload() *models.APIError
type ListUserLogsForbidden ¶
ListUserLogsForbidden handles this case with default header values.
Unauthorized access
func NewListUserLogsForbidden ¶
func NewListUserLogsForbidden() *ListUserLogsForbidden
NewListUserLogsForbidden creates a ListUserLogsForbidden with default headers values
func (*ListUserLogsForbidden) Error ¶
func (o *ListUserLogsForbidden) Error() string
func (*ListUserLogsForbidden) GetPayload ¶
func (o *ListUserLogsForbidden) GetPayload() *models.APIError
type ListUserLogsNotFound ¶
ListUserLogsNotFound handles this case with default header values.
Not found
func NewListUserLogsNotFound ¶
func NewListUserLogsNotFound() *ListUserLogsNotFound
NewListUserLogsNotFound creates a ListUserLogsNotFound with default headers values
func (*ListUserLogsNotFound) Error ¶
func (o *ListUserLogsNotFound) Error() string
func (*ListUserLogsNotFound) GetPayload ¶
func (o *ListUserLogsNotFound) GetPayload() *models.APIError
type ListUserLogsOK ¶
type ListUserLogsOK struct { }
ListUserLogsOK handles this case with default header values.
Successful invocation
func NewListUserLogsOK ¶
func NewListUserLogsOK() *ListUserLogsOK
NewListUserLogsOK creates a ListUserLogsOK with default headers values
func (*ListUserLogsOK) Error ¶
func (o *ListUserLogsOK) Error() string
type ListUserLogsParams ¶
type ListUserLogsParams struct { /*Endtime Latest time for logs. Format: "%m/%d/%Y" in UTC. */ Endtime *string /*NextPage The page token for the next page */ NextPage *string /*Performer Username for which to filter logs. */ Performer *string /*Starttime Earliest time for logs. Format: "%m/%d/%Y" in UTC. */ Starttime *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserLogsParams contains all the parameters to send to the API endpoint for the list user logs operation typically these are written to a http.Request
func NewListUserLogsParams ¶
func NewListUserLogsParams() *ListUserLogsParams
NewListUserLogsParams creates a new ListUserLogsParams object with the default values initialized.
func NewListUserLogsParamsWithContext ¶
func NewListUserLogsParamsWithContext(ctx context.Context) *ListUserLogsParams
NewListUserLogsParamsWithContext creates a new ListUserLogsParams object with the default values initialized, and the ability to set a context for a request
func NewListUserLogsParamsWithHTTPClient ¶
func NewListUserLogsParamsWithHTTPClient(client *http.Client) *ListUserLogsParams
NewListUserLogsParamsWithHTTPClient creates a new ListUserLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserLogsParamsWithTimeout ¶
func NewListUserLogsParamsWithTimeout(timeout time.Duration) *ListUserLogsParams
NewListUserLogsParamsWithTimeout creates a new ListUserLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserLogsParams) SetContext ¶
func (o *ListUserLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user logs params
func (*ListUserLogsParams) SetEndtime ¶
func (o *ListUserLogsParams) SetEndtime(endtime *string)
SetEndtime adds the endtime to the list user logs params
func (*ListUserLogsParams) SetHTTPClient ¶
func (o *ListUserLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user logs params
func (*ListUserLogsParams) SetNextPage ¶
func (o *ListUserLogsParams) SetNextPage(nextPage *string)
SetNextPage adds the nextPage to the list user logs params
func (*ListUserLogsParams) SetPerformer ¶
func (o *ListUserLogsParams) SetPerformer(performer *string)
SetPerformer adds the performer to the list user logs params
func (*ListUserLogsParams) SetStarttime ¶
func (o *ListUserLogsParams) SetStarttime(starttime *string)
SetStarttime adds the starttime to the list user logs params
func (*ListUserLogsParams) SetTimeout ¶
func (o *ListUserLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user logs params
func (*ListUserLogsParams) WithContext ¶
func (o *ListUserLogsParams) WithContext(ctx context.Context) *ListUserLogsParams
WithContext adds the context to the list user logs params
func (*ListUserLogsParams) WithEndtime ¶
func (o *ListUserLogsParams) WithEndtime(endtime *string) *ListUserLogsParams
WithEndtime adds the endtime to the list user logs params
func (*ListUserLogsParams) WithHTTPClient ¶
func (o *ListUserLogsParams) WithHTTPClient(client *http.Client) *ListUserLogsParams
WithHTTPClient adds the HTTPClient to the list user logs params
func (*ListUserLogsParams) WithNextPage ¶
func (o *ListUserLogsParams) WithNextPage(nextPage *string) *ListUserLogsParams
WithNextPage adds the nextPage to the list user logs params
func (*ListUserLogsParams) WithPerformer ¶
func (o *ListUserLogsParams) WithPerformer(performer *string) *ListUserLogsParams
WithPerformer adds the performer to the list user logs params
func (*ListUserLogsParams) WithStarttime ¶
func (o *ListUserLogsParams) WithStarttime(starttime *string) *ListUserLogsParams
WithStarttime adds the starttime to the list user logs params
func (*ListUserLogsParams) WithTimeout ¶
func (o *ListUserLogsParams) WithTimeout(timeout time.Duration) *ListUserLogsParams
WithTimeout adds the timeout to the list user logs params
func (*ListUserLogsParams) WriteToRequest ¶
func (o *ListUserLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserLogsReader ¶
type ListUserLogsReader struct {
// contains filtered or unexported fields
}
ListUserLogsReader is a Reader for the ListUserLogs structure.
func (*ListUserLogsReader) ReadResponse ¶
func (o *ListUserLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserLogsUnauthorized ¶
type ListUserLogsUnauthorized struct {
}ListUserLogsUnauthorized handles this case with default header values.
Session required
func NewListUserLogsUnauthorized ¶
func NewListUserLogsUnauthorized() *ListUserLogsUnauthorized
NewListUserLogsUnauthorized creates a ListUserLogsUnauthorized with default headers values
func (*ListUserLogsUnauthorized) Error ¶
func (o *ListUserLogsUnauthorized) Error() string
func (*ListUserLogsUnauthorized) GetPayload ¶
func (o *ListUserLogsUnauthorized) GetPayload() *models.APIError