Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAdminTenant(params *GetAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAdminTenantOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAdminTenant(params *UpdateAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAdminTenantOK, error)
- type ClientOption
- type ClientService
- type GetAdminTenantForbidden
- func (o *GetAdminTenantForbidden) Code() int
- func (o *GetAdminTenantForbidden) Error() string
- func (o *GetAdminTenantForbidden) GetPayload() *models.Error
- func (o *GetAdminTenantForbidden) IsClientError() bool
- func (o *GetAdminTenantForbidden) IsCode(code int) bool
- func (o *GetAdminTenantForbidden) IsRedirect() bool
- func (o *GetAdminTenantForbidden) IsServerError() bool
- func (o *GetAdminTenantForbidden) IsSuccess() bool
- func (o *GetAdminTenantForbidden) String() string
- type GetAdminTenantNotFound
- func (o *GetAdminTenantNotFound) Code() int
- func (o *GetAdminTenantNotFound) Error() string
- func (o *GetAdminTenantNotFound) GetPayload() *models.Error
- func (o *GetAdminTenantNotFound) IsClientError() bool
- func (o *GetAdminTenantNotFound) IsCode(code int) bool
- func (o *GetAdminTenantNotFound) IsRedirect() bool
- func (o *GetAdminTenantNotFound) IsServerError() bool
- func (o *GetAdminTenantNotFound) IsSuccess() bool
- func (o *GetAdminTenantNotFound) String() string
- type GetAdminTenantOK
- func (o *GetAdminTenantOK) Code() int
- func (o *GetAdminTenantOK) Error() string
- func (o *GetAdminTenantOK) GetPayload() *models.Tenant
- func (o *GetAdminTenantOK) IsClientError() bool
- func (o *GetAdminTenantOK) IsCode(code int) bool
- func (o *GetAdminTenantOK) IsRedirect() bool
- func (o *GetAdminTenantOK) IsServerError() bool
- func (o *GetAdminTenantOK) IsSuccess() bool
- func (o *GetAdminTenantOK) String() string
- type GetAdminTenantParams
- func NewGetAdminTenantParams() *GetAdminTenantParams
- func NewGetAdminTenantParamsWithContext(ctx context.Context) *GetAdminTenantParams
- func NewGetAdminTenantParamsWithHTTPClient(client *http.Client) *GetAdminTenantParams
- func NewGetAdminTenantParamsWithTimeout(timeout time.Duration) *GetAdminTenantParams
- func (o *GetAdminTenantParams) SetContext(ctx context.Context)
- func (o *GetAdminTenantParams) SetDefaults()
- func (o *GetAdminTenantParams) SetHTTPClient(client *http.Client)
- func (o *GetAdminTenantParams) SetIfMatch(ifMatch *string)
- func (o *GetAdminTenantParams) SetTimeout(timeout time.Duration)
- func (o *GetAdminTenantParams) WithContext(ctx context.Context) *GetAdminTenantParams
- func (o *GetAdminTenantParams) WithDefaults() *GetAdminTenantParams
- func (o *GetAdminTenantParams) WithHTTPClient(client *http.Client) *GetAdminTenantParams
- func (o *GetAdminTenantParams) WithIfMatch(ifMatch *string) *GetAdminTenantParams
- func (o *GetAdminTenantParams) WithTimeout(timeout time.Duration) *GetAdminTenantParams
- func (o *GetAdminTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdminTenantReader
- type GetAdminTenantTooManyRequests
- func (o *GetAdminTenantTooManyRequests) Code() int
- func (o *GetAdminTenantTooManyRequests) Error() string
- func (o *GetAdminTenantTooManyRequests) GetPayload() *models.Error
- func (o *GetAdminTenantTooManyRequests) IsClientError() bool
- func (o *GetAdminTenantTooManyRequests) IsCode(code int) bool
- func (o *GetAdminTenantTooManyRequests) IsRedirect() bool
- func (o *GetAdminTenantTooManyRequests) IsServerError() bool
- func (o *GetAdminTenantTooManyRequests) IsSuccess() bool
- func (o *GetAdminTenantTooManyRequests) String() string
- type GetAdminTenantUnauthorized
- func (o *GetAdminTenantUnauthorized) Code() int
- func (o *GetAdminTenantUnauthorized) Error() string
- func (o *GetAdminTenantUnauthorized) GetPayload() *models.Error
- func (o *GetAdminTenantUnauthorized) IsClientError() bool
- func (o *GetAdminTenantUnauthorized) IsCode(code int) bool
- func (o *GetAdminTenantUnauthorized) IsRedirect() bool
- func (o *GetAdminTenantUnauthorized) IsServerError() bool
- func (o *GetAdminTenantUnauthorized) IsSuccess() bool
- func (o *GetAdminTenantUnauthorized) String() string
- type UpdateAdminTenantBadRequest
- func (o *UpdateAdminTenantBadRequest) Code() int
- func (o *UpdateAdminTenantBadRequest) Error() string
- func (o *UpdateAdminTenantBadRequest) GetPayload() *models.Error
- func (o *UpdateAdminTenantBadRequest) IsClientError() bool
- func (o *UpdateAdminTenantBadRequest) IsCode(code int) bool
- func (o *UpdateAdminTenantBadRequest) IsRedirect() bool
- func (o *UpdateAdminTenantBadRequest) IsServerError() bool
- func (o *UpdateAdminTenantBadRequest) IsSuccess() bool
- func (o *UpdateAdminTenantBadRequest) String() string
- type UpdateAdminTenantForbidden
- func (o *UpdateAdminTenantForbidden) Code() int
- func (o *UpdateAdminTenantForbidden) Error() string
- func (o *UpdateAdminTenantForbidden) GetPayload() *models.Error
- func (o *UpdateAdminTenantForbidden) IsClientError() bool
- func (o *UpdateAdminTenantForbidden) IsCode(code int) bool
- func (o *UpdateAdminTenantForbidden) IsRedirect() bool
- func (o *UpdateAdminTenantForbidden) IsServerError() bool
- func (o *UpdateAdminTenantForbidden) IsSuccess() bool
- func (o *UpdateAdminTenantForbidden) String() string
- type UpdateAdminTenantNotFound
- func (o *UpdateAdminTenantNotFound) Code() int
- func (o *UpdateAdminTenantNotFound) Error() string
- func (o *UpdateAdminTenantNotFound) GetPayload() *models.Error
- func (o *UpdateAdminTenantNotFound) IsClientError() bool
- func (o *UpdateAdminTenantNotFound) IsCode(code int) bool
- func (o *UpdateAdminTenantNotFound) IsRedirect() bool
- func (o *UpdateAdminTenantNotFound) IsServerError() bool
- func (o *UpdateAdminTenantNotFound) IsSuccess() bool
- func (o *UpdateAdminTenantNotFound) String() string
- type UpdateAdminTenantOK
- func (o *UpdateAdminTenantOK) Code() int
- func (o *UpdateAdminTenantOK) Error() string
- func (o *UpdateAdminTenantOK) GetPayload() *models.Tenant
- func (o *UpdateAdminTenantOK) IsClientError() bool
- func (o *UpdateAdminTenantOK) IsCode(code int) bool
- func (o *UpdateAdminTenantOK) IsRedirect() bool
- func (o *UpdateAdminTenantOK) IsServerError() bool
- func (o *UpdateAdminTenantOK) IsSuccess() bool
- func (o *UpdateAdminTenantOK) String() string
- type UpdateAdminTenantParams
- func NewUpdateAdminTenantParams() *UpdateAdminTenantParams
- func NewUpdateAdminTenantParamsWithContext(ctx context.Context) *UpdateAdminTenantParams
- func NewUpdateAdminTenantParamsWithHTTPClient(client *http.Client) *UpdateAdminTenantParams
- func NewUpdateAdminTenantParamsWithTimeout(timeout time.Duration) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) SetContext(ctx context.Context)
- func (o *UpdateAdminTenantParams) SetDefaults()
- func (o *UpdateAdminTenantParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAdminTenantParams) SetIfMatch(ifMatch *string)
- func (o *UpdateAdminTenantParams) SetTenant(tenant *models.TenantPayload)
- func (o *UpdateAdminTenantParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAdminTenantParams) WithContext(ctx context.Context) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WithDefaults() *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WithHTTPClient(client *http.Client) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WithIfMatch(ifMatch *string) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WithTenant(tenant *models.TenantPayload) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WithTimeout(timeout time.Duration) *UpdateAdminTenantParams
- func (o *UpdateAdminTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAdminTenantReader
- type UpdateAdminTenantTooManyRequests
- func (o *UpdateAdminTenantTooManyRequests) Code() int
- func (o *UpdateAdminTenantTooManyRequests) Error() string
- func (o *UpdateAdminTenantTooManyRequests) GetPayload() *models.Error
- func (o *UpdateAdminTenantTooManyRequests) IsClientError() bool
- func (o *UpdateAdminTenantTooManyRequests) IsCode(code int) bool
- func (o *UpdateAdminTenantTooManyRequests) IsRedirect() bool
- func (o *UpdateAdminTenantTooManyRequests) IsServerError() bool
- func (o *UpdateAdminTenantTooManyRequests) IsSuccess() bool
- func (o *UpdateAdminTenantTooManyRequests) String() string
- type UpdateAdminTenantUnauthorized
- func (o *UpdateAdminTenantUnauthorized) Code() int
- func (o *UpdateAdminTenantUnauthorized) Error() string
- func (o *UpdateAdminTenantUnauthorized) GetPayload() *models.Error
- func (o *UpdateAdminTenantUnauthorized) IsClientError() bool
- func (o *UpdateAdminTenantUnauthorized) IsCode(code int) bool
- func (o *UpdateAdminTenantUnauthorized) IsRedirect() bool
- func (o *UpdateAdminTenantUnauthorized) IsServerError() bool
- func (o *UpdateAdminTenantUnauthorized) IsSuccess() bool
- func (o *UpdateAdminTenantUnauthorized) String() string
- type UpdateAdminTenantUnprocessableEntity
- func (o *UpdateAdminTenantUnprocessableEntity) Code() int
- func (o *UpdateAdminTenantUnprocessableEntity) Error() string
- func (o *UpdateAdminTenantUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateAdminTenantUnprocessableEntity) IsClientError() bool
- func (o *UpdateAdminTenantUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateAdminTenantUnprocessableEntity) IsRedirect() bool
- func (o *UpdateAdminTenantUnprocessableEntity) IsServerError() bool
- func (o *UpdateAdminTenantUnprocessableEntity) IsSuccess() bool
- func (o *UpdateAdminTenantUnprocessableEntity) 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 tenants API
func (*Client) GetAdminTenant ¶
func (a *Client) GetAdminTenant(params *GetAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTenantOK, error)
GetAdminTenant gets tenant
Get tenant.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAdminTenant ¶
func (a *Client) UpdateAdminTenant(params *UpdateAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminTenantOK, error)
UpdateAdminTenant updates tenant
Update tenant.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GetAdminTenant(params *GetAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTenantOK, error) UpdateAdminTenant(params *UpdateAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminTenantOK, 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new tenants API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new tenants API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetAdminTenantForbidden ¶
GetAdminTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAdminTenantForbidden ¶
func NewGetAdminTenantForbidden() *GetAdminTenantForbidden
NewGetAdminTenantForbidden creates a GetAdminTenantForbidden with default headers values
func (*GetAdminTenantForbidden) Code ¶
func (o *GetAdminTenantForbidden) Code() int
Code gets the status code for the get admin tenant forbidden response
func (*GetAdminTenantForbidden) Error ¶
func (o *GetAdminTenantForbidden) Error() string
func (*GetAdminTenantForbidden) GetPayload ¶
func (o *GetAdminTenantForbidden) GetPayload() *models.Error
func (*GetAdminTenantForbidden) IsClientError ¶
func (o *GetAdminTenantForbidden) IsClientError() bool
IsClientError returns true when this get admin tenant forbidden response has a 4xx status code
func (*GetAdminTenantForbidden) IsCode ¶
func (o *GetAdminTenantForbidden) IsCode(code int) bool
IsCode returns true when this get admin tenant forbidden response a status code equal to that given
func (*GetAdminTenantForbidden) IsRedirect ¶
func (o *GetAdminTenantForbidden) IsRedirect() bool
IsRedirect returns true when this get admin tenant forbidden response has a 3xx status code
func (*GetAdminTenantForbidden) IsServerError ¶
func (o *GetAdminTenantForbidden) IsServerError() bool
IsServerError returns true when this get admin tenant forbidden response has a 5xx status code
func (*GetAdminTenantForbidden) IsSuccess ¶
func (o *GetAdminTenantForbidden) IsSuccess() bool
IsSuccess returns true when this get admin tenant forbidden response has a 2xx status code
func (*GetAdminTenantForbidden) String ¶
func (o *GetAdminTenantForbidden) String() string
type GetAdminTenantNotFound ¶
GetAdminTenantNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAdminTenantNotFound ¶
func NewGetAdminTenantNotFound() *GetAdminTenantNotFound
NewGetAdminTenantNotFound creates a GetAdminTenantNotFound with default headers values
func (*GetAdminTenantNotFound) Code ¶
func (o *GetAdminTenantNotFound) Code() int
Code gets the status code for the get admin tenant not found response
func (*GetAdminTenantNotFound) Error ¶
func (o *GetAdminTenantNotFound) Error() string
func (*GetAdminTenantNotFound) GetPayload ¶
func (o *GetAdminTenantNotFound) GetPayload() *models.Error
func (*GetAdminTenantNotFound) IsClientError ¶
func (o *GetAdminTenantNotFound) IsClientError() bool
IsClientError returns true when this get admin tenant not found response has a 4xx status code
func (*GetAdminTenantNotFound) IsCode ¶
func (o *GetAdminTenantNotFound) IsCode(code int) bool
IsCode returns true when this get admin tenant not found response a status code equal to that given
func (*GetAdminTenantNotFound) IsRedirect ¶
func (o *GetAdminTenantNotFound) IsRedirect() bool
IsRedirect returns true when this get admin tenant not found response has a 3xx status code
func (*GetAdminTenantNotFound) IsServerError ¶
func (o *GetAdminTenantNotFound) IsServerError() bool
IsServerError returns true when this get admin tenant not found response has a 5xx status code
func (*GetAdminTenantNotFound) IsSuccess ¶
func (o *GetAdminTenantNotFound) IsSuccess() bool
IsSuccess returns true when this get admin tenant not found response has a 2xx status code
func (*GetAdminTenantNotFound) String ¶
func (o *GetAdminTenantNotFound) String() string
type GetAdminTenantOK ¶
GetAdminTenantOK describes a response with status code 200, with default header values.
Tenant
func NewGetAdminTenantOK ¶
func NewGetAdminTenantOK() *GetAdminTenantOK
NewGetAdminTenantOK creates a GetAdminTenantOK with default headers values
func (*GetAdminTenantOK) Code ¶
func (o *GetAdminTenantOK) Code() int
Code gets the status code for the get admin tenant o k response
func (*GetAdminTenantOK) Error ¶
func (o *GetAdminTenantOK) Error() string
func (*GetAdminTenantOK) GetPayload ¶
func (o *GetAdminTenantOK) GetPayload() *models.Tenant
func (*GetAdminTenantOK) IsClientError ¶
func (o *GetAdminTenantOK) IsClientError() bool
IsClientError returns true when this get admin tenant o k response has a 4xx status code
func (*GetAdminTenantOK) IsCode ¶
func (o *GetAdminTenantOK) IsCode(code int) bool
IsCode returns true when this get admin tenant o k response a status code equal to that given
func (*GetAdminTenantOK) IsRedirect ¶
func (o *GetAdminTenantOK) IsRedirect() bool
IsRedirect returns true when this get admin tenant o k response has a 3xx status code
func (*GetAdminTenantOK) IsServerError ¶
func (o *GetAdminTenantOK) IsServerError() bool
IsServerError returns true when this get admin tenant o k response has a 5xx status code
func (*GetAdminTenantOK) IsSuccess ¶
func (o *GetAdminTenantOK) IsSuccess() bool
IsSuccess returns true when this get admin tenant o k response has a 2xx status code
func (*GetAdminTenantOK) String ¶
func (o *GetAdminTenantOK) String() string
type GetAdminTenantParams ¶
type GetAdminTenantParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAdminTenantParams contains all the parameters to send to the API endpoint
for the get admin tenant operation. Typically these are written to a http.Request.
func NewGetAdminTenantParams ¶
func NewGetAdminTenantParams() *GetAdminTenantParams
NewGetAdminTenantParams creates a new GetAdminTenantParams 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 NewGetAdminTenantParamsWithContext ¶
func NewGetAdminTenantParamsWithContext(ctx context.Context) *GetAdminTenantParams
NewGetAdminTenantParamsWithContext creates a new GetAdminTenantParams object with the ability to set a context for a request.
func NewGetAdminTenantParamsWithHTTPClient ¶
func NewGetAdminTenantParamsWithHTTPClient(client *http.Client) *GetAdminTenantParams
NewGetAdminTenantParamsWithHTTPClient creates a new GetAdminTenantParams object with the ability to set a custom HTTPClient for a request.
func NewGetAdminTenantParamsWithTimeout ¶
func NewGetAdminTenantParamsWithTimeout(timeout time.Duration) *GetAdminTenantParams
NewGetAdminTenantParamsWithTimeout creates a new GetAdminTenantParams object with the ability to set a timeout on a request.
func (*GetAdminTenantParams) SetContext ¶
func (o *GetAdminTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the get admin tenant params
func (*GetAdminTenantParams) SetDefaults ¶
func (o *GetAdminTenantParams) SetDefaults()
SetDefaults hydrates default values in the get admin tenant params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdminTenantParams) SetHTTPClient ¶
func (o *GetAdminTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get admin tenant params
func (*GetAdminTenantParams) SetIfMatch ¶
func (o *GetAdminTenantParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get admin tenant params
func (*GetAdminTenantParams) SetTimeout ¶
func (o *GetAdminTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get admin tenant params
func (*GetAdminTenantParams) WithContext ¶
func (o *GetAdminTenantParams) WithContext(ctx context.Context) *GetAdminTenantParams
WithContext adds the context to the get admin tenant params
func (*GetAdminTenantParams) WithDefaults ¶
func (o *GetAdminTenantParams) WithDefaults() *GetAdminTenantParams
WithDefaults hydrates default values in the get admin tenant params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdminTenantParams) WithHTTPClient ¶
func (o *GetAdminTenantParams) WithHTTPClient(client *http.Client) *GetAdminTenantParams
WithHTTPClient adds the HTTPClient to the get admin tenant params
func (*GetAdminTenantParams) WithIfMatch ¶
func (o *GetAdminTenantParams) WithIfMatch(ifMatch *string) *GetAdminTenantParams
WithIfMatch adds the ifMatch to the get admin tenant params
func (*GetAdminTenantParams) WithTimeout ¶
func (o *GetAdminTenantParams) WithTimeout(timeout time.Duration) *GetAdminTenantParams
WithTimeout adds the timeout to the get admin tenant params
func (*GetAdminTenantParams) WriteToRequest ¶
func (o *GetAdminTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAdminTenantReader ¶
type GetAdminTenantReader struct {
// contains filtered or unexported fields
}
GetAdminTenantReader is a Reader for the GetAdminTenant structure.
func (*GetAdminTenantReader) ReadResponse ¶
func (o *GetAdminTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAdminTenantTooManyRequests ¶
GetAdminTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetAdminTenantTooManyRequests ¶
func NewGetAdminTenantTooManyRequests() *GetAdminTenantTooManyRequests
NewGetAdminTenantTooManyRequests creates a GetAdminTenantTooManyRequests with default headers values
func (*GetAdminTenantTooManyRequests) Code ¶
func (o *GetAdminTenantTooManyRequests) Code() int
Code gets the status code for the get admin tenant too many requests response
func (*GetAdminTenantTooManyRequests) Error ¶
func (o *GetAdminTenantTooManyRequests) Error() string
func (*GetAdminTenantTooManyRequests) GetPayload ¶
func (o *GetAdminTenantTooManyRequests) GetPayload() *models.Error
func (*GetAdminTenantTooManyRequests) IsClientError ¶
func (o *GetAdminTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this get admin tenant too many requests response has a 4xx status code
func (*GetAdminTenantTooManyRequests) IsCode ¶
func (o *GetAdminTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this get admin tenant too many requests response a status code equal to that given
func (*GetAdminTenantTooManyRequests) IsRedirect ¶
func (o *GetAdminTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get admin tenant too many requests response has a 3xx status code
func (*GetAdminTenantTooManyRequests) IsServerError ¶
func (o *GetAdminTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this get admin tenant too many requests response has a 5xx status code
func (*GetAdminTenantTooManyRequests) IsSuccess ¶
func (o *GetAdminTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get admin tenant too many requests response has a 2xx status code
func (*GetAdminTenantTooManyRequests) String ¶
func (o *GetAdminTenantTooManyRequests) String() string
type GetAdminTenantUnauthorized ¶
type GetAdminTenantUnauthorized struct {
}GetAdminTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAdminTenantUnauthorized ¶
func NewGetAdminTenantUnauthorized() *GetAdminTenantUnauthorized
NewGetAdminTenantUnauthorized creates a GetAdminTenantUnauthorized with default headers values
func (*GetAdminTenantUnauthorized) Code ¶
func (o *GetAdminTenantUnauthorized) Code() int
Code gets the status code for the get admin tenant unauthorized response
func (*GetAdminTenantUnauthorized) Error ¶
func (o *GetAdminTenantUnauthorized) Error() string
func (*GetAdminTenantUnauthorized) GetPayload ¶
func (o *GetAdminTenantUnauthorized) GetPayload() *models.Error
func (*GetAdminTenantUnauthorized) IsClientError ¶
func (o *GetAdminTenantUnauthorized) IsClientError() bool
IsClientError returns true when this get admin tenant unauthorized response has a 4xx status code
func (*GetAdminTenantUnauthorized) IsCode ¶
func (o *GetAdminTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this get admin tenant unauthorized response a status code equal to that given
func (*GetAdminTenantUnauthorized) IsRedirect ¶
func (o *GetAdminTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this get admin tenant unauthorized response has a 3xx status code
func (*GetAdminTenantUnauthorized) IsServerError ¶
func (o *GetAdminTenantUnauthorized) IsServerError() bool
IsServerError returns true when this get admin tenant unauthorized response has a 5xx status code
func (*GetAdminTenantUnauthorized) IsSuccess ¶
func (o *GetAdminTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this get admin tenant unauthorized response has a 2xx status code
func (*GetAdminTenantUnauthorized) String ¶
func (o *GetAdminTenantUnauthorized) String() string
type UpdateAdminTenantBadRequest ¶
UpdateAdminTenantBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateAdminTenantBadRequest ¶
func NewUpdateAdminTenantBadRequest() *UpdateAdminTenantBadRequest
NewUpdateAdminTenantBadRequest creates a UpdateAdminTenantBadRequest with default headers values
func (*UpdateAdminTenantBadRequest) Code ¶
func (o *UpdateAdminTenantBadRequest) Code() int
Code gets the status code for the update admin tenant bad request response
func (*UpdateAdminTenantBadRequest) Error ¶
func (o *UpdateAdminTenantBadRequest) Error() string
func (*UpdateAdminTenantBadRequest) GetPayload ¶
func (o *UpdateAdminTenantBadRequest) GetPayload() *models.Error
func (*UpdateAdminTenantBadRequest) IsClientError ¶
func (o *UpdateAdminTenantBadRequest) IsClientError() bool
IsClientError returns true when this update admin tenant bad request response has a 4xx status code
func (*UpdateAdminTenantBadRequest) IsCode ¶
func (o *UpdateAdminTenantBadRequest) IsCode(code int) bool
IsCode returns true when this update admin tenant bad request response a status code equal to that given
func (*UpdateAdminTenantBadRequest) IsRedirect ¶
func (o *UpdateAdminTenantBadRequest) IsRedirect() bool
IsRedirect returns true when this update admin tenant bad request response has a 3xx status code
func (*UpdateAdminTenantBadRequest) IsServerError ¶
func (o *UpdateAdminTenantBadRequest) IsServerError() bool
IsServerError returns true when this update admin tenant bad request response has a 5xx status code
func (*UpdateAdminTenantBadRequest) IsSuccess ¶
func (o *UpdateAdminTenantBadRequest) IsSuccess() bool
IsSuccess returns true when this update admin tenant bad request response has a 2xx status code
func (*UpdateAdminTenantBadRequest) String ¶
func (o *UpdateAdminTenantBadRequest) String() string
type UpdateAdminTenantForbidden ¶
UpdateAdminTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateAdminTenantForbidden ¶
func NewUpdateAdminTenantForbidden() *UpdateAdminTenantForbidden
NewUpdateAdminTenantForbidden creates a UpdateAdminTenantForbidden with default headers values
func (*UpdateAdminTenantForbidden) Code ¶
func (o *UpdateAdminTenantForbidden) Code() int
Code gets the status code for the update admin tenant forbidden response
func (*UpdateAdminTenantForbidden) Error ¶
func (o *UpdateAdminTenantForbidden) Error() string
func (*UpdateAdminTenantForbidden) GetPayload ¶
func (o *UpdateAdminTenantForbidden) GetPayload() *models.Error
func (*UpdateAdminTenantForbidden) IsClientError ¶
func (o *UpdateAdminTenantForbidden) IsClientError() bool
IsClientError returns true when this update admin tenant forbidden response has a 4xx status code
func (*UpdateAdminTenantForbidden) IsCode ¶
func (o *UpdateAdminTenantForbidden) IsCode(code int) bool
IsCode returns true when this update admin tenant forbidden response a status code equal to that given
func (*UpdateAdminTenantForbidden) IsRedirect ¶
func (o *UpdateAdminTenantForbidden) IsRedirect() bool
IsRedirect returns true when this update admin tenant forbidden response has a 3xx status code
func (*UpdateAdminTenantForbidden) IsServerError ¶
func (o *UpdateAdminTenantForbidden) IsServerError() bool
IsServerError returns true when this update admin tenant forbidden response has a 5xx status code
func (*UpdateAdminTenantForbidden) IsSuccess ¶
func (o *UpdateAdminTenantForbidden) IsSuccess() bool
IsSuccess returns true when this update admin tenant forbidden response has a 2xx status code
func (*UpdateAdminTenantForbidden) String ¶
func (o *UpdateAdminTenantForbidden) String() string
type UpdateAdminTenantNotFound ¶
UpdateAdminTenantNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateAdminTenantNotFound ¶
func NewUpdateAdminTenantNotFound() *UpdateAdminTenantNotFound
NewUpdateAdminTenantNotFound creates a UpdateAdminTenantNotFound with default headers values
func (*UpdateAdminTenantNotFound) Code ¶
func (o *UpdateAdminTenantNotFound) Code() int
Code gets the status code for the update admin tenant not found response
func (*UpdateAdminTenantNotFound) Error ¶
func (o *UpdateAdminTenantNotFound) Error() string
func (*UpdateAdminTenantNotFound) GetPayload ¶
func (o *UpdateAdminTenantNotFound) GetPayload() *models.Error
func (*UpdateAdminTenantNotFound) IsClientError ¶
func (o *UpdateAdminTenantNotFound) IsClientError() bool
IsClientError returns true when this update admin tenant not found response has a 4xx status code
func (*UpdateAdminTenantNotFound) IsCode ¶
func (o *UpdateAdminTenantNotFound) IsCode(code int) bool
IsCode returns true when this update admin tenant not found response a status code equal to that given
func (*UpdateAdminTenantNotFound) IsRedirect ¶
func (o *UpdateAdminTenantNotFound) IsRedirect() bool
IsRedirect returns true when this update admin tenant not found response has a 3xx status code
func (*UpdateAdminTenantNotFound) IsServerError ¶
func (o *UpdateAdminTenantNotFound) IsServerError() bool
IsServerError returns true when this update admin tenant not found response has a 5xx status code
func (*UpdateAdminTenantNotFound) IsSuccess ¶
func (o *UpdateAdminTenantNotFound) IsSuccess() bool
IsSuccess returns true when this update admin tenant not found response has a 2xx status code
func (*UpdateAdminTenantNotFound) String ¶
func (o *UpdateAdminTenantNotFound) String() string
type UpdateAdminTenantOK ¶
UpdateAdminTenantOK describes a response with status code 200, with default header values.
Tenant
func NewUpdateAdminTenantOK ¶
func NewUpdateAdminTenantOK() *UpdateAdminTenantOK
NewUpdateAdminTenantOK creates a UpdateAdminTenantOK with default headers values
func (*UpdateAdminTenantOK) Code ¶
func (o *UpdateAdminTenantOK) Code() int
Code gets the status code for the update admin tenant o k response
func (*UpdateAdminTenantOK) Error ¶
func (o *UpdateAdminTenantOK) Error() string
func (*UpdateAdminTenantOK) GetPayload ¶
func (o *UpdateAdminTenantOK) GetPayload() *models.Tenant
func (*UpdateAdminTenantOK) IsClientError ¶
func (o *UpdateAdminTenantOK) IsClientError() bool
IsClientError returns true when this update admin tenant o k response has a 4xx status code
func (*UpdateAdminTenantOK) IsCode ¶
func (o *UpdateAdminTenantOK) IsCode(code int) bool
IsCode returns true when this update admin tenant o k response a status code equal to that given
func (*UpdateAdminTenantOK) IsRedirect ¶
func (o *UpdateAdminTenantOK) IsRedirect() bool
IsRedirect returns true when this update admin tenant o k response has a 3xx status code
func (*UpdateAdminTenantOK) IsServerError ¶
func (o *UpdateAdminTenantOK) IsServerError() bool
IsServerError returns true when this update admin tenant o k response has a 5xx status code
func (*UpdateAdminTenantOK) IsSuccess ¶
func (o *UpdateAdminTenantOK) IsSuccess() bool
IsSuccess returns true when this update admin tenant o k response has a 2xx status code
func (*UpdateAdminTenantOK) String ¶
func (o *UpdateAdminTenantOK) String() string
type UpdateAdminTenantParams ¶
type UpdateAdminTenantParams struct { // Tenant. Tenant *models.TenantPayload /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAdminTenantParams contains all the parameters to send to the API endpoint
for the update admin tenant operation. Typically these are written to a http.Request.
func NewUpdateAdminTenantParams ¶
func NewUpdateAdminTenantParams() *UpdateAdminTenantParams
NewUpdateAdminTenantParams creates a new UpdateAdminTenantParams 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 NewUpdateAdminTenantParamsWithContext ¶
func NewUpdateAdminTenantParamsWithContext(ctx context.Context) *UpdateAdminTenantParams
NewUpdateAdminTenantParamsWithContext creates a new UpdateAdminTenantParams object with the ability to set a context for a request.
func NewUpdateAdminTenantParamsWithHTTPClient ¶
func NewUpdateAdminTenantParamsWithHTTPClient(client *http.Client) *UpdateAdminTenantParams
NewUpdateAdminTenantParamsWithHTTPClient creates a new UpdateAdminTenantParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAdminTenantParamsWithTimeout ¶
func NewUpdateAdminTenantParamsWithTimeout(timeout time.Duration) *UpdateAdminTenantParams
NewUpdateAdminTenantParamsWithTimeout creates a new UpdateAdminTenantParams object with the ability to set a timeout on a request.
func (*UpdateAdminTenantParams) SetContext ¶
func (o *UpdateAdminTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the update admin tenant params
func (*UpdateAdminTenantParams) SetDefaults ¶
func (o *UpdateAdminTenantParams) SetDefaults()
SetDefaults hydrates default values in the update admin tenant params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAdminTenantParams) SetHTTPClient ¶
func (o *UpdateAdminTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update admin tenant params
func (*UpdateAdminTenantParams) SetIfMatch ¶
func (o *UpdateAdminTenantParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update admin tenant params
func (*UpdateAdminTenantParams) SetTenant ¶
func (o *UpdateAdminTenantParams) SetTenant(tenant *models.TenantPayload)
SetTenant adds the tenant to the update admin tenant params
func (*UpdateAdminTenantParams) SetTimeout ¶
func (o *UpdateAdminTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update admin tenant params
func (*UpdateAdminTenantParams) WithContext ¶
func (o *UpdateAdminTenantParams) WithContext(ctx context.Context) *UpdateAdminTenantParams
WithContext adds the context to the update admin tenant params
func (*UpdateAdminTenantParams) WithDefaults ¶
func (o *UpdateAdminTenantParams) WithDefaults() *UpdateAdminTenantParams
WithDefaults hydrates default values in the update admin tenant params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAdminTenantParams) WithHTTPClient ¶
func (o *UpdateAdminTenantParams) WithHTTPClient(client *http.Client) *UpdateAdminTenantParams
WithHTTPClient adds the HTTPClient to the update admin tenant params
func (*UpdateAdminTenantParams) WithIfMatch ¶
func (o *UpdateAdminTenantParams) WithIfMatch(ifMatch *string) *UpdateAdminTenantParams
WithIfMatch adds the ifMatch to the update admin tenant params
func (*UpdateAdminTenantParams) WithTenant ¶
func (o *UpdateAdminTenantParams) WithTenant(tenant *models.TenantPayload) *UpdateAdminTenantParams
WithTenant adds the tenant to the update admin tenant params
func (*UpdateAdminTenantParams) WithTimeout ¶
func (o *UpdateAdminTenantParams) WithTimeout(timeout time.Duration) *UpdateAdminTenantParams
WithTimeout adds the timeout to the update admin tenant params
func (*UpdateAdminTenantParams) WriteToRequest ¶
func (o *UpdateAdminTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAdminTenantReader ¶
type UpdateAdminTenantReader struct {
// contains filtered or unexported fields
}
UpdateAdminTenantReader is a Reader for the UpdateAdminTenant structure.
func (*UpdateAdminTenantReader) ReadResponse ¶
func (o *UpdateAdminTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAdminTenantTooManyRequests ¶
UpdateAdminTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateAdminTenantTooManyRequests ¶
func NewUpdateAdminTenantTooManyRequests() *UpdateAdminTenantTooManyRequests
NewUpdateAdminTenantTooManyRequests creates a UpdateAdminTenantTooManyRequests with default headers values
func (*UpdateAdminTenantTooManyRequests) Code ¶
func (o *UpdateAdminTenantTooManyRequests) Code() int
Code gets the status code for the update admin tenant too many requests response
func (*UpdateAdminTenantTooManyRequests) Error ¶
func (o *UpdateAdminTenantTooManyRequests) Error() string
func (*UpdateAdminTenantTooManyRequests) GetPayload ¶
func (o *UpdateAdminTenantTooManyRequests) GetPayload() *models.Error
func (*UpdateAdminTenantTooManyRequests) IsClientError ¶
func (o *UpdateAdminTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this update admin tenant too many requests response has a 4xx status code
func (*UpdateAdminTenantTooManyRequests) IsCode ¶
func (o *UpdateAdminTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this update admin tenant too many requests response a status code equal to that given
func (*UpdateAdminTenantTooManyRequests) IsRedirect ¶
func (o *UpdateAdminTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update admin tenant too many requests response has a 3xx status code
func (*UpdateAdminTenantTooManyRequests) IsServerError ¶
func (o *UpdateAdminTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this update admin tenant too many requests response has a 5xx status code
func (*UpdateAdminTenantTooManyRequests) IsSuccess ¶
func (o *UpdateAdminTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update admin tenant too many requests response has a 2xx status code
func (*UpdateAdminTenantTooManyRequests) String ¶
func (o *UpdateAdminTenantTooManyRequests) String() string
type UpdateAdminTenantUnauthorized ¶
type UpdateAdminTenantUnauthorized struct {
}UpdateAdminTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateAdminTenantUnauthorized ¶
func NewUpdateAdminTenantUnauthorized() *UpdateAdminTenantUnauthorized
NewUpdateAdminTenantUnauthorized creates a UpdateAdminTenantUnauthorized with default headers values
func (*UpdateAdminTenantUnauthorized) Code ¶
func (o *UpdateAdminTenantUnauthorized) Code() int
Code gets the status code for the update admin tenant unauthorized response
func (*UpdateAdminTenantUnauthorized) Error ¶
func (o *UpdateAdminTenantUnauthorized) Error() string
func (*UpdateAdminTenantUnauthorized) GetPayload ¶
func (o *UpdateAdminTenantUnauthorized) GetPayload() *models.Error
func (*UpdateAdminTenantUnauthorized) IsClientError ¶
func (o *UpdateAdminTenantUnauthorized) IsClientError() bool
IsClientError returns true when this update admin tenant unauthorized response has a 4xx status code
func (*UpdateAdminTenantUnauthorized) IsCode ¶
func (o *UpdateAdminTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this update admin tenant unauthorized response a status code equal to that given
func (*UpdateAdminTenantUnauthorized) IsRedirect ¶
func (o *UpdateAdminTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this update admin tenant unauthorized response has a 3xx status code
func (*UpdateAdminTenantUnauthorized) IsServerError ¶
func (o *UpdateAdminTenantUnauthorized) IsServerError() bool
IsServerError returns true when this update admin tenant unauthorized response has a 5xx status code
func (*UpdateAdminTenantUnauthorized) IsSuccess ¶
func (o *UpdateAdminTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this update admin tenant unauthorized response has a 2xx status code
func (*UpdateAdminTenantUnauthorized) String ¶
func (o *UpdateAdminTenantUnauthorized) String() string
type UpdateAdminTenantUnprocessableEntity ¶
UpdateAdminTenantUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateAdminTenantUnprocessableEntity ¶
func NewUpdateAdminTenantUnprocessableEntity() *UpdateAdminTenantUnprocessableEntity
NewUpdateAdminTenantUnprocessableEntity creates a UpdateAdminTenantUnprocessableEntity with default headers values
func (*UpdateAdminTenantUnprocessableEntity) Code ¶
func (o *UpdateAdminTenantUnprocessableEntity) Code() int
Code gets the status code for the update admin tenant unprocessable entity response
func (*UpdateAdminTenantUnprocessableEntity) Error ¶
func (o *UpdateAdminTenantUnprocessableEntity) Error() string
func (*UpdateAdminTenantUnprocessableEntity) GetPayload ¶
func (o *UpdateAdminTenantUnprocessableEntity) GetPayload() *models.Error
func (*UpdateAdminTenantUnprocessableEntity) IsClientError ¶
func (o *UpdateAdminTenantUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update admin tenant unprocessable entity response has a 4xx status code
func (*UpdateAdminTenantUnprocessableEntity) IsCode ¶
func (o *UpdateAdminTenantUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update admin tenant unprocessable entity response a status code equal to that given
func (*UpdateAdminTenantUnprocessableEntity) IsRedirect ¶
func (o *UpdateAdminTenantUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update admin tenant unprocessable entity response has a 3xx status code
func (*UpdateAdminTenantUnprocessableEntity) IsServerError ¶
func (o *UpdateAdminTenantUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update admin tenant unprocessable entity response has a 5xx status code
func (*UpdateAdminTenantUnprocessableEntity) IsSuccess ¶
func (o *UpdateAdminTenantUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update admin tenant unprocessable entity response has a 2xx status code
func (*UpdateAdminTenantUnprocessableEntity) String ¶
func (o *UpdateAdminTenantUnprocessableEntity) String() string