operations

package
v0.0.0-...-e9fb2cd Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) GetCollections

func (a *Client) GetCollections(params *GetCollectionsParams, opts ...ClientOption) (*GetCollectionsOK, error)

GetCollections gets metadata of all collections

func (*Client) GetCollectionsOuID

func (a *Client) GetCollectionsOuID(params *GetCollectionsOuIDParams, opts ...ClientOption) (*GetCollectionsOuIDOK, error)

GetCollectionsOuID gets metadata of collections belonging to the organisational unit

func (*Client) GetCollectionsProjectID

func (a *Client) GetCollectionsProjectID(params *GetCollectionsProjectIDParams, opts ...ClientOption) (*GetCollectionsProjectIDOK, error)

GetCollectionsProjectID gets metadata of collections associated with the project id

func (*Client) GetMetrics

func (a *Client) GetMetrics(params *GetMetricsParams, opts ...ClientOption) (*GetMetricsOK, error)

GetMetrics prometheus metrics

func (*Client) GetPing

func (a *Client) GetPing(params *GetPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPingOK, error)

GetPing endpoints for API server health check

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)

GetUsers gets metadata of all users

func (*Client) GetUsersOuID

func (a *Client) GetUsersOuID(params *GetUsersOuIDParams, opts ...ClientOption) (*GetUsersOuIDOK, error)

GetUsersOuID gets metadata of users belonging to the organisational unit

func (*Client) GetUsersSearch

func (a *Client) GetUsersSearch(params *GetUsersSearchParams, opts ...ClientOption) (*GetUsersSearchOK, error)

GetUsersSearch searches users with matched email address and or display name

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 {
	GetCollections(params *GetCollectionsParams, opts ...ClientOption) (*GetCollectionsOK, error)

	GetCollectionsOuID(params *GetCollectionsOuIDParams, opts ...ClientOption) (*GetCollectionsOuIDOK, error)

	GetCollectionsProjectID(params *GetCollectionsProjectIDParams, opts ...ClientOption) (*GetCollectionsProjectIDOK, error)

	GetMetrics(params *GetMetricsParams, opts ...ClientOption) (*GetMetricsOK, error)

	GetPing(params *GetPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPingOK, error)

	GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)

	GetUsersOuID(params *GetUsersOuIDParams, opts ...ClientOption) (*GetUsersOuIDOK, error)

	GetUsersSearch(params *GetUsersSearchParams, opts ...ClientOption) (*GetUsersSearchOK, 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 operations API client.

type GetCollectionsInternalServerError

type GetCollectionsInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetCollectionsInternalServerError

func NewGetCollectionsInternalServerError() *GetCollectionsInternalServerError

NewGetCollectionsInternalServerError creates a GetCollectionsInternalServerError with default headers values

func (*GetCollectionsInternalServerError) Code

Code gets the status code for the get collections internal server error response

func (*GetCollectionsInternalServerError) Error

func (*GetCollectionsInternalServerError) GetPayload

func (*GetCollectionsInternalServerError) IsClientError

func (o *GetCollectionsInternalServerError) IsClientError() bool

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

func (*GetCollectionsInternalServerError) IsCode

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

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

func (*GetCollectionsInternalServerError) IsRedirect

func (o *GetCollectionsInternalServerError) IsRedirect() bool

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

func (*GetCollectionsInternalServerError) IsServerError

func (o *GetCollectionsInternalServerError) IsServerError() bool

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

func (*GetCollectionsInternalServerError) IsSuccess

func (o *GetCollectionsInternalServerError) IsSuccess() bool

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

func (*GetCollectionsInternalServerError) String

type GetCollectionsOK

type GetCollectionsOK struct {
	Payload *models.ResponseBodyCollections
}

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

success

func NewGetCollectionsOK

func NewGetCollectionsOK() *GetCollectionsOK

NewGetCollectionsOK creates a GetCollectionsOK with default headers values

func (*GetCollectionsOK) Code

func (o *GetCollectionsOK) Code() int

Code gets the status code for the get collections o k response

func (*GetCollectionsOK) Error

func (o *GetCollectionsOK) Error() string

func (*GetCollectionsOK) GetPayload

func (*GetCollectionsOK) IsClientError

func (o *GetCollectionsOK) IsClientError() bool

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

func (*GetCollectionsOK) IsCode

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

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

func (*GetCollectionsOK) IsRedirect

func (o *GetCollectionsOK) IsRedirect() bool

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

func (*GetCollectionsOK) IsServerError

func (o *GetCollectionsOK) IsServerError() bool

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

func (*GetCollectionsOK) IsSuccess

func (o *GetCollectionsOK) IsSuccess() bool

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

func (*GetCollectionsOK) String

func (o *GetCollectionsOK) String() string

type GetCollectionsOuIDInternalServerError

type GetCollectionsOuIDInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetCollectionsOuIDInternalServerError

func NewGetCollectionsOuIDInternalServerError() *GetCollectionsOuIDInternalServerError

NewGetCollectionsOuIDInternalServerError creates a GetCollectionsOuIDInternalServerError with default headers values

func (*GetCollectionsOuIDInternalServerError) Code

Code gets the status code for the get collections ou Id internal server error response

func (*GetCollectionsOuIDInternalServerError) Error

func (*GetCollectionsOuIDInternalServerError) GetPayload

func (*GetCollectionsOuIDInternalServerError) IsClientError

func (o *GetCollectionsOuIDInternalServerError) IsClientError() bool

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

func (*GetCollectionsOuIDInternalServerError) IsCode

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

func (*GetCollectionsOuIDInternalServerError) IsRedirect

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

func (*GetCollectionsOuIDInternalServerError) IsServerError

func (o *GetCollectionsOuIDInternalServerError) IsServerError() bool

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

func (*GetCollectionsOuIDInternalServerError) IsSuccess

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

func (*GetCollectionsOuIDInternalServerError) String

type GetCollectionsOuIDOK

type GetCollectionsOuIDOK struct {
	Payload *models.ResponseBodyCollections
}

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

success

func NewGetCollectionsOuIDOK

func NewGetCollectionsOuIDOK() *GetCollectionsOuIDOK

NewGetCollectionsOuIDOK creates a GetCollectionsOuIDOK with default headers values

func (*GetCollectionsOuIDOK) Code

func (o *GetCollectionsOuIDOK) Code() int

Code gets the status code for the get collections ou Id o k response

func (*GetCollectionsOuIDOK) Error

func (o *GetCollectionsOuIDOK) Error() string

func (*GetCollectionsOuIDOK) GetPayload

func (*GetCollectionsOuIDOK) IsClientError

func (o *GetCollectionsOuIDOK) IsClientError() bool

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

func (*GetCollectionsOuIDOK) IsCode

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

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

func (*GetCollectionsOuIDOK) IsRedirect

func (o *GetCollectionsOuIDOK) IsRedirect() bool

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

func (*GetCollectionsOuIDOK) IsServerError

func (o *GetCollectionsOuIDOK) IsServerError() bool

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

func (*GetCollectionsOuIDOK) IsSuccess

func (o *GetCollectionsOuIDOK) IsSuccess() bool

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

func (*GetCollectionsOuIDOK) String

func (o *GetCollectionsOuIDOK) String() string

type GetCollectionsOuIDParams

type GetCollectionsOuIDParams struct {

	/* ID.

	   short name of the organisational unit
	*/
	ID string

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

GetCollectionsOuIDParams contains all the parameters to send to the API endpoint

for the get collections ou ID operation.

Typically these are written to a http.Request.

func NewGetCollectionsOuIDParams

func NewGetCollectionsOuIDParams() *GetCollectionsOuIDParams

NewGetCollectionsOuIDParams creates a new GetCollectionsOuIDParams 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 NewGetCollectionsOuIDParamsWithContext

func NewGetCollectionsOuIDParamsWithContext(ctx context.Context) *GetCollectionsOuIDParams

NewGetCollectionsOuIDParamsWithContext creates a new GetCollectionsOuIDParams object with the ability to set a context for a request.

func NewGetCollectionsOuIDParamsWithHTTPClient

func NewGetCollectionsOuIDParamsWithHTTPClient(client *http.Client) *GetCollectionsOuIDParams

NewGetCollectionsOuIDParamsWithHTTPClient creates a new GetCollectionsOuIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionsOuIDParamsWithTimeout

func NewGetCollectionsOuIDParamsWithTimeout(timeout time.Duration) *GetCollectionsOuIDParams

NewGetCollectionsOuIDParamsWithTimeout creates a new GetCollectionsOuIDParams object with the ability to set a timeout on a request.

func (*GetCollectionsOuIDParams) SetContext

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

SetContext adds the context to the get collections ou ID params

func (*GetCollectionsOuIDParams) SetDefaults

func (o *GetCollectionsOuIDParams) SetDefaults()

SetDefaults hydrates default values in the get collections ou ID params (not the query body).

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

func (*GetCollectionsOuIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collections ou ID params

func (*GetCollectionsOuIDParams) SetID

func (o *GetCollectionsOuIDParams) SetID(id string)

SetID adds the id to the get collections ou ID params

func (*GetCollectionsOuIDParams) SetTimeout

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

SetTimeout adds the timeout to the get collections ou ID params

func (*GetCollectionsOuIDParams) WithContext

WithContext adds the context to the get collections ou ID params

func (*GetCollectionsOuIDParams) WithDefaults

WithDefaults hydrates default values in the get collections ou ID params (not the query body).

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

func (*GetCollectionsOuIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get collections ou ID params

func (*GetCollectionsOuIDParams) WithID

WithID adds the id to the get collections ou ID params

func (*GetCollectionsOuIDParams) WithTimeout

WithTimeout adds the timeout to the get collections ou ID params

func (*GetCollectionsOuIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCollectionsOuIDReader

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

GetCollectionsOuIDReader is a Reader for the GetCollectionsOuID structure.

func (*GetCollectionsOuIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCollectionsParams

type GetCollectionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCollectionsParams contains all the parameters to send to the API endpoint

for the get collections operation.

Typically these are written to a http.Request.

func NewGetCollectionsParams

func NewGetCollectionsParams() *GetCollectionsParams

NewGetCollectionsParams creates a new GetCollectionsParams 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 NewGetCollectionsParamsWithContext

func NewGetCollectionsParamsWithContext(ctx context.Context) *GetCollectionsParams

NewGetCollectionsParamsWithContext creates a new GetCollectionsParams object with the ability to set a context for a request.

func NewGetCollectionsParamsWithHTTPClient

func NewGetCollectionsParamsWithHTTPClient(client *http.Client) *GetCollectionsParams

NewGetCollectionsParamsWithHTTPClient creates a new GetCollectionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionsParamsWithTimeout

func NewGetCollectionsParamsWithTimeout(timeout time.Duration) *GetCollectionsParams

NewGetCollectionsParamsWithTimeout creates a new GetCollectionsParams object with the ability to set a timeout on a request.

func (*GetCollectionsParams) SetContext

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

SetContext adds the context to the get collections params

func (*GetCollectionsParams) SetDefaults

func (o *GetCollectionsParams) SetDefaults()

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

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

func (*GetCollectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collections params

func (*GetCollectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get collections params

func (*GetCollectionsParams) WithContext

WithContext adds the context to the get collections params

func (*GetCollectionsParams) WithDefaults

func (o *GetCollectionsParams) WithDefaults() *GetCollectionsParams

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

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

func (*GetCollectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get collections params

func (*GetCollectionsParams) WithTimeout

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

WithTimeout adds the timeout to the get collections params

func (*GetCollectionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCollectionsProjectIDInternalServerError

type GetCollectionsProjectIDInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetCollectionsProjectIDInternalServerError

func NewGetCollectionsProjectIDInternalServerError() *GetCollectionsProjectIDInternalServerError

NewGetCollectionsProjectIDInternalServerError creates a GetCollectionsProjectIDInternalServerError with default headers values

func (*GetCollectionsProjectIDInternalServerError) Code

Code gets the status code for the get collections project Id internal server error response

func (*GetCollectionsProjectIDInternalServerError) Error

func (*GetCollectionsProjectIDInternalServerError) GetPayload

func (*GetCollectionsProjectIDInternalServerError) IsClientError

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

func (*GetCollectionsProjectIDInternalServerError) IsCode

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

func (*GetCollectionsProjectIDInternalServerError) IsRedirect

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

func (*GetCollectionsProjectIDInternalServerError) IsServerError

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

func (*GetCollectionsProjectIDInternalServerError) IsSuccess

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

func (*GetCollectionsProjectIDInternalServerError) String

type GetCollectionsProjectIDOK

type GetCollectionsProjectIDOK struct {
	Payload *models.ResponseBodyCollections
}

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

success

func NewGetCollectionsProjectIDOK

func NewGetCollectionsProjectIDOK() *GetCollectionsProjectIDOK

NewGetCollectionsProjectIDOK creates a GetCollectionsProjectIDOK with default headers values

func (*GetCollectionsProjectIDOK) Code

func (o *GetCollectionsProjectIDOK) Code() int

Code gets the status code for the get collections project Id o k response

func (*GetCollectionsProjectIDOK) Error

func (o *GetCollectionsProjectIDOK) Error() string

func (*GetCollectionsProjectIDOK) GetPayload

func (*GetCollectionsProjectIDOK) IsClientError

func (o *GetCollectionsProjectIDOK) IsClientError() bool

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

func (*GetCollectionsProjectIDOK) IsCode

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

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

func (*GetCollectionsProjectIDOK) IsRedirect

func (o *GetCollectionsProjectIDOK) IsRedirect() bool

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

func (*GetCollectionsProjectIDOK) IsServerError

func (o *GetCollectionsProjectIDOK) IsServerError() bool

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

func (*GetCollectionsProjectIDOK) IsSuccess

func (o *GetCollectionsProjectIDOK) IsSuccess() bool

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

func (*GetCollectionsProjectIDOK) String

func (o *GetCollectionsProjectIDOK) String() string

type GetCollectionsProjectIDParams

type GetCollectionsProjectIDParams struct {

	/* ID.

	   project identifier
	*/
	ID string

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

GetCollectionsProjectIDParams contains all the parameters to send to the API endpoint

for the get collections project ID operation.

Typically these are written to a http.Request.

func NewGetCollectionsProjectIDParams

func NewGetCollectionsProjectIDParams() *GetCollectionsProjectIDParams

NewGetCollectionsProjectIDParams creates a new GetCollectionsProjectIDParams 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 NewGetCollectionsProjectIDParamsWithContext

func NewGetCollectionsProjectIDParamsWithContext(ctx context.Context) *GetCollectionsProjectIDParams

NewGetCollectionsProjectIDParamsWithContext creates a new GetCollectionsProjectIDParams object with the ability to set a context for a request.

func NewGetCollectionsProjectIDParamsWithHTTPClient

func NewGetCollectionsProjectIDParamsWithHTTPClient(client *http.Client) *GetCollectionsProjectIDParams

NewGetCollectionsProjectIDParamsWithHTTPClient creates a new GetCollectionsProjectIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionsProjectIDParamsWithTimeout

func NewGetCollectionsProjectIDParamsWithTimeout(timeout time.Duration) *GetCollectionsProjectIDParams

NewGetCollectionsProjectIDParamsWithTimeout creates a new GetCollectionsProjectIDParams object with the ability to set a timeout on a request.

func (*GetCollectionsProjectIDParams) SetContext

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

SetContext adds the context to the get collections project ID params

func (*GetCollectionsProjectIDParams) SetDefaults

func (o *GetCollectionsProjectIDParams) SetDefaults()

SetDefaults hydrates default values in the get collections project ID params (not the query body).

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

func (*GetCollectionsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collections project ID params

func (*GetCollectionsProjectIDParams) SetID

SetID adds the id to the get collections project ID params

func (*GetCollectionsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the get collections project ID params

func (*GetCollectionsProjectIDParams) WithContext

WithContext adds the context to the get collections project ID params

func (*GetCollectionsProjectIDParams) WithDefaults

WithDefaults hydrates default values in the get collections project ID params (not the query body).

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

func (*GetCollectionsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get collections project ID params

func (*GetCollectionsProjectIDParams) WithID

WithID adds the id to the get collections project ID params

func (*GetCollectionsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the get collections project ID params

func (*GetCollectionsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCollectionsProjectIDReader

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

GetCollectionsProjectIDReader is a Reader for the GetCollectionsProjectID structure.

func (*GetCollectionsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCollectionsReader

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

GetCollectionsReader is a Reader for the GetCollections structure.

func (*GetCollectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMetricsOK

type GetMetricsOK struct {
	Payload string
}

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

ok

func NewGetMetricsOK

func NewGetMetricsOK() *GetMetricsOK

NewGetMetricsOK creates a GetMetricsOK with default headers values

func (*GetMetricsOK) Code

func (o *GetMetricsOK) Code() int

Code gets the status code for the get metrics o k response

func (*GetMetricsOK) Error

func (o *GetMetricsOK) Error() string

func (*GetMetricsOK) GetPayload

func (o *GetMetricsOK) GetPayload() string

func (*GetMetricsOK) IsClientError

func (o *GetMetricsOK) IsClientError() bool

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

func (*GetMetricsOK) IsCode

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

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

func (*GetMetricsOK) IsRedirect

func (o *GetMetricsOK) IsRedirect() bool

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

func (*GetMetricsOK) IsServerError

func (o *GetMetricsOK) IsServerError() bool

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

func (*GetMetricsOK) IsSuccess

func (o *GetMetricsOK) IsSuccess() bool

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

func (*GetMetricsOK) String

func (o *GetMetricsOK) String() string

type GetMetricsParams

type GetMetricsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMetricsParams contains all the parameters to send to the API endpoint

for the get metrics operation.

Typically these are written to a http.Request.

func NewGetMetricsParams

func NewGetMetricsParams() *GetMetricsParams

NewGetMetricsParams creates a new GetMetricsParams 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 NewGetMetricsParamsWithContext

func NewGetMetricsParamsWithContext(ctx context.Context) *GetMetricsParams

NewGetMetricsParamsWithContext creates a new GetMetricsParams object with the ability to set a context for a request.

func NewGetMetricsParamsWithHTTPClient

func NewGetMetricsParamsWithHTTPClient(client *http.Client) *GetMetricsParams

NewGetMetricsParamsWithHTTPClient creates a new GetMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMetricsParamsWithTimeout

func NewGetMetricsParamsWithTimeout(timeout time.Duration) *GetMetricsParams

NewGetMetricsParamsWithTimeout creates a new GetMetricsParams object with the ability to set a timeout on a request.

func (*GetMetricsParams) SetContext

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

SetContext adds the context to the get metrics params

func (*GetMetricsParams) SetDefaults

func (o *GetMetricsParams) SetDefaults()

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

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

func (*GetMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get metrics params

func (*GetMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the get metrics params

func (*GetMetricsParams) WithContext

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

WithContext adds the context to the get metrics params

func (*GetMetricsParams) WithDefaults

func (o *GetMetricsParams) WithDefaults() *GetMetricsParams

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

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

func (*GetMetricsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get metrics params

func (*GetMetricsParams) WithTimeout

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

WithTimeout adds the timeout to the get metrics params

func (*GetMetricsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMetricsReader

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

GetMetricsReader is a Reader for the GetMetrics structure.

func (*GetMetricsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPingInternalServerError

type GetPingInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetPingInternalServerError

func NewGetPingInternalServerError() *GetPingInternalServerError

NewGetPingInternalServerError creates a GetPingInternalServerError with default headers values

func (*GetPingInternalServerError) Code

func (o *GetPingInternalServerError) Code() int

Code gets the status code for the get ping internal server error response

func (*GetPingInternalServerError) Error

func (*GetPingInternalServerError) GetPayload

func (*GetPingInternalServerError) IsClientError

func (o *GetPingInternalServerError) IsClientError() bool

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

func (*GetPingInternalServerError) IsCode

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

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

func (*GetPingInternalServerError) IsRedirect

func (o *GetPingInternalServerError) IsRedirect() bool

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

func (*GetPingInternalServerError) IsServerError

func (o *GetPingInternalServerError) IsServerError() bool

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

func (*GetPingInternalServerError) IsSuccess

func (o *GetPingInternalServerError) IsSuccess() bool

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

func (*GetPingInternalServerError) String

func (o *GetPingInternalServerError) String() string

type GetPingOK

type GetPingOK struct {
	Payload string
}

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

success

func NewGetPingOK

func NewGetPingOK() *GetPingOK

NewGetPingOK creates a GetPingOK with default headers values

func (*GetPingOK) Code

func (o *GetPingOK) Code() int

Code gets the status code for the get ping o k response

func (*GetPingOK) Error

func (o *GetPingOK) Error() string

func (*GetPingOK) GetPayload

func (o *GetPingOK) GetPayload() string

func (*GetPingOK) IsClientError

func (o *GetPingOK) IsClientError() bool

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

func (*GetPingOK) IsCode

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

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

func (*GetPingOK) IsRedirect

func (o *GetPingOK) IsRedirect() bool

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

func (*GetPingOK) IsServerError

func (o *GetPingOK) IsServerError() bool

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

func (*GetPingOK) IsSuccess

func (o *GetPingOK) IsSuccess() bool

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

func (*GetPingOK) String

func (o *GetPingOK) String() string

type GetPingParams

type GetPingParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPingParams contains all the parameters to send to the API endpoint

for the get ping operation.

Typically these are written to a http.Request.

func NewGetPingParams

func NewGetPingParams() *GetPingParams

NewGetPingParams creates a new GetPingParams 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 NewGetPingParamsWithContext

func NewGetPingParamsWithContext(ctx context.Context) *GetPingParams

NewGetPingParamsWithContext creates a new GetPingParams object with the ability to set a context for a request.

func NewGetPingParamsWithHTTPClient

func NewGetPingParamsWithHTTPClient(client *http.Client) *GetPingParams

NewGetPingParamsWithHTTPClient creates a new GetPingParams object with the ability to set a custom HTTPClient for a request.

func NewGetPingParamsWithTimeout

func NewGetPingParamsWithTimeout(timeout time.Duration) *GetPingParams

NewGetPingParamsWithTimeout creates a new GetPingParams object with the ability to set a timeout on a request.

func (*GetPingParams) SetContext

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

SetContext adds the context to the get ping params

func (*GetPingParams) SetDefaults

func (o *GetPingParams) SetDefaults()

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

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

func (*GetPingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ping params

func (*GetPingParams) SetTimeout

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

SetTimeout adds the timeout to the get ping params

func (*GetPingParams) WithContext

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

WithContext adds the context to the get ping params

func (*GetPingParams) WithDefaults

func (o *GetPingParams) WithDefaults() *GetPingParams

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

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

func (*GetPingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ping params

func (*GetPingParams) WithTimeout

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

WithTimeout adds the timeout to the get ping params

func (*GetPingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPingReader

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

GetPingReader is a Reader for the GetPing structure.

func (*GetPingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersInternalServerError

type GetUsersInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetUsersInternalServerError

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) Code

func (o *GetUsersInternalServerError) Code() int

Code gets the status code for the get users internal server error response

func (*GetUsersInternalServerError) Error

func (*GetUsersInternalServerError) GetPayload

func (*GetUsersInternalServerError) IsClientError

func (o *GetUsersInternalServerError) IsClientError() bool

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

func (*GetUsersInternalServerError) IsCode

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

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

func (*GetUsersInternalServerError) IsRedirect

func (o *GetUsersInternalServerError) IsRedirect() bool

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

func (*GetUsersInternalServerError) IsServerError

func (o *GetUsersInternalServerError) IsServerError() bool

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

func (*GetUsersInternalServerError) IsSuccess

func (o *GetUsersInternalServerError) IsSuccess() bool

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

func (*GetUsersInternalServerError) String

func (o *GetUsersInternalServerError) String() string

type GetUsersOK

type GetUsersOK struct {
	Payload *models.ResponseBodyUsers
}

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

success

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Code

func (o *GetUsersOK) Code() int

Code gets the status code for the get users o k response

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() *models.ResponseBodyUsers

func (*GetUsersOK) IsClientError

func (o *GetUsersOK) IsClientError() bool

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

func (*GetUsersOK) IsCode

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

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

func (*GetUsersOK) IsRedirect

func (o *GetUsersOK) IsRedirect() bool

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

func (*GetUsersOK) IsServerError

func (o *GetUsersOK) IsServerError() bool

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

func (*GetUsersOK) IsSuccess

func (o *GetUsersOK) IsSuccess() bool

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

func (*GetUsersOK) String

func (o *GetUsersOK) String() string

type GetUsersOuIDInternalServerError

type GetUsersOuIDInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetUsersOuIDInternalServerError

func NewGetUsersOuIDInternalServerError() *GetUsersOuIDInternalServerError

NewGetUsersOuIDInternalServerError creates a GetUsersOuIDInternalServerError with default headers values

func (*GetUsersOuIDInternalServerError) Code

Code gets the status code for the get users ou Id internal server error response

func (*GetUsersOuIDInternalServerError) Error

func (*GetUsersOuIDInternalServerError) GetPayload

func (*GetUsersOuIDInternalServerError) IsClientError

func (o *GetUsersOuIDInternalServerError) IsClientError() bool

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

func (*GetUsersOuIDInternalServerError) IsCode

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

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

func (*GetUsersOuIDInternalServerError) IsRedirect

func (o *GetUsersOuIDInternalServerError) IsRedirect() bool

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

func (*GetUsersOuIDInternalServerError) IsServerError

func (o *GetUsersOuIDInternalServerError) IsServerError() bool

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

func (*GetUsersOuIDInternalServerError) IsSuccess

func (o *GetUsersOuIDInternalServerError) IsSuccess() bool

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

func (*GetUsersOuIDInternalServerError) String

type GetUsersOuIDOK

type GetUsersOuIDOK struct {
	Payload *models.ResponseBodyUsers
}

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

success

func NewGetUsersOuIDOK

func NewGetUsersOuIDOK() *GetUsersOuIDOK

NewGetUsersOuIDOK creates a GetUsersOuIDOK with default headers values

func (*GetUsersOuIDOK) Code

func (o *GetUsersOuIDOK) Code() int

Code gets the status code for the get users ou Id o k response

func (*GetUsersOuIDOK) Error

func (o *GetUsersOuIDOK) Error() string

func (*GetUsersOuIDOK) GetPayload

func (o *GetUsersOuIDOK) GetPayload() *models.ResponseBodyUsers

func (*GetUsersOuIDOK) IsClientError

func (o *GetUsersOuIDOK) IsClientError() bool

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

func (*GetUsersOuIDOK) IsCode

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

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

func (*GetUsersOuIDOK) IsRedirect

func (o *GetUsersOuIDOK) IsRedirect() bool

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

func (*GetUsersOuIDOK) IsServerError

func (o *GetUsersOuIDOK) IsServerError() bool

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

func (*GetUsersOuIDOK) IsSuccess

func (o *GetUsersOuIDOK) IsSuccess() bool

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

func (*GetUsersOuIDOK) String

func (o *GetUsersOuIDOK) String() string

type GetUsersOuIDParams

type GetUsersOuIDParams struct {

	/* ID.

	   short name of the organisational unit
	*/
	ID string

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

GetUsersOuIDParams contains all the parameters to send to the API endpoint

for the get users ou ID operation.

Typically these are written to a http.Request.

func NewGetUsersOuIDParams

func NewGetUsersOuIDParams() *GetUsersOuIDParams

NewGetUsersOuIDParams creates a new GetUsersOuIDParams 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 NewGetUsersOuIDParamsWithContext

func NewGetUsersOuIDParamsWithContext(ctx context.Context) *GetUsersOuIDParams

NewGetUsersOuIDParamsWithContext creates a new GetUsersOuIDParams object with the ability to set a context for a request.

func NewGetUsersOuIDParamsWithHTTPClient

func NewGetUsersOuIDParamsWithHTTPClient(client *http.Client) *GetUsersOuIDParams

NewGetUsersOuIDParamsWithHTTPClient creates a new GetUsersOuIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersOuIDParamsWithTimeout

func NewGetUsersOuIDParamsWithTimeout(timeout time.Duration) *GetUsersOuIDParams

NewGetUsersOuIDParamsWithTimeout creates a new GetUsersOuIDParams object with the ability to set a timeout on a request.

func (*GetUsersOuIDParams) SetContext

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

SetContext adds the context to the get users ou ID params

func (*GetUsersOuIDParams) SetDefaults

func (o *GetUsersOuIDParams) SetDefaults()

SetDefaults hydrates default values in the get users ou ID params (not the query body).

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

func (*GetUsersOuIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users ou ID params

func (*GetUsersOuIDParams) SetID

func (o *GetUsersOuIDParams) SetID(id string)

SetID adds the id to the get users ou ID params

func (*GetUsersOuIDParams) SetTimeout

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

SetTimeout adds the timeout to the get users ou ID params

func (*GetUsersOuIDParams) WithContext

WithContext adds the context to the get users ou ID params

func (*GetUsersOuIDParams) WithDefaults

func (o *GetUsersOuIDParams) WithDefaults() *GetUsersOuIDParams

WithDefaults hydrates default values in the get users ou ID params (not the query body).

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

func (*GetUsersOuIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users ou ID params

func (*GetUsersOuIDParams) WithID

WithID adds the id to the get users ou ID params

func (*GetUsersOuIDParams) WithTimeout

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

WithTimeout adds the timeout to the get users ou ID params

func (*GetUsersOuIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersOuIDReader

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

GetUsersOuIDReader is a Reader for the GetUsersOuID structure.

func (*GetUsersOuIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersParams

type GetUsersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUsersParams contains all the parameters to send to the API endpoint

for the get users operation.

Typically these are written to a http.Request.

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams 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 NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetDefaults

func (o *GetUsersParams) SetDefaults()

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

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

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithDefaults

func (o *GetUsersParams) WithDefaults() *GetUsersParams

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

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

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersSearchInternalServerError

type GetUsersSearchInternalServerError struct {
	Payload *models.ResponseBody500
}

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

failure

func NewGetUsersSearchInternalServerError

func NewGetUsersSearchInternalServerError() *GetUsersSearchInternalServerError

NewGetUsersSearchInternalServerError creates a GetUsersSearchInternalServerError with default headers values

func (*GetUsersSearchInternalServerError) Code

Code gets the status code for the get users search internal server error response

func (*GetUsersSearchInternalServerError) Error

func (*GetUsersSearchInternalServerError) GetPayload

func (*GetUsersSearchInternalServerError) IsClientError

func (o *GetUsersSearchInternalServerError) IsClientError() bool

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

func (*GetUsersSearchInternalServerError) IsCode

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

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

func (*GetUsersSearchInternalServerError) IsRedirect

func (o *GetUsersSearchInternalServerError) IsRedirect() bool

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

func (*GetUsersSearchInternalServerError) IsServerError

func (o *GetUsersSearchInternalServerError) IsServerError() bool

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

func (*GetUsersSearchInternalServerError) IsSuccess

func (o *GetUsersSearchInternalServerError) IsSuccess() bool

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

func (*GetUsersSearchInternalServerError) String

type GetUsersSearchOK

type GetUsersSearchOK struct {
	Payload *models.ResponseBodyUsers
}

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

success

func NewGetUsersSearchOK

func NewGetUsersSearchOK() *GetUsersSearchOK

NewGetUsersSearchOK creates a GetUsersSearchOK with default headers values

func (*GetUsersSearchOK) Code

func (o *GetUsersSearchOK) Code() int

Code gets the status code for the get users search o k response

func (*GetUsersSearchOK) Error

func (o *GetUsersSearchOK) Error() string

func (*GetUsersSearchOK) GetPayload

func (o *GetUsersSearchOK) GetPayload() *models.ResponseBodyUsers

func (*GetUsersSearchOK) IsClientError

func (o *GetUsersSearchOK) IsClientError() bool

IsClientError returns true when this get users search o k response has a 4xx status code

func (*GetUsersSearchOK) IsCode

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

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

func (*GetUsersSearchOK) IsRedirect

func (o *GetUsersSearchOK) IsRedirect() bool

IsRedirect returns true when this get users search o k response has a 3xx status code

func (*GetUsersSearchOK) IsServerError

func (o *GetUsersSearchOK) IsServerError() bool

IsServerError returns true when this get users search o k response has a 5xx status code

func (*GetUsersSearchOK) IsSuccess

func (o *GetUsersSearchOK) IsSuccess() bool

IsSuccess returns true when this get users search o k response has a 2xx status code

func (*GetUsersSearchOK) String

func (o *GetUsersSearchOK) String() string

type GetUsersSearchParams

type GetUsersSearchParams struct {

	/* Email.

	   email address
	*/
	Email *string

	/* Name.

	   display name
	*/
	Name *string

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

GetUsersSearchParams contains all the parameters to send to the API endpoint

for the get users search operation.

Typically these are written to a http.Request.

func NewGetUsersSearchParams

func NewGetUsersSearchParams() *GetUsersSearchParams

NewGetUsersSearchParams creates a new GetUsersSearchParams 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 NewGetUsersSearchParamsWithContext

func NewGetUsersSearchParamsWithContext(ctx context.Context) *GetUsersSearchParams

NewGetUsersSearchParamsWithContext creates a new GetUsersSearchParams object with the ability to set a context for a request.

func NewGetUsersSearchParamsWithHTTPClient

func NewGetUsersSearchParamsWithHTTPClient(client *http.Client) *GetUsersSearchParams

NewGetUsersSearchParamsWithHTTPClient creates a new GetUsersSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersSearchParamsWithTimeout

func NewGetUsersSearchParamsWithTimeout(timeout time.Duration) *GetUsersSearchParams

NewGetUsersSearchParamsWithTimeout creates a new GetUsersSearchParams object with the ability to set a timeout on a request.

func (*GetUsersSearchParams) SetContext

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

SetContext adds the context to the get users search params

func (*GetUsersSearchParams) SetDefaults

func (o *GetUsersSearchParams) SetDefaults()

SetDefaults hydrates default values in the get users search params (not the query body).

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

func (*GetUsersSearchParams) SetEmail

func (o *GetUsersSearchParams) SetEmail(email *string)

SetEmail adds the email to the get users search params

func (*GetUsersSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users search params

func (*GetUsersSearchParams) SetName

func (o *GetUsersSearchParams) SetName(name *string)

SetName adds the name to the get users search params

func (*GetUsersSearchParams) SetTimeout

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

SetTimeout adds the timeout to the get users search params

func (*GetUsersSearchParams) WithContext

WithContext adds the context to the get users search params

func (*GetUsersSearchParams) WithDefaults

func (o *GetUsersSearchParams) WithDefaults() *GetUsersSearchParams

WithDefaults hydrates default values in the get users search params (not the query body).

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

func (*GetUsersSearchParams) WithEmail

func (o *GetUsersSearchParams) WithEmail(email *string) *GetUsersSearchParams

WithEmail adds the email to the get users search params

func (*GetUsersSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users search params

func (*GetUsersSearchParams) WithName

func (o *GetUsersSearchParams) WithName(name *string) *GetUsersSearchParams

WithName adds the name to the get users search params

func (*GetUsersSearchParams) WithTimeout

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

WithTimeout adds the timeout to the get users search params

func (*GetUsersSearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersSearchReader

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

GetUsersSearchReader is a Reader for the GetUsersSearch structure.

func (*GetUsersSearchReader) ReadResponse

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