log

package
v0.0.0-...-1a3ccaa Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 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 log API

func (*Client) GetLogApp

func (a *Client) GetLogApp(params *GetLogAppParams, opts ...ClientOption) (*GetLogAppOK, error)

GetLogApp gets paginated list of app logs

func (*Client) GetLogAppID

func (a *Client) GetLogAppID(params *GetLogAppIDParams, opts ...ClientOption) (*GetLogAppIDOK, error)

GetLogAppID gets http app by id

func (*Client) GetLogHTTP

func (a *Client) GetLogHTTP(params *GetLogHTTPParams, opts ...ClientOption) (*GetLogHTTPOK, error)

GetLogHTTP gets paginated list of http logs

func (*Client) GetLogHTTPID

func (a *Client) GetLogHTTPID(params *GetLogHTTPIDParams, opts ...ClientOption) (*GetLogHTTPIDOK, error)

GetLogHTTPID gets http log by id

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 {
	GetLogApp(params *GetLogAppParams, opts ...ClientOption) (*GetLogAppOK, error)

	GetLogAppID(params *GetLogAppIDParams, opts ...ClientOption) (*GetLogAppIDOK, error)

	GetLogHTTP(params *GetLogHTTPParams, opts ...ClientOption) (*GetLogHTTPOK, error)

	GetLogHTTPID(params *GetLogHTTPIDParams, opts ...ClientOption) (*GetLogHTTPIDOK, 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 log API client.

type GetLogAppIDInternalServerError

type GetLogAppIDInternalServerError struct {
}

GetLogAppIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLogAppIDInternalServerError

func NewGetLogAppIDInternalServerError() *GetLogAppIDInternalServerError

NewGetLogAppIDInternalServerError creates a GetLogAppIDInternalServerError with default headers values

func (*GetLogAppIDInternalServerError) Error

func (*GetLogAppIDInternalServerError) IsClientError

func (o *GetLogAppIDInternalServerError) IsClientError() bool

IsClientError returns true when this get log app Id internal server error response has a 4xx status code

func (*GetLogAppIDInternalServerError) IsCode

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

IsCode returns true when this get log app Id internal server error response a status code equal to that given

func (*GetLogAppIDInternalServerError) IsRedirect

func (o *GetLogAppIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get log app Id internal server error response has a 3xx status code

func (*GetLogAppIDInternalServerError) IsServerError

func (o *GetLogAppIDInternalServerError) IsServerError() bool

IsServerError returns true when this get log app Id internal server error response has a 5xx status code

func (*GetLogAppIDInternalServerError) IsSuccess

func (o *GetLogAppIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get log app Id internal server error response has a 2xx status code

func (*GetLogAppIDInternalServerError) String

type GetLogAppIDNotFound

type GetLogAppIDNotFound struct {
}

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

Not Found

func NewGetLogAppIDNotFound

func NewGetLogAppIDNotFound() *GetLogAppIDNotFound

NewGetLogAppIDNotFound creates a GetLogAppIDNotFound with default headers values

func (*GetLogAppIDNotFound) Error

func (o *GetLogAppIDNotFound) Error() string

func (*GetLogAppIDNotFound) IsClientError

func (o *GetLogAppIDNotFound) IsClientError() bool

IsClientError returns true when this get log app Id not found response has a 4xx status code

func (*GetLogAppIDNotFound) IsCode

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

IsCode returns true when this get log app Id not found response a status code equal to that given

func (*GetLogAppIDNotFound) IsRedirect

func (o *GetLogAppIDNotFound) IsRedirect() bool

IsRedirect returns true when this get log app Id not found response has a 3xx status code

func (*GetLogAppIDNotFound) IsServerError

func (o *GetLogAppIDNotFound) IsServerError() bool

IsServerError returns true when this get log app Id not found response has a 5xx status code

func (*GetLogAppIDNotFound) IsSuccess

func (o *GetLogAppIDNotFound) IsSuccess() bool

IsSuccess returns true when this get log app Id not found response has a 2xx status code

func (*GetLogAppIDNotFound) String

func (o *GetLogAppIDNotFound) String() string

type GetLogAppIDOK

type GetLogAppIDOK struct {
	Payload *models.DtosAppLogDto
}

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

OK

func NewGetLogAppIDOK

func NewGetLogAppIDOK() *GetLogAppIDOK

NewGetLogAppIDOK creates a GetLogAppIDOK with default headers values

func (*GetLogAppIDOK) Error

func (o *GetLogAppIDOK) Error() string

func (*GetLogAppIDOK) GetPayload

func (o *GetLogAppIDOK) GetPayload() *models.DtosAppLogDto

func (*GetLogAppIDOK) IsClientError

func (o *GetLogAppIDOK) IsClientError() bool

IsClientError returns true when this get log app Id o k response has a 4xx status code

func (*GetLogAppIDOK) IsCode

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

IsCode returns true when this get log app Id o k response a status code equal to that given

func (*GetLogAppIDOK) IsRedirect

func (o *GetLogAppIDOK) IsRedirect() bool

IsRedirect returns true when this get log app Id o k response has a 3xx status code

func (*GetLogAppIDOK) IsServerError

func (o *GetLogAppIDOK) IsServerError() bool

IsServerError returns true when this get log app Id o k response has a 5xx status code

func (*GetLogAppIDOK) IsSuccess

func (o *GetLogAppIDOK) IsSuccess() bool

IsSuccess returns true when this get log app Id o k response has a 2xx status code

func (*GetLogAppIDOK) String

func (o *GetLogAppIDOK) String() string

type GetLogAppIDParams

type GetLogAppIDParams struct {

	/* ID.

	   log id
	*/
	ID string

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

GetLogAppIDParams contains all the parameters to send to the API endpoint

for the get log app ID operation.

Typically these are written to a http.Request.

func NewGetLogAppIDParams

func NewGetLogAppIDParams() *GetLogAppIDParams

NewGetLogAppIDParams creates a new GetLogAppIDParams 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 NewGetLogAppIDParamsWithContext

func NewGetLogAppIDParamsWithContext(ctx context.Context) *GetLogAppIDParams

NewGetLogAppIDParamsWithContext creates a new GetLogAppIDParams object with the ability to set a context for a request.

func NewGetLogAppIDParamsWithHTTPClient

func NewGetLogAppIDParamsWithHTTPClient(client *http.Client) *GetLogAppIDParams

NewGetLogAppIDParamsWithHTTPClient creates a new GetLogAppIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogAppIDParamsWithTimeout

func NewGetLogAppIDParamsWithTimeout(timeout time.Duration) *GetLogAppIDParams

NewGetLogAppIDParamsWithTimeout creates a new GetLogAppIDParams object with the ability to set a timeout on a request.

func (*GetLogAppIDParams) SetContext

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

SetContext adds the context to the get log app ID params

func (*GetLogAppIDParams) SetDefaults

func (o *GetLogAppIDParams) SetDefaults()

SetDefaults hydrates default values in the get log app ID params (not the query body).

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

func (*GetLogAppIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log app ID params

func (*GetLogAppIDParams) SetID

func (o *GetLogAppIDParams) SetID(id string)

SetID adds the id to the get log app ID params

func (*GetLogAppIDParams) SetTimeout

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

SetTimeout adds the timeout to the get log app ID params

func (*GetLogAppIDParams) WithContext

func (o *GetLogAppIDParams) WithContext(ctx context.Context) *GetLogAppIDParams

WithContext adds the context to the get log app ID params

func (*GetLogAppIDParams) WithDefaults

func (o *GetLogAppIDParams) WithDefaults() *GetLogAppIDParams

WithDefaults hydrates default values in the get log app ID params (not the query body).

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

func (*GetLogAppIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log app ID params

func (*GetLogAppIDParams) WithID

WithID adds the id to the get log app ID params

func (*GetLogAppIDParams) WithTimeout

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

WithTimeout adds the timeout to the get log app ID params

func (*GetLogAppIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogAppIDReader

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

GetLogAppIDReader is a Reader for the GetLogAppID structure.

func (*GetLogAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogAppInternalServerError

type GetLogAppInternalServerError struct {
}

GetLogAppInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLogAppInternalServerError

func NewGetLogAppInternalServerError() *GetLogAppInternalServerError

NewGetLogAppInternalServerError creates a GetLogAppInternalServerError with default headers values

func (*GetLogAppInternalServerError) Error

func (*GetLogAppInternalServerError) IsClientError

func (o *GetLogAppInternalServerError) IsClientError() bool

IsClientError returns true when this get log app internal server error response has a 4xx status code

func (*GetLogAppInternalServerError) IsCode

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

IsCode returns true when this get log app internal server error response a status code equal to that given

func (*GetLogAppInternalServerError) IsRedirect

func (o *GetLogAppInternalServerError) IsRedirect() bool

IsRedirect returns true when this get log app internal server error response has a 3xx status code

func (*GetLogAppInternalServerError) IsServerError

func (o *GetLogAppInternalServerError) IsServerError() bool

IsServerError returns true when this get log app internal server error response has a 5xx status code

func (*GetLogAppInternalServerError) IsSuccess

func (o *GetLogAppInternalServerError) IsSuccess() bool

IsSuccess returns true when this get log app internal server error response has a 2xx status code

func (*GetLogAppInternalServerError) String

type GetLogAppOK

type GetLogAppOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosAppLogDto
}

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

OK

func NewGetLogAppOK

func NewGetLogAppOK() *GetLogAppOK

NewGetLogAppOK creates a GetLogAppOK with default headers values

func (*GetLogAppOK) Error

func (o *GetLogAppOK) Error() string

func (*GetLogAppOK) GetPayload

func (*GetLogAppOK) IsClientError

func (o *GetLogAppOK) IsClientError() bool

IsClientError returns true when this get log app o k response has a 4xx status code

func (*GetLogAppOK) IsCode

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

IsCode returns true when this get log app o k response a status code equal to that given

func (*GetLogAppOK) IsRedirect

func (o *GetLogAppOK) IsRedirect() bool

IsRedirect returns true when this get log app o k response has a 3xx status code

func (*GetLogAppOK) IsServerError

func (o *GetLogAppOK) IsServerError() bool

IsServerError returns true when this get log app o k response has a 5xx status code

func (*GetLogAppOK) IsSuccess

func (o *GetLogAppOK) IsSuccess() bool

IsSuccess returns true when this get log app o k response has a 2xx status code

func (*GetLogAppOK) String

func (o *GetLogAppOK) String() string

type GetLogAppParams

type GetLogAppParams struct {

	/* OrderBy.

	   Order by field
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order
	*/
	OrderDirection *string

	/* Page.

	   page number
	*/
	Page *int64

	/* PageSize.

	   number of entities per page
	*/
	PageSize *int64

	/* Search.

	   searchable value in entity
	*/
	Search *string

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

GetLogAppParams contains all the parameters to send to the API endpoint

for the get log app operation.

Typically these are written to a http.Request.

func NewGetLogAppParams

func NewGetLogAppParams() *GetLogAppParams

NewGetLogAppParams creates a new GetLogAppParams 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 NewGetLogAppParamsWithContext

func NewGetLogAppParamsWithContext(ctx context.Context) *GetLogAppParams

NewGetLogAppParamsWithContext creates a new GetLogAppParams object with the ability to set a context for a request.

func NewGetLogAppParamsWithHTTPClient

func NewGetLogAppParamsWithHTTPClient(client *http.Client) *GetLogAppParams

NewGetLogAppParamsWithHTTPClient creates a new GetLogAppParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogAppParamsWithTimeout

func NewGetLogAppParamsWithTimeout(timeout time.Duration) *GetLogAppParams

NewGetLogAppParamsWithTimeout creates a new GetLogAppParams object with the ability to set a timeout on a request.

func (*GetLogAppParams) SetContext

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

SetContext adds the context to the get log app params

func (*GetLogAppParams) SetDefaults

func (o *GetLogAppParams) SetDefaults()

SetDefaults hydrates default values in the get log app params (not the query body).

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

func (*GetLogAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log app params

func (*GetLogAppParams) SetOrderBy

func (o *GetLogAppParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get log app params

func (*GetLogAppParams) SetOrderDirection

func (o *GetLogAppParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get log app params

func (*GetLogAppParams) SetPage

func (o *GetLogAppParams) SetPage(page *int64)

SetPage adds the page to the get log app params

func (*GetLogAppParams) SetPageSize

func (o *GetLogAppParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get log app params

func (*GetLogAppParams) SetSearch

func (o *GetLogAppParams) SetSearch(search *string)

SetSearch adds the search to the get log app params

func (*GetLogAppParams) SetTimeout

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

SetTimeout adds the timeout to the get log app params

func (*GetLogAppParams) WithContext

func (o *GetLogAppParams) WithContext(ctx context.Context) *GetLogAppParams

WithContext adds the context to the get log app params

func (*GetLogAppParams) WithDefaults

func (o *GetLogAppParams) WithDefaults() *GetLogAppParams

WithDefaults hydrates default values in the get log app params (not the query body).

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

func (*GetLogAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log app params

func (*GetLogAppParams) WithOrderBy

func (o *GetLogAppParams) WithOrderBy(orderBy *string) *GetLogAppParams

WithOrderBy adds the orderBy to the get log app params

func (*GetLogAppParams) WithOrderDirection

func (o *GetLogAppParams) WithOrderDirection(orderDirection *string) *GetLogAppParams

WithOrderDirection adds the orderDirection to the get log app params

func (*GetLogAppParams) WithPage

func (o *GetLogAppParams) WithPage(page *int64) *GetLogAppParams

WithPage adds the page to the get log app params

func (*GetLogAppParams) WithPageSize

func (o *GetLogAppParams) WithPageSize(pageSize *int64) *GetLogAppParams

WithPageSize adds the pageSize to the get log app params

func (*GetLogAppParams) WithSearch

func (o *GetLogAppParams) WithSearch(search *string) *GetLogAppParams

WithSearch adds the search to the get log app params

func (*GetLogAppParams) WithTimeout

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

WithTimeout adds the timeout to the get log app params

func (*GetLogAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogAppReader

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

GetLogAppReader is a Reader for the GetLogApp structure.

func (*GetLogAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogHTTPIDInternalServerError

type GetLogHTTPIDInternalServerError struct {
}

GetLogHTTPIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLogHTTPIDInternalServerError

func NewGetLogHTTPIDInternalServerError() *GetLogHTTPIDInternalServerError

NewGetLogHTTPIDInternalServerError creates a GetLogHTTPIDInternalServerError with default headers values

func (*GetLogHTTPIDInternalServerError) Error

func (*GetLogHTTPIDInternalServerError) IsClientError

func (o *GetLogHTTPIDInternalServerError) IsClientError() bool

IsClientError returns true when this get log Http Id internal server error response has a 4xx status code

func (*GetLogHTTPIDInternalServerError) IsCode

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

IsCode returns true when this get log Http Id internal server error response a status code equal to that given

func (*GetLogHTTPIDInternalServerError) IsRedirect

func (o *GetLogHTTPIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get log Http Id internal server error response has a 3xx status code

func (*GetLogHTTPIDInternalServerError) IsServerError

func (o *GetLogHTTPIDInternalServerError) IsServerError() bool

IsServerError returns true when this get log Http Id internal server error response has a 5xx status code

func (*GetLogHTTPIDInternalServerError) IsSuccess

func (o *GetLogHTTPIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get log Http Id internal server error response has a 2xx status code

func (*GetLogHTTPIDInternalServerError) String

type GetLogHTTPIDNotFound

type GetLogHTTPIDNotFound struct {
}

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

Not Found

func NewGetLogHTTPIDNotFound

func NewGetLogHTTPIDNotFound() *GetLogHTTPIDNotFound

NewGetLogHTTPIDNotFound creates a GetLogHTTPIDNotFound with default headers values

func (*GetLogHTTPIDNotFound) Error

func (o *GetLogHTTPIDNotFound) Error() string

func (*GetLogHTTPIDNotFound) IsClientError

func (o *GetLogHTTPIDNotFound) IsClientError() bool

IsClientError returns true when this get log Http Id not found response has a 4xx status code

func (*GetLogHTTPIDNotFound) IsCode

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

IsCode returns true when this get log Http Id not found response a status code equal to that given

func (*GetLogHTTPIDNotFound) IsRedirect

func (o *GetLogHTTPIDNotFound) IsRedirect() bool

IsRedirect returns true when this get log Http Id not found response has a 3xx status code

func (*GetLogHTTPIDNotFound) IsServerError

func (o *GetLogHTTPIDNotFound) IsServerError() bool

IsServerError returns true when this get log Http Id not found response has a 5xx status code

func (*GetLogHTTPIDNotFound) IsSuccess

func (o *GetLogHTTPIDNotFound) IsSuccess() bool

IsSuccess returns true when this get log Http Id not found response has a 2xx status code

func (*GetLogHTTPIDNotFound) String

func (o *GetLogHTTPIDNotFound) String() string

type GetLogHTTPIDOK

type GetLogHTTPIDOK struct {
	Payload *models.DtosHTTPLogDto
}

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

OK

func NewGetLogHTTPIDOK

func NewGetLogHTTPIDOK() *GetLogHTTPIDOK

NewGetLogHTTPIDOK creates a GetLogHTTPIDOK with default headers values

func (*GetLogHTTPIDOK) Error

func (o *GetLogHTTPIDOK) Error() string

func (*GetLogHTTPIDOK) GetPayload

func (o *GetLogHTTPIDOK) GetPayload() *models.DtosHTTPLogDto

func (*GetLogHTTPIDOK) IsClientError

func (o *GetLogHTTPIDOK) IsClientError() bool

IsClientError returns true when this get log Http Id o k response has a 4xx status code

func (*GetLogHTTPIDOK) IsCode

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

IsCode returns true when this get log Http Id o k response a status code equal to that given

func (*GetLogHTTPIDOK) IsRedirect

func (o *GetLogHTTPIDOK) IsRedirect() bool

IsRedirect returns true when this get log Http Id o k response has a 3xx status code

func (*GetLogHTTPIDOK) IsServerError

func (o *GetLogHTTPIDOK) IsServerError() bool

IsServerError returns true when this get log Http Id o k response has a 5xx status code

func (*GetLogHTTPIDOK) IsSuccess

func (o *GetLogHTTPIDOK) IsSuccess() bool

IsSuccess returns true when this get log Http Id o k response has a 2xx status code

func (*GetLogHTTPIDOK) String

func (o *GetLogHTTPIDOK) String() string

type GetLogHTTPIDParams

type GetLogHTTPIDParams struct {

	/* ID.

	   log id
	*/
	ID string

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

GetLogHTTPIDParams contains all the parameters to send to the API endpoint

for the get log HTTP ID operation.

Typically these are written to a http.Request.

func NewGetLogHTTPIDParams

func NewGetLogHTTPIDParams() *GetLogHTTPIDParams

NewGetLogHTTPIDParams creates a new GetLogHTTPIDParams 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 NewGetLogHTTPIDParamsWithContext

func NewGetLogHTTPIDParamsWithContext(ctx context.Context) *GetLogHTTPIDParams

NewGetLogHTTPIDParamsWithContext creates a new GetLogHTTPIDParams object with the ability to set a context for a request.

func NewGetLogHTTPIDParamsWithHTTPClient

func NewGetLogHTTPIDParamsWithHTTPClient(client *http.Client) *GetLogHTTPIDParams

NewGetLogHTTPIDParamsWithHTTPClient creates a new GetLogHTTPIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogHTTPIDParamsWithTimeout

func NewGetLogHTTPIDParamsWithTimeout(timeout time.Duration) *GetLogHTTPIDParams

NewGetLogHTTPIDParamsWithTimeout creates a new GetLogHTTPIDParams object with the ability to set a timeout on a request.

func (*GetLogHTTPIDParams) SetContext

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

SetContext adds the context to the get log HTTP ID params

func (*GetLogHTTPIDParams) SetDefaults

func (o *GetLogHTTPIDParams) SetDefaults()

SetDefaults hydrates default values in the get log HTTP ID params (not the query body).

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

func (*GetLogHTTPIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log HTTP ID params

func (*GetLogHTTPIDParams) SetID

func (o *GetLogHTTPIDParams) SetID(id string)

SetID adds the id to the get log HTTP ID params

func (*GetLogHTTPIDParams) SetTimeout

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

SetTimeout adds the timeout to the get log HTTP ID params

func (*GetLogHTTPIDParams) WithContext

WithContext adds the context to the get log HTTP ID params

func (*GetLogHTTPIDParams) WithDefaults

func (o *GetLogHTTPIDParams) WithDefaults() *GetLogHTTPIDParams

WithDefaults hydrates default values in the get log HTTP ID params (not the query body).

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

func (*GetLogHTTPIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log HTTP ID params

func (*GetLogHTTPIDParams) WithID

WithID adds the id to the get log HTTP ID params

func (*GetLogHTTPIDParams) WithTimeout

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

WithTimeout adds the timeout to the get log HTTP ID params

func (*GetLogHTTPIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogHTTPIDReader

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

GetLogHTTPIDReader is a Reader for the GetLogHTTPID structure.

func (*GetLogHTTPIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogHTTPInternalServerError

type GetLogHTTPInternalServerError struct {
}

GetLogHTTPInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLogHTTPInternalServerError

func NewGetLogHTTPInternalServerError() *GetLogHTTPInternalServerError

NewGetLogHTTPInternalServerError creates a GetLogHTTPInternalServerError with default headers values

func (*GetLogHTTPInternalServerError) Error

func (*GetLogHTTPInternalServerError) IsClientError

func (o *GetLogHTTPInternalServerError) IsClientError() bool

IsClientError returns true when this get log Http internal server error response has a 4xx status code

func (*GetLogHTTPInternalServerError) IsCode

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

IsCode returns true when this get log Http internal server error response a status code equal to that given

func (*GetLogHTTPInternalServerError) IsRedirect

func (o *GetLogHTTPInternalServerError) IsRedirect() bool

IsRedirect returns true when this get log Http internal server error response has a 3xx status code

func (*GetLogHTTPInternalServerError) IsServerError

func (o *GetLogHTTPInternalServerError) IsServerError() bool

IsServerError returns true when this get log Http internal server error response has a 5xx status code

func (*GetLogHTTPInternalServerError) IsSuccess

func (o *GetLogHTTPInternalServerError) IsSuccess() bool

IsSuccess returns true when this get log Http internal server error response has a 2xx status code

func (*GetLogHTTPInternalServerError) String

type GetLogHTTPOK

type GetLogHTTPOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosHTTPLogDto
}

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

OK

func NewGetLogHTTPOK

func NewGetLogHTTPOK() *GetLogHTTPOK

NewGetLogHTTPOK creates a GetLogHTTPOK with default headers values

func (*GetLogHTTPOK) Error

func (o *GetLogHTTPOK) Error() string

func (*GetLogHTTPOK) GetPayload

func (*GetLogHTTPOK) IsClientError

func (o *GetLogHTTPOK) IsClientError() bool

IsClientError returns true when this get log Http o k response has a 4xx status code

func (*GetLogHTTPOK) IsCode

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

IsCode returns true when this get log Http o k response a status code equal to that given

func (*GetLogHTTPOK) IsRedirect

func (o *GetLogHTTPOK) IsRedirect() bool

IsRedirect returns true when this get log Http o k response has a 3xx status code

func (*GetLogHTTPOK) IsServerError

func (o *GetLogHTTPOK) IsServerError() bool

IsServerError returns true when this get log Http o k response has a 5xx status code

func (*GetLogHTTPOK) IsSuccess

func (o *GetLogHTTPOK) IsSuccess() bool

IsSuccess returns true when this get log Http o k response has a 2xx status code

func (*GetLogHTTPOK) String

func (o *GetLogHTTPOK) String() string

type GetLogHTTPParams

type GetLogHTTPParams struct {

	/* OrderBy.

	   Order by field
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order
	*/
	OrderDirection *string

	/* Page.

	   page number
	*/
	Page *int64

	/* PageSize.

	   number of entities per page
	*/
	PageSize *int64

	/* Search.

	   searchable value in entity
	*/
	Search *string

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

GetLogHTTPParams contains all the parameters to send to the API endpoint

for the get log HTTP operation.

Typically these are written to a http.Request.

func NewGetLogHTTPParams

func NewGetLogHTTPParams() *GetLogHTTPParams

NewGetLogHTTPParams creates a new GetLogHTTPParams 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 NewGetLogHTTPParamsWithContext

func NewGetLogHTTPParamsWithContext(ctx context.Context) *GetLogHTTPParams

NewGetLogHTTPParamsWithContext creates a new GetLogHTTPParams object with the ability to set a context for a request.

func NewGetLogHTTPParamsWithHTTPClient

func NewGetLogHTTPParamsWithHTTPClient(client *http.Client) *GetLogHTTPParams

NewGetLogHTTPParamsWithHTTPClient creates a new GetLogHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogHTTPParamsWithTimeout

func NewGetLogHTTPParamsWithTimeout(timeout time.Duration) *GetLogHTTPParams

NewGetLogHTTPParamsWithTimeout creates a new GetLogHTTPParams object with the ability to set a timeout on a request.

func (*GetLogHTTPParams) SetContext

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

SetContext adds the context to the get log HTTP params

func (*GetLogHTTPParams) SetDefaults

func (o *GetLogHTTPParams) SetDefaults()

SetDefaults hydrates default values in the get log HTTP params (not the query body).

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

func (*GetLogHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log HTTP params

func (*GetLogHTTPParams) SetOrderBy

func (o *GetLogHTTPParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get log HTTP params

func (*GetLogHTTPParams) SetOrderDirection

func (o *GetLogHTTPParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get log HTTP params

func (*GetLogHTTPParams) SetPage

func (o *GetLogHTTPParams) SetPage(page *int64)

SetPage adds the page to the get log HTTP params

func (*GetLogHTTPParams) SetPageSize

func (o *GetLogHTTPParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get log HTTP params

func (*GetLogHTTPParams) SetSearch

func (o *GetLogHTTPParams) SetSearch(search *string)

SetSearch adds the search to the get log HTTP params

func (*GetLogHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the get log HTTP params

func (*GetLogHTTPParams) WithContext

func (o *GetLogHTTPParams) WithContext(ctx context.Context) *GetLogHTTPParams

WithContext adds the context to the get log HTTP params

func (*GetLogHTTPParams) WithDefaults

func (o *GetLogHTTPParams) WithDefaults() *GetLogHTTPParams

WithDefaults hydrates default values in the get log HTTP params (not the query body).

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

func (*GetLogHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log HTTP params

func (*GetLogHTTPParams) WithOrderBy

func (o *GetLogHTTPParams) WithOrderBy(orderBy *string) *GetLogHTTPParams

WithOrderBy adds the orderBy to the get log HTTP params

func (*GetLogHTTPParams) WithOrderDirection

func (o *GetLogHTTPParams) WithOrderDirection(orderDirection *string) *GetLogHTTPParams

WithOrderDirection adds the orderDirection to the get log HTTP params

func (*GetLogHTTPParams) WithPage

func (o *GetLogHTTPParams) WithPage(page *int64) *GetLogHTTPParams

WithPage adds the page to the get log HTTP params

func (*GetLogHTTPParams) WithPageSize

func (o *GetLogHTTPParams) WithPageSize(pageSize *int64) *GetLogHTTPParams

WithPageSize adds the pageSize to the get log HTTP params

func (*GetLogHTTPParams) WithSearch

func (o *GetLogHTTPParams) WithSearch(search *string) *GetLogHTTPParams

WithSearch adds the search to the get log HTTP params

func (*GetLogHTTPParams) WithTimeout

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

WithTimeout adds the timeout to the get log HTTP params

func (*GetLogHTTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogHTTPReader

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

GetLogHTTPReader is a Reader for the GetLogHTTP structure.

func (*GetLogHTTPReader) ReadResponse

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