Documentation ¶
Index ¶
- type Client
- func (a *Client) GetTenantInfoUsingGET(params *GetTenantInfoUsingGETParams, opts ...ClientOption) (*GetTenantInfoUsingGETOK, error)
- func (a *Client) ListTenantInfoUsingGET(params *ListTenantInfoUsingGETParams, opts ...ClientOption) (*ListTenantInfoUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTenantInfoUsingGETBadRequest
- type GetTenantInfoUsingGETNotFound
- type GetTenantInfoUsingGETOK
- type GetTenantInfoUsingGETParams
- func NewGetTenantInfoUsingGETParams() *GetTenantInfoUsingGETParams
- func NewGetTenantInfoUsingGETParamsWithContext(ctx context.Context) *GetTenantInfoUsingGETParams
- func NewGetTenantInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetTenantInfoUsingGETParams
- func NewGetTenantInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) SetContext(ctx context.Context)
- func (o *GetTenantInfoUsingGETParams) SetDefaults()
- func (o *GetTenantInfoUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetTenantInfoUsingGETParams) SetTenantID(tenantID string)
- func (o *GetTenantInfoUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetTenantInfoUsingGETParams) WithContext(ctx context.Context) *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) WithDefaults() *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) WithTenantID(tenantID string) *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetTenantInfoUsingGETParams
- func (o *GetTenantInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTenantInfoUsingGETReader
- type ListTenantInfoUsingGETBadRequest
- type ListTenantInfoUsingGETOK
- type ListTenantInfoUsingGETParams
- func NewListTenantInfoUsingGETParams() *ListTenantInfoUsingGETParams
- func NewListTenantInfoUsingGETParamsWithContext(ctx context.Context) *ListTenantInfoUsingGETParams
- func NewListTenantInfoUsingGETParamsWithHTTPClient(client *http.Client) *ListTenantInfoUsingGETParams
- func NewListTenantInfoUsingGETParamsWithTimeout(timeout time.Duration) *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) SetContext(ctx context.Context)
- func (o *ListTenantInfoUsingGETParams) SetDefaults()
- func (o *ListTenantInfoUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ListTenantInfoUsingGETParams) SetTenantName(tenantName *string)
- func (o *ListTenantInfoUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ListTenantInfoUsingGETParams) WithContext(ctx context.Context) *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) WithDefaults() *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) WithHTTPClient(client *http.Client) *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) WithTenantName(tenantName *string) *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) WithTimeout(timeout time.Duration) *ListTenantInfoUsingGETParams
- func (o *ListTenantInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTenantInfoUsingGETReader
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 tenants API
func (*Client) GetTenantInfoUsingGET ¶
func (a *Client) GetTenantInfoUsingGET(params *GetTenantInfoUsingGETParams, opts ...ClientOption) (*GetTenantInfoUsingGETOK, error)
GetTenantInfoUsingGET gets tenant info
Get tenant info
func (*Client) ListTenantInfoUsingGET ¶
func (a *Client) ListTenantInfoUsingGET(params *ListTenantInfoUsingGETParams, opts ...ClientOption) (*ListTenantInfoUsingGETOK, error)
ListTenantInfoUsingGET lists tenants
List tenants
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetTenantInfoUsingGET(params *GetTenantInfoUsingGETParams, opts ...ClientOption) (*GetTenantInfoUsingGETOK, error) ListTenantInfoUsingGET(params *ListTenantInfoUsingGETParams, opts ...ClientOption) (*ListTenantInfoUsingGETOK, 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 tenants API client.
type GetTenantInfoUsingGETBadRequest ¶
type GetTenantInfoUsingGETBadRequest struct { }
GetTenantInfoUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewGetTenantInfoUsingGETBadRequest ¶
func NewGetTenantInfoUsingGETBadRequest() *GetTenantInfoUsingGETBadRequest
NewGetTenantInfoUsingGETBadRequest creates a GetTenantInfoUsingGETBadRequest with default headers values
func (*GetTenantInfoUsingGETBadRequest) Error ¶
func (o *GetTenantInfoUsingGETBadRequest) Error() string
type GetTenantInfoUsingGETNotFound ¶
type GetTenantInfoUsingGETNotFound struct { }
GetTenantInfoUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewGetTenantInfoUsingGETNotFound ¶
func NewGetTenantInfoUsingGETNotFound() *GetTenantInfoUsingGETNotFound
NewGetTenantInfoUsingGETNotFound creates a GetTenantInfoUsingGETNotFound with default headers values
func (*GetTenantInfoUsingGETNotFound) Error ¶
func (o *GetTenantInfoUsingGETNotFound) Error() string
type GetTenantInfoUsingGETOK ¶
type GetTenantInfoUsingGETOK struct {
Payload *models.TenantInfoGetResponse
}
GetTenantInfoUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetTenantInfoUsingGETOK ¶
func NewGetTenantInfoUsingGETOK() *GetTenantInfoUsingGETOK
NewGetTenantInfoUsingGETOK creates a GetTenantInfoUsingGETOK with default headers values
func (*GetTenantInfoUsingGETOK) Error ¶
func (o *GetTenantInfoUsingGETOK) Error() string
func (*GetTenantInfoUsingGETOK) GetPayload ¶
func (o *GetTenantInfoUsingGETOK) GetPayload() *models.TenantInfoGetResponse
type GetTenantInfoUsingGETParams ¶
type GetTenantInfoUsingGETParams struct { /* TenantID. tenantId */ TenantID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTenantInfoUsingGETParams contains all the parameters to send to the API endpoint
for the get tenant info using g e t operation. Typically these are written to a http.Request.
func NewGetTenantInfoUsingGETParams ¶
func NewGetTenantInfoUsingGETParams() *GetTenantInfoUsingGETParams
NewGetTenantInfoUsingGETParams creates a new GetTenantInfoUsingGETParams 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 NewGetTenantInfoUsingGETParamsWithContext ¶
func NewGetTenantInfoUsingGETParamsWithContext(ctx context.Context) *GetTenantInfoUsingGETParams
NewGetTenantInfoUsingGETParamsWithContext creates a new GetTenantInfoUsingGETParams object with the ability to set a context for a request.
func NewGetTenantInfoUsingGETParamsWithHTTPClient ¶
func NewGetTenantInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetTenantInfoUsingGETParams
NewGetTenantInfoUsingGETParamsWithHTTPClient creates a new GetTenantInfoUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetTenantInfoUsingGETParamsWithTimeout ¶
func NewGetTenantInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetTenantInfoUsingGETParams
NewGetTenantInfoUsingGETParamsWithTimeout creates a new GetTenantInfoUsingGETParams object with the ability to set a timeout on a request.
func (*GetTenantInfoUsingGETParams) SetContext ¶
func (o *GetTenantInfoUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *GetTenantInfoUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get tenant info using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantInfoUsingGETParams) SetHTTPClient ¶
func (o *GetTenantInfoUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) SetTenantID ¶
func (o *GetTenantInfoUsingGETParams) SetTenantID(tenantID string)
SetTenantID adds the tenantId to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) SetTimeout ¶
func (o *GetTenantInfoUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) WithContext ¶
func (o *GetTenantInfoUsingGETParams) WithContext(ctx context.Context) *GetTenantInfoUsingGETParams
WithContext adds the context to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *GetTenantInfoUsingGETParams) WithDefaults() *GetTenantInfoUsingGETParams
WithDefaults hydrates default values in the get tenant info using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantInfoUsingGETParams) WithHTTPClient ¶
func (o *GetTenantInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetTenantInfoUsingGETParams
WithHTTPClient adds the HTTPClient to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) WithTenantID ¶
func (o *GetTenantInfoUsingGETParams) WithTenantID(tenantID string) *GetTenantInfoUsingGETParams
WithTenantID adds the tenantID to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) WithTimeout ¶
func (o *GetTenantInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetTenantInfoUsingGETParams
WithTimeout adds the timeout to the get tenant info using g e t params
func (*GetTenantInfoUsingGETParams) WriteToRequest ¶
func (o *GetTenantInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTenantInfoUsingGETReader ¶
type GetTenantInfoUsingGETReader struct {
// contains filtered or unexported fields
}
GetTenantInfoUsingGETReader is a Reader for the GetTenantInfoUsingGET structure.
func (*GetTenantInfoUsingGETReader) ReadResponse ¶
func (o *GetTenantInfoUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTenantInfoUsingGETBadRequest ¶
type ListTenantInfoUsingGETBadRequest struct { }
ListTenantInfoUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewListTenantInfoUsingGETBadRequest ¶
func NewListTenantInfoUsingGETBadRequest() *ListTenantInfoUsingGETBadRequest
NewListTenantInfoUsingGETBadRequest creates a ListTenantInfoUsingGETBadRequest with default headers values
func (*ListTenantInfoUsingGETBadRequest) Error ¶
func (o *ListTenantInfoUsingGETBadRequest) Error() string
type ListTenantInfoUsingGETOK ¶
type ListTenantInfoUsingGETOK struct {
Payload *models.TenantInfoListResponse
}
ListTenantInfoUsingGETOK describes a response with status code 200, with default header values.
OK
func NewListTenantInfoUsingGETOK ¶
func NewListTenantInfoUsingGETOK() *ListTenantInfoUsingGETOK
NewListTenantInfoUsingGETOK creates a ListTenantInfoUsingGETOK with default headers values
func (*ListTenantInfoUsingGETOK) Error ¶
func (o *ListTenantInfoUsingGETOK) Error() string
func (*ListTenantInfoUsingGETOK) GetPayload ¶
func (o *ListTenantInfoUsingGETOK) GetPayload() *models.TenantInfoListResponse
type ListTenantInfoUsingGETParams ¶
type ListTenantInfoUsingGETParams struct { /* TenantName. tenantName */ TenantName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTenantInfoUsingGETParams contains all the parameters to send to the API endpoint
for the list tenant info using g e t operation. Typically these are written to a http.Request.
func NewListTenantInfoUsingGETParams ¶
func NewListTenantInfoUsingGETParams() *ListTenantInfoUsingGETParams
NewListTenantInfoUsingGETParams creates a new ListTenantInfoUsingGETParams 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 NewListTenantInfoUsingGETParamsWithContext ¶
func NewListTenantInfoUsingGETParamsWithContext(ctx context.Context) *ListTenantInfoUsingGETParams
NewListTenantInfoUsingGETParamsWithContext creates a new ListTenantInfoUsingGETParams object with the ability to set a context for a request.
func NewListTenantInfoUsingGETParamsWithHTTPClient ¶
func NewListTenantInfoUsingGETParamsWithHTTPClient(client *http.Client) *ListTenantInfoUsingGETParams
NewListTenantInfoUsingGETParamsWithHTTPClient creates a new ListTenantInfoUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewListTenantInfoUsingGETParamsWithTimeout ¶
func NewListTenantInfoUsingGETParamsWithTimeout(timeout time.Duration) *ListTenantInfoUsingGETParams
NewListTenantInfoUsingGETParamsWithTimeout creates a new ListTenantInfoUsingGETParams object with the ability to set a timeout on a request.
func (*ListTenantInfoUsingGETParams) SetContext ¶
func (o *ListTenantInfoUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *ListTenantInfoUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the list tenant info using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*ListTenantInfoUsingGETParams) SetHTTPClient ¶
func (o *ListTenantInfoUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) SetTenantName ¶
func (o *ListTenantInfoUsingGETParams) SetTenantName(tenantName *string)
SetTenantName adds the tenantName to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) SetTimeout ¶
func (o *ListTenantInfoUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) WithContext ¶
func (o *ListTenantInfoUsingGETParams) WithContext(ctx context.Context) *ListTenantInfoUsingGETParams
WithContext adds the context to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *ListTenantInfoUsingGETParams) WithDefaults() *ListTenantInfoUsingGETParams
WithDefaults hydrates default values in the list tenant info using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*ListTenantInfoUsingGETParams) WithHTTPClient ¶
func (o *ListTenantInfoUsingGETParams) WithHTTPClient(client *http.Client) *ListTenantInfoUsingGETParams
WithHTTPClient adds the HTTPClient to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) WithTenantName ¶
func (o *ListTenantInfoUsingGETParams) WithTenantName(tenantName *string) *ListTenantInfoUsingGETParams
WithTenantName adds the tenantName to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) WithTimeout ¶
func (o *ListTenantInfoUsingGETParams) WithTimeout(timeout time.Duration) *ListTenantInfoUsingGETParams
WithTimeout adds the timeout to the list tenant info using g e t params
func (*ListTenantInfoUsingGETParams) WriteToRequest ¶
func (o *ListTenantInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTenantInfoUsingGETReader ¶
type ListTenantInfoUsingGETReader struct {
// contains filtered or unexported fields
}
ListTenantInfoUsingGETReader is a Reader for the ListTenantInfoUsingGET structure.
func (*ListTenantInfoUsingGETReader) ReadResponse ¶
func (o *ListTenantInfoUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.