tenants

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 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 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

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

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

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

WithContext adds the context to the get tenant info using g e t params

func (*GetTenantInfoUsingGETParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the get tenant info using g e t params

func (*GetTenantInfoUsingGETParams) WithTenantID

WithTenantID adds the tenantID to the get tenant info using g e t params

func (*GetTenantInfoUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get tenant info using g e t params

func (*GetTenantInfoUsingGETParams) WriteToRequest

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

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

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

WithContext adds the context to the list tenant info using g e t params

func (*ListTenantInfoUsingGETParams) WithDefaults added in v1.2.4

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

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

WithTimeout adds the timeout to the list tenant info using g e t params

func (*ListTenantInfoUsingGETParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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