Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type EnumerationFindListBadRequest
- func (o *EnumerationFindListBadRequest) Code() int
- func (o *EnumerationFindListBadRequest) Error() string
- func (o *EnumerationFindListBadRequest) GetPayload() *models.Response
- func (o *EnumerationFindListBadRequest) IsClientError() bool
- func (o *EnumerationFindListBadRequest) IsCode(code int) bool
- func (o *EnumerationFindListBadRequest) IsRedirect() bool
- func (o *EnumerationFindListBadRequest) IsServerError() bool
- func (o *EnumerationFindListBadRequest) IsSuccess() bool
- func (o *EnumerationFindListBadRequest) String() string
- type EnumerationFindListInternalServerError
- func (o *EnumerationFindListInternalServerError) Code() int
- func (o *EnumerationFindListInternalServerError) Error() string
- func (o *EnumerationFindListInternalServerError) GetPayload() *models.Response
- func (o *EnumerationFindListInternalServerError) IsClientError() bool
- func (o *EnumerationFindListInternalServerError) IsCode(code int) bool
- func (o *EnumerationFindListInternalServerError) IsRedirect() bool
- func (o *EnumerationFindListInternalServerError) IsServerError() bool
- func (o *EnumerationFindListInternalServerError) IsSuccess() bool
- func (o *EnumerationFindListInternalServerError) String() string
- type EnumerationFindListOK
- func (o *EnumerationFindListOK) Code() int
- func (o *EnumerationFindListOK) Error() string
- func (o *EnumerationFindListOK) GetPayload() *models.EnumerationFindResponse
- func (o *EnumerationFindListOK) IsClientError() bool
- func (o *EnumerationFindListOK) IsCode(code int) bool
- func (o *EnumerationFindListOK) IsRedirect() bool
- func (o *EnumerationFindListOK) IsServerError() bool
- func (o *EnumerationFindListOK) IsSuccess() bool
- func (o *EnumerationFindListOK) String() string
- type EnumerationFindListParams
- func NewEnumerationFindListParams() *EnumerationFindListParams
- func NewEnumerationFindListParamsWithContext(ctx context.Context) *EnumerationFindListParams
- func NewEnumerationFindListParamsWithHTTPClient(client *http.Client) *EnumerationFindListParams
- func NewEnumerationFindListParamsWithTimeout(timeout time.Duration) *EnumerationFindListParams
- func (o *EnumerationFindListParams) SetApplication(application string)
- func (o *EnumerationFindListParams) SetContext(ctx context.Context)
- func (o *EnumerationFindListParams) SetDefaults()
- func (o *EnumerationFindListParams) SetHTTPClient(client *http.Client)
- func (o *EnumerationFindListParams) SetNames(names []string)
- func (o *EnumerationFindListParams) SetTimeout(timeout time.Duration)
- func (o *EnumerationFindListParams) WithApplication(application string) *EnumerationFindListParams
- func (o *EnumerationFindListParams) WithContext(ctx context.Context) *EnumerationFindListParams
- func (o *EnumerationFindListParams) WithDefaults() *EnumerationFindListParams
- func (o *EnumerationFindListParams) WithHTTPClient(client *http.Client) *EnumerationFindListParams
- func (o *EnumerationFindListParams) WithNames(names []string) *EnumerationFindListParams
- func (o *EnumerationFindListParams) WithTimeout(timeout time.Duration) *EnumerationFindListParams
- func (o *EnumerationFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnumerationFindListReader
- type EnumerationFindListUnauthorized
- func (o *EnumerationFindListUnauthorized) Code() int
- func (o *EnumerationFindListUnauthorized) Error() string
- func (o *EnumerationFindListUnauthorized) GetPayload() *models.Response
- func (o *EnumerationFindListUnauthorized) IsClientError() bool
- func (o *EnumerationFindListUnauthorized) IsCode(code int) bool
- func (o *EnumerationFindListUnauthorized) IsRedirect() bool
- func (o *EnumerationFindListUnauthorized) IsServerError() bool
- func (o *EnumerationFindListUnauthorized) IsSuccess() bool
- func (o *EnumerationFindListUnauthorized) String() string
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 ¶
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 ¶
func (o *EnumerationFindListBadRequest) Code() int
Code gets the status code for the enumeration find list bad request response
func (*EnumerationFindListBadRequest) Error ¶
func (o *EnumerationFindListBadRequest) Error() string
func (*EnumerationFindListBadRequest) GetPayload ¶
func (o *EnumerationFindListBadRequest) GetPayload() *models.Response
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 ¶
func (o *EnumerationFindListBadRequest) String() string
type EnumerationFindListInternalServerError ¶
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 ¶
func (o *EnumerationFindListInternalServerError) Code() int
Code gets the status code for the enumeration find list internal server error response
func (*EnumerationFindListInternalServerError) Error ¶
func (o *EnumerationFindListInternalServerError) Error() string
func (*EnumerationFindListInternalServerError) GetPayload ¶
func (o *EnumerationFindListInternalServerError) GetPayload() *models.Response
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 ¶
func (o *EnumerationFindListInternalServerError) IsCode(code int) bool
IsCode returns true when this enumeration find list internal server error response a status code equal to that given
func (*EnumerationFindListInternalServerError) IsRedirect ¶
func (o *EnumerationFindListInternalServerError) IsRedirect() bool
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 ¶
func (o *EnumerationFindListInternalServerError) IsSuccess() bool
IsSuccess returns true when this enumeration find list internal server error response has a 2xx status code
func (*EnumerationFindListInternalServerError) String ¶
func (o *EnumerationFindListInternalServerError) String() 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 (o *EnumerationFindListOK) GetPayload() *models.EnumerationFindResponse
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 ¶
func (o *EnumerationFindListParams) WithContext(ctx context.Context) *EnumerationFindListParams
WithContext adds the context to the enumeration find list params
func (*EnumerationFindListParams) WithDefaults ¶
func (o *EnumerationFindListParams) WithDefaults() *EnumerationFindListParams
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 ¶
func (o *EnumerationFindListParams) WithNames(names []string) *EnumerationFindListParams
WithNames adds the names to the enumeration find list params
func (*EnumerationFindListParams) WithTimeout ¶
func (o *EnumerationFindListParams) WithTimeout(timeout time.Duration) *EnumerationFindListParams
WithTimeout adds the timeout to the enumeration find list params
func (*EnumerationFindListParams) WriteToRequest ¶
func (o *EnumerationFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *EnumerationFindListUnauthorized) Code() int
Code gets the status code for the enumeration find list unauthorized response
func (*EnumerationFindListUnauthorized) Error ¶
func (o *EnumerationFindListUnauthorized) Error() string
func (*EnumerationFindListUnauthorized) GetPayload ¶
func (o *EnumerationFindListUnauthorized) GetPayload() *models.Response
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 ¶
func (o *EnumerationFindListUnauthorized) String() string