Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTenant(params *CreateTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTenantCreated, error)
- func (a *Client) DeleteTenant(params *DeleteTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTenantNoContent, error)
- func (a *Client) GetTenant(params *GetTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTenantOK, error)
- func (a *Client) ListAdminTenants(params *ListAdminTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAdminTenantsOK, error)
- func (a *Client) ListTenants(params *ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTenantsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTenant(params *UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTenantOK, error)
- type ClientOption
- type ClientService
- type CreateTenantBadRequest
- func (o *CreateTenantBadRequest) Code() int
- func (o *CreateTenantBadRequest) Error() string
- func (o *CreateTenantBadRequest) GetPayload() *models.Error
- func (o *CreateTenantBadRequest) IsClientError() bool
- func (o *CreateTenantBadRequest) IsCode(code int) bool
- func (o *CreateTenantBadRequest) IsRedirect() bool
- func (o *CreateTenantBadRequest) IsServerError() bool
- func (o *CreateTenantBadRequest) IsSuccess() bool
- func (o *CreateTenantBadRequest) String() string
- type CreateTenantConflict
- func (o *CreateTenantConflict) Code() int
- func (o *CreateTenantConflict) Error() string
- func (o *CreateTenantConflict) GetPayload() *models.Error
- func (o *CreateTenantConflict) IsClientError() bool
- func (o *CreateTenantConflict) IsCode(code int) bool
- func (o *CreateTenantConflict) IsRedirect() bool
- func (o *CreateTenantConflict) IsServerError() bool
- func (o *CreateTenantConflict) IsSuccess() bool
- func (o *CreateTenantConflict) String() string
- type CreateTenantCreated
- func (o *CreateTenantCreated) Code() int
- func (o *CreateTenantCreated) Error() string
- func (o *CreateTenantCreated) GetPayload() *models.TenantCreated
- func (o *CreateTenantCreated) IsClientError() bool
- func (o *CreateTenantCreated) IsCode(code int) bool
- func (o *CreateTenantCreated) IsRedirect() bool
- func (o *CreateTenantCreated) IsServerError() bool
- func (o *CreateTenantCreated) IsSuccess() bool
- func (o *CreateTenantCreated) String() string
- type CreateTenantForbidden
- func (o *CreateTenantForbidden) Code() int
- func (o *CreateTenantForbidden) Error() string
- func (o *CreateTenantForbidden) GetPayload() *models.Error
- func (o *CreateTenantForbidden) IsClientError() bool
- func (o *CreateTenantForbidden) IsCode(code int) bool
- func (o *CreateTenantForbidden) IsRedirect() bool
- func (o *CreateTenantForbidden) IsServerError() bool
- func (o *CreateTenantForbidden) IsSuccess() bool
- func (o *CreateTenantForbidden) String() string
- type CreateTenantParams
- func (o *CreateTenantParams) SetContext(ctx context.Context)
- func (o *CreateTenantParams) SetDefaults()
- func (o *CreateTenantParams) SetHTTPClient(client *http.Client)
- func (o *CreateTenantParams) SetTenant(tenant *models.Tenant)
- func (o *CreateTenantParams) SetTimeout(timeout time.Duration)
- func (o *CreateTenantParams) SetWithDefaultWorkspaces(withDefaultWorkspaces *bool)
- func (o *CreateTenantParams) WithContext(ctx context.Context) *CreateTenantParams
- func (o *CreateTenantParams) WithDefaults() *CreateTenantParams
- func (o *CreateTenantParams) WithHTTPClient(client *http.Client) *CreateTenantParams
- func (o *CreateTenantParams) WithTenant(tenant *models.Tenant) *CreateTenantParams
- func (o *CreateTenantParams) WithTimeout(timeout time.Duration) *CreateTenantParams
- func (o *CreateTenantParams) WithWithDefaultWorkspaces(withDefaultWorkspaces *bool) *CreateTenantParams
- func (o *CreateTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTenantReader
- type CreateTenantTooManyRequests
- func (o *CreateTenantTooManyRequests) Code() int
- func (o *CreateTenantTooManyRequests) Error() string
- func (o *CreateTenantTooManyRequests) GetPayload() *models.Error
- func (o *CreateTenantTooManyRequests) IsClientError() bool
- func (o *CreateTenantTooManyRequests) IsCode(code int) bool
- func (o *CreateTenantTooManyRequests) IsRedirect() bool
- func (o *CreateTenantTooManyRequests) IsServerError() bool
- func (o *CreateTenantTooManyRequests) IsSuccess() bool
- func (o *CreateTenantTooManyRequests) String() string
- type CreateTenantUnauthorized
- func (o *CreateTenantUnauthorized) Code() int
- func (o *CreateTenantUnauthorized) Error() string
- func (o *CreateTenantUnauthorized) GetPayload() *models.Error
- func (o *CreateTenantUnauthorized) IsClientError() bool
- func (o *CreateTenantUnauthorized) IsCode(code int) bool
- func (o *CreateTenantUnauthorized) IsRedirect() bool
- func (o *CreateTenantUnauthorized) IsServerError() bool
- func (o *CreateTenantUnauthorized) IsSuccess() bool
- func (o *CreateTenantUnauthorized) String() string
- type CreateTenantUnprocessableEntity
- func (o *CreateTenantUnprocessableEntity) Code() int
- func (o *CreateTenantUnprocessableEntity) Error() string
- func (o *CreateTenantUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateTenantUnprocessableEntity) IsClientError() bool
- func (o *CreateTenantUnprocessableEntity) IsCode(code int) bool
- func (o *CreateTenantUnprocessableEntity) IsRedirect() bool
- func (o *CreateTenantUnprocessableEntity) IsServerError() bool
- func (o *CreateTenantUnprocessableEntity) IsSuccess() bool
- func (o *CreateTenantUnprocessableEntity) String() string
- type DeleteTenantForbidden
- func (o *DeleteTenantForbidden) Code() int
- func (o *DeleteTenantForbidden) Error() string
- func (o *DeleteTenantForbidden) GetPayload() *models.Error
- func (o *DeleteTenantForbidden) IsClientError() bool
- func (o *DeleteTenantForbidden) IsCode(code int) bool
- func (o *DeleteTenantForbidden) IsRedirect() bool
- func (o *DeleteTenantForbidden) IsServerError() bool
- func (o *DeleteTenantForbidden) IsSuccess() bool
- func (o *DeleteTenantForbidden) String() string
- type DeleteTenantNoContent
- func (o *DeleteTenantNoContent) Code() int
- func (o *DeleteTenantNoContent) Error() string
- func (o *DeleteTenantNoContent) IsClientError() bool
- func (o *DeleteTenantNoContent) IsCode(code int) bool
- func (o *DeleteTenantNoContent) IsRedirect() bool
- func (o *DeleteTenantNoContent) IsServerError() bool
- func (o *DeleteTenantNoContent) IsSuccess() bool
- func (o *DeleteTenantNoContent) String() string
- type DeleteTenantNotFound
- func (o *DeleteTenantNotFound) Code() int
- func (o *DeleteTenantNotFound) Error() string
- func (o *DeleteTenantNotFound) GetPayload() *models.Error
- func (o *DeleteTenantNotFound) IsClientError() bool
- func (o *DeleteTenantNotFound) IsCode(code int) bool
- func (o *DeleteTenantNotFound) IsRedirect() bool
- func (o *DeleteTenantNotFound) IsServerError() bool
- func (o *DeleteTenantNotFound) IsSuccess() bool
- func (o *DeleteTenantNotFound) String() string
- type DeleteTenantParams
- func (o *DeleteTenantParams) SetContext(ctx context.Context)
- func (o *DeleteTenantParams) SetDefaults()
- func (o *DeleteTenantParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTenantParams) SetTid(tid string)
- func (o *DeleteTenantParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTenantParams) WithContext(ctx context.Context) *DeleteTenantParams
- func (o *DeleteTenantParams) WithDefaults() *DeleteTenantParams
- func (o *DeleteTenantParams) WithHTTPClient(client *http.Client) *DeleteTenantParams
- func (o *DeleteTenantParams) WithTid(tid string) *DeleteTenantParams
- func (o *DeleteTenantParams) WithTimeout(timeout time.Duration) *DeleteTenantParams
- func (o *DeleteTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTenantReader
- type DeleteTenantTooManyRequests
- func (o *DeleteTenantTooManyRequests) Code() int
- func (o *DeleteTenantTooManyRequests) Error() string
- func (o *DeleteTenantTooManyRequests) GetPayload() *models.Error
- func (o *DeleteTenantTooManyRequests) IsClientError() bool
- func (o *DeleteTenantTooManyRequests) IsCode(code int) bool
- func (o *DeleteTenantTooManyRequests) IsRedirect() bool
- func (o *DeleteTenantTooManyRequests) IsServerError() bool
- func (o *DeleteTenantTooManyRequests) IsSuccess() bool
- func (o *DeleteTenantTooManyRequests) String() string
- type DeleteTenantUnauthorized
- func (o *DeleteTenantUnauthorized) Code() int
- func (o *DeleteTenantUnauthorized) Error() string
- func (o *DeleteTenantUnauthorized) GetPayload() *models.Error
- func (o *DeleteTenantUnauthorized) IsClientError() bool
- func (o *DeleteTenantUnauthorized) IsCode(code int) bool
- func (o *DeleteTenantUnauthorized) IsRedirect() bool
- func (o *DeleteTenantUnauthorized) IsServerError() bool
- func (o *DeleteTenantUnauthorized) IsSuccess() bool
- func (o *DeleteTenantUnauthorized) String() string
- type GetTenantForbidden
- func (o *GetTenantForbidden) Code() int
- func (o *GetTenantForbidden) Error() string
- func (o *GetTenantForbidden) GetPayload() *models.Error
- func (o *GetTenantForbidden) IsClientError() bool
- func (o *GetTenantForbidden) IsCode(code int) bool
- func (o *GetTenantForbidden) IsRedirect() bool
- func (o *GetTenantForbidden) IsServerError() bool
- func (o *GetTenantForbidden) IsSuccess() bool
- func (o *GetTenantForbidden) String() string
- type GetTenantNotFound
- func (o *GetTenantNotFound) Code() int
- func (o *GetTenantNotFound) Error() string
- func (o *GetTenantNotFound) GetPayload() *models.Error
- func (o *GetTenantNotFound) IsClientError() bool
- func (o *GetTenantNotFound) IsCode(code int) bool
- func (o *GetTenantNotFound) IsRedirect() bool
- func (o *GetTenantNotFound) IsServerError() bool
- func (o *GetTenantNotFound) IsSuccess() bool
- func (o *GetTenantNotFound) String() string
- type GetTenantOK
- func (o *GetTenantOK) Code() int
- func (o *GetTenantOK) Error() string
- func (o *GetTenantOK) GetPayload() *models.Tenant
- func (o *GetTenantOK) IsClientError() bool
- func (o *GetTenantOK) IsCode(code int) bool
- func (o *GetTenantOK) IsRedirect() bool
- func (o *GetTenantOK) IsServerError() bool
- func (o *GetTenantOK) IsSuccess() bool
- func (o *GetTenantOK) String() string
- type GetTenantParams
- func (o *GetTenantParams) SetContext(ctx context.Context)
- func (o *GetTenantParams) SetDefaults()
- func (o *GetTenantParams) SetHTTPClient(client *http.Client)
- func (o *GetTenantParams) SetTid(tid string)
- func (o *GetTenantParams) SetTimeout(timeout time.Duration)
- func (o *GetTenantParams) WithContext(ctx context.Context) *GetTenantParams
- func (o *GetTenantParams) WithDefaults() *GetTenantParams
- func (o *GetTenantParams) WithHTTPClient(client *http.Client) *GetTenantParams
- func (o *GetTenantParams) WithTid(tid string) *GetTenantParams
- func (o *GetTenantParams) WithTimeout(timeout time.Duration) *GetTenantParams
- func (o *GetTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTenantReader
- type GetTenantTooManyRequests
- func (o *GetTenantTooManyRequests) Code() int
- func (o *GetTenantTooManyRequests) Error() string
- func (o *GetTenantTooManyRequests) GetPayload() *models.Error
- func (o *GetTenantTooManyRequests) IsClientError() bool
- func (o *GetTenantTooManyRequests) IsCode(code int) bool
- func (o *GetTenantTooManyRequests) IsRedirect() bool
- func (o *GetTenantTooManyRequests) IsServerError() bool
- func (o *GetTenantTooManyRequests) IsSuccess() bool
- func (o *GetTenantTooManyRequests) String() string
- type GetTenantUnauthorized
- func (o *GetTenantUnauthorized) Code() int
- func (o *GetTenantUnauthorized) Error() string
- func (o *GetTenantUnauthorized) GetPayload() *models.Error
- func (o *GetTenantUnauthorized) IsClientError() bool
- func (o *GetTenantUnauthorized) IsCode(code int) bool
- func (o *GetTenantUnauthorized) IsRedirect() bool
- func (o *GetTenantUnauthorized) IsServerError() bool
- func (o *GetTenantUnauthorized) IsSuccess() bool
- func (o *GetTenantUnauthorized) String() string
- type ListAdminTenantsForbidden
- func (o *ListAdminTenantsForbidden) Code() int
- func (o *ListAdminTenantsForbidden) Error() string
- func (o *ListAdminTenantsForbidden) GetPayload() *models.Error
- func (o *ListAdminTenantsForbidden) IsClientError() bool
- func (o *ListAdminTenantsForbidden) IsCode(code int) bool
- func (o *ListAdminTenantsForbidden) IsRedirect() bool
- func (o *ListAdminTenantsForbidden) IsServerError() bool
- func (o *ListAdminTenantsForbidden) IsSuccess() bool
- func (o *ListAdminTenantsForbidden) String() string
- type ListAdminTenantsNotFound
- func (o *ListAdminTenantsNotFound) Code() int
- func (o *ListAdminTenantsNotFound) Error() string
- func (o *ListAdminTenantsNotFound) GetPayload() *models.Error
- func (o *ListAdminTenantsNotFound) IsClientError() bool
- func (o *ListAdminTenantsNotFound) IsCode(code int) bool
- func (o *ListAdminTenantsNotFound) IsRedirect() bool
- func (o *ListAdminTenantsNotFound) IsServerError() bool
- func (o *ListAdminTenantsNotFound) IsSuccess() bool
- func (o *ListAdminTenantsNotFound) String() string
- type ListAdminTenantsOK
- func (o *ListAdminTenantsOK) Code() int
- func (o *ListAdminTenantsOK) Error() string
- func (o *ListAdminTenantsOK) GetPayload() *models.Tenants
- func (o *ListAdminTenantsOK) IsClientError() bool
- func (o *ListAdminTenantsOK) IsCode(code int) bool
- func (o *ListAdminTenantsOK) IsRedirect() bool
- func (o *ListAdminTenantsOK) IsServerError() bool
- func (o *ListAdminTenantsOK) IsSuccess() bool
- func (o *ListAdminTenantsOK) String() string
- type ListAdminTenantsParams
- func NewListAdminTenantsParams() *ListAdminTenantsParams
- func NewListAdminTenantsParamsWithContext(ctx context.Context) *ListAdminTenantsParams
- func NewListAdminTenantsParamsWithHTTPClient(client *http.Client) *ListAdminTenantsParams
- func NewListAdminTenantsParamsWithTimeout(timeout time.Duration) *ListAdminTenantsParams
- func (o *ListAdminTenantsParams) SetContext(ctx context.Context)
- func (o *ListAdminTenantsParams) SetDefaults()
- func (o *ListAdminTenantsParams) SetHTTPClient(client *http.Client)
- func (o *ListAdminTenantsParams) SetTimeout(timeout time.Duration)
- func (o *ListAdminTenantsParams) WithContext(ctx context.Context) *ListAdminTenantsParams
- func (o *ListAdminTenantsParams) WithDefaults() *ListAdminTenantsParams
- func (o *ListAdminTenantsParams) WithHTTPClient(client *http.Client) *ListAdminTenantsParams
- func (o *ListAdminTenantsParams) WithTimeout(timeout time.Duration) *ListAdminTenantsParams
- func (o *ListAdminTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAdminTenantsReader
- type ListAdminTenantsTooManyRequests
- func (o *ListAdminTenantsTooManyRequests) Code() int
- func (o *ListAdminTenantsTooManyRequests) Error() string
- func (o *ListAdminTenantsTooManyRequests) GetPayload() *models.Error
- func (o *ListAdminTenantsTooManyRequests) IsClientError() bool
- func (o *ListAdminTenantsTooManyRequests) IsCode(code int) bool
- func (o *ListAdminTenantsTooManyRequests) IsRedirect() bool
- func (o *ListAdminTenantsTooManyRequests) IsServerError() bool
- func (o *ListAdminTenantsTooManyRequests) IsSuccess() bool
- func (o *ListAdminTenantsTooManyRequests) String() string
- type ListAdminTenantsUnauthorized
- func (o *ListAdminTenantsUnauthorized) Code() int
- func (o *ListAdminTenantsUnauthorized) Error() string
- func (o *ListAdminTenantsUnauthorized) GetPayload() *models.Error
- func (o *ListAdminTenantsUnauthorized) IsClientError() bool
- func (o *ListAdminTenantsUnauthorized) IsCode(code int) bool
- func (o *ListAdminTenantsUnauthorized) IsRedirect() bool
- func (o *ListAdminTenantsUnauthorized) IsServerError() bool
- func (o *ListAdminTenantsUnauthorized) IsSuccess() bool
- func (o *ListAdminTenantsUnauthorized) String() string
- type ListTenantsForbidden
- func (o *ListTenantsForbidden) Code() int
- func (o *ListTenantsForbidden) Error() string
- func (o *ListTenantsForbidden) GetPayload() *models.Error
- func (o *ListTenantsForbidden) IsClientError() bool
- func (o *ListTenantsForbidden) IsCode(code int) bool
- func (o *ListTenantsForbidden) IsRedirect() bool
- func (o *ListTenantsForbidden) IsServerError() bool
- func (o *ListTenantsForbidden) IsSuccess() bool
- func (o *ListTenantsForbidden) String() string
- type ListTenantsNotFound
- func (o *ListTenantsNotFound) Code() int
- func (o *ListTenantsNotFound) Error() string
- func (o *ListTenantsNotFound) GetPayload() *models.Error
- func (o *ListTenantsNotFound) IsClientError() bool
- func (o *ListTenantsNotFound) IsCode(code int) bool
- func (o *ListTenantsNotFound) IsRedirect() bool
- func (o *ListTenantsNotFound) IsServerError() bool
- func (o *ListTenantsNotFound) IsSuccess() bool
- func (o *ListTenantsNotFound) String() string
- type ListTenantsOK
- func (o *ListTenantsOK) Code() int
- func (o *ListTenantsOK) Error() string
- func (o *ListTenantsOK) GetPayload() *models.Tenants
- func (o *ListTenantsOK) IsClientError() bool
- func (o *ListTenantsOK) IsCode(code int) bool
- func (o *ListTenantsOK) IsRedirect() bool
- func (o *ListTenantsOK) IsServerError() bool
- func (o *ListTenantsOK) IsSuccess() bool
- func (o *ListTenantsOK) String() string
- type ListTenantsParams
- func (o *ListTenantsParams) SetContext(ctx context.Context)
- func (o *ListTenantsParams) SetDefaults()
- func (o *ListTenantsParams) SetHTTPClient(client *http.Client)
- func (o *ListTenantsParams) SetQuery(query *string)
- func (o *ListTenantsParams) SetTimeout(timeout time.Duration)
- func (o *ListTenantsParams) WithContext(ctx context.Context) *ListTenantsParams
- func (o *ListTenantsParams) WithDefaults() *ListTenantsParams
- func (o *ListTenantsParams) WithHTTPClient(client *http.Client) *ListTenantsParams
- func (o *ListTenantsParams) WithQuery(query *string) *ListTenantsParams
- func (o *ListTenantsParams) WithTimeout(timeout time.Duration) *ListTenantsParams
- func (o *ListTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTenantsReader
- type ListTenantsTooManyRequests
- func (o *ListTenantsTooManyRequests) Code() int
- func (o *ListTenantsTooManyRequests) Error() string
- func (o *ListTenantsTooManyRequests) GetPayload() *models.Error
- func (o *ListTenantsTooManyRequests) IsClientError() bool
- func (o *ListTenantsTooManyRequests) IsCode(code int) bool
- func (o *ListTenantsTooManyRequests) IsRedirect() bool
- func (o *ListTenantsTooManyRequests) IsServerError() bool
- func (o *ListTenantsTooManyRequests) IsSuccess() bool
- func (o *ListTenantsTooManyRequests) String() string
- type ListTenantsUnauthorized
- func (o *ListTenantsUnauthorized) Code() int
- func (o *ListTenantsUnauthorized) Error() string
- func (o *ListTenantsUnauthorized) GetPayload() *models.Error
- func (o *ListTenantsUnauthorized) IsClientError() bool
- func (o *ListTenantsUnauthorized) IsCode(code int) bool
- func (o *ListTenantsUnauthorized) IsRedirect() bool
- func (o *ListTenantsUnauthorized) IsServerError() bool
- func (o *ListTenantsUnauthorized) IsSuccess() bool
- func (o *ListTenantsUnauthorized) String() string
- type UpdateTenantBadRequest
- func (o *UpdateTenantBadRequest) Code() int
- func (o *UpdateTenantBadRequest) Error() string
- func (o *UpdateTenantBadRequest) GetPayload() *models.Error
- func (o *UpdateTenantBadRequest) IsClientError() bool
- func (o *UpdateTenantBadRequest) IsCode(code int) bool
- func (o *UpdateTenantBadRequest) IsRedirect() bool
- func (o *UpdateTenantBadRequest) IsServerError() bool
- func (o *UpdateTenantBadRequest) IsSuccess() bool
- func (o *UpdateTenantBadRequest) String() string
- type UpdateTenantForbidden
- func (o *UpdateTenantForbidden) Code() int
- func (o *UpdateTenantForbidden) Error() string
- func (o *UpdateTenantForbidden) GetPayload() *models.Error
- func (o *UpdateTenantForbidden) IsClientError() bool
- func (o *UpdateTenantForbidden) IsCode(code int) bool
- func (o *UpdateTenantForbidden) IsRedirect() bool
- func (o *UpdateTenantForbidden) IsServerError() bool
- func (o *UpdateTenantForbidden) IsSuccess() bool
- func (o *UpdateTenantForbidden) String() string
- type UpdateTenantNotFound
- func (o *UpdateTenantNotFound) Code() int
- func (o *UpdateTenantNotFound) Error() string
- func (o *UpdateTenantNotFound) GetPayload() *models.Error
- func (o *UpdateTenantNotFound) IsClientError() bool
- func (o *UpdateTenantNotFound) IsCode(code int) bool
- func (o *UpdateTenantNotFound) IsRedirect() bool
- func (o *UpdateTenantNotFound) IsServerError() bool
- func (o *UpdateTenantNotFound) IsSuccess() bool
- func (o *UpdateTenantNotFound) String() string
- type UpdateTenantOK
- func (o *UpdateTenantOK) Code() int
- func (o *UpdateTenantOK) Error() string
- func (o *UpdateTenantOK) GetPayload() *models.Tenant
- func (o *UpdateTenantOK) IsClientError() bool
- func (o *UpdateTenantOK) IsCode(code int) bool
- func (o *UpdateTenantOK) IsRedirect() bool
- func (o *UpdateTenantOK) IsServerError() bool
- func (o *UpdateTenantOK) IsSuccess() bool
- func (o *UpdateTenantOK) String() string
- type UpdateTenantParams
- func (o *UpdateTenantParams) SetContext(ctx context.Context)
- func (o *UpdateTenantParams) SetDefaults()
- func (o *UpdateTenantParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTenantParams) SetTenant(tenant *models.Tenant)
- func (o *UpdateTenantParams) SetTid(tid string)
- func (o *UpdateTenantParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTenantParams) WithContext(ctx context.Context) *UpdateTenantParams
- func (o *UpdateTenantParams) WithDefaults() *UpdateTenantParams
- func (o *UpdateTenantParams) WithHTTPClient(client *http.Client) *UpdateTenantParams
- func (o *UpdateTenantParams) WithTenant(tenant *models.Tenant) *UpdateTenantParams
- func (o *UpdateTenantParams) WithTid(tid string) *UpdateTenantParams
- func (o *UpdateTenantParams) WithTimeout(timeout time.Duration) *UpdateTenantParams
- func (o *UpdateTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTenantReader
- type UpdateTenantTooManyRequests
- func (o *UpdateTenantTooManyRequests) Code() int
- func (o *UpdateTenantTooManyRequests) Error() string
- func (o *UpdateTenantTooManyRequests) GetPayload() *models.Error
- func (o *UpdateTenantTooManyRequests) IsClientError() bool
- func (o *UpdateTenantTooManyRequests) IsCode(code int) bool
- func (o *UpdateTenantTooManyRequests) IsRedirect() bool
- func (o *UpdateTenantTooManyRequests) IsServerError() bool
- func (o *UpdateTenantTooManyRequests) IsSuccess() bool
- func (o *UpdateTenantTooManyRequests) String() string
- type UpdateTenantUnauthorized
- func (o *UpdateTenantUnauthorized) Code() int
- func (o *UpdateTenantUnauthorized) Error() string
- func (o *UpdateTenantUnauthorized) GetPayload() *models.Error
- func (o *UpdateTenantUnauthorized) IsClientError() bool
- func (o *UpdateTenantUnauthorized) IsCode(code int) bool
- func (o *UpdateTenantUnauthorized) IsRedirect() bool
- func (o *UpdateTenantUnauthorized) IsServerError() bool
- func (o *UpdateTenantUnauthorized) IsSuccess() bool
- func (o *UpdateTenantUnauthorized) String() string
- type UpdateTenantUnprocessableEntity
- func (o *UpdateTenantUnprocessableEntity) Code() int
- func (o *UpdateTenantUnprocessableEntity) Error() string
- func (o *UpdateTenantUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateTenantUnprocessableEntity) IsClientError() bool
- func (o *UpdateTenantUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateTenantUnprocessableEntity) IsRedirect() bool
- func (o *UpdateTenantUnprocessableEntity) IsServerError() bool
- func (o *UpdateTenantUnprocessableEntity) IsSuccess() bool
- func (o *UpdateTenantUnprocessableEntity) 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) CreateTenant ¶
func (a *Client) CreateTenant(params *CreateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTenantCreated, error)
CreateTenant creates tenant Tenant must have unique id, if it's not provided will be generated.
Tenant name must be provided.
Tenant url is optional and if omitted, it is set to ACP deployment url with appened id of a tenant, example: https://example.com/default.
When tenant is created, preconfigured authorization servers with default scopes, services and oauth clients are automatically created underneath. See API response for more details.
func (*Client) DeleteTenant ¶
func (a *Client) DeleteTenant(params *DeleteTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTenantNoContent, error)
DeleteTenant deletes tenant
func (*Client) GetTenant ¶
func (a *Client) GetTenant(params *GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantOK, error)
GetTenant gets tenant
Get tenant system api.
func (*Client) ListAdminTenants ¶
func (a *Client) ListAdminTenants(params *ListAdminTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAdminTenantsOK, error)
ListAdminTenants lists tenants
To be able to list tenants, you need to use an access token issued for a system tenant and admin workspace.
func (*Client) ListTenants ¶
func (a *Client) ListTenants(params *ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantsOK, error)
ListTenants lists tenants
List tenants.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTenant ¶
func (a *Client) UpdateTenant(params *UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTenantOK, error)
UpdateTenant updates tenant
Update tenant system api.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateTenant(params *CreateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTenantCreated, error) DeleteTenant(params *DeleteTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTenantNoContent, error) GetTenant(params *GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantOK, error) ListAdminTenants(params *ListAdminTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAdminTenantsOK, error) ListTenants(params *ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantsOK, error) UpdateTenant(params *UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTenantOK, 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 CreateTenantBadRequest ¶
CreateTenantBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateTenantBadRequest ¶
func NewCreateTenantBadRequest() *CreateTenantBadRequest
NewCreateTenantBadRequest creates a CreateTenantBadRequest with default headers values
func (*CreateTenantBadRequest) Code ¶
func (o *CreateTenantBadRequest) Code() int
Code gets the status code for the create tenant bad request response
func (*CreateTenantBadRequest) Error ¶
func (o *CreateTenantBadRequest) Error() string
func (*CreateTenantBadRequest) GetPayload ¶
func (o *CreateTenantBadRequest) GetPayload() *models.Error
func (*CreateTenantBadRequest) IsClientError ¶
func (o *CreateTenantBadRequest) IsClientError() bool
IsClientError returns true when this create tenant bad request response has a 4xx status code
func (*CreateTenantBadRequest) IsCode ¶
func (o *CreateTenantBadRequest) IsCode(code int) bool
IsCode returns true when this create tenant bad request response a status code equal to that given
func (*CreateTenantBadRequest) IsRedirect ¶
func (o *CreateTenantBadRequest) IsRedirect() bool
IsRedirect returns true when this create tenant bad request response has a 3xx status code
func (*CreateTenantBadRequest) IsServerError ¶
func (o *CreateTenantBadRequest) IsServerError() bool
IsServerError returns true when this create tenant bad request response has a 5xx status code
func (*CreateTenantBadRequest) IsSuccess ¶
func (o *CreateTenantBadRequest) IsSuccess() bool
IsSuccess returns true when this create tenant bad request response has a 2xx status code
func (*CreateTenantBadRequest) String ¶
func (o *CreateTenantBadRequest) String() string
type CreateTenantConflict ¶
CreateTenantConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateTenantConflict ¶
func NewCreateTenantConflict() *CreateTenantConflict
NewCreateTenantConflict creates a CreateTenantConflict with default headers values
func (*CreateTenantConflict) Code ¶
func (o *CreateTenantConflict) Code() int
Code gets the status code for the create tenant conflict response
func (*CreateTenantConflict) Error ¶
func (o *CreateTenantConflict) Error() string
func (*CreateTenantConflict) GetPayload ¶
func (o *CreateTenantConflict) GetPayload() *models.Error
func (*CreateTenantConflict) IsClientError ¶
func (o *CreateTenantConflict) IsClientError() bool
IsClientError returns true when this create tenant conflict response has a 4xx status code
func (*CreateTenantConflict) IsCode ¶
func (o *CreateTenantConflict) IsCode(code int) bool
IsCode returns true when this create tenant conflict response a status code equal to that given
func (*CreateTenantConflict) IsRedirect ¶
func (o *CreateTenantConflict) IsRedirect() bool
IsRedirect returns true when this create tenant conflict response has a 3xx status code
func (*CreateTenantConflict) IsServerError ¶
func (o *CreateTenantConflict) IsServerError() bool
IsServerError returns true when this create tenant conflict response has a 5xx status code
func (*CreateTenantConflict) IsSuccess ¶
func (o *CreateTenantConflict) IsSuccess() bool
IsSuccess returns true when this create tenant conflict response has a 2xx status code
func (*CreateTenantConflict) String ¶
func (o *CreateTenantConflict) String() string
type CreateTenantCreated ¶
type CreateTenantCreated struct {
Payload *models.TenantCreated
}
CreateTenantCreated describes a response with status code 201, with default header values.
Tenant created
func NewCreateTenantCreated ¶
func NewCreateTenantCreated() *CreateTenantCreated
NewCreateTenantCreated creates a CreateTenantCreated with default headers values
func (*CreateTenantCreated) Code ¶
func (o *CreateTenantCreated) Code() int
Code gets the status code for the create tenant created response
func (*CreateTenantCreated) Error ¶
func (o *CreateTenantCreated) Error() string
func (*CreateTenantCreated) GetPayload ¶
func (o *CreateTenantCreated) GetPayload() *models.TenantCreated
func (*CreateTenantCreated) IsClientError ¶
func (o *CreateTenantCreated) IsClientError() bool
IsClientError returns true when this create tenant created response has a 4xx status code
func (*CreateTenantCreated) IsCode ¶
func (o *CreateTenantCreated) IsCode(code int) bool
IsCode returns true when this create tenant created response a status code equal to that given
func (*CreateTenantCreated) IsRedirect ¶
func (o *CreateTenantCreated) IsRedirect() bool
IsRedirect returns true when this create tenant created response has a 3xx status code
func (*CreateTenantCreated) IsServerError ¶
func (o *CreateTenantCreated) IsServerError() bool
IsServerError returns true when this create tenant created response has a 5xx status code
func (*CreateTenantCreated) IsSuccess ¶
func (o *CreateTenantCreated) IsSuccess() bool
IsSuccess returns true when this create tenant created response has a 2xx status code
func (*CreateTenantCreated) String ¶
func (o *CreateTenantCreated) String() string
type CreateTenantForbidden ¶
CreateTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateTenantForbidden ¶
func NewCreateTenantForbidden() *CreateTenantForbidden
NewCreateTenantForbidden creates a CreateTenantForbidden with default headers values
func (*CreateTenantForbidden) Code ¶
func (o *CreateTenantForbidden) Code() int
Code gets the status code for the create tenant forbidden response
func (*CreateTenantForbidden) Error ¶
func (o *CreateTenantForbidden) Error() string
func (*CreateTenantForbidden) GetPayload ¶
func (o *CreateTenantForbidden) GetPayload() *models.Error
func (*CreateTenantForbidden) IsClientError ¶
func (o *CreateTenantForbidden) IsClientError() bool
IsClientError returns true when this create tenant forbidden response has a 4xx status code
func (*CreateTenantForbidden) IsCode ¶
func (o *CreateTenantForbidden) IsCode(code int) bool
IsCode returns true when this create tenant forbidden response a status code equal to that given
func (*CreateTenantForbidden) IsRedirect ¶
func (o *CreateTenantForbidden) IsRedirect() bool
IsRedirect returns true when this create tenant forbidden response has a 3xx status code
func (*CreateTenantForbidden) IsServerError ¶
func (o *CreateTenantForbidden) IsServerError() bool
IsServerError returns true when this create tenant forbidden response has a 5xx status code
func (*CreateTenantForbidden) IsSuccess ¶
func (o *CreateTenantForbidden) IsSuccess() bool
IsSuccess returns true when this create tenant forbidden response has a 2xx status code
func (*CreateTenantForbidden) String ¶
func (o *CreateTenantForbidden) String() string
type CreateTenantParams ¶
type CreateTenantParams struct { // Tenant. Tenant *models.Tenant /* WithDefaultWorkspaces. Create tenant with default workspaces */ WithDefaultWorkspaces *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTenantParams contains all the parameters to send to the API endpoint
for the create tenant operation. Typically these are written to a http.Request.
func NewCreateTenantParams ¶
func NewCreateTenantParams() *CreateTenantParams
NewCreateTenantParams creates a new CreateTenantParams 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 NewCreateTenantParamsWithContext ¶
func NewCreateTenantParamsWithContext(ctx context.Context) *CreateTenantParams
NewCreateTenantParamsWithContext creates a new CreateTenantParams object with the ability to set a context for a request.
func NewCreateTenantParamsWithHTTPClient ¶
func NewCreateTenantParamsWithHTTPClient(client *http.Client) *CreateTenantParams
NewCreateTenantParamsWithHTTPClient creates a new CreateTenantParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTenantParamsWithTimeout ¶
func NewCreateTenantParamsWithTimeout(timeout time.Duration) *CreateTenantParams
NewCreateTenantParamsWithTimeout creates a new CreateTenantParams object with the ability to set a timeout on a request.
func (*CreateTenantParams) SetContext ¶
func (o *CreateTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the create tenant params
func (*CreateTenantParams) SetDefaults ¶
func (o *CreateTenantParams) SetDefaults()
SetDefaults hydrates default values in the create tenant params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTenantParams) SetHTTPClient ¶
func (o *CreateTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create tenant params
func (*CreateTenantParams) SetTenant ¶
func (o *CreateTenantParams) SetTenant(tenant *models.Tenant)
SetTenant adds the tenant to the create tenant params
func (*CreateTenantParams) SetTimeout ¶
func (o *CreateTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create tenant params
func (*CreateTenantParams) SetWithDefaultWorkspaces ¶
func (o *CreateTenantParams) SetWithDefaultWorkspaces(withDefaultWorkspaces *bool)
SetWithDefaultWorkspaces adds the withDefaultWorkspaces to the create tenant params
func (*CreateTenantParams) WithContext ¶
func (o *CreateTenantParams) WithContext(ctx context.Context) *CreateTenantParams
WithContext adds the context to the create tenant params
func (*CreateTenantParams) WithDefaults ¶
func (o *CreateTenantParams) WithDefaults() *CreateTenantParams
WithDefaults hydrates default values in the create tenant params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTenantParams) WithHTTPClient ¶
func (o *CreateTenantParams) WithHTTPClient(client *http.Client) *CreateTenantParams
WithHTTPClient adds the HTTPClient to the create tenant params
func (*CreateTenantParams) WithTenant ¶
func (o *CreateTenantParams) WithTenant(tenant *models.Tenant) *CreateTenantParams
WithTenant adds the tenant to the create tenant params
func (*CreateTenantParams) WithTimeout ¶
func (o *CreateTenantParams) WithTimeout(timeout time.Duration) *CreateTenantParams
WithTimeout adds the timeout to the create tenant params
func (*CreateTenantParams) WithWithDefaultWorkspaces ¶
func (o *CreateTenantParams) WithWithDefaultWorkspaces(withDefaultWorkspaces *bool) *CreateTenantParams
WithWithDefaultWorkspaces adds the withDefaultWorkspaces to the create tenant params
func (*CreateTenantParams) WriteToRequest ¶
func (o *CreateTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTenantReader ¶
type CreateTenantReader struct {
// contains filtered or unexported fields
}
CreateTenantReader is a Reader for the CreateTenant structure.
func (*CreateTenantReader) ReadResponse ¶
func (o *CreateTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTenantTooManyRequests ¶
CreateTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateTenantTooManyRequests ¶
func NewCreateTenantTooManyRequests() *CreateTenantTooManyRequests
NewCreateTenantTooManyRequests creates a CreateTenantTooManyRequests with default headers values
func (*CreateTenantTooManyRequests) Code ¶
func (o *CreateTenantTooManyRequests) Code() int
Code gets the status code for the create tenant too many requests response
func (*CreateTenantTooManyRequests) Error ¶
func (o *CreateTenantTooManyRequests) Error() string
func (*CreateTenantTooManyRequests) GetPayload ¶
func (o *CreateTenantTooManyRequests) GetPayload() *models.Error
func (*CreateTenantTooManyRequests) IsClientError ¶
func (o *CreateTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this create tenant too many requests response has a 4xx status code
func (*CreateTenantTooManyRequests) IsCode ¶
func (o *CreateTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this create tenant too many requests response a status code equal to that given
func (*CreateTenantTooManyRequests) IsRedirect ¶
func (o *CreateTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create tenant too many requests response has a 3xx status code
func (*CreateTenantTooManyRequests) IsServerError ¶
func (o *CreateTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this create tenant too many requests response has a 5xx status code
func (*CreateTenantTooManyRequests) IsSuccess ¶
func (o *CreateTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create tenant too many requests response has a 2xx status code
func (*CreateTenantTooManyRequests) String ¶
func (o *CreateTenantTooManyRequests) String() string
type CreateTenantUnauthorized ¶
type CreateTenantUnauthorized struct {
}CreateTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateTenantUnauthorized ¶
func NewCreateTenantUnauthorized() *CreateTenantUnauthorized
NewCreateTenantUnauthorized creates a CreateTenantUnauthorized with default headers values
func (*CreateTenantUnauthorized) Code ¶
func (o *CreateTenantUnauthorized) Code() int
Code gets the status code for the create tenant unauthorized response
func (*CreateTenantUnauthorized) Error ¶
func (o *CreateTenantUnauthorized) Error() string
func (*CreateTenantUnauthorized) GetPayload ¶
func (o *CreateTenantUnauthorized) GetPayload() *models.Error
func (*CreateTenantUnauthorized) IsClientError ¶
func (o *CreateTenantUnauthorized) IsClientError() bool
IsClientError returns true when this create tenant unauthorized response has a 4xx status code
func (*CreateTenantUnauthorized) IsCode ¶
func (o *CreateTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this create tenant unauthorized response a status code equal to that given
func (*CreateTenantUnauthorized) IsRedirect ¶
func (o *CreateTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this create tenant unauthorized response has a 3xx status code
func (*CreateTenantUnauthorized) IsServerError ¶
func (o *CreateTenantUnauthorized) IsServerError() bool
IsServerError returns true when this create tenant unauthorized response has a 5xx status code
func (*CreateTenantUnauthorized) IsSuccess ¶
func (o *CreateTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this create tenant unauthorized response has a 2xx status code
func (*CreateTenantUnauthorized) String ¶
func (o *CreateTenantUnauthorized) String() string
type CreateTenantUnprocessableEntity ¶
CreateTenantUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateTenantUnprocessableEntity ¶
func NewCreateTenantUnprocessableEntity() *CreateTenantUnprocessableEntity
NewCreateTenantUnprocessableEntity creates a CreateTenantUnprocessableEntity with default headers values
func (*CreateTenantUnprocessableEntity) Code ¶
func (o *CreateTenantUnprocessableEntity) Code() int
Code gets the status code for the create tenant unprocessable entity response
func (*CreateTenantUnprocessableEntity) Error ¶
func (o *CreateTenantUnprocessableEntity) Error() string
func (*CreateTenantUnprocessableEntity) GetPayload ¶
func (o *CreateTenantUnprocessableEntity) GetPayload() *models.Error
func (*CreateTenantUnprocessableEntity) IsClientError ¶
func (o *CreateTenantUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create tenant unprocessable entity response has a 4xx status code
func (*CreateTenantUnprocessableEntity) IsCode ¶
func (o *CreateTenantUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create tenant unprocessable entity response a status code equal to that given
func (*CreateTenantUnprocessableEntity) IsRedirect ¶
func (o *CreateTenantUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create tenant unprocessable entity response has a 3xx status code
func (*CreateTenantUnprocessableEntity) IsServerError ¶
func (o *CreateTenantUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create tenant unprocessable entity response has a 5xx status code
func (*CreateTenantUnprocessableEntity) IsSuccess ¶
func (o *CreateTenantUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create tenant unprocessable entity response has a 2xx status code
func (*CreateTenantUnprocessableEntity) String ¶
func (o *CreateTenantUnprocessableEntity) String() string
type DeleteTenantForbidden ¶
DeleteTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteTenantForbidden ¶
func NewDeleteTenantForbidden() *DeleteTenantForbidden
NewDeleteTenantForbidden creates a DeleteTenantForbidden with default headers values
func (*DeleteTenantForbidden) Code ¶
func (o *DeleteTenantForbidden) Code() int
Code gets the status code for the delete tenant forbidden response
func (*DeleteTenantForbidden) Error ¶
func (o *DeleteTenantForbidden) Error() string
func (*DeleteTenantForbidden) GetPayload ¶
func (o *DeleteTenantForbidden) GetPayload() *models.Error
func (*DeleteTenantForbidden) IsClientError ¶
func (o *DeleteTenantForbidden) IsClientError() bool
IsClientError returns true when this delete tenant forbidden response has a 4xx status code
func (*DeleteTenantForbidden) IsCode ¶
func (o *DeleteTenantForbidden) IsCode(code int) bool
IsCode returns true when this delete tenant forbidden response a status code equal to that given
func (*DeleteTenantForbidden) IsRedirect ¶
func (o *DeleteTenantForbidden) IsRedirect() bool
IsRedirect returns true when this delete tenant forbidden response has a 3xx status code
func (*DeleteTenantForbidden) IsServerError ¶
func (o *DeleteTenantForbidden) IsServerError() bool
IsServerError returns true when this delete tenant forbidden response has a 5xx status code
func (*DeleteTenantForbidden) IsSuccess ¶
func (o *DeleteTenantForbidden) IsSuccess() bool
IsSuccess returns true when this delete tenant forbidden response has a 2xx status code
func (*DeleteTenantForbidden) String ¶
func (o *DeleteTenantForbidden) String() string
type DeleteTenantNoContent ¶
type DeleteTenantNoContent struct { }
DeleteTenantNoContent describes a response with status code 204, with default header values.
Tenant has been deleted
func NewDeleteTenantNoContent ¶
func NewDeleteTenantNoContent() *DeleteTenantNoContent
NewDeleteTenantNoContent creates a DeleteTenantNoContent with default headers values
func (*DeleteTenantNoContent) Code ¶
func (o *DeleteTenantNoContent) Code() int
Code gets the status code for the delete tenant no content response
func (*DeleteTenantNoContent) Error ¶
func (o *DeleteTenantNoContent) Error() string
func (*DeleteTenantNoContent) IsClientError ¶
func (o *DeleteTenantNoContent) IsClientError() bool
IsClientError returns true when this delete tenant no content response has a 4xx status code
func (*DeleteTenantNoContent) IsCode ¶
func (o *DeleteTenantNoContent) IsCode(code int) bool
IsCode returns true when this delete tenant no content response a status code equal to that given
func (*DeleteTenantNoContent) IsRedirect ¶
func (o *DeleteTenantNoContent) IsRedirect() bool
IsRedirect returns true when this delete tenant no content response has a 3xx status code
func (*DeleteTenantNoContent) IsServerError ¶
func (o *DeleteTenantNoContent) IsServerError() bool
IsServerError returns true when this delete tenant no content response has a 5xx status code
func (*DeleteTenantNoContent) IsSuccess ¶
func (o *DeleteTenantNoContent) IsSuccess() bool
IsSuccess returns true when this delete tenant no content response has a 2xx status code
func (*DeleteTenantNoContent) String ¶
func (o *DeleteTenantNoContent) String() string
type DeleteTenantNotFound ¶
DeleteTenantNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteTenantNotFound ¶
func NewDeleteTenantNotFound() *DeleteTenantNotFound
NewDeleteTenantNotFound creates a DeleteTenantNotFound with default headers values
func (*DeleteTenantNotFound) Code ¶
func (o *DeleteTenantNotFound) Code() int
Code gets the status code for the delete tenant not found response
func (*DeleteTenantNotFound) Error ¶
func (o *DeleteTenantNotFound) Error() string
func (*DeleteTenantNotFound) GetPayload ¶
func (o *DeleteTenantNotFound) GetPayload() *models.Error
func (*DeleteTenantNotFound) IsClientError ¶
func (o *DeleteTenantNotFound) IsClientError() bool
IsClientError returns true when this delete tenant not found response has a 4xx status code
func (*DeleteTenantNotFound) IsCode ¶
func (o *DeleteTenantNotFound) IsCode(code int) bool
IsCode returns true when this delete tenant not found response a status code equal to that given
func (*DeleteTenantNotFound) IsRedirect ¶
func (o *DeleteTenantNotFound) IsRedirect() bool
IsRedirect returns true when this delete tenant not found response has a 3xx status code
func (*DeleteTenantNotFound) IsServerError ¶
func (o *DeleteTenantNotFound) IsServerError() bool
IsServerError returns true when this delete tenant not found response has a 5xx status code
func (*DeleteTenantNotFound) IsSuccess ¶
func (o *DeleteTenantNotFound) IsSuccess() bool
IsSuccess returns true when this delete tenant not found response has a 2xx status code
func (*DeleteTenantNotFound) String ¶
func (o *DeleteTenantNotFound) String() string
type DeleteTenantParams ¶
type DeleteTenantParams struct { /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTenantParams contains all the parameters to send to the API endpoint
for the delete tenant operation. Typically these are written to a http.Request.
func NewDeleteTenantParams ¶
func NewDeleteTenantParams() *DeleteTenantParams
NewDeleteTenantParams creates a new DeleteTenantParams 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 NewDeleteTenantParamsWithContext ¶
func NewDeleteTenantParamsWithContext(ctx context.Context) *DeleteTenantParams
NewDeleteTenantParamsWithContext creates a new DeleteTenantParams object with the ability to set a context for a request.
func NewDeleteTenantParamsWithHTTPClient ¶
func NewDeleteTenantParamsWithHTTPClient(client *http.Client) *DeleteTenantParams
NewDeleteTenantParamsWithHTTPClient creates a new DeleteTenantParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTenantParamsWithTimeout ¶
func NewDeleteTenantParamsWithTimeout(timeout time.Duration) *DeleteTenantParams
NewDeleteTenantParamsWithTimeout creates a new DeleteTenantParams object with the ability to set a timeout on a request.
func (*DeleteTenantParams) SetContext ¶
func (o *DeleteTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the delete tenant params
func (*DeleteTenantParams) SetDefaults ¶
func (o *DeleteTenantParams) SetDefaults()
SetDefaults hydrates default values in the delete tenant params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTenantParams) SetHTTPClient ¶
func (o *DeleteTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete tenant params
func (*DeleteTenantParams) SetTid ¶
func (o *DeleteTenantParams) SetTid(tid string)
SetTid adds the tid to the delete tenant params
func (*DeleteTenantParams) SetTimeout ¶
func (o *DeleteTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete tenant params
func (*DeleteTenantParams) WithContext ¶
func (o *DeleteTenantParams) WithContext(ctx context.Context) *DeleteTenantParams
WithContext adds the context to the delete tenant params
func (*DeleteTenantParams) WithDefaults ¶
func (o *DeleteTenantParams) WithDefaults() *DeleteTenantParams
WithDefaults hydrates default values in the delete tenant params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTenantParams) WithHTTPClient ¶
func (o *DeleteTenantParams) WithHTTPClient(client *http.Client) *DeleteTenantParams
WithHTTPClient adds the HTTPClient to the delete tenant params
func (*DeleteTenantParams) WithTid ¶
func (o *DeleteTenantParams) WithTid(tid string) *DeleteTenantParams
WithTid adds the tid to the delete tenant params
func (*DeleteTenantParams) WithTimeout ¶
func (o *DeleteTenantParams) WithTimeout(timeout time.Duration) *DeleteTenantParams
WithTimeout adds the timeout to the delete tenant params
func (*DeleteTenantParams) WriteToRequest ¶
func (o *DeleteTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTenantReader ¶
type DeleteTenantReader struct {
// contains filtered or unexported fields
}
DeleteTenantReader is a Reader for the DeleteTenant structure.
func (*DeleteTenantReader) ReadResponse ¶
func (o *DeleteTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTenantTooManyRequests ¶
DeleteTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteTenantTooManyRequests ¶
func NewDeleteTenantTooManyRequests() *DeleteTenantTooManyRequests
NewDeleteTenantTooManyRequests creates a DeleteTenantTooManyRequests with default headers values
func (*DeleteTenantTooManyRequests) Code ¶
func (o *DeleteTenantTooManyRequests) Code() int
Code gets the status code for the delete tenant too many requests response
func (*DeleteTenantTooManyRequests) Error ¶
func (o *DeleteTenantTooManyRequests) Error() string
func (*DeleteTenantTooManyRequests) GetPayload ¶
func (o *DeleteTenantTooManyRequests) GetPayload() *models.Error
func (*DeleteTenantTooManyRequests) IsClientError ¶
func (o *DeleteTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this delete tenant too many requests response has a 4xx status code
func (*DeleteTenantTooManyRequests) IsCode ¶
func (o *DeleteTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete tenant too many requests response a status code equal to that given
func (*DeleteTenantTooManyRequests) IsRedirect ¶
func (o *DeleteTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete tenant too many requests response has a 3xx status code
func (*DeleteTenantTooManyRequests) IsServerError ¶
func (o *DeleteTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this delete tenant too many requests response has a 5xx status code
func (*DeleteTenantTooManyRequests) IsSuccess ¶
func (o *DeleteTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete tenant too many requests response has a 2xx status code
func (*DeleteTenantTooManyRequests) String ¶
func (o *DeleteTenantTooManyRequests) String() string
type DeleteTenantUnauthorized ¶
type DeleteTenantUnauthorized struct {
}DeleteTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteTenantUnauthorized ¶
func NewDeleteTenantUnauthorized() *DeleteTenantUnauthorized
NewDeleteTenantUnauthorized creates a DeleteTenantUnauthorized with default headers values
func (*DeleteTenantUnauthorized) Code ¶
func (o *DeleteTenantUnauthorized) Code() int
Code gets the status code for the delete tenant unauthorized response
func (*DeleteTenantUnauthorized) Error ¶
func (o *DeleteTenantUnauthorized) Error() string
func (*DeleteTenantUnauthorized) GetPayload ¶
func (o *DeleteTenantUnauthorized) GetPayload() *models.Error
func (*DeleteTenantUnauthorized) IsClientError ¶
func (o *DeleteTenantUnauthorized) IsClientError() bool
IsClientError returns true when this delete tenant unauthorized response has a 4xx status code
func (*DeleteTenantUnauthorized) IsCode ¶
func (o *DeleteTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this delete tenant unauthorized response a status code equal to that given
func (*DeleteTenantUnauthorized) IsRedirect ¶
func (o *DeleteTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete tenant unauthorized response has a 3xx status code
func (*DeleteTenantUnauthorized) IsServerError ¶
func (o *DeleteTenantUnauthorized) IsServerError() bool
IsServerError returns true when this delete tenant unauthorized response has a 5xx status code
func (*DeleteTenantUnauthorized) IsSuccess ¶
func (o *DeleteTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete tenant unauthorized response has a 2xx status code
func (*DeleteTenantUnauthorized) String ¶
func (o *DeleteTenantUnauthorized) String() string
type GetTenantForbidden ¶
GetTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTenantForbidden ¶
func NewGetTenantForbidden() *GetTenantForbidden
NewGetTenantForbidden creates a GetTenantForbidden with default headers values
func (*GetTenantForbidden) Code ¶
func (o *GetTenantForbidden) Code() int
Code gets the status code for the get tenant forbidden response
func (*GetTenantForbidden) Error ¶
func (o *GetTenantForbidden) Error() string
func (*GetTenantForbidden) GetPayload ¶
func (o *GetTenantForbidden) GetPayload() *models.Error
func (*GetTenantForbidden) IsClientError ¶
func (o *GetTenantForbidden) IsClientError() bool
IsClientError returns true when this get tenant forbidden response has a 4xx status code
func (*GetTenantForbidden) IsCode ¶
func (o *GetTenantForbidden) IsCode(code int) bool
IsCode returns true when this get tenant forbidden response a status code equal to that given
func (*GetTenantForbidden) IsRedirect ¶
func (o *GetTenantForbidden) IsRedirect() bool
IsRedirect returns true when this get tenant forbidden response has a 3xx status code
func (*GetTenantForbidden) IsServerError ¶
func (o *GetTenantForbidden) IsServerError() bool
IsServerError returns true when this get tenant forbidden response has a 5xx status code
func (*GetTenantForbidden) IsSuccess ¶
func (o *GetTenantForbidden) IsSuccess() bool
IsSuccess returns true when this get tenant forbidden response has a 2xx status code
func (*GetTenantForbidden) String ¶
func (o *GetTenantForbidden) String() string
type GetTenantNotFound ¶
GetTenantNotFound describes a response with status code 404, with default header values.
Not found
func NewGetTenantNotFound ¶
func NewGetTenantNotFound() *GetTenantNotFound
NewGetTenantNotFound creates a GetTenantNotFound with default headers values
func (*GetTenantNotFound) Code ¶
func (o *GetTenantNotFound) Code() int
Code gets the status code for the get tenant not found response
func (*GetTenantNotFound) Error ¶
func (o *GetTenantNotFound) Error() string
func (*GetTenantNotFound) GetPayload ¶
func (o *GetTenantNotFound) GetPayload() *models.Error
func (*GetTenantNotFound) IsClientError ¶
func (o *GetTenantNotFound) IsClientError() bool
IsClientError returns true when this get tenant not found response has a 4xx status code
func (*GetTenantNotFound) IsCode ¶
func (o *GetTenantNotFound) IsCode(code int) bool
IsCode returns true when this get tenant not found response a status code equal to that given
func (*GetTenantNotFound) IsRedirect ¶
func (o *GetTenantNotFound) IsRedirect() bool
IsRedirect returns true when this get tenant not found response has a 3xx status code
func (*GetTenantNotFound) IsServerError ¶
func (o *GetTenantNotFound) IsServerError() bool
IsServerError returns true when this get tenant not found response has a 5xx status code
func (*GetTenantNotFound) IsSuccess ¶
func (o *GetTenantNotFound) IsSuccess() bool
IsSuccess returns true when this get tenant not found response has a 2xx status code
func (*GetTenantNotFound) String ¶
func (o *GetTenantNotFound) String() string
type GetTenantOK ¶
GetTenantOK describes a response with status code 200, with default header values.
Tenant
func NewGetTenantOK ¶
func NewGetTenantOK() *GetTenantOK
NewGetTenantOK creates a GetTenantOK with default headers values
func (*GetTenantOK) Code ¶
func (o *GetTenantOK) Code() int
Code gets the status code for the get tenant o k response
func (*GetTenantOK) Error ¶
func (o *GetTenantOK) Error() string
func (*GetTenantOK) GetPayload ¶
func (o *GetTenantOK) GetPayload() *models.Tenant
func (*GetTenantOK) IsClientError ¶
func (o *GetTenantOK) IsClientError() bool
IsClientError returns true when this get tenant o k response has a 4xx status code
func (*GetTenantOK) IsCode ¶
func (o *GetTenantOK) IsCode(code int) bool
IsCode returns true when this get tenant o k response a status code equal to that given
func (*GetTenantOK) IsRedirect ¶
func (o *GetTenantOK) IsRedirect() bool
IsRedirect returns true when this get tenant o k response has a 3xx status code
func (*GetTenantOK) IsServerError ¶
func (o *GetTenantOK) IsServerError() bool
IsServerError returns true when this get tenant o k response has a 5xx status code
func (*GetTenantOK) IsSuccess ¶
func (o *GetTenantOK) IsSuccess() bool
IsSuccess returns true when this get tenant o k response has a 2xx status code
func (*GetTenantOK) String ¶
func (o *GetTenantOK) String() string
type GetTenantParams ¶
type GetTenantParams struct { /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTenantParams contains all the parameters to send to the API endpoint
for the get tenant operation. Typically these are written to a http.Request.
func NewGetTenantParams ¶
func NewGetTenantParams() *GetTenantParams
NewGetTenantParams creates a new GetTenantParams 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 NewGetTenantParamsWithContext ¶
func NewGetTenantParamsWithContext(ctx context.Context) *GetTenantParams
NewGetTenantParamsWithContext creates a new GetTenantParams object with the ability to set a context for a request.
func NewGetTenantParamsWithHTTPClient ¶
func NewGetTenantParamsWithHTTPClient(client *http.Client) *GetTenantParams
NewGetTenantParamsWithHTTPClient creates a new GetTenantParams object with the ability to set a custom HTTPClient for a request.
func NewGetTenantParamsWithTimeout ¶
func NewGetTenantParamsWithTimeout(timeout time.Duration) *GetTenantParams
NewGetTenantParamsWithTimeout creates a new GetTenantParams object with the ability to set a timeout on a request.
func (*GetTenantParams) SetContext ¶
func (o *GetTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the get tenant params
func (*GetTenantParams) SetDefaults ¶
func (o *GetTenantParams) SetDefaults()
SetDefaults hydrates default values in the get tenant params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantParams) SetHTTPClient ¶
func (o *GetTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tenant params
func (*GetTenantParams) SetTid ¶
func (o *GetTenantParams) SetTid(tid string)
SetTid adds the tid to the get tenant params
func (*GetTenantParams) SetTimeout ¶
func (o *GetTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tenant params
func (*GetTenantParams) WithContext ¶
func (o *GetTenantParams) WithContext(ctx context.Context) *GetTenantParams
WithContext adds the context to the get tenant params
func (*GetTenantParams) WithDefaults ¶
func (o *GetTenantParams) WithDefaults() *GetTenantParams
WithDefaults hydrates default values in the get tenant params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantParams) WithHTTPClient ¶
func (o *GetTenantParams) WithHTTPClient(client *http.Client) *GetTenantParams
WithHTTPClient adds the HTTPClient to the get tenant params
func (*GetTenantParams) WithTid ¶
func (o *GetTenantParams) WithTid(tid string) *GetTenantParams
WithTid adds the tid to the get tenant params
func (*GetTenantParams) WithTimeout ¶
func (o *GetTenantParams) WithTimeout(timeout time.Duration) *GetTenantParams
WithTimeout adds the timeout to the get tenant params
func (*GetTenantParams) WriteToRequest ¶
func (o *GetTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTenantReader ¶
type GetTenantReader struct {
// contains filtered or unexported fields
}
GetTenantReader is a Reader for the GetTenant structure.
func (*GetTenantReader) ReadResponse ¶
func (o *GetTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTenantTooManyRequests ¶
GetTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetTenantTooManyRequests ¶
func NewGetTenantTooManyRequests() *GetTenantTooManyRequests
NewGetTenantTooManyRequests creates a GetTenantTooManyRequests with default headers values
func (*GetTenantTooManyRequests) Code ¶
func (o *GetTenantTooManyRequests) Code() int
Code gets the status code for the get tenant too many requests response
func (*GetTenantTooManyRequests) Error ¶
func (o *GetTenantTooManyRequests) Error() string
func (*GetTenantTooManyRequests) GetPayload ¶
func (o *GetTenantTooManyRequests) GetPayload() *models.Error
func (*GetTenantTooManyRequests) IsClientError ¶
func (o *GetTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this get tenant too many requests response has a 4xx status code
func (*GetTenantTooManyRequests) IsCode ¶
func (o *GetTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tenant too many requests response a status code equal to that given
func (*GetTenantTooManyRequests) IsRedirect ¶
func (o *GetTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tenant too many requests response has a 3xx status code
func (*GetTenantTooManyRequests) IsServerError ¶
func (o *GetTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this get tenant too many requests response has a 5xx status code
func (*GetTenantTooManyRequests) IsSuccess ¶
func (o *GetTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tenant too many requests response has a 2xx status code
func (*GetTenantTooManyRequests) String ¶
func (o *GetTenantTooManyRequests) String() string
type GetTenantUnauthorized ¶
type GetTenantUnauthorized struct {
}GetTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTenantUnauthorized ¶
func NewGetTenantUnauthorized() *GetTenantUnauthorized
NewGetTenantUnauthorized creates a GetTenantUnauthorized with default headers values
func (*GetTenantUnauthorized) Code ¶
func (o *GetTenantUnauthorized) Code() int
Code gets the status code for the get tenant unauthorized response
func (*GetTenantUnauthorized) Error ¶
func (o *GetTenantUnauthorized) Error() string
func (*GetTenantUnauthorized) GetPayload ¶
func (o *GetTenantUnauthorized) GetPayload() *models.Error
func (*GetTenantUnauthorized) IsClientError ¶
func (o *GetTenantUnauthorized) IsClientError() bool
IsClientError returns true when this get tenant unauthorized response has a 4xx status code
func (*GetTenantUnauthorized) IsCode ¶
func (o *GetTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this get tenant unauthorized response a status code equal to that given
func (*GetTenantUnauthorized) IsRedirect ¶
func (o *GetTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tenant unauthorized response has a 3xx status code
func (*GetTenantUnauthorized) IsServerError ¶
func (o *GetTenantUnauthorized) IsServerError() bool
IsServerError returns true when this get tenant unauthorized response has a 5xx status code
func (*GetTenantUnauthorized) IsSuccess ¶
func (o *GetTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tenant unauthorized response has a 2xx status code
func (*GetTenantUnauthorized) String ¶
func (o *GetTenantUnauthorized) String() string
type ListAdminTenantsForbidden ¶
ListAdminTenantsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListAdminTenantsForbidden ¶
func NewListAdminTenantsForbidden() *ListAdminTenantsForbidden
NewListAdminTenantsForbidden creates a ListAdminTenantsForbidden with default headers values
func (*ListAdminTenantsForbidden) Code ¶
func (o *ListAdminTenantsForbidden) Code() int
Code gets the status code for the list admin tenants forbidden response
func (*ListAdminTenantsForbidden) Error ¶
func (o *ListAdminTenantsForbidden) Error() string
func (*ListAdminTenantsForbidden) GetPayload ¶
func (o *ListAdminTenantsForbidden) GetPayload() *models.Error
func (*ListAdminTenantsForbidden) IsClientError ¶
func (o *ListAdminTenantsForbidden) IsClientError() bool
IsClientError returns true when this list admin tenants forbidden response has a 4xx status code
func (*ListAdminTenantsForbidden) IsCode ¶
func (o *ListAdminTenantsForbidden) IsCode(code int) bool
IsCode returns true when this list admin tenants forbidden response a status code equal to that given
func (*ListAdminTenantsForbidden) IsRedirect ¶
func (o *ListAdminTenantsForbidden) IsRedirect() bool
IsRedirect returns true when this list admin tenants forbidden response has a 3xx status code
func (*ListAdminTenantsForbidden) IsServerError ¶
func (o *ListAdminTenantsForbidden) IsServerError() bool
IsServerError returns true when this list admin tenants forbidden response has a 5xx status code
func (*ListAdminTenantsForbidden) IsSuccess ¶
func (o *ListAdminTenantsForbidden) IsSuccess() bool
IsSuccess returns true when this list admin tenants forbidden response has a 2xx status code
func (*ListAdminTenantsForbidden) String ¶
func (o *ListAdminTenantsForbidden) String() string
type ListAdminTenantsNotFound ¶
ListAdminTenantsNotFound describes a response with status code 404, with default header values.
Not found
func NewListAdminTenantsNotFound ¶
func NewListAdminTenantsNotFound() *ListAdminTenantsNotFound
NewListAdminTenantsNotFound creates a ListAdminTenantsNotFound with default headers values
func (*ListAdminTenantsNotFound) Code ¶
func (o *ListAdminTenantsNotFound) Code() int
Code gets the status code for the list admin tenants not found response
func (*ListAdminTenantsNotFound) Error ¶
func (o *ListAdminTenantsNotFound) Error() string
func (*ListAdminTenantsNotFound) GetPayload ¶
func (o *ListAdminTenantsNotFound) GetPayload() *models.Error
func (*ListAdminTenantsNotFound) IsClientError ¶
func (o *ListAdminTenantsNotFound) IsClientError() bool
IsClientError returns true when this list admin tenants not found response has a 4xx status code
func (*ListAdminTenantsNotFound) IsCode ¶
func (o *ListAdminTenantsNotFound) IsCode(code int) bool
IsCode returns true when this list admin tenants not found response a status code equal to that given
func (*ListAdminTenantsNotFound) IsRedirect ¶
func (o *ListAdminTenantsNotFound) IsRedirect() bool
IsRedirect returns true when this list admin tenants not found response has a 3xx status code
func (*ListAdminTenantsNotFound) IsServerError ¶
func (o *ListAdminTenantsNotFound) IsServerError() bool
IsServerError returns true when this list admin tenants not found response has a 5xx status code
func (*ListAdminTenantsNotFound) IsSuccess ¶
func (o *ListAdminTenantsNotFound) IsSuccess() bool
IsSuccess returns true when this list admin tenants not found response has a 2xx status code
func (*ListAdminTenantsNotFound) String ¶
func (o *ListAdminTenantsNotFound) String() string
type ListAdminTenantsOK ¶
ListAdminTenantsOK describes a response with status code 200, with default header values.
List of tenants
func NewListAdminTenantsOK ¶
func NewListAdminTenantsOK() *ListAdminTenantsOK
NewListAdminTenantsOK creates a ListAdminTenantsOK with default headers values
func (*ListAdminTenantsOK) Code ¶
func (o *ListAdminTenantsOK) Code() int
Code gets the status code for the list admin tenants o k response
func (*ListAdminTenantsOK) Error ¶
func (o *ListAdminTenantsOK) Error() string
func (*ListAdminTenantsOK) GetPayload ¶
func (o *ListAdminTenantsOK) GetPayload() *models.Tenants
func (*ListAdminTenantsOK) IsClientError ¶
func (o *ListAdminTenantsOK) IsClientError() bool
IsClientError returns true when this list admin tenants o k response has a 4xx status code
func (*ListAdminTenantsOK) IsCode ¶
func (o *ListAdminTenantsOK) IsCode(code int) bool
IsCode returns true when this list admin tenants o k response a status code equal to that given
func (*ListAdminTenantsOK) IsRedirect ¶
func (o *ListAdminTenantsOK) IsRedirect() bool
IsRedirect returns true when this list admin tenants o k response has a 3xx status code
func (*ListAdminTenantsOK) IsServerError ¶
func (o *ListAdminTenantsOK) IsServerError() bool
IsServerError returns true when this list admin tenants o k response has a 5xx status code
func (*ListAdminTenantsOK) IsSuccess ¶
func (o *ListAdminTenantsOK) IsSuccess() bool
IsSuccess returns true when this list admin tenants o k response has a 2xx status code
func (*ListAdminTenantsOK) String ¶
func (o *ListAdminTenantsOK) String() string
type ListAdminTenantsParams ¶
type ListAdminTenantsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAdminTenantsParams contains all the parameters to send to the API endpoint
for the list admin tenants operation. Typically these are written to a http.Request.
func NewListAdminTenantsParams ¶
func NewListAdminTenantsParams() *ListAdminTenantsParams
NewListAdminTenantsParams creates a new ListAdminTenantsParams 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 NewListAdminTenantsParamsWithContext ¶
func NewListAdminTenantsParamsWithContext(ctx context.Context) *ListAdminTenantsParams
NewListAdminTenantsParamsWithContext creates a new ListAdminTenantsParams object with the ability to set a context for a request.
func NewListAdminTenantsParamsWithHTTPClient ¶
func NewListAdminTenantsParamsWithHTTPClient(client *http.Client) *ListAdminTenantsParams
NewListAdminTenantsParamsWithHTTPClient creates a new ListAdminTenantsParams object with the ability to set a custom HTTPClient for a request.
func NewListAdminTenantsParamsWithTimeout ¶
func NewListAdminTenantsParamsWithTimeout(timeout time.Duration) *ListAdminTenantsParams
NewListAdminTenantsParamsWithTimeout creates a new ListAdminTenantsParams object with the ability to set a timeout on a request.
func (*ListAdminTenantsParams) SetContext ¶
func (o *ListAdminTenantsParams) SetContext(ctx context.Context)
SetContext adds the context to the list admin tenants params
func (*ListAdminTenantsParams) SetDefaults ¶
func (o *ListAdminTenantsParams) SetDefaults()
SetDefaults hydrates default values in the list admin tenants params (not the query body).
All values with no default are reset to their zero value.
func (*ListAdminTenantsParams) SetHTTPClient ¶
func (o *ListAdminTenantsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list admin tenants params
func (*ListAdminTenantsParams) SetTimeout ¶
func (o *ListAdminTenantsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list admin tenants params
func (*ListAdminTenantsParams) WithContext ¶
func (o *ListAdminTenantsParams) WithContext(ctx context.Context) *ListAdminTenantsParams
WithContext adds the context to the list admin tenants params
func (*ListAdminTenantsParams) WithDefaults ¶
func (o *ListAdminTenantsParams) WithDefaults() *ListAdminTenantsParams
WithDefaults hydrates default values in the list admin tenants params (not the query body).
All values with no default are reset to their zero value.
func (*ListAdminTenantsParams) WithHTTPClient ¶
func (o *ListAdminTenantsParams) WithHTTPClient(client *http.Client) *ListAdminTenantsParams
WithHTTPClient adds the HTTPClient to the list admin tenants params
func (*ListAdminTenantsParams) WithTimeout ¶
func (o *ListAdminTenantsParams) WithTimeout(timeout time.Duration) *ListAdminTenantsParams
WithTimeout adds the timeout to the list admin tenants params
func (*ListAdminTenantsParams) WriteToRequest ¶
func (o *ListAdminTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAdminTenantsReader ¶
type ListAdminTenantsReader struct {
// contains filtered or unexported fields
}
ListAdminTenantsReader is a Reader for the ListAdminTenants structure.
func (*ListAdminTenantsReader) ReadResponse ¶
func (o *ListAdminTenantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAdminTenantsTooManyRequests ¶
ListAdminTenantsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListAdminTenantsTooManyRequests ¶
func NewListAdminTenantsTooManyRequests() *ListAdminTenantsTooManyRequests
NewListAdminTenantsTooManyRequests creates a ListAdminTenantsTooManyRequests with default headers values
func (*ListAdminTenantsTooManyRequests) Code ¶
func (o *ListAdminTenantsTooManyRequests) Code() int
Code gets the status code for the list admin tenants too many requests response
func (*ListAdminTenantsTooManyRequests) Error ¶
func (o *ListAdminTenantsTooManyRequests) Error() string
func (*ListAdminTenantsTooManyRequests) GetPayload ¶
func (o *ListAdminTenantsTooManyRequests) GetPayload() *models.Error
func (*ListAdminTenantsTooManyRequests) IsClientError ¶
func (o *ListAdminTenantsTooManyRequests) IsClientError() bool
IsClientError returns true when this list admin tenants too many requests response has a 4xx status code
func (*ListAdminTenantsTooManyRequests) IsCode ¶
func (o *ListAdminTenantsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list admin tenants too many requests response a status code equal to that given
func (*ListAdminTenantsTooManyRequests) IsRedirect ¶
func (o *ListAdminTenantsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list admin tenants too many requests response has a 3xx status code
func (*ListAdminTenantsTooManyRequests) IsServerError ¶
func (o *ListAdminTenantsTooManyRequests) IsServerError() bool
IsServerError returns true when this list admin tenants too many requests response has a 5xx status code
func (*ListAdminTenantsTooManyRequests) IsSuccess ¶
func (o *ListAdminTenantsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list admin tenants too many requests response has a 2xx status code
func (*ListAdminTenantsTooManyRequests) String ¶
func (o *ListAdminTenantsTooManyRequests) String() string
type ListAdminTenantsUnauthorized ¶
type ListAdminTenantsUnauthorized struct {
}ListAdminTenantsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListAdminTenantsUnauthorized ¶
func NewListAdminTenantsUnauthorized() *ListAdminTenantsUnauthorized
NewListAdminTenantsUnauthorized creates a ListAdminTenantsUnauthorized with default headers values
func (*ListAdminTenantsUnauthorized) Code ¶
func (o *ListAdminTenantsUnauthorized) Code() int
Code gets the status code for the list admin tenants unauthorized response
func (*ListAdminTenantsUnauthorized) Error ¶
func (o *ListAdminTenantsUnauthorized) Error() string
func (*ListAdminTenantsUnauthorized) GetPayload ¶
func (o *ListAdminTenantsUnauthorized) GetPayload() *models.Error
func (*ListAdminTenantsUnauthorized) IsClientError ¶
func (o *ListAdminTenantsUnauthorized) IsClientError() bool
IsClientError returns true when this list admin tenants unauthorized response has a 4xx status code
func (*ListAdminTenantsUnauthorized) IsCode ¶
func (o *ListAdminTenantsUnauthorized) IsCode(code int) bool
IsCode returns true when this list admin tenants unauthorized response a status code equal to that given
func (*ListAdminTenantsUnauthorized) IsRedirect ¶
func (o *ListAdminTenantsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list admin tenants unauthorized response has a 3xx status code
func (*ListAdminTenantsUnauthorized) IsServerError ¶
func (o *ListAdminTenantsUnauthorized) IsServerError() bool
IsServerError returns true when this list admin tenants unauthorized response has a 5xx status code
func (*ListAdminTenantsUnauthorized) IsSuccess ¶
func (o *ListAdminTenantsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list admin tenants unauthorized response has a 2xx status code
func (*ListAdminTenantsUnauthorized) String ¶
func (o *ListAdminTenantsUnauthorized) String() string
type ListTenantsForbidden ¶
ListTenantsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListTenantsForbidden ¶
func NewListTenantsForbidden() *ListTenantsForbidden
NewListTenantsForbidden creates a ListTenantsForbidden with default headers values
func (*ListTenantsForbidden) Code ¶
func (o *ListTenantsForbidden) Code() int
Code gets the status code for the list tenants forbidden response
func (*ListTenantsForbidden) Error ¶
func (o *ListTenantsForbidden) Error() string
func (*ListTenantsForbidden) GetPayload ¶
func (o *ListTenantsForbidden) GetPayload() *models.Error
func (*ListTenantsForbidden) IsClientError ¶
func (o *ListTenantsForbidden) IsClientError() bool
IsClientError returns true when this list tenants forbidden response has a 4xx status code
func (*ListTenantsForbidden) IsCode ¶
func (o *ListTenantsForbidden) IsCode(code int) bool
IsCode returns true when this list tenants forbidden response a status code equal to that given
func (*ListTenantsForbidden) IsRedirect ¶
func (o *ListTenantsForbidden) IsRedirect() bool
IsRedirect returns true when this list tenants forbidden response has a 3xx status code
func (*ListTenantsForbidden) IsServerError ¶
func (o *ListTenantsForbidden) IsServerError() bool
IsServerError returns true when this list tenants forbidden response has a 5xx status code
func (*ListTenantsForbidden) IsSuccess ¶
func (o *ListTenantsForbidden) IsSuccess() bool
IsSuccess returns true when this list tenants forbidden response has a 2xx status code
func (*ListTenantsForbidden) String ¶
func (o *ListTenantsForbidden) String() string
type ListTenantsNotFound ¶
ListTenantsNotFound describes a response with status code 404, with default header values.
Not found
func NewListTenantsNotFound ¶
func NewListTenantsNotFound() *ListTenantsNotFound
NewListTenantsNotFound creates a ListTenantsNotFound with default headers values
func (*ListTenantsNotFound) Code ¶
func (o *ListTenantsNotFound) Code() int
Code gets the status code for the list tenants not found response
func (*ListTenantsNotFound) Error ¶
func (o *ListTenantsNotFound) Error() string
func (*ListTenantsNotFound) GetPayload ¶
func (o *ListTenantsNotFound) GetPayload() *models.Error
func (*ListTenantsNotFound) IsClientError ¶
func (o *ListTenantsNotFound) IsClientError() bool
IsClientError returns true when this list tenants not found response has a 4xx status code
func (*ListTenantsNotFound) IsCode ¶
func (o *ListTenantsNotFound) IsCode(code int) bool
IsCode returns true when this list tenants not found response a status code equal to that given
func (*ListTenantsNotFound) IsRedirect ¶
func (o *ListTenantsNotFound) IsRedirect() bool
IsRedirect returns true when this list tenants not found response has a 3xx status code
func (*ListTenantsNotFound) IsServerError ¶
func (o *ListTenantsNotFound) IsServerError() bool
IsServerError returns true when this list tenants not found response has a 5xx status code
func (*ListTenantsNotFound) IsSuccess ¶
func (o *ListTenantsNotFound) IsSuccess() bool
IsSuccess returns true when this list tenants not found response has a 2xx status code
func (*ListTenantsNotFound) String ¶
func (o *ListTenantsNotFound) String() string
type ListTenantsOK ¶
ListTenantsOK describes a response with status code 200, with default header values.
List of tenants
func NewListTenantsOK ¶
func NewListTenantsOK() *ListTenantsOK
NewListTenantsOK creates a ListTenantsOK with default headers values
func (*ListTenantsOK) Code ¶
func (o *ListTenantsOK) Code() int
Code gets the status code for the list tenants o k response
func (*ListTenantsOK) Error ¶
func (o *ListTenantsOK) Error() string
func (*ListTenantsOK) GetPayload ¶
func (o *ListTenantsOK) GetPayload() *models.Tenants
func (*ListTenantsOK) IsClientError ¶
func (o *ListTenantsOK) IsClientError() bool
IsClientError returns true when this list tenants o k response has a 4xx status code
func (*ListTenantsOK) IsCode ¶
func (o *ListTenantsOK) IsCode(code int) bool
IsCode returns true when this list tenants o k response a status code equal to that given
func (*ListTenantsOK) IsRedirect ¶
func (o *ListTenantsOK) IsRedirect() bool
IsRedirect returns true when this list tenants o k response has a 3xx status code
func (*ListTenantsOK) IsServerError ¶
func (o *ListTenantsOK) IsServerError() bool
IsServerError returns true when this list tenants o k response has a 5xx status code
func (*ListTenantsOK) IsSuccess ¶
func (o *ListTenantsOK) IsSuccess() bool
IsSuccess returns true when this list tenants o k response has a 2xx status code
func (*ListTenantsOK) String ¶
func (o *ListTenantsOK) String() string
type ListTenantsParams ¶
type ListTenantsParams struct { /* Query. optional query filter query is in json format like {"metadata": {"registration_identifier":"john.doe@cloudentity.com"}} - parameter must be url-encoded supported parameters `metadata` - limits tenants set to tenants with metadata matches provided metadata - for simple values it does exact match, for arrays it does `contain` if multiple parameters provided it does logical AND between the results so tenants must match ALL parameters */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTenantsParams contains all the parameters to send to the API endpoint
for the list tenants operation. Typically these are written to a http.Request.
func NewListTenantsParams ¶
func NewListTenantsParams() *ListTenantsParams
NewListTenantsParams creates a new ListTenantsParams 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 NewListTenantsParamsWithContext ¶
func NewListTenantsParamsWithContext(ctx context.Context) *ListTenantsParams
NewListTenantsParamsWithContext creates a new ListTenantsParams object with the ability to set a context for a request.
func NewListTenantsParamsWithHTTPClient ¶
func NewListTenantsParamsWithHTTPClient(client *http.Client) *ListTenantsParams
NewListTenantsParamsWithHTTPClient creates a new ListTenantsParams object with the ability to set a custom HTTPClient for a request.
func NewListTenantsParamsWithTimeout ¶
func NewListTenantsParamsWithTimeout(timeout time.Duration) *ListTenantsParams
NewListTenantsParamsWithTimeout creates a new ListTenantsParams object with the ability to set a timeout on a request.
func (*ListTenantsParams) SetContext ¶
func (o *ListTenantsParams) SetContext(ctx context.Context)
SetContext adds the context to the list tenants params
func (*ListTenantsParams) SetDefaults ¶
func (o *ListTenantsParams) SetDefaults()
SetDefaults hydrates default values in the list tenants params (not the query body).
All values with no default are reset to their zero value.
func (*ListTenantsParams) SetHTTPClient ¶
func (o *ListTenantsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tenants params
func (*ListTenantsParams) SetQuery ¶
func (o *ListTenantsParams) SetQuery(query *string)
SetQuery adds the query to the list tenants params
func (*ListTenantsParams) SetTimeout ¶
func (o *ListTenantsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tenants params
func (*ListTenantsParams) WithContext ¶
func (o *ListTenantsParams) WithContext(ctx context.Context) *ListTenantsParams
WithContext adds the context to the list tenants params
func (*ListTenantsParams) WithDefaults ¶
func (o *ListTenantsParams) WithDefaults() *ListTenantsParams
WithDefaults hydrates default values in the list tenants params (not the query body).
All values with no default are reset to their zero value.
func (*ListTenantsParams) WithHTTPClient ¶
func (o *ListTenantsParams) WithHTTPClient(client *http.Client) *ListTenantsParams
WithHTTPClient adds the HTTPClient to the list tenants params
func (*ListTenantsParams) WithQuery ¶
func (o *ListTenantsParams) WithQuery(query *string) *ListTenantsParams
WithQuery adds the query to the list tenants params
func (*ListTenantsParams) WithTimeout ¶
func (o *ListTenantsParams) WithTimeout(timeout time.Duration) *ListTenantsParams
WithTimeout adds the timeout to the list tenants params
func (*ListTenantsParams) WriteToRequest ¶
func (o *ListTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTenantsReader ¶
type ListTenantsReader struct {
// contains filtered or unexported fields
}
ListTenantsReader is a Reader for the ListTenants structure.
func (*ListTenantsReader) ReadResponse ¶
func (o *ListTenantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTenantsTooManyRequests ¶
ListTenantsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListTenantsTooManyRequests ¶
func NewListTenantsTooManyRequests() *ListTenantsTooManyRequests
NewListTenantsTooManyRequests creates a ListTenantsTooManyRequests with default headers values
func (*ListTenantsTooManyRequests) Code ¶
func (o *ListTenantsTooManyRequests) Code() int
Code gets the status code for the list tenants too many requests response
func (*ListTenantsTooManyRequests) Error ¶
func (o *ListTenantsTooManyRequests) Error() string
func (*ListTenantsTooManyRequests) GetPayload ¶
func (o *ListTenantsTooManyRequests) GetPayload() *models.Error
func (*ListTenantsTooManyRequests) IsClientError ¶
func (o *ListTenantsTooManyRequests) IsClientError() bool
IsClientError returns true when this list tenants too many requests response has a 4xx status code
func (*ListTenantsTooManyRequests) IsCode ¶
func (o *ListTenantsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list tenants too many requests response a status code equal to that given
func (*ListTenantsTooManyRequests) IsRedirect ¶
func (o *ListTenantsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list tenants too many requests response has a 3xx status code
func (*ListTenantsTooManyRequests) IsServerError ¶
func (o *ListTenantsTooManyRequests) IsServerError() bool
IsServerError returns true when this list tenants too many requests response has a 5xx status code
func (*ListTenantsTooManyRequests) IsSuccess ¶
func (o *ListTenantsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list tenants too many requests response has a 2xx status code
func (*ListTenantsTooManyRequests) String ¶
func (o *ListTenantsTooManyRequests) String() string
type ListTenantsUnauthorized ¶
type ListTenantsUnauthorized struct {
}ListTenantsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListTenantsUnauthorized ¶
func NewListTenantsUnauthorized() *ListTenantsUnauthorized
NewListTenantsUnauthorized creates a ListTenantsUnauthorized with default headers values
func (*ListTenantsUnauthorized) Code ¶
func (o *ListTenantsUnauthorized) Code() int
Code gets the status code for the list tenants unauthorized response
func (*ListTenantsUnauthorized) Error ¶
func (o *ListTenantsUnauthorized) Error() string
func (*ListTenantsUnauthorized) GetPayload ¶
func (o *ListTenantsUnauthorized) GetPayload() *models.Error
func (*ListTenantsUnauthorized) IsClientError ¶
func (o *ListTenantsUnauthorized) IsClientError() bool
IsClientError returns true when this list tenants unauthorized response has a 4xx status code
func (*ListTenantsUnauthorized) IsCode ¶
func (o *ListTenantsUnauthorized) IsCode(code int) bool
IsCode returns true when this list tenants unauthorized response a status code equal to that given
func (*ListTenantsUnauthorized) IsRedirect ¶
func (o *ListTenantsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list tenants unauthorized response has a 3xx status code
func (*ListTenantsUnauthorized) IsServerError ¶
func (o *ListTenantsUnauthorized) IsServerError() bool
IsServerError returns true when this list tenants unauthorized response has a 5xx status code
func (*ListTenantsUnauthorized) IsSuccess ¶
func (o *ListTenantsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list tenants unauthorized response has a 2xx status code
func (*ListTenantsUnauthorized) String ¶
func (o *ListTenantsUnauthorized) String() string
type UpdateTenantBadRequest ¶
UpdateTenantBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateTenantBadRequest ¶
func NewUpdateTenantBadRequest() *UpdateTenantBadRequest
NewUpdateTenantBadRequest creates a UpdateTenantBadRequest with default headers values
func (*UpdateTenantBadRequest) Code ¶
func (o *UpdateTenantBadRequest) Code() int
Code gets the status code for the update tenant bad request response
func (*UpdateTenantBadRequest) Error ¶
func (o *UpdateTenantBadRequest) Error() string
func (*UpdateTenantBadRequest) GetPayload ¶
func (o *UpdateTenantBadRequest) GetPayload() *models.Error
func (*UpdateTenantBadRequest) IsClientError ¶
func (o *UpdateTenantBadRequest) IsClientError() bool
IsClientError returns true when this update tenant bad request response has a 4xx status code
func (*UpdateTenantBadRequest) IsCode ¶
func (o *UpdateTenantBadRequest) IsCode(code int) bool
IsCode returns true when this update tenant bad request response a status code equal to that given
func (*UpdateTenantBadRequest) IsRedirect ¶
func (o *UpdateTenantBadRequest) IsRedirect() bool
IsRedirect returns true when this update tenant bad request response has a 3xx status code
func (*UpdateTenantBadRequest) IsServerError ¶
func (o *UpdateTenantBadRequest) IsServerError() bool
IsServerError returns true when this update tenant bad request response has a 5xx status code
func (*UpdateTenantBadRequest) IsSuccess ¶
func (o *UpdateTenantBadRequest) IsSuccess() bool
IsSuccess returns true when this update tenant bad request response has a 2xx status code
func (*UpdateTenantBadRequest) String ¶
func (o *UpdateTenantBadRequest) String() string
type UpdateTenantForbidden ¶
UpdateTenantForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateTenantForbidden ¶
func NewUpdateTenantForbidden() *UpdateTenantForbidden
NewUpdateTenantForbidden creates a UpdateTenantForbidden with default headers values
func (*UpdateTenantForbidden) Code ¶
func (o *UpdateTenantForbidden) Code() int
Code gets the status code for the update tenant forbidden response
func (*UpdateTenantForbidden) Error ¶
func (o *UpdateTenantForbidden) Error() string
func (*UpdateTenantForbidden) GetPayload ¶
func (o *UpdateTenantForbidden) GetPayload() *models.Error
func (*UpdateTenantForbidden) IsClientError ¶
func (o *UpdateTenantForbidden) IsClientError() bool
IsClientError returns true when this update tenant forbidden response has a 4xx status code
func (*UpdateTenantForbidden) IsCode ¶
func (o *UpdateTenantForbidden) IsCode(code int) bool
IsCode returns true when this update tenant forbidden response a status code equal to that given
func (*UpdateTenantForbidden) IsRedirect ¶
func (o *UpdateTenantForbidden) IsRedirect() bool
IsRedirect returns true when this update tenant forbidden response has a 3xx status code
func (*UpdateTenantForbidden) IsServerError ¶
func (o *UpdateTenantForbidden) IsServerError() bool
IsServerError returns true when this update tenant forbidden response has a 5xx status code
func (*UpdateTenantForbidden) IsSuccess ¶
func (o *UpdateTenantForbidden) IsSuccess() bool
IsSuccess returns true when this update tenant forbidden response has a 2xx status code
func (*UpdateTenantForbidden) String ¶
func (o *UpdateTenantForbidden) String() string
type UpdateTenantNotFound ¶
UpdateTenantNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateTenantNotFound ¶
func NewUpdateTenantNotFound() *UpdateTenantNotFound
NewUpdateTenantNotFound creates a UpdateTenantNotFound with default headers values
func (*UpdateTenantNotFound) Code ¶
func (o *UpdateTenantNotFound) Code() int
Code gets the status code for the update tenant not found response
func (*UpdateTenantNotFound) Error ¶
func (o *UpdateTenantNotFound) Error() string
func (*UpdateTenantNotFound) GetPayload ¶
func (o *UpdateTenantNotFound) GetPayload() *models.Error
func (*UpdateTenantNotFound) IsClientError ¶
func (o *UpdateTenantNotFound) IsClientError() bool
IsClientError returns true when this update tenant not found response has a 4xx status code
func (*UpdateTenantNotFound) IsCode ¶
func (o *UpdateTenantNotFound) IsCode(code int) bool
IsCode returns true when this update tenant not found response a status code equal to that given
func (*UpdateTenantNotFound) IsRedirect ¶
func (o *UpdateTenantNotFound) IsRedirect() bool
IsRedirect returns true when this update tenant not found response has a 3xx status code
func (*UpdateTenantNotFound) IsServerError ¶
func (o *UpdateTenantNotFound) IsServerError() bool
IsServerError returns true when this update tenant not found response has a 5xx status code
func (*UpdateTenantNotFound) IsSuccess ¶
func (o *UpdateTenantNotFound) IsSuccess() bool
IsSuccess returns true when this update tenant not found response has a 2xx status code
func (*UpdateTenantNotFound) String ¶
func (o *UpdateTenantNotFound) String() string
type UpdateTenantOK ¶
UpdateTenantOK describes a response with status code 200, with default header values.
Tenant
func NewUpdateTenantOK ¶
func NewUpdateTenantOK() *UpdateTenantOK
NewUpdateTenantOK creates a UpdateTenantOK with default headers values
func (*UpdateTenantOK) Code ¶
func (o *UpdateTenantOK) Code() int
Code gets the status code for the update tenant o k response
func (*UpdateTenantOK) Error ¶
func (o *UpdateTenantOK) Error() string
func (*UpdateTenantOK) GetPayload ¶
func (o *UpdateTenantOK) GetPayload() *models.Tenant
func (*UpdateTenantOK) IsClientError ¶
func (o *UpdateTenantOK) IsClientError() bool
IsClientError returns true when this update tenant o k response has a 4xx status code
func (*UpdateTenantOK) IsCode ¶
func (o *UpdateTenantOK) IsCode(code int) bool
IsCode returns true when this update tenant o k response a status code equal to that given
func (*UpdateTenantOK) IsRedirect ¶
func (o *UpdateTenantOK) IsRedirect() bool
IsRedirect returns true when this update tenant o k response has a 3xx status code
func (*UpdateTenantOK) IsServerError ¶
func (o *UpdateTenantOK) IsServerError() bool
IsServerError returns true when this update tenant o k response has a 5xx status code
func (*UpdateTenantOK) IsSuccess ¶
func (o *UpdateTenantOK) IsSuccess() bool
IsSuccess returns true when this update tenant o k response has a 2xx status code
func (*UpdateTenantOK) String ¶
func (o *UpdateTenantOK) String() string
type UpdateTenantParams ¶
type UpdateTenantParams struct { // Tenant. Tenant *models.Tenant /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTenantParams contains all the parameters to send to the API endpoint
for the update tenant operation. Typically these are written to a http.Request.
func NewUpdateTenantParams ¶
func NewUpdateTenantParams() *UpdateTenantParams
NewUpdateTenantParams creates a new UpdateTenantParams 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 NewUpdateTenantParamsWithContext ¶
func NewUpdateTenantParamsWithContext(ctx context.Context) *UpdateTenantParams
NewUpdateTenantParamsWithContext creates a new UpdateTenantParams object with the ability to set a context for a request.
func NewUpdateTenantParamsWithHTTPClient ¶
func NewUpdateTenantParamsWithHTTPClient(client *http.Client) *UpdateTenantParams
NewUpdateTenantParamsWithHTTPClient creates a new UpdateTenantParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTenantParamsWithTimeout ¶
func NewUpdateTenantParamsWithTimeout(timeout time.Duration) *UpdateTenantParams
NewUpdateTenantParamsWithTimeout creates a new UpdateTenantParams object with the ability to set a timeout on a request.
func (*UpdateTenantParams) SetContext ¶
func (o *UpdateTenantParams) SetContext(ctx context.Context)
SetContext adds the context to the update tenant params
func (*UpdateTenantParams) SetDefaults ¶
func (o *UpdateTenantParams) SetDefaults()
SetDefaults hydrates default values in the update tenant params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTenantParams) SetHTTPClient ¶
func (o *UpdateTenantParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update tenant params
func (*UpdateTenantParams) SetTenant ¶
func (o *UpdateTenantParams) SetTenant(tenant *models.Tenant)
SetTenant adds the tenant to the update tenant params
func (*UpdateTenantParams) SetTid ¶
func (o *UpdateTenantParams) SetTid(tid string)
SetTid adds the tid to the update tenant params
func (*UpdateTenantParams) SetTimeout ¶
func (o *UpdateTenantParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update tenant params
func (*UpdateTenantParams) WithContext ¶
func (o *UpdateTenantParams) WithContext(ctx context.Context) *UpdateTenantParams
WithContext adds the context to the update tenant params
func (*UpdateTenantParams) WithDefaults ¶
func (o *UpdateTenantParams) WithDefaults() *UpdateTenantParams
WithDefaults hydrates default values in the update tenant params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTenantParams) WithHTTPClient ¶
func (o *UpdateTenantParams) WithHTTPClient(client *http.Client) *UpdateTenantParams
WithHTTPClient adds the HTTPClient to the update tenant params
func (*UpdateTenantParams) WithTenant ¶
func (o *UpdateTenantParams) WithTenant(tenant *models.Tenant) *UpdateTenantParams
WithTenant adds the tenant to the update tenant params
func (*UpdateTenantParams) WithTid ¶
func (o *UpdateTenantParams) WithTid(tid string) *UpdateTenantParams
WithTid adds the tid to the update tenant params
func (*UpdateTenantParams) WithTimeout ¶
func (o *UpdateTenantParams) WithTimeout(timeout time.Duration) *UpdateTenantParams
WithTimeout adds the timeout to the update tenant params
func (*UpdateTenantParams) WriteToRequest ¶
func (o *UpdateTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTenantReader ¶
type UpdateTenantReader struct {
// contains filtered or unexported fields
}
UpdateTenantReader is a Reader for the UpdateTenant structure.
func (*UpdateTenantReader) ReadResponse ¶
func (o *UpdateTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTenantTooManyRequests ¶
UpdateTenantTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateTenantTooManyRequests ¶
func NewUpdateTenantTooManyRequests() *UpdateTenantTooManyRequests
NewUpdateTenantTooManyRequests creates a UpdateTenantTooManyRequests with default headers values
func (*UpdateTenantTooManyRequests) Code ¶
func (o *UpdateTenantTooManyRequests) Code() int
Code gets the status code for the update tenant too many requests response
func (*UpdateTenantTooManyRequests) Error ¶
func (o *UpdateTenantTooManyRequests) Error() string
func (*UpdateTenantTooManyRequests) GetPayload ¶
func (o *UpdateTenantTooManyRequests) GetPayload() *models.Error
func (*UpdateTenantTooManyRequests) IsClientError ¶
func (o *UpdateTenantTooManyRequests) IsClientError() bool
IsClientError returns true when this update tenant too many requests response has a 4xx status code
func (*UpdateTenantTooManyRequests) IsCode ¶
func (o *UpdateTenantTooManyRequests) IsCode(code int) bool
IsCode returns true when this update tenant too many requests response a status code equal to that given
func (*UpdateTenantTooManyRequests) IsRedirect ¶
func (o *UpdateTenantTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update tenant too many requests response has a 3xx status code
func (*UpdateTenantTooManyRequests) IsServerError ¶
func (o *UpdateTenantTooManyRequests) IsServerError() bool
IsServerError returns true when this update tenant too many requests response has a 5xx status code
func (*UpdateTenantTooManyRequests) IsSuccess ¶
func (o *UpdateTenantTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update tenant too many requests response has a 2xx status code
func (*UpdateTenantTooManyRequests) String ¶
func (o *UpdateTenantTooManyRequests) String() string
type UpdateTenantUnauthorized ¶
type UpdateTenantUnauthorized struct {
}UpdateTenantUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateTenantUnauthorized ¶
func NewUpdateTenantUnauthorized() *UpdateTenantUnauthorized
NewUpdateTenantUnauthorized creates a UpdateTenantUnauthorized with default headers values
func (*UpdateTenantUnauthorized) Code ¶
func (o *UpdateTenantUnauthorized) Code() int
Code gets the status code for the update tenant unauthorized response
func (*UpdateTenantUnauthorized) Error ¶
func (o *UpdateTenantUnauthorized) Error() string
func (*UpdateTenantUnauthorized) GetPayload ¶
func (o *UpdateTenantUnauthorized) GetPayload() *models.Error
func (*UpdateTenantUnauthorized) IsClientError ¶
func (o *UpdateTenantUnauthorized) IsClientError() bool
IsClientError returns true when this update tenant unauthorized response has a 4xx status code
func (*UpdateTenantUnauthorized) IsCode ¶
func (o *UpdateTenantUnauthorized) IsCode(code int) bool
IsCode returns true when this update tenant unauthorized response a status code equal to that given
func (*UpdateTenantUnauthorized) IsRedirect ¶
func (o *UpdateTenantUnauthorized) IsRedirect() bool
IsRedirect returns true when this update tenant unauthorized response has a 3xx status code
func (*UpdateTenantUnauthorized) IsServerError ¶
func (o *UpdateTenantUnauthorized) IsServerError() bool
IsServerError returns true when this update tenant unauthorized response has a 5xx status code
func (*UpdateTenantUnauthorized) IsSuccess ¶
func (o *UpdateTenantUnauthorized) IsSuccess() bool
IsSuccess returns true when this update tenant unauthorized response has a 2xx status code
func (*UpdateTenantUnauthorized) String ¶
func (o *UpdateTenantUnauthorized) String() string
type UpdateTenantUnprocessableEntity ¶
UpdateTenantUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateTenantUnprocessableEntity ¶
func NewUpdateTenantUnprocessableEntity() *UpdateTenantUnprocessableEntity
NewUpdateTenantUnprocessableEntity creates a UpdateTenantUnprocessableEntity with default headers values
func (*UpdateTenantUnprocessableEntity) Code ¶
func (o *UpdateTenantUnprocessableEntity) Code() int
Code gets the status code for the update tenant unprocessable entity response
func (*UpdateTenantUnprocessableEntity) Error ¶
func (o *UpdateTenantUnprocessableEntity) Error() string
func (*UpdateTenantUnprocessableEntity) GetPayload ¶
func (o *UpdateTenantUnprocessableEntity) GetPayload() *models.Error
func (*UpdateTenantUnprocessableEntity) IsClientError ¶
func (o *UpdateTenantUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update tenant unprocessable entity response has a 4xx status code
func (*UpdateTenantUnprocessableEntity) IsCode ¶
func (o *UpdateTenantUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update tenant unprocessable entity response a status code equal to that given
func (*UpdateTenantUnprocessableEntity) IsRedirect ¶
func (o *UpdateTenantUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update tenant unprocessable entity response has a 3xx status code
func (*UpdateTenantUnprocessableEntity) IsServerError ¶
func (o *UpdateTenantUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update tenant unprocessable entity response has a 5xx status code
func (*UpdateTenantUnprocessableEntity) IsSuccess ¶
func (o *UpdateTenantUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update tenant unprocessable entity response has a 2xx status code
func (*UpdateTenantUnprocessableEntity) String ¶
func (o *UpdateTenantUnprocessableEntity) String() string
Source Files ¶
- create_tenant_parameters.go
- create_tenant_responses.go
- delete_tenant_parameters.go
- delete_tenant_responses.go
- get_tenant_parameters.go
- get_tenant_responses.go
- list_admin_tenants_parameters.go
- list_admin_tenants_responses.go
- list_tenants_parameters.go
- list_tenants_responses.go
- tenants_client.go
- update_tenant_parameters.go
- update_tenant_responses.go