enumeration

package
v0.0.0-...-b3f093e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 enumeration API

func (*Client) EnumerationFindList

func (a *Client) EnumerationFindList(params *EnumerationFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnumerationFindListOK, error)

EnumerationFindList retrieves a list of enumerations based on a list of enumeration names passed in

Retrieve a list of enumerations based on a list of enumeration names passed in.

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 {
	EnumerationFindList(params *EnumerationFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnumerationFindListOK, 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 enumeration API client.

type EnumerationFindListBadRequest

type EnumerationFindListBadRequest struct {
	Payload *models.Response
}

EnumerationFindListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewEnumerationFindListBadRequest

func NewEnumerationFindListBadRequest() *EnumerationFindListBadRequest

NewEnumerationFindListBadRequest creates a EnumerationFindListBadRequest with default headers values

func (*EnumerationFindListBadRequest) Code

Code gets the status code for the enumeration find list bad request response

func (*EnumerationFindListBadRequest) Error

func (*EnumerationFindListBadRequest) GetPayload

func (*EnumerationFindListBadRequest) IsClientError

func (o *EnumerationFindListBadRequest) IsClientError() bool

IsClientError returns true when this enumeration find list bad request response has a 4xx status code

func (*EnumerationFindListBadRequest) IsCode

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

IsCode returns true when this enumeration find list bad request response a status code equal to that given

func (*EnumerationFindListBadRequest) IsRedirect

func (o *EnumerationFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this enumeration find list bad request response has a 3xx status code

func (*EnumerationFindListBadRequest) IsServerError

func (o *EnumerationFindListBadRequest) IsServerError() bool

IsServerError returns true when this enumeration find list bad request response has a 5xx status code

func (*EnumerationFindListBadRequest) IsSuccess

func (o *EnumerationFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this enumeration find list bad request response has a 2xx status code

func (*EnumerationFindListBadRequest) String

type EnumerationFindListInternalServerError

type EnumerationFindListInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewEnumerationFindListInternalServerError

func NewEnumerationFindListInternalServerError() *EnumerationFindListInternalServerError

NewEnumerationFindListInternalServerError creates a EnumerationFindListInternalServerError with default headers values

func (*EnumerationFindListInternalServerError) Code

Code gets the status code for the enumeration find list internal server error response

func (*EnumerationFindListInternalServerError) Error

func (*EnumerationFindListInternalServerError) GetPayload

func (*EnumerationFindListInternalServerError) IsClientError

func (o *EnumerationFindListInternalServerError) IsClientError() bool

IsClientError returns true when this enumeration find list internal server error response has a 4xx status code

func (*EnumerationFindListInternalServerError) IsCode

IsCode returns true when this enumeration find list internal server error response a status code equal to that given

func (*EnumerationFindListInternalServerError) IsRedirect

IsRedirect returns true when this enumeration find list internal server error response has a 3xx status code

func (*EnumerationFindListInternalServerError) IsServerError

func (o *EnumerationFindListInternalServerError) IsServerError() bool

IsServerError returns true when this enumeration find list internal server error response has a 5xx status code

func (*EnumerationFindListInternalServerError) IsSuccess

IsSuccess returns true when this enumeration find list internal server error response has a 2xx status code

func (*EnumerationFindListInternalServerError) String

type EnumerationFindListOK

type EnumerationFindListOK struct {
	Payload *models.EnumerationFindResponse
}

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

OK

func NewEnumerationFindListOK

func NewEnumerationFindListOK() *EnumerationFindListOK

NewEnumerationFindListOK creates a EnumerationFindListOK with default headers values

func (*EnumerationFindListOK) Code

func (o *EnumerationFindListOK) Code() int

Code gets the status code for the enumeration find list o k response

func (*EnumerationFindListOK) Error

func (o *EnumerationFindListOK) Error() string

func (*EnumerationFindListOK) GetPayload

func (*EnumerationFindListOK) IsClientError

func (o *EnumerationFindListOK) IsClientError() bool

IsClientError returns true when this enumeration find list o k response has a 4xx status code

func (*EnumerationFindListOK) IsCode

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

IsCode returns true when this enumeration find list o k response a status code equal to that given

func (*EnumerationFindListOK) IsRedirect

func (o *EnumerationFindListOK) IsRedirect() bool

IsRedirect returns true when this enumeration find list o k response has a 3xx status code

func (*EnumerationFindListOK) IsServerError

func (o *EnumerationFindListOK) IsServerError() bool

IsServerError returns true when this enumeration find list o k response has a 5xx status code

func (*EnumerationFindListOK) IsSuccess

func (o *EnumerationFindListOK) IsSuccess() bool

IsSuccess returns true when this enumeration find list o k response has a 2xx status code

func (*EnumerationFindListOK) String

func (o *EnumerationFindListOK) String() string

type EnumerationFindListParams

type EnumerationFindListParams struct {

	/* Application.

	   Application where the object or role exists.
	*/
	Application string

	/* Names.

	   An array of name of enumerations.
	*/
	Names []string

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

EnumerationFindListParams contains all the parameters to send to the API endpoint

for the enumeration find list operation.

Typically these are written to a http.Request.

func NewEnumerationFindListParams

func NewEnumerationFindListParams() *EnumerationFindListParams

NewEnumerationFindListParams creates a new EnumerationFindListParams 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 NewEnumerationFindListParamsWithContext

func NewEnumerationFindListParamsWithContext(ctx context.Context) *EnumerationFindListParams

NewEnumerationFindListParamsWithContext creates a new EnumerationFindListParams object with the ability to set a context for a request.

func NewEnumerationFindListParamsWithHTTPClient

func NewEnumerationFindListParamsWithHTTPClient(client *http.Client) *EnumerationFindListParams

NewEnumerationFindListParamsWithHTTPClient creates a new EnumerationFindListParams object with the ability to set a custom HTTPClient for a request.

func NewEnumerationFindListParamsWithTimeout

func NewEnumerationFindListParamsWithTimeout(timeout time.Duration) *EnumerationFindListParams

NewEnumerationFindListParamsWithTimeout creates a new EnumerationFindListParams object with the ability to set a timeout on a request.

func (*EnumerationFindListParams) SetApplication

func (o *EnumerationFindListParams) SetApplication(application string)

SetApplication adds the application to the enumeration find list params

func (*EnumerationFindListParams) SetContext

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

SetContext adds the context to the enumeration find list params

func (*EnumerationFindListParams) SetDefaults

func (o *EnumerationFindListParams) SetDefaults()

SetDefaults hydrates default values in the enumeration find list params (not the query body).

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

func (*EnumerationFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enumeration find list params

func (*EnumerationFindListParams) SetNames

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

SetNames adds the names to the enumeration find list params

func (*EnumerationFindListParams) SetTimeout

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

SetTimeout adds the timeout to the enumeration find list params

func (*EnumerationFindListParams) WithApplication

func (o *EnumerationFindListParams) WithApplication(application string) *EnumerationFindListParams

WithApplication adds the application to the enumeration find list params

func (*EnumerationFindListParams) WithContext

WithContext adds the context to the enumeration find list params

func (*EnumerationFindListParams) WithDefaults

WithDefaults hydrates default values in the enumeration find list params (not the query body).

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

func (*EnumerationFindListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enumeration find list params

func (*EnumerationFindListParams) WithNames

WithNames adds the names to the enumeration find list params

func (*EnumerationFindListParams) WithTimeout

WithTimeout adds the timeout to the enumeration find list params

func (*EnumerationFindListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnumerationFindListReader

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

EnumerationFindListReader is a Reader for the EnumerationFindList structure.

func (*EnumerationFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnumerationFindListUnauthorized

type EnumerationFindListUnauthorized struct {
	Payload *models.Response
}

EnumerationFindListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewEnumerationFindListUnauthorized

func NewEnumerationFindListUnauthorized() *EnumerationFindListUnauthorized

NewEnumerationFindListUnauthorized creates a EnumerationFindListUnauthorized with default headers values

func (*EnumerationFindListUnauthorized) Code

Code gets the status code for the enumeration find list unauthorized response

func (*EnumerationFindListUnauthorized) Error

func (*EnumerationFindListUnauthorized) GetPayload

func (*EnumerationFindListUnauthorized) IsClientError

func (o *EnumerationFindListUnauthorized) IsClientError() bool

IsClientError returns true when this enumeration find list unauthorized response has a 4xx status code

func (*EnumerationFindListUnauthorized) IsCode

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

IsCode returns true when this enumeration find list unauthorized response a status code equal to that given

func (*EnumerationFindListUnauthorized) IsRedirect

func (o *EnumerationFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this enumeration find list unauthorized response has a 3xx status code

func (*EnumerationFindListUnauthorized) IsServerError

func (o *EnumerationFindListUnauthorized) IsServerError() bool

IsServerError returns true when this enumeration find list unauthorized response has a 5xx status code

func (*EnumerationFindListUnauthorized) IsSuccess

func (o *EnumerationFindListUnauthorized) IsSuccess() bool

IsSuccess returns true when this enumeration find list unauthorized response has a 2xx status code

func (*EnumerationFindListUnauthorized) String

Jump to

Keyboard shortcuts

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