Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateInfrastructureAccount(params *CreateInfrastructureAccountParams, ...) (*CreateInfrastructureAccountCreated, error)
- func (a *Client) GetInfrastructureAccount(params *GetInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInfrastructureAccountOK, error)
- func (a *Client) ListInfrastructureAccounts(params *ListInfrastructureAccountsParams, ...) (*ListInfrastructureAccountsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateInfrastructureAccount(params *UpdateInfrastructureAccountParams, ...) (*UpdateInfrastructureAccountOK, error)
- type ClientOption
- type ClientService
- type CreateInfrastructureAccountBadRequest
- func (o *CreateInfrastructureAccountBadRequest) Code() int
- func (o *CreateInfrastructureAccountBadRequest) Error() string
- func (o *CreateInfrastructureAccountBadRequest) IsClientError() bool
- func (o *CreateInfrastructureAccountBadRequest) IsCode(code int) bool
- func (o *CreateInfrastructureAccountBadRequest) IsRedirect() bool
- func (o *CreateInfrastructureAccountBadRequest) IsServerError() bool
- func (o *CreateInfrastructureAccountBadRequest) IsSuccess() bool
- func (o *CreateInfrastructureAccountBadRequest) String() string
- type CreateInfrastructureAccountConflict
- func (o *CreateInfrastructureAccountConflict) Code() int
- func (o *CreateInfrastructureAccountConflict) Error() string
- func (o *CreateInfrastructureAccountConflict) IsClientError() bool
- func (o *CreateInfrastructureAccountConflict) IsCode(code int) bool
- func (o *CreateInfrastructureAccountConflict) IsRedirect() bool
- func (o *CreateInfrastructureAccountConflict) IsServerError() bool
- func (o *CreateInfrastructureAccountConflict) IsSuccess() bool
- func (o *CreateInfrastructureAccountConflict) String() string
- type CreateInfrastructureAccountCreated
- func (o *CreateInfrastructureAccountCreated) Code() int
- func (o *CreateInfrastructureAccountCreated) Error() string
- func (o *CreateInfrastructureAccountCreated) GetPayload() *models.InfrastructureAccount
- func (o *CreateInfrastructureAccountCreated) IsClientError() bool
- func (o *CreateInfrastructureAccountCreated) IsCode(code int) bool
- func (o *CreateInfrastructureAccountCreated) IsRedirect() bool
- func (o *CreateInfrastructureAccountCreated) IsServerError() bool
- func (o *CreateInfrastructureAccountCreated) IsSuccess() bool
- func (o *CreateInfrastructureAccountCreated) String() string
- type CreateInfrastructureAccountForbidden
- func (o *CreateInfrastructureAccountForbidden) Code() int
- func (o *CreateInfrastructureAccountForbidden) Error() string
- func (o *CreateInfrastructureAccountForbidden) IsClientError() bool
- func (o *CreateInfrastructureAccountForbidden) IsCode(code int) bool
- func (o *CreateInfrastructureAccountForbidden) IsRedirect() bool
- func (o *CreateInfrastructureAccountForbidden) IsServerError() bool
- func (o *CreateInfrastructureAccountForbidden) IsSuccess() bool
- func (o *CreateInfrastructureAccountForbidden) String() string
- type CreateInfrastructureAccountInternalServerError
- func (o *CreateInfrastructureAccountInternalServerError) Code() int
- func (o *CreateInfrastructureAccountInternalServerError) Error() string
- func (o *CreateInfrastructureAccountInternalServerError) GetPayload() *models.Error
- func (o *CreateInfrastructureAccountInternalServerError) IsClientError() bool
- func (o *CreateInfrastructureAccountInternalServerError) IsCode(code int) bool
- func (o *CreateInfrastructureAccountInternalServerError) IsRedirect() bool
- func (o *CreateInfrastructureAccountInternalServerError) IsServerError() bool
- func (o *CreateInfrastructureAccountInternalServerError) IsSuccess() bool
- func (o *CreateInfrastructureAccountInternalServerError) String() string
- type CreateInfrastructureAccountParams
- func NewCreateInfrastructureAccountParams() *CreateInfrastructureAccountParams
- func NewCreateInfrastructureAccountParamsWithContext(ctx context.Context) *CreateInfrastructureAccountParams
- func NewCreateInfrastructureAccountParamsWithHTTPClient(client *http.Client) *CreateInfrastructureAccountParams
- func NewCreateInfrastructureAccountParamsWithTimeout(timeout time.Duration) *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) SetContext(ctx context.Context)
- func (o *CreateInfrastructureAccountParams) SetDefaults()
- func (o *CreateInfrastructureAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateInfrastructureAccountParams) SetInfrastructureAccount(infrastructureAccount *models.InfrastructureAccount)
- func (o *CreateInfrastructureAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateInfrastructureAccountParams) WithContext(ctx context.Context) *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) WithDefaults() *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) WithHTTPClient(client *http.Client) *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) WithInfrastructureAccount(infrastructureAccount *models.InfrastructureAccount) *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) WithTimeout(timeout time.Duration) *CreateInfrastructureAccountParams
- func (o *CreateInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInfrastructureAccountReader
- type CreateInfrastructureAccountUnauthorized
- func (o *CreateInfrastructureAccountUnauthorized) Code() int
- func (o *CreateInfrastructureAccountUnauthorized) Error() string
- func (o *CreateInfrastructureAccountUnauthorized) IsClientError() bool
- func (o *CreateInfrastructureAccountUnauthorized) IsCode(code int) bool
- func (o *CreateInfrastructureAccountUnauthorized) IsRedirect() bool
- func (o *CreateInfrastructureAccountUnauthorized) IsServerError() bool
- func (o *CreateInfrastructureAccountUnauthorized) IsSuccess() bool
- func (o *CreateInfrastructureAccountUnauthorized) String() string
- type GetInfrastructureAccountForbidden
- func (o *GetInfrastructureAccountForbidden) Code() int
- func (o *GetInfrastructureAccountForbidden) Error() string
- func (o *GetInfrastructureAccountForbidden) IsClientError() bool
- func (o *GetInfrastructureAccountForbidden) IsCode(code int) bool
- func (o *GetInfrastructureAccountForbidden) IsRedirect() bool
- func (o *GetInfrastructureAccountForbidden) IsServerError() bool
- func (o *GetInfrastructureAccountForbidden) IsSuccess() bool
- func (o *GetInfrastructureAccountForbidden) String() string
- type GetInfrastructureAccountInternalServerError
- func (o *GetInfrastructureAccountInternalServerError) Code() int
- func (o *GetInfrastructureAccountInternalServerError) Error() string
- func (o *GetInfrastructureAccountInternalServerError) GetPayload() *models.Error
- func (o *GetInfrastructureAccountInternalServerError) IsClientError() bool
- func (o *GetInfrastructureAccountInternalServerError) IsCode(code int) bool
- func (o *GetInfrastructureAccountInternalServerError) IsRedirect() bool
- func (o *GetInfrastructureAccountInternalServerError) IsServerError() bool
- func (o *GetInfrastructureAccountInternalServerError) IsSuccess() bool
- func (o *GetInfrastructureAccountInternalServerError) String() string
- type GetInfrastructureAccountNotFound
- func (o *GetInfrastructureAccountNotFound) Code() int
- func (o *GetInfrastructureAccountNotFound) Error() string
- func (o *GetInfrastructureAccountNotFound) IsClientError() bool
- func (o *GetInfrastructureAccountNotFound) IsCode(code int) bool
- func (o *GetInfrastructureAccountNotFound) IsRedirect() bool
- func (o *GetInfrastructureAccountNotFound) IsServerError() bool
- func (o *GetInfrastructureAccountNotFound) IsSuccess() bool
- func (o *GetInfrastructureAccountNotFound) String() string
- type GetInfrastructureAccountOK
- func (o *GetInfrastructureAccountOK) Code() int
- func (o *GetInfrastructureAccountOK) Error() string
- func (o *GetInfrastructureAccountOK) GetPayload() *models.InfrastructureAccount
- func (o *GetInfrastructureAccountOK) IsClientError() bool
- func (o *GetInfrastructureAccountOK) IsCode(code int) bool
- func (o *GetInfrastructureAccountOK) IsRedirect() bool
- func (o *GetInfrastructureAccountOK) IsServerError() bool
- func (o *GetInfrastructureAccountOK) IsSuccess() bool
- func (o *GetInfrastructureAccountOK) String() string
- type GetInfrastructureAccountParams
- func NewGetInfrastructureAccountParams() *GetInfrastructureAccountParams
- func NewGetInfrastructureAccountParamsWithContext(ctx context.Context) *GetInfrastructureAccountParams
- func NewGetInfrastructureAccountParamsWithHTTPClient(client *http.Client) *GetInfrastructureAccountParams
- func NewGetInfrastructureAccountParamsWithTimeout(timeout time.Duration) *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) SetAccountID(accountID string)
- func (o *GetInfrastructureAccountParams) SetContext(ctx context.Context)
- func (o *GetInfrastructureAccountParams) SetDefaults()
- func (o *GetInfrastructureAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetInfrastructureAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetInfrastructureAccountParams) WithAccountID(accountID string) *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) WithContext(ctx context.Context) *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) WithDefaults() *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) WithHTTPClient(client *http.Client) *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) WithTimeout(timeout time.Duration) *GetInfrastructureAccountParams
- func (o *GetInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInfrastructureAccountReader
- type GetInfrastructureAccountUnauthorized
- func (o *GetInfrastructureAccountUnauthorized) Code() int
- func (o *GetInfrastructureAccountUnauthorized) Error() string
- func (o *GetInfrastructureAccountUnauthorized) IsClientError() bool
- func (o *GetInfrastructureAccountUnauthorized) IsCode(code int) bool
- func (o *GetInfrastructureAccountUnauthorized) IsRedirect() bool
- func (o *GetInfrastructureAccountUnauthorized) IsServerError() bool
- func (o *GetInfrastructureAccountUnauthorized) IsSuccess() bool
- func (o *GetInfrastructureAccountUnauthorized) String() string
- type ListInfrastructureAccountsForbidden
- func (o *ListInfrastructureAccountsForbidden) Code() int
- func (o *ListInfrastructureAccountsForbidden) Error() string
- func (o *ListInfrastructureAccountsForbidden) IsClientError() bool
- func (o *ListInfrastructureAccountsForbidden) IsCode(code int) bool
- func (o *ListInfrastructureAccountsForbidden) IsRedirect() bool
- func (o *ListInfrastructureAccountsForbidden) IsServerError() bool
- func (o *ListInfrastructureAccountsForbidden) IsSuccess() bool
- func (o *ListInfrastructureAccountsForbidden) String() string
- type ListInfrastructureAccountsInternalServerError
- func (o *ListInfrastructureAccountsInternalServerError) Code() int
- func (o *ListInfrastructureAccountsInternalServerError) Error() string
- func (o *ListInfrastructureAccountsInternalServerError) GetPayload() *models.Error
- func (o *ListInfrastructureAccountsInternalServerError) IsClientError() bool
- func (o *ListInfrastructureAccountsInternalServerError) IsCode(code int) bool
- func (o *ListInfrastructureAccountsInternalServerError) IsRedirect() bool
- func (o *ListInfrastructureAccountsInternalServerError) IsServerError() bool
- func (o *ListInfrastructureAccountsInternalServerError) IsSuccess() bool
- func (o *ListInfrastructureAccountsInternalServerError) String() string
- type ListInfrastructureAccountsOK
- func (o *ListInfrastructureAccountsOK) Code() int
- func (o *ListInfrastructureAccountsOK) Error() string
- func (o *ListInfrastructureAccountsOK) GetPayload() *ListInfrastructureAccountsOKBody
- func (o *ListInfrastructureAccountsOK) IsClientError() bool
- func (o *ListInfrastructureAccountsOK) IsCode(code int) bool
- func (o *ListInfrastructureAccountsOK) IsRedirect() bool
- func (o *ListInfrastructureAccountsOK) IsServerError() bool
- func (o *ListInfrastructureAccountsOK) IsSuccess() bool
- func (o *ListInfrastructureAccountsOK) String() string
- type ListInfrastructureAccountsOKBody
- func (o *ListInfrastructureAccountsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListInfrastructureAccountsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListInfrastructureAccountsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListInfrastructureAccountsOKBody) Validate(formats strfmt.Registry) error
- type ListInfrastructureAccountsParams
- func NewListInfrastructureAccountsParams() *ListInfrastructureAccountsParams
- func NewListInfrastructureAccountsParamsWithContext(ctx context.Context) *ListInfrastructureAccountsParams
- func NewListInfrastructureAccountsParamsWithHTTPClient(client *http.Client) *ListInfrastructureAccountsParams
- func NewListInfrastructureAccountsParamsWithTimeout(timeout time.Duration) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) SetContext(ctx context.Context)
- func (o *ListInfrastructureAccountsParams) SetCostCenter(costCenter *string)
- func (o *ListInfrastructureAccountsParams) SetCriticalityLevel(criticalityLevel *int32)
- func (o *ListInfrastructureAccountsParams) SetDefaults()
- func (o *ListInfrastructureAccountsParams) SetEnvironment(environment *string)
- func (o *ListInfrastructureAccountsParams) SetExternalID(externalID *string)
- func (o *ListInfrastructureAccountsParams) SetHTTPClient(client *http.Client)
- func (o *ListInfrastructureAccountsParams) SetLifecycleStatus(lifecycleStatus *string)
- func (o *ListInfrastructureAccountsParams) SetName(name *string)
- func (o *ListInfrastructureAccountsParams) SetOwner(owner *string)
- func (o *ListInfrastructureAccountsParams) SetTimeout(timeout time.Duration)
- func (o *ListInfrastructureAccountsParams) SetType(typeVar *string)
- func (o *ListInfrastructureAccountsParams) WithContext(ctx context.Context) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithCostCenter(costCenter *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithCriticalityLevel(criticalityLevel *int32) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithDefaults() *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithEnvironment(environment *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithExternalID(externalID *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithHTTPClient(client *http.Client) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithLifecycleStatus(lifecycleStatus *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithName(name *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithOwner(owner *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithTimeout(timeout time.Duration) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WithType(typeVar *string) *ListInfrastructureAccountsParams
- func (o *ListInfrastructureAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInfrastructureAccountsReader
- type ListInfrastructureAccountsUnauthorized
- func (o *ListInfrastructureAccountsUnauthorized) Code() int
- func (o *ListInfrastructureAccountsUnauthorized) Error() string
- func (o *ListInfrastructureAccountsUnauthorized) IsClientError() bool
- func (o *ListInfrastructureAccountsUnauthorized) IsCode(code int) bool
- func (o *ListInfrastructureAccountsUnauthorized) IsRedirect() bool
- func (o *ListInfrastructureAccountsUnauthorized) IsServerError() bool
- func (o *ListInfrastructureAccountsUnauthorized) IsSuccess() bool
- func (o *ListInfrastructureAccountsUnauthorized) String() string
- type UpdateInfrastructureAccountForbidden
- func (o *UpdateInfrastructureAccountForbidden) Code() int
- func (o *UpdateInfrastructureAccountForbidden) Error() string
- func (o *UpdateInfrastructureAccountForbidden) IsClientError() bool
- func (o *UpdateInfrastructureAccountForbidden) IsCode(code int) bool
- func (o *UpdateInfrastructureAccountForbidden) IsRedirect() bool
- func (o *UpdateInfrastructureAccountForbidden) IsServerError() bool
- func (o *UpdateInfrastructureAccountForbidden) IsSuccess() bool
- func (o *UpdateInfrastructureAccountForbidden) String() string
- type UpdateInfrastructureAccountInternalServerError
- func (o *UpdateInfrastructureAccountInternalServerError) Code() int
- func (o *UpdateInfrastructureAccountInternalServerError) Error() string
- func (o *UpdateInfrastructureAccountInternalServerError) GetPayload() *models.Error
- func (o *UpdateInfrastructureAccountInternalServerError) IsClientError() bool
- func (o *UpdateInfrastructureAccountInternalServerError) IsCode(code int) bool
- func (o *UpdateInfrastructureAccountInternalServerError) IsRedirect() bool
- func (o *UpdateInfrastructureAccountInternalServerError) IsServerError() bool
- func (o *UpdateInfrastructureAccountInternalServerError) IsSuccess() bool
- func (o *UpdateInfrastructureAccountInternalServerError) String() string
- type UpdateInfrastructureAccountNotFound
- func (o *UpdateInfrastructureAccountNotFound) Code() int
- func (o *UpdateInfrastructureAccountNotFound) Error() string
- func (o *UpdateInfrastructureAccountNotFound) IsClientError() bool
- func (o *UpdateInfrastructureAccountNotFound) IsCode(code int) bool
- func (o *UpdateInfrastructureAccountNotFound) IsRedirect() bool
- func (o *UpdateInfrastructureAccountNotFound) IsServerError() bool
- func (o *UpdateInfrastructureAccountNotFound) IsSuccess() bool
- func (o *UpdateInfrastructureAccountNotFound) String() string
- type UpdateInfrastructureAccountOK
- func (o *UpdateInfrastructureAccountOK) Code() int
- func (o *UpdateInfrastructureAccountOK) Error() string
- func (o *UpdateInfrastructureAccountOK) GetPayload() *models.InfrastructureAccount
- func (o *UpdateInfrastructureAccountOK) IsClientError() bool
- func (o *UpdateInfrastructureAccountOK) IsCode(code int) bool
- func (o *UpdateInfrastructureAccountOK) IsRedirect() bool
- func (o *UpdateInfrastructureAccountOK) IsServerError() bool
- func (o *UpdateInfrastructureAccountOK) IsSuccess() bool
- func (o *UpdateInfrastructureAccountOK) String() string
- type UpdateInfrastructureAccountParams
- func NewUpdateInfrastructureAccountParams() *UpdateInfrastructureAccountParams
- func NewUpdateInfrastructureAccountParamsWithContext(ctx context.Context) *UpdateInfrastructureAccountParams
- func NewUpdateInfrastructureAccountParamsWithHTTPClient(client *http.Client) *UpdateInfrastructureAccountParams
- func NewUpdateInfrastructureAccountParamsWithTimeout(timeout time.Duration) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) SetAccountID(accountID string)
- func (o *UpdateInfrastructureAccountParams) SetContext(ctx context.Context)
- func (o *UpdateInfrastructureAccountParams) SetDefaults()
- func (o *UpdateInfrastructureAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateInfrastructureAccountParams) SetInfrastructureAccount(infrastructureAccount *models.InfrastructureAccountUpdate)
- func (o *UpdateInfrastructureAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateInfrastructureAccountParams) WithAccountID(accountID string) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WithContext(ctx context.Context) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WithDefaults() *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WithHTTPClient(client *http.Client) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WithInfrastructureAccount(infrastructureAccount *models.InfrastructureAccountUpdate) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WithTimeout(timeout time.Duration) *UpdateInfrastructureAccountParams
- func (o *UpdateInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateInfrastructureAccountReader
- type UpdateInfrastructureAccountUnauthorized
- func (o *UpdateInfrastructureAccountUnauthorized) Code() int
- func (o *UpdateInfrastructureAccountUnauthorized) Error() string
- func (o *UpdateInfrastructureAccountUnauthorized) IsClientError() bool
- func (o *UpdateInfrastructureAccountUnauthorized) IsCode(code int) bool
- func (o *UpdateInfrastructureAccountUnauthorized) IsRedirect() bool
- func (o *UpdateInfrastructureAccountUnauthorized) IsServerError() bool
- func (o *UpdateInfrastructureAccountUnauthorized) IsSuccess() bool
- func (o *UpdateInfrastructureAccountUnauthorized) 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 infrastructure accounts API
func (*Client) CreateInfrastructureAccount ¶
func (a *Client) CreateInfrastructureAccount(params *CreateInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInfrastructureAccountCreated, error)
CreateInfrastructureAccount creates infrastructure account
Creates a new infrastructure account
func (*Client) GetInfrastructureAccount ¶
func (a *Client) GetInfrastructureAccount(params *GetInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInfrastructureAccountOK, error)
GetInfrastructureAccount gets single infrastructure account
Read information regarding the infrastructure account.
func (*Client) ListInfrastructureAccounts ¶
func (a *Client) ListInfrastructureAccounts(params *ListInfrastructureAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInfrastructureAccountsOK, error)
ListInfrastructureAccounts lists all registered infrastructure accounts
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateInfrastructureAccount ¶
func (a *Client) UpdateInfrastructureAccount(params *UpdateInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateInfrastructureAccountOK, error)
UpdateInfrastructureAccount updates infrastructure account
update an infrastructure account.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateInfrastructureAccount(params *CreateInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInfrastructureAccountCreated, error) GetInfrastructureAccount(params *GetInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInfrastructureAccountOK, error) ListInfrastructureAccounts(params *ListInfrastructureAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInfrastructureAccountsOK, error) UpdateInfrastructureAccount(params *UpdateInfrastructureAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateInfrastructureAccountOK, 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 infrastructure accounts API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new infrastructure accounts API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new infrastructure accounts API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateInfrastructureAccountBadRequest ¶
type CreateInfrastructureAccountBadRequest struct { }
CreateInfrastructureAccountBadRequest describes a response with status code 400, with default header values.
Invalid parameters
func NewCreateInfrastructureAccountBadRequest ¶
func NewCreateInfrastructureAccountBadRequest() *CreateInfrastructureAccountBadRequest
NewCreateInfrastructureAccountBadRequest creates a CreateInfrastructureAccountBadRequest with default headers values
func (*CreateInfrastructureAccountBadRequest) Code ¶
func (o *CreateInfrastructureAccountBadRequest) Code() int
Code gets the status code for the create infrastructure account bad request response
func (*CreateInfrastructureAccountBadRequest) Error ¶
func (o *CreateInfrastructureAccountBadRequest) Error() string
func (*CreateInfrastructureAccountBadRequest) IsClientError ¶
func (o *CreateInfrastructureAccountBadRequest) IsClientError() bool
IsClientError returns true when this create infrastructure account bad request response has a 4xx status code
func (*CreateInfrastructureAccountBadRequest) IsCode ¶
func (o *CreateInfrastructureAccountBadRequest) IsCode(code int) bool
IsCode returns true when this create infrastructure account bad request response a status code equal to that given
func (*CreateInfrastructureAccountBadRequest) IsRedirect ¶
func (o *CreateInfrastructureAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this create infrastructure account bad request response has a 3xx status code
func (*CreateInfrastructureAccountBadRequest) IsServerError ¶
func (o *CreateInfrastructureAccountBadRequest) IsServerError() bool
IsServerError returns true when this create infrastructure account bad request response has a 5xx status code
func (*CreateInfrastructureAccountBadRequest) IsSuccess ¶
func (o *CreateInfrastructureAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this create infrastructure account bad request response has a 2xx status code
func (*CreateInfrastructureAccountBadRequest) String ¶
func (o *CreateInfrastructureAccountBadRequest) String() string
type CreateInfrastructureAccountConflict ¶
type CreateInfrastructureAccountConflict struct { }
CreateInfrastructureAccountConflict describes a response with status code 409, with default header values.
Conflict, already existing.
func NewCreateInfrastructureAccountConflict ¶
func NewCreateInfrastructureAccountConflict() *CreateInfrastructureAccountConflict
NewCreateInfrastructureAccountConflict creates a CreateInfrastructureAccountConflict with default headers values
func (*CreateInfrastructureAccountConflict) Code ¶
func (o *CreateInfrastructureAccountConflict) Code() int
Code gets the status code for the create infrastructure account conflict response
func (*CreateInfrastructureAccountConflict) Error ¶
func (o *CreateInfrastructureAccountConflict) Error() string
func (*CreateInfrastructureAccountConflict) IsClientError ¶
func (o *CreateInfrastructureAccountConflict) IsClientError() bool
IsClientError returns true when this create infrastructure account conflict response has a 4xx status code
func (*CreateInfrastructureAccountConflict) IsCode ¶
func (o *CreateInfrastructureAccountConflict) IsCode(code int) bool
IsCode returns true when this create infrastructure account conflict response a status code equal to that given
func (*CreateInfrastructureAccountConflict) IsRedirect ¶
func (o *CreateInfrastructureAccountConflict) IsRedirect() bool
IsRedirect returns true when this create infrastructure account conflict response has a 3xx status code
func (*CreateInfrastructureAccountConflict) IsServerError ¶
func (o *CreateInfrastructureAccountConflict) IsServerError() bool
IsServerError returns true when this create infrastructure account conflict response has a 5xx status code
func (*CreateInfrastructureAccountConflict) IsSuccess ¶
func (o *CreateInfrastructureAccountConflict) IsSuccess() bool
IsSuccess returns true when this create infrastructure account conflict response has a 2xx status code
func (*CreateInfrastructureAccountConflict) String ¶
func (o *CreateInfrastructureAccountConflict) String() string
type CreateInfrastructureAccountCreated ¶
type CreateInfrastructureAccountCreated struct {
Payload *models.InfrastructureAccount
}
CreateInfrastructureAccountCreated describes a response with status code 201, with default header values.
Infrastructure account was scheduled for creation.
func NewCreateInfrastructureAccountCreated ¶
func NewCreateInfrastructureAccountCreated() *CreateInfrastructureAccountCreated
NewCreateInfrastructureAccountCreated creates a CreateInfrastructureAccountCreated with default headers values
func (*CreateInfrastructureAccountCreated) Code ¶
func (o *CreateInfrastructureAccountCreated) Code() int
Code gets the status code for the create infrastructure account created response
func (*CreateInfrastructureAccountCreated) Error ¶
func (o *CreateInfrastructureAccountCreated) Error() string
func (*CreateInfrastructureAccountCreated) GetPayload ¶
func (o *CreateInfrastructureAccountCreated) GetPayload() *models.InfrastructureAccount
func (*CreateInfrastructureAccountCreated) IsClientError ¶
func (o *CreateInfrastructureAccountCreated) IsClientError() bool
IsClientError returns true when this create infrastructure account created response has a 4xx status code
func (*CreateInfrastructureAccountCreated) IsCode ¶
func (o *CreateInfrastructureAccountCreated) IsCode(code int) bool
IsCode returns true when this create infrastructure account created response a status code equal to that given
func (*CreateInfrastructureAccountCreated) IsRedirect ¶
func (o *CreateInfrastructureAccountCreated) IsRedirect() bool
IsRedirect returns true when this create infrastructure account created response has a 3xx status code
func (*CreateInfrastructureAccountCreated) IsServerError ¶
func (o *CreateInfrastructureAccountCreated) IsServerError() bool
IsServerError returns true when this create infrastructure account created response has a 5xx status code
func (*CreateInfrastructureAccountCreated) IsSuccess ¶
func (o *CreateInfrastructureAccountCreated) IsSuccess() bool
IsSuccess returns true when this create infrastructure account created response has a 2xx status code
func (*CreateInfrastructureAccountCreated) String ¶
func (o *CreateInfrastructureAccountCreated) String() string
type CreateInfrastructureAccountForbidden ¶
type CreateInfrastructureAccountForbidden struct { }
CreateInfrastructureAccountForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateInfrastructureAccountForbidden ¶
func NewCreateInfrastructureAccountForbidden() *CreateInfrastructureAccountForbidden
NewCreateInfrastructureAccountForbidden creates a CreateInfrastructureAccountForbidden with default headers values
func (*CreateInfrastructureAccountForbidden) Code ¶
func (o *CreateInfrastructureAccountForbidden) Code() int
Code gets the status code for the create infrastructure account forbidden response
func (*CreateInfrastructureAccountForbidden) Error ¶
func (o *CreateInfrastructureAccountForbidden) Error() string
func (*CreateInfrastructureAccountForbidden) IsClientError ¶
func (o *CreateInfrastructureAccountForbidden) IsClientError() bool
IsClientError returns true when this create infrastructure account forbidden response has a 4xx status code
func (*CreateInfrastructureAccountForbidden) IsCode ¶
func (o *CreateInfrastructureAccountForbidden) IsCode(code int) bool
IsCode returns true when this create infrastructure account forbidden response a status code equal to that given
func (*CreateInfrastructureAccountForbidden) IsRedirect ¶
func (o *CreateInfrastructureAccountForbidden) IsRedirect() bool
IsRedirect returns true when this create infrastructure account forbidden response has a 3xx status code
func (*CreateInfrastructureAccountForbidden) IsServerError ¶
func (o *CreateInfrastructureAccountForbidden) IsServerError() bool
IsServerError returns true when this create infrastructure account forbidden response has a 5xx status code
func (*CreateInfrastructureAccountForbidden) IsSuccess ¶
func (o *CreateInfrastructureAccountForbidden) IsSuccess() bool
IsSuccess returns true when this create infrastructure account forbidden response has a 2xx status code
func (*CreateInfrastructureAccountForbidden) String ¶
func (o *CreateInfrastructureAccountForbidden) String() string
type CreateInfrastructureAccountInternalServerError ¶
CreateInfrastructureAccountInternalServerError describes a response with status code 500, with default header values.
Unexpected error
func NewCreateInfrastructureAccountInternalServerError ¶
func NewCreateInfrastructureAccountInternalServerError() *CreateInfrastructureAccountInternalServerError
NewCreateInfrastructureAccountInternalServerError creates a CreateInfrastructureAccountInternalServerError with default headers values
func (*CreateInfrastructureAccountInternalServerError) Code ¶
func (o *CreateInfrastructureAccountInternalServerError) Code() int
Code gets the status code for the create infrastructure account internal server error response
func (*CreateInfrastructureAccountInternalServerError) Error ¶
func (o *CreateInfrastructureAccountInternalServerError) Error() string
func (*CreateInfrastructureAccountInternalServerError) GetPayload ¶
func (o *CreateInfrastructureAccountInternalServerError) GetPayload() *models.Error
func (*CreateInfrastructureAccountInternalServerError) IsClientError ¶
func (o *CreateInfrastructureAccountInternalServerError) IsClientError() bool
IsClientError returns true when this create infrastructure account internal server error response has a 4xx status code
func (*CreateInfrastructureAccountInternalServerError) IsCode ¶
func (o *CreateInfrastructureAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this create infrastructure account internal server error response a status code equal to that given
func (*CreateInfrastructureAccountInternalServerError) IsRedirect ¶
func (o *CreateInfrastructureAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this create infrastructure account internal server error response has a 3xx status code
func (*CreateInfrastructureAccountInternalServerError) IsServerError ¶
func (o *CreateInfrastructureAccountInternalServerError) IsServerError() bool
IsServerError returns true when this create infrastructure account internal server error response has a 5xx status code
func (*CreateInfrastructureAccountInternalServerError) IsSuccess ¶
func (o *CreateInfrastructureAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this create infrastructure account internal server error response has a 2xx status code
func (*CreateInfrastructureAccountInternalServerError) String ¶
func (o *CreateInfrastructureAccountInternalServerError) String() string
type CreateInfrastructureAccountParams ¶
type CreateInfrastructureAccountParams struct { /* InfrastructureAccount. Account that will be created. */ InfrastructureAccount *models.InfrastructureAccount Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInfrastructureAccountParams contains all the parameters to send to the API endpoint
for the create infrastructure account operation. Typically these are written to a http.Request.
func NewCreateInfrastructureAccountParams ¶
func NewCreateInfrastructureAccountParams() *CreateInfrastructureAccountParams
NewCreateInfrastructureAccountParams creates a new CreateInfrastructureAccountParams 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 NewCreateInfrastructureAccountParamsWithContext ¶
func NewCreateInfrastructureAccountParamsWithContext(ctx context.Context) *CreateInfrastructureAccountParams
NewCreateInfrastructureAccountParamsWithContext creates a new CreateInfrastructureAccountParams object with the ability to set a context for a request.
func NewCreateInfrastructureAccountParamsWithHTTPClient ¶
func NewCreateInfrastructureAccountParamsWithHTTPClient(client *http.Client) *CreateInfrastructureAccountParams
NewCreateInfrastructureAccountParamsWithHTTPClient creates a new CreateInfrastructureAccountParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInfrastructureAccountParamsWithTimeout ¶
func NewCreateInfrastructureAccountParamsWithTimeout(timeout time.Duration) *CreateInfrastructureAccountParams
NewCreateInfrastructureAccountParamsWithTimeout creates a new CreateInfrastructureAccountParams object with the ability to set a timeout on a request.
func (*CreateInfrastructureAccountParams) SetContext ¶
func (o *CreateInfrastructureAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the create infrastructure account params
func (*CreateInfrastructureAccountParams) SetDefaults ¶
func (o *CreateInfrastructureAccountParams) SetDefaults()
SetDefaults hydrates default values in the create infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInfrastructureAccountParams) SetHTTPClient ¶
func (o *CreateInfrastructureAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create infrastructure account params
func (*CreateInfrastructureAccountParams) SetInfrastructureAccount ¶
func (o *CreateInfrastructureAccountParams) SetInfrastructureAccount(infrastructureAccount *models.InfrastructureAccount)
SetInfrastructureAccount adds the infrastructureAccount to the create infrastructure account params
func (*CreateInfrastructureAccountParams) SetTimeout ¶
func (o *CreateInfrastructureAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create infrastructure account params
func (*CreateInfrastructureAccountParams) WithContext ¶
func (o *CreateInfrastructureAccountParams) WithContext(ctx context.Context) *CreateInfrastructureAccountParams
WithContext adds the context to the create infrastructure account params
func (*CreateInfrastructureAccountParams) WithDefaults ¶
func (o *CreateInfrastructureAccountParams) WithDefaults() *CreateInfrastructureAccountParams
WithDefaults hydrates default values in the create infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInfrastructureAccountParams) WithHTTPClient ¶
func (o *CreateInfrastructureAccountParams) WithHTTPClient(client *http.Client) *CreateInfrastructureAccountParams
WithHTTPClient adds the HTTPClient to the create infrastructure account params
func (*CreateInfrastructureAccountParams) WithInfrastructureAccount ¶
func (o *CreateInfrastructureAccountParams) WithInfrastructureAccount(infrastructureAccount *models.InfrastructureAccount) *CreateInfrastructureAccountParams
WithInfrastructureAccount adds the infrastructureAccount to the create infrastructure account params
func (*CreateInfrastructureAccountParams) WithTimeout ¶
func (o *CreateInfrastructureAccountParams) WithTimeout(timeout time.Duration) *CreateInfrastructureAccountParams
WithTimeout adds the timeout to the create infrastructure account params
func (*CreateInfrastructureAccountParams) WriteToRequest ¶
func (o *CreateInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInfrastructureAccountReader ¶
type CreateInfrastructureAccountReader struct {
// contains filtered or unexported fields
}
CreateInfrastructureAccountReader is a Reader for the CreateInfrastructureAccount structure.
func (*CreateInfrastructureAccountReader) ReadResponse ¶
func (o *CreateInfrastructureAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInfrastructureAccountUnauthorized ¶
type CreateInfrastructureAccountUnauthorized struct { }
CreateInfrastructureAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateInfrastructureAccountUnauthorized ¶
func NewCreateInfrastructureAccountUnauthorized() *CreateInfrastructureAccountUnauthorized
NewCreateInfrastructureAccountUnauthorized creates a CreateInfrastructureAccountUnauthorized with default headers values
func (*CreateInfrastructureAccountUnauthorized) Code ¶
func (o *CreateInfrastructureAccountUnauthorized) Code() int
Code gets the status code for the create infrastructure account unauthorized response
func (*CreateInfrastructureAccountUnauthorized) Error ¶
func (o *CreateInfrastructureAccountUnauthorized) Error() string
func (*CreateInfrastructureAccountUnauthorized) IsClientError ¶
func (o *CreateInfrastructureAccountUnauthorized) IsClientError() bool
IsClientError returns true when this create infrastructure account unauthorized response has a 4xx status code
func (*CreateInfrastructureAccountUnauthorized) IsCode ¶
func (o *CreateInfrastructureAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this create infrastructure account unauthorized response a status code equal to that given
func (*CreateInfrastructureAccountUnauthorized) IsRedirect ¶
func (o *CreateInfrastructureAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this create infrastructure account unauthorized response has a 3xx status code
func (*CreateInfrastructureAccountUnauthorized) IsServerError ¶
func (o *CreateInfrastructureAccountUnauthorized) IsServerError() bool
IsServerError returns true when this create infrastructure account unauthorized response has a 5xx status code
func (*CreateInfrastructureAccountUnauthorized) IsSuccess ¶
func (o *CreateInfrastructureAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this create infrastructure account unauthorized response has a 2xx status code
func (*CreateInfrastructureAccountUnauthorized) String ¶
func (o *CreateInfrastructureAccountUnauthorized) String() string
type GetInfrastructureAccountForbidden ¶
type GetInfrastructureAccountForbidden struct { }
GetInfrastructureAccountForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetInfrastructureAccountForbidden ¶
func NewGetInfrastructureAccountForbidden() *GetInfrastructureAccountForbidden
NewGetInfrastructureAccountForbidden creates a GetInfrastructureAccountForbidden with default headers values
func (*GetInfrastructureAccountForbidden) Code ¶
func (o *GetInfrastructureAccountForbidden) Code() int
Code gets the status code for the get infrastructure account forbidden response
func (*GetInfrastructureAccountForbidden) Error ¶
func (o *GetInfrastructureAccountForbidden) Error() string
func (*GetInfrastructureAccountForbidden) IsClientError ¶
func (o *GetInfrastructureAccountForbidden) IsClientError() bool
IsClientError returns true when this get infrastructure account forbidden response has a 4xx status code
func (*GetInfrastructureAccountForbidden) IsCode ¶
func (o *GetInfrastructureAccountForbidden) IsCode(code int) bool
IsCode returns true when this get infrastructure account forbidden response a status code equal to that given
func (*GetInfrastructureAccountForbidden) IsRedirect ¶
func (o *GetInfrastructureAccountForbidden) IsRedirect() bool
IsRedirect returns true when this get infrastructure account forbidden response has a 3xx status code
func (*GetInfrastructureAccountForbidden) IsServerError ¶
func (o *GetInfrastructureAccountForbidden) IsServerError() bool
IsServerError returns true when this get infrastructure account forbidden response has a 5xx status code
func (*GetInfrastructureAccountForbidden) IsSuccess ¶
func (o *GetInfrastructureAccountForbidden) IsSuccess() bool
IsSuccess returns true when this get infrastructure account forbidden response has a 2xx status code
func (*GetInfrastructureAccountForbidden) String ¶
func (o *GetInfrastructureAccountForbidden) String() string
type GetInfrastructureAccountInternalServerError ¶
GetInfrastructureAccountInternalServerError describes a response with status code 500, with default header values.
Unexpected error
func NewGetInfrastructureAccountInternalServerError ¶
func NewGetInfrastructureAccountInternalServerError() *GetInfrastructureAccountInternalServerError
NewGetInfrastructureAccountInternalServerError creates a GetInfrastructureAccountInternalServerError with default headers values
func (*GetInfrastructureAccountInternalServerError) Code ¶
func (o *GetInfrastructureAccountInternalServerError) Code() int
Code gets the status code for the get infrastructure account internal server error response
func (*GetInfrastructureAccountInternalServerError) Error ¶
func (o *GetInfrastructureAccountInternalServerError) Error() string
func (*GetInfrastructureAccountInternalServerError) GetPayload ¶
func (o *GetInfrastructureAccountInternalServerError) GetPayload() *models.Error
func (*GetInfrastructureAccountInternalServerError) IsClientError ¶
func (o *GetInfrastructureAccountInternalServerError) IsClientError() bool
IsClientError returns true when this get infrastructure account internal server error response has a 4xx status code
func (*GetInfrastructureAccountInternalServerError) IsCode ¶
func (o *GetInfrastructureAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this get infrastructure account internal server error response a status code equal to that given
func (*GetInfrastructureAccountInternalServerError) IsRedirect ¶
func (o *GetInfrastructureAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this get infrastructure account internal server error response has a 3xx status code
func (*GetInfrastructureAccountInternalServerError) IsServerError ¶
func (o *GetInfrastructureAccountInternalServerError) IsServerError() bool
IsServerError returns true when this get infrastructure account internal server error response has a 5xx status code
func (*GetInfrastructureAccountInternalServerError) IsSuccess ¶
func (o *GetInfrastructureAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this get infrastructure account internal server error response has a 2xx status code
func (*GetInfrastructureAccountInternalServerError) String ¶
func (o *GetInfrastructureAccountInternalServerError) String() string
type GetInfrastructureAccountNotFound ¶
type GetInfrastructureAccountNotFound struct { }
GetInfrastructureAccountNotFound describes a response with status code 404, with default header values.
InfrastructureAccount not found
func NewGetInfrastructureAccountNotFound ¶
func NewGetInfrastructureAccountNotFound() *GetInfrastructureAccountNotFound
NewGetInfrastructureAccountNotFound creates a GetInfrastructureAccountNotFound with default headers values
func (*GetInfrastructureAccountNotFound) Code ¶
func (o *GetInfrastructureAccountNotFound) Code() int
Code gets the status code for the get infrastructure account not found response
func (*GetInfrastructureAccountNotFound) Error ¶
func (o *GetInfrastructureAccountNotFound) Error() string
func (*GetInfrastructureAccountNotFound) IsClientError ¶
func (o *GetInfrastructureAccountNotFound) IsClientError() bool
IsClientError returns true when this get infrastructure account not found response has a 4xx status code
func (*GetInfrastructureAccountNotFound) IsCode ¶
func (o *GetInfrastructureAccountNotFound) IsCode(code int) bool
IsCode returns true when this get infrastructure account not found response a status code equal to that given
func (*GetInfrastructureAccountNotFound) IsRedirect ¶
func (o *GetInfrastructureAccountNotFound) IsRedirect() bool
IsRedirect returns true when this get infrastructure account not found response has a 3xx status code
func (*GetInfrastructureAccountNotFound) IsServerError ¶
func (o *GetInfrastructureAccountNotFound) IsServerError() bool
IsServerError returns true when this get infrastructure account not found response has a 5xx status code
func (*GetInfrastructureAccountNotFound) IsSuccess ¶
func (o *GetInfrastructureAccountNotFound) IsSuccess() bool
IsSuccess returns true when this get infrastructure account not found response has a 2xx status code
func (*GetInfrastructureAccountNotFound) String ¶
func (o *GetInfrastructureAccountNotFound) String() string
type GetInfrastructureAccountOK ¶
type GetInfrastructureAccountOK struct {
Payload *models.InfrastructureAccount
}
GetInfrastructureAccountOK describes a response with status code 200, with default header values.
Infrastructure account information.
func NewGetInfrastructureAccountOK ¶
func NewGetInfrastructureAccountOK() *GetInfrastructureAccountOK
NewGetInfrastructureAccountOK creates a GetInfrastructureAccountOK with default headers values
func (*GetInfrastructureAccountOK) Code ¶
func (o *GetInfrastructureAccountOK) Code() int
Code gets the status code for the get infrastructure account o k response
func (*GetInfrastructureAccountOK) Error ¶
func (o *GetInfrastructureAccountOK) Error() string
func (*GetInfrastructureAccountOK) GetPayload ¶
func (o *GetInfrastructureAccountOK) GetPayload() *models.InfrastructureAccount
func (*GetInfrastructureAccountOK) IsClientError ¶
func (o *GetInfrastructureAccountOK) IsClientError() bool
IsClientError returns true when this get infrastructure account o k response has a 4xx status code
func (*GetInfrastructureAccountOK) IsCode ¶
func (o *GetInfrastructureAccountOK) IsCode(code int) bool
IsCode returns true when this get infrastructure account o k response a status code equal to that given
func (*GetInfrastructureAccountOK) IsRedirect ¶
func (o *GetInfrastructureAccountOK) IsRedirect() bool
IsRedirect returns true when this get infrastructure account o k response has a 3xx status code
func (*GetInfrastructureAccountOK) IsServerError ¶
func (o *GetInfrastructureAccountOK) IsServerError() bool
IsServerError returns true when this get infrastructure account o k response has a 5xx status code
func (*GetInfrastructureAccountOK) IsSuccess ¶
func (o *GetInfrastructureAccountOK) IsSuccess() bool
IsSuccess returns true when this get infrastructure account o k response has a 2xx status code
func (*GetInfrastructureAccountOK) String ¶
func (o *GetInfrastructureAccountOK) String() string
type GetInfrastructureAccountParams ¶
type GetInfrastructureAccountParams struct { /* AccountID. ID of the infrastructure account. */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInfrastructureAccountParams contains all the parameters to send to the API endpoint
for the get infrastructure account operation. Typically these are written to a http.Request.
func NewGetInfrastructureAccountParams ¶
func NewGetInfrastructureAccountParams() *GetInfrastructureAccountParams
NewGetInfrastructureAccountParams creates a new GetInfrastructureAccountParams 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 NewGetInfrastructureAccountParamsWithContext ¶
func NewGetInfrastructureAccountParamsWithContext(ctx context.Context) *GetInfrastructureAccountParams
NewGetInfrastructureAccountParamsWithContext creates a new GetInfrastructureAccountParams object with the ability to set a context for a request.
func NewGetInfrastructureAccountParamsWithHTTPClient ¶
func NewGetInfrastructureAccountParamsWithHTTPClient(client *http.Client) *GetInfrastructureAccountParams
NewGetInfrastructureAccountParamsWithHTTPClient creates a new GetInfrastructureAccountParams object with the ability to set a custom HTTPClient for a request.
func NewGetInfrastructureAccountParamsWithTimeout ¶
func NewGetInfrastructureAccountParamsWithTimeout(timeout time.Duration) *GetInfrastructureAccountParams
NewGetInfrastructureAccountParamsWithTimeout creates a new GetInfrastructureAccountParams object with the ability to set a timeout on a request.
func (*GetInfrastructureAccountParams) SetAccountID ¶
func (o *GetInfrastructureAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get infrastructure account params
func (*GetInfrastructureAccountParams) SetContext ¶
func (o *GetInfrastructureAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get infrastructure account params
func (*GetInfrastructureAccountParams) SetDefaults ¶
func (o *GetInfrastructureAccountParams) SetDefaults()
SetDefaults hydrates default values in the get infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*GetInfrastructureAccountParams) SetHTTPClient ¶
func (o *GetInfrastructureAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get infrastructure account params
func (*GetInfrastructureAccountParams) SetTimeout ¶
func (o *GetInfrastructureAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get infrastructure account params
func (*GetInfrastructureAccountParams) WithAccountID ¶
func (o *GetInfrastructureAccountParams) WithAccountID(accountID string) *GetInfrastructureAccountParams
WithAccountID adds the accountID to the get infrastructure account params
func (*GetInfrastructureAccountParams) WithContext ¶
func (o *GetInfrastructureAccountParams) WithContext(ctx context.Context) *GetInfrastructureAccountParams
WithContext adds the context to the get infrastructure account params
func (*GetInfrastructureAccountParams) WithDefaults ¶
func (o *GetInfrastructureAccountParams) WithDefaults() *GetInfrastructureAccountParams
WithDefaults hydrates default values in the get infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*GetInfrastructureAccountParams) WithHTTPClient ¶
func (o *GetInfrastructureAccountParams) WithHTTPClient(client *http.Client) *GetInfrastructureAccountParams
WithHTTPClient adds the HTTPClient to the get infrastructure account params
func (*GetInfrastructureAccountParams) WithTimeout ¶
func (o *GetInfrastructureAccountParams) WithTimeout(timeout time.Duration) *GetInfrastructureAccountParams
WithTimeout adds the timeout to the get infrastructure account params
func (*GetInfrastructureAccountParams) WriteToRequest ¶
func (o *GetInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInfrastructureAccountReader ¶
type GetInfrastructureAccountReader struct {
// contains filtered or unexported fields
}
GetInfrastructureAccountReader is a Reader for the GetInfrastructureAccount structure.
func (*GetInfrastructureAccountReader) ReadResponse ¶
func (o *GetInfrastructureAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInfrastructureAccountUnauthorized ¶
type GetInfrastructureAccountUnauthorized struct { }
GetInfrastructureAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetInfrastructureAccountUnauthorized ¶
func NewGetInfrastructureAccountUnauthorized() *GetInfrastructureAccountUnauthorized
NewGetInfrastructureAccountUnauthorized creates a GetInfrastructureAccountUnauthorized with default headers values
func (*GetInfrastructureAccountUnauthorized) Code ¶
func (o *GetInfrastructureAccountUnauthorized) Code() int
Code gets the status code for the get infrastructure account unauthorized response
func (*GetInfrastructureAccountUnauthorized) Error ¶
func (o *GetInfrastructureAccountUnauthorized) Error() string
func (*GetInfrastructureAccountUnauthorized) IsClientError ¶
func (o *GetInfrastructureAccountUnauthorized) IsClientError() bool
IsClientError returns true when this get infrastructure account unauthorized response has a 4xx status code
func (*GetInfrastructureAccountUnauthorized) IsCode ¶
func (o *GetInfrastructureAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this get infrastructure account unauthorized response a status code equal to that given
func (*GetInfrastructureAccountUnauthorized) IsRedirect ¶
func (o *GetInfrastructureAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this get infrastructure account unauthorized response has a 3xx status code
func (*GetInfrastructureAccountUnauthorized) IsServerError ¶
func (o *GetInfrastructureAccountUnauthorized) IsServerError() bool
IsServerError returns true when this get infrastructure account unauthorized response has a 5xx status code
func (*GetInfrastructureAccountUnauthorized) IsSuccess ¶
func (o *GetInfrastructureAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this get infrastructure account unauthorized response has a 2xx status code
func (*GetInfrastructureAccountUnauthorized) String ¶
func (o *GetInfrastructureAccountUnauthorized) String() string
type ListInfrastructureAccountsForbidden ¶
type ListInfrastructureAccountsForbidden struct { }
ListInfrastructureAccountsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListInfrastructureAccountsForbidden ¶
func NewListInfrastructureAccountsForbidden() *ListInfrastructureAccountsForbidden
NewListInfrastructureAccountsForbidden creates a ListInfrastructureAccountsForbidden with default headers values
func (*ListInfrastructureAccountsForbidden) Code ¶
func (o *ListInfrastructureAccountsForbidden) Code() int
Code gets the status code for the list infrastructure accounts forbidden response
func (*ListInfrastructureAccountsForbidden) Error ¶
func (o *ListInfrastructureAccountsForbidden) Error() string
func (*ListInfrastructureAccountsForbidden) IsClientError ¶
func (o *ListInfrastructureAccountsForbidden) IsClientError() bool
IsClientError returns true when this list infrastructure accounts forbidden response has a 4xx status code
func (*ListInfrastructureAccountsForbidden) IsCode ¶
func (o *ListInfrastructureAccountsForbidden) IsCode(code int) bool
IsCode returns true when this list infrastructure accounts forbidden response a status code equal to that given
func (*ListInfrastructureAccountsForbidden) IsRedirect ¶
func (o *ListInfrastructureAccountsForbidden) IsRedirect() bool
IsRedirect returns true when this list infrastructure accounts forbidden response has a 3xx status code
func (*ListInfrastructureAccountsForbidden) IsServerError ¶
func (o *ListInfrastructureAccountsForbidden) IsServerError() bool
IsServerError returns true when this list infrastructure accounts forbidden response has a 5xx status code
func (*ListInfrastructureAccountsForbidden) IsSuccess ¶
func (o *ListInfrastructureAccountsForbidden) IsSuccess() bool
IsSuccess returns true when this list infrastructure accounts forbidden response has a 2xx status code
func (*ListInfrastructureAccountsForbidden) String ¶
func (o *ListInfrastructureAccountsForbidden) String() string
type ListInfrastructureAccountsInternalServerError ¶
ListInfrastructureAccountsInternalServerError describes a response with status code 500, with default header values.
Unexpected error
func NewListInfrastructureAccountsInternalServerError ¶
func NewListInfrastructureAccountsInternalServerError() *ListInfrastructureAccountsInternalServerError
NewListInfrastructureAccountsInternalServerError creates a ListInfrastructureAccountsInternalServerError with default headers values
func (*ListInfrastructureAccountsInternalServerError) Code ¶
func (o *ListInfrastructureAccountsInternalServerError) Code() int
Code gets the status code for the list infrastructure accounts internal server error response
func (*ListInfrastructureAccountsInternalServerError) Error ¶
func (o *ListInfrastructureAccountsInternalServerError) Error() string
func (*ListInfrastructureAccountsInternalServerError) GetPayload ¶
func (o *ListInfrastructureAccountsInternalServerError) GetPayload() *models.Error
func (*ListInfrastructureAccountsInternalServerError) IsClientError ¶
func (o *ListInfrastructureAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this list infrastructure accounts internal server error response has a 4xx status code
func (*ListInfrastructureAccountsInternalServerError) IsCode ¶
func (o *ListInfrastructureAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this list infrastructure accounts internal server error response a status code equal to that given
func (*ListInfrastructureAccountsInternalServerError) IsRedirect ¶
func (o *ListInfrastructureAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list infrastructure accounts internal server error response has a 3xx status code
func (*ListInfrastructureAccountsInternalServerError) IsServerError ¶
func (o *ListInfrastructureAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this list infrastructure accounts internal server error response has a 5xx status code
func (*ListInfrastructureAccountsInternalServerError) IsSuccess ¶
func (o *ListInfrastructureAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list infrastructure accounts internal server error response has a 2xx status code
func (*ListInfrastructureAccountsInternalServerError) String ¶
func (o *ListInfrastructureAccountsInternalServerError) String() string
type ListInfrastructureAccountsOK ¶
type ListInfrastructureAccountsOK struct {
Payload *ListInfrastructureAccountsOKBody
}
ListInfrastructureAccountsOK describes a response with status code 200, with default header values.
List of all infrastructure accounts.
func NewListInfrastructureAccountsOK ¶
func NewListInfrastructureAccountsOK() *ListInfrastructureAccountsOK
NewListInfrastructureAccountsOK creates a ListInfrastructureAccountsOK with default headers values
func (*ListInfrastructureAccountsOK) Code ¶
func (o *ListInfrastructureAccountsOK) Code() int
Code gets the status code for the list infrastructure accounts o k response
func (*ListInfrastructureAccountsOK) Error ¶
func (o *ListInfrastructureAccountsOK) Error() string
func (*ListInfrastructureAccountsOK) GetPayload ¶
func (o *ListInfrastructureAccountsOK) GetPayload() *ListInfrastructureAccountsOKBody
func (*ListInfrastructureAccountsOK) IsClientError ¶
func (o *ListInfrastructureAccountsOK) IsClientError() bool
IsClientError returns true when this list infrastructure accounts o k response has a 4xx status code
func (*ListInfrastructureAccountsOK) IsCode ¶
func (o *ListInfrastructureAccountsOK) IsCode(code int) bool
IsCode returns true when this list infrastructure accounts o k response a status code equal to that given
func (*ListInfrastructureAccountsOK) IsRedirect ¶
func (o *ListInfrastructureAccountsOK) IsRedirect() bool
IsRedirect returns true when this list infrastructure accounts o k response has a 3xx status code
func (*ListInfrastructureAccountsOK) IsServerError ¶
func (o *ListInfrastructureAccountsOK) IsServerError() bool
IsServerError returns true when this list infrastructure accounts o k response has a 5xx status code
func (*ListInfrastructureAccountsOK) IsSuccess ¶
func (o *ListInfrastructureAccountsOK) IsSuccess() bool
IsSuccess returns true when this list infrastructure accounts o k response has a 2xx status code
func (*ListInfrastructureAccountsOK) String ¶
func (o *ListInfrastructureAccountsOK) String() string
type ListInfrastructureAccountsOKBody ¶
type ListInfrastructureAccountsOKBody struct { // items Items []*models.InfrastructureAccount `json:"items"` }
ListInfrastructureAccountsOKBody list infrastructure accounts o k body swagger:model ListInfrastructureAccountsOKBody
func (*ListInfrastructureAccountsOKBody) ContextValidate ¶
func (o *ListInfrastructureAccountsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list infrastructure accounts o k body based on the context it is used
func (*ListInfrastructureAccountsOKBody) MarshalBinary ¶
func (o *ListInfrastructureAccountsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListInfrastructureAccountsOKBody) UnmarshalBinary ¶
func (o *ListInfrastructureAccountsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListInfrastructureAccountsParams ¶
type ListInfrastructureAccountsParams struct { /* CostCenter. Filter on cost center number. */ CostCenter *string /* CriticalityLevel. Filter on criticality level. Format: int32 */ CriticalityLevel *int32 /* Environment. Filter on environment. */ Environment *string /* ExternalID. Filter on external id. */ ExternalID *string /* LifecycleStatus. Filter on cluster lifecycle status. */ LifecycleStatus *string /* Name. Filter on name. */ Name *string /* Owner. Filter on owner. */ Owner *string /* Type. Filter on type. */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListInfrastructureAccountsParams contains all the parameters to send to the API endpoint
for the list infrastructure accounts operation. Typically these are written to a http.Request.
func NewListInfrastructureAccountsParams ¶
func NewListInfrastructureAccountsParams() *ListInfrastructureAccountsParams
NewListInfrastructureAccountsParams creates a new ListInfrastructureAccountsParams 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 NewListInfrastructureAccountsParamsWithContext ¶
func NewListInfrastructureAccountsParamsWithContext(ctx context.Context) *ListInfrastructureAccountsParams
NewListInfrastructureAccountsParamsWithContext creates a new ListInfrastructureAccountsParams object with the ability to set a context for a request.
func NewListInfrastructureAccountsParamsWithHTTPClient ¶
func NewListInfrastructureAccountsParamsWithHTTPClient(client *http.Client) *ListInfrastructureAccountsParams
NewListInfrastructureAccountsParamsWithHTTPClient creates a new ListInfrastructureAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewListInfrastructureAccountsParamsWithTimeout ¶
func NewListInfrastructureAccountsParamsWithTimeout(timeout time.Duration) *ListInfrastructureAccountsParams
NewListInfrastructureAccountsParamsWithTimeout creates a new ListInfrastructureAccountsParams object with the ability to set a timeout on a request.
func (*ListInfrastructureAccountsParams) SetContext ¶
func (o *ListInfrastructureAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetCostCenter ¶
func (o *ListInfrastructureAccountsParams) SetCostCenter(costCenter *string)
SetCostCenter adds the costCenter to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetCriticalityLevel ¶
func (o *ListInfrastructureAccountsParams) SetCriticalityLevel(criticalityLevel *int32)
SetCriticalityLevel adds the criticalityLevel to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetDefaults ¶
func (o *ListInfrastructureAccountsParams) SetDefaults()
SetDefaults hydrates default values in the list infrastructure accounts params (not the query body).
All values with no default are reset to their zero value.
func (*ListInfrastructureAccountsParams) SetEnvironment ¶
func (o *ListInfrastructureAccountsParams) SetEnvironment(environment *string)
SetEnvironment adds the environment to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetExternalID ¶
func (o *ListInfrastructureAccountsParams) SetExternalID(externalID *string)
SetExternalID adds the externalId to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetHTTPClient ¶
func (o *ListInfrastructureAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetLifecycleStatus ¶
func (o *ListInfrastructureAccountsParams) SetLifecycleStatus(lifecycleStatus *string)
SetLifecycleStatus adds the lifecycleStatus to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetName ¶
func (o *ListInfrastructureAccountsParams) SetName(name *string)
SetName adds the name to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetOwner ¶
func (o *ListInfrastructureAccountsParams) SetOwner(owner *string)
SetOwner adds the owner to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetTimeout ¶
func (o *ListInfrastructureAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) SetType ¶
func (o *ListInfrastructureAccountsParams) SetType(typeVar *string)
SetType adds the type to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithContext ¶
func (o *ListInfrastructureAccountsParams) WithContext(ctx context.Context) *ListInfrastructureAccountsParams
WithContext adds the context to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithCostCenter ¶
func (o *ListInfrastructureAccountsParams) WithCostCenter(costCenter *string) *ListInfrastructureAccountsParams
WithCostCenter adds the costCenter to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithCriticalityLevel ¶
func (o *ListInfrastructureAccountsParams) WithCriticalityLevel(criticalityLevel *int32) *ListInfrastructureAccountsParams
WithCriticalityLevel adds the criticalityLevel to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithDefaults ¶
func (o *ListInfrastructureAccountsParams) WithDefaults() *ListInfrastructureAccountsParams
WithDefaults hydrates default values in the list infrastructure accounts params (not the query body).
All values with no default are reset to their zero value.
func (*ListInfrastructureAccountsParams) WithEnvironment ¶
func (o *ListInfrastructureAccountsParams) WithEnvironment(environment *string) *ListInfrastructureAccountsParams
WithEnvironment adds the environment to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithExternalID ¶
func (o *ListInfrastructureAccountsParams) WithExternalID(externalID *string) *ListInfrastructureAccountsParams
WithExternalID adds the externalID to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithHTTPClient ¶
func (o *ListInfrastructureAccountsParams) WithHTTPClient(client *http.Client) *ListInfrastructureAccountsParams
WithHTTPClient adds the HTTPClient to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithLifecycleStatus ¶
func (o *ListInfrastructureAccountsParams) WithLifecycleStatus(lifecycleStatus *string) *ListInfrastructureAccountsParams
WithLifecycleStatus adds the lifecycleStatus to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithName ¶
func (o *ListInfrastructureAccountsParams) WithName(name *string) *ListInfrastructureAccountsParams
WithName adds the name to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithOwner ¶
func (o *ListInfrastructureAccountsParams) WithOwner(owner *string) *ListInfrastructureAccountsParams
WithOwner adds the owner to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithTimeout ¶
func (o *ListInfrastructureAccountsParams) WithTimeout(timeout time.Duration) *ListInfrastructureAccountsParams
WithTimeout adds the timeout to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WithType ¶
func (o *ListInfrastructureAccountsParams) WithType(typeVar *string) *ListInfrastructureAccountsParams
WithType adds the typeVar to the list infrastructure accounts params
func (*ListInfrastructureAccountsParams) WriteToRequest ¶
func (o *ListInfrastructureAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListInfrastructureAccountsReader ¶
type ListInfrastructureAccountsReader struct {
// contains filtered or unexported fields
}
ListInfrastructureAccountsReader is a Reader for the ListInfrastructureAccounts structure.
func (*ListInfrastructureAccountsReader) ReadResponse ¶
func (o *ListInfrastructureAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListInfrastructureAccountsUnauthorized ¶
type ListInfrastructureAccountsUnauthorized struct { }
ListInfrastructureAccountsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListInfrastructureAccountsUnauthorized ¶
func NewListInfrastructureAccountsUnauthorized() *ListInfrastructureAccountsUnauthorized
NewListInfrastructureAccountsUnauthorized creates a ListInfrastructureAccountsUnauthorized with default headers values
func (*ListInfrastructureAccountsUnauthorized) Code ¶
func (o *ListInfrastructureAccountsUnauthorized) Code() int
Code gets the status code for the list infrastructure accounts unauthorized response
func (*ListInfrastructureAccountsUnauthorized) Error ¶
func (o *ListInfrastructureAccountsUnauthorized) Error() string
func (*ListInfrastructureAccountsUnauthorized) IsClientError ¶
func (o *ListInfrastructureAccountsUnauthorized) IsClientError() bool
IsClientError returns true when this list infrastructure accounts unauthorized response has a 4xx status code
func (*ListInfrastructureAccountsUnauthorized) IsCode ¶
func (o *ListInfrastructureAccountsUnauthorized) IsCode(code int) bool
IsCode returns true when this list infrastructure accounts unauthorized response a status code equal to that given
func (*ListInfrastructureAccountsUnauthorized) IsRedirect ¶
func (o *ListInfrastructureAccountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list infrastructure accounts unauthorized response has a 3xx status code
func (*ListInfrastructureAccountsUnauthorized) IsServerError ¶
func (o *ListInfrastructureAccountsUnauthorized) IsServerError() bool
IsServerError returns true when this list infrastructure accounts unauthorized response has a 5xx status code
func (*ListInfrastructureAccountsUnauthorized) IsSuccess ¶
func (o *ListInfrastructureAccountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list infrastructure accounts unauthorized response has a 2xx status code
func (*ListInfrastructureAccountsUnauthorized) String ¶
func (o *ListInfrastructureAccountsUnauthorized) String() string
type UpdateInfrastructureAccountForbidden ¶
type UpdateInfrastructureAccountForbidden struct { }
UpdateInfrastructureAccountForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateInfrastructureAccountForbidden ¶
func NewUpdateInfrastructureAccountForbidden() *UpdateInfrastructureAccountForbidden
NewUpdateInfrastructureAccountForbidden creates a UpdateInfrastructureAccountForbidden with default headers values
func (*UpdateInfrastructureAccountForbidden) Code ¶
func (o *UpdateInfrastructureAccountForbidden) Code() int
Code gets the status code for the update infrastructure account forbidden response
func (*UpdateInfrastructureAccountForbidden) Error ¶
func (o *UpdateInfrastructureAccountForbidden) Error() string
func (*UpdateInfrastructureAccountForbidden) IsClientError ¶
func (o *UpdateInfrastructureAccountForbidden) IsClientError() bool
IsClientError returns true when this update infrastructure account forbidden response has a 4xx status code
func (*UpdateInfrastructureAccountForbidden) IsCode ¶
func (o *UpdateInfrastructureAccountForbidden) IsCode(code int) bool
IsCode returns true when this update infrastructure account forbidden response a status code equal to that given
func (*UpdateInfrastructureAccountForbidden) IsRedirect ¶
func (o *UpdateInfrastructureAccountForbidden) IsRedirect() bool
IsRedirect returns true when this update infrastructure account forbidden response has a 3xx status code
func (*UpdateInfrastructureAccountForbidden) IsServerError ¶
func (o *UpdateInfrastructureAccountForbidden) IsServerError() bool
IsServerError returns true when this update infrastructure account forbidden response has a 5xx status code
func (*UpdateInfrastructureAccountForbidden) IsSuccess ¶
func (o *UpdateInfrastructureAccountForbidden) IsSuccess() bool
IsSuccess returns true when this update infrastructure account forbidden response has a 2xx status code
func (*UpdateInfrastructureAccountForbidden) String ¶
func (o *UpdateInfrastructureAccountForbidden) String() string
type UpdateInfrastructureAccountInternalServerError ¶
UpdateInfrastructureAccountInternalServerError describes a response with status code 500, with default header values.
Unexpected error
func NewUpdateInfrastructureAccountInternalServerError ¶
func NewUpdateInfrastructureAccountInternalServerError() *UpdateInfrastructureAccountInternalServerError
NewUpdateInfrastructureAccountInternalServerError creates a UpdateInfrastructureAccountInternalServerError with default headers values
func (*UpdateInfrastructureAccountInternalServerError) Code ¶
func (o *UpdateInfrastructureAccountInternalServerError) Code() int
Code gets the status code for the update infrastructure account internal server error response
func (*UpdateInfrastructureAccountInternalServerError) Error ¶
func (o *UpdateInfrastructureAccountInternalServerError) Error() string
func (*UpdateInfrastructureAccountInternalServerError) GetPayload ¶
func (o *UpdateInfrastructureAccountInternalServerError) GetPayload() *models.Error
func (*UpdateInfrastructureAccountInternalServerError) IsClientError ¶
func (o *UpdateInfrastructureAccountInternalServerError) IsClientError() bool
IsClientError returns true when this update infrastructure account internal server error response has a 4xx status code
func (*UpdateInfrastructureAccountInternalServerError) IsCode ¶
func (o *UpdateInfrastructureAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this update infrastructure account internal server error response a status code equal to that given
func (*UpdateInfrastructureAccountInternalServerError) IsRedirect ¶
func (o *UpdateInfrastructureAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this update infrastructure account internal server error response has a 3xx status code
func (*UpdateInfrastructureAccountInternalServerError) IsServerError ¶
func (o *UpdateInfrastructureAccountInternalServerError) IsServerError() bool
IsServerError returns true when this update infrastructure account internal server error response has a 5xx status code
func (*UpdateInfrastructureAccountInternalServerError) IsSuccess ¶
func (o *UpdateInfrastructureAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this update infrastructure account internal server error response has a 2xx status code
func (*UpdateInfrastructureAccountInternalServerError) String ¶
func (o *UpdateInfrastructureAccountInternalServerError) String() string
type UpdateInfrastructureAccountNotFound ¶
type UpdateInfrastructureAccountNotFound struct { }
UpdateInfrastructureAccountNotFound describes a response with status code 404, with default header values.
InfrastructureAccount not found
func NewUpdateInfrastructureAccountNotFound ¶
func NewUpdateInfrastructureAccountNotFound() *UpdateInfrastructureAccountNotFound
NewUpdateInfrastructureAccountNotFound creates a UpdateInfrastructureAccountNotFound with default headers values
func (*UpdateInfrastructureAccountNotFound) Code ¶
func (o *UpdateInfrastructureAccountNotFound) Code() int
Code gets the status code for the update infrastructure account not found response
func (*UpdateInfrastructureAccountNotFound) Error ¶
func (o *UpdateInfrastructureAccountNotFound) Error() string
func (*UpdateInfrastructureAccountNotFound) IsClientError ¶
func (o *UpdateInfrastructureAccountNotFound) IsClientError() bool
IsClientError returns true when this update infrastructure account not found response has a 4xx status code
func (*UpdateInfrastructureAccountNotFound) IsCode ¶
func (o *UpdateInfrastructureAccountNotFound) IsCode(code int) bool
IsCode returns true when this update infrastructure account not found response a status code equal to that given
func (*UpdateInfrastructureAccountNotFound) IsRedirect ¶
func (o *UpdateInfrastructureAccountNotFound) IsRedirect() bool
IsRedirect returns true when this update infrastructure account not found response has a 3xx status code
func (*UpdateInfrastructureAccountNotFound) IsServerError ¶
func (o *UpdateInfrastructureAccountNotFound) IsServerError() bool
IsServerError returns true when this update infrastructure account not found response has a 5xx status code
func (*UpdateInfrastructureAccountNotFound) IsSuccess ¶
func (o *UpdateInfrastructureAccountNotFound) IsSuccess() bool
IsSuccess returns true when this update infrastructure account not found response has a 2xx status code
func (*UpdateInfrastructureAccountNotFound) String ¶
func (o *UpdateInfrastructureAccountNotFound) String() string
type UpdateInfrastructureAccountOK ¶
type UpdateInfrastructureAccountOK struct {
Payload *models.InfrastructureAccount
}
UpdateInfrastructureAccountOK describes a response with status code 200, with default header values.
The infrastructure account update request is accepted
func NewUpdateInfrastructureAccountOK ¶
func NewUpdateInfrastructureAccountOK() *UpdateInfrastructureAccountOK
NewUpdateInfrastructureAccountOK creates a UpdateInfrastructureAccountOK with default headers values
func (*UpdateInfrastructureAccountOK) Code ¶
func (o *UpdateInfrastructureAccountOK) Code() int
Code gets the status code for the update infrastructure account o k response
func (*UpdateInfrastructureAccountOK) Error ¶
func (o *UpdateInfrastructureAccountOK) Error() string
func (*UpdateInfrastructureAccountOK) GetPayload ¶
func (o *UpdateInfrastructureAccountOK) GetPayload() *models.InfrastructureAccount
func (*UpdateInfrastructureAccountOK) IsClientError ¶
func (o *UpdateInfrastructureAccountOK) IsClientError() bool
IsClientError returns true when this update infrastructure account o k response has a 4xx status code
func (*UpdateInfrastructureAccountOK) IsCode ¶
func (o *UpdateInfrastructureAccountOK) IsCode(code int) bool
IsCode returns true when this update infrastructure account o k response a status code equal to that given
func (*UpdateInfrastructureAccountOK) IsRedirect ¶
func (o *UpdateInfrastructureAccountOK) IsRedirect() bool
IsRedirect returns true when this update infrastructure account o k response has a 3xx status code
func (*UpdateInfrastructureAccountOK) IsServerError ¶
func (o *UpdateInfrastructureAccountOK) IsServerError() bool
IsServerError returns true when this update infrastructure account o k response has a 5xx status code
func (*UpdateInfrastructureAccountOK) IsSuccess ¶
func (o *UpdateInfrastructureAccountOK) IsSuccess() bool
IsSuccess returns true when this update infrastructure account o k response has a 2xx status code
func (*UpdateInfrastructureAccountOK) String ¶
func (o *UpdateInfrastructureAccountOK) String() string
type UpdateInfrastructureAccountParams ¶
type UpdateInfrastructureAccountParams struct { /* AccountID. ID of the infrastructure account. */ AccountID string /* InfrastructureAccount. Infrastructure Account that will be updated. */ InfrastructureAccount *models.InfrastructureAccountUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateInfrastructureAccountParams contains all the parameters to send to the API endpoint
for the update infrastructure account operation. Typically these are written to a http.Request.
func NewUpdateInfrastructureAccountParams ¶
func NewUpdateInfrastructureAccountParams() *UpdateInfrastructureAccountParams
NewUpdateInfrastructureAccountParams creates a new UpdateInfrastructureAccountParams 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 NewUpdateInfrastructureAccountParamsWithContext ¶
func NewUpdateInfrastructureAccountParamsWithContext(ctx context.Context) *UpdateInfrastructureAccountParams
NewUpdateInfrastructureAccountParamsWithContext creates a new UpdateInfrastructureAccountParams object with the ability to set a context for a request.
func NewUpdateInfrastructureAccountParamsWithHTTPClient ¶
func NewUpdateInfrastructureAccountParamsWithHTTPClient(client *http.Client) *UpdateInfrastructureAccountParams
NewUpdateInfrastructureAccountParamsWithHTTPClient creates a new UpdateInfrastructureAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateInfrastructureAccountParamsWithTimeout ¶
func NewUpdateInfrastructureAccountParamsWithTimeout(timeout time.Duration) *UpdateInfrastructureAccountParams
NewUpdateInfrastructureAccountParamsWithTimeout creates a new UpdateInfrastructureAccountParams object with the ability to set a timeout on a request.
func (*UpdateInfrastructureAccountParams) SetAccountID ¶
func (o *UpdateInfrastructureAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) SetContext ¶
func (o *UpdateInfrastructureAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) SetDefaults ¶
func (o *UpdateInfrastructureAccountParams) SetDefaults()
SetDefaults hydrates default values in the update infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateInfrastructureAccountParams) SetHTTPClient ¶
func (o *UpdateInfrastructureAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) SetInfrastructureAccount ¶
func (o *UpdateInfrastructureAccountParams) SetInfrastructureAccount(infrastructureAccount *models.InfrastructureAccountUpdate)
SetInfrastructureAccount adds the infrastructureAccount to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) SetTimeout ¶
func (o *UpdateInfrastructureAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WithAccountID ¶
func (o *UpdateInfrastructureAccountParams) WithAccountID(accountID string) *UpdateInfrastructureAccountParams
WithAccountID adds the accountID to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WithContext ¶
func (o *UpdateInfrastructureAccountParams) WithContext(ctx context.Context) *UpdateInfrastructureAccountParams
WithContext adds the context to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WithDefaults ¶
func (o *UpdateInfrastructureAccountParams) WithDefaults() *UpdateInfrastructureAccountParams
WithDefaults hydrates default values in the update infrastructure account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateInfrastructureAccountParams) WithHTTPClient ¶
func (o *UpdateInfrastructureAccountParams) WithHTTPClient(client *http.Client) *UpdateInfrastructureAccountParams
WithHTTPClient adds the HTTPClient to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WithInfrastructureAccount ¶
func (o *UpdateInfrastructureAccountParams) WithInfrastructureAccount(infrastructureAccount *models.InfrastructureAccountUpdate) *UpdateInfrastructureAccountParams
WithInfrastructureAccount adds the infrastructureAccount to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WithTimeout ¶
func (o *UpdateInfrastructureAccountParams) WithTimeout(timeout time.Duration) *UpdateInfrastructureAccountParams
WithTimeout adds the timeout to the update infrastructure account params
func (*UpdateInfrastructureAccountParams) WriteToRequest ¶
func (o *UpdateInfrastructureAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateInfrastructureAccountReader ¶
type UpdateInfrastructureAccountReader struct {
// contains filtered or unexported fields
}
UpdateInfrastructureAccountReader is a Reader for the UpdateInfrastructureAccount structure.
func (*UpdateInfrastructureAccountReader) ReadResponse ¶
func (o *UpdateInfrastructureAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateInfrastructureAccountUnauthorized ¶
type UpdateInfrastructureAccountUnauthorized struct { }
UpdateInfrastructureAccountUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateInfrastructureAccountUnauthorized ¶
func NewUpdateInfrastructureAccountUnauthorized() *UpdateInfrastructureAccountUnauthorized
NewUpdateInfrastructureAccountUnauthorized creates a UpdateInfrastructureAccountUnauthorized with default headers values
func (*UpdateInfrastructureAccountUnauthorized) Code ¶
func (o *UpdateInfrastructureAccountUnauthorized) Code() int
Code gets the status code for the update infrastructure account unauthorized response
func (*UpdateInfrastructureAccountUnauthorized) Error ¶
func (o *UpdateInfrastructureAccountUnauthorized) Error() string
func (*UpdateInfrastructureAccountUnauthorized) IsClientError ¶
func (o *UpdateInfrastructureAccountUnauthorized) IsClientError() bool
IsClientError returns true when this update infrastructure account unauthorized response has a 4xx status code
func (*UpdateInfrastructureAccountUnauthorized) IsCode ¶
func (o *UpdateInfrastructureAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this update infrastructure account unauthorized response a status code equal to that given
func (*UpdateInfrastructureAccountUnauthorized) IsRedirect ¶
func (o *UpdateInfrastructureAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this update infrastructure account unauthorized response has a 3xx status code
func (*UpdateInfrastructureAccountUnauthorized) IsServerError ¶
func (o *UpdateInfrastructureAccountUnauthorized) IsServerError() bool
IsServerError returns true when this update infrastructure account unauthorized response has a 5xx status code
func (*UpdateInfrastructureAccountUnauthorized) IsSuccess ¶
func (o *UpdateInfrastructureAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this update infrastructure account unauthorized response has a 2xx status code
func (*UpdateInfrastructureAccountUnauthorized) String ¶
func (o *UpdateInfrastructureAccountUnauthorized) String() string
Source Files
¶
- create_infrastructure_account_parameters.go
- create_infrastructure_account_responses.go
- get_infrastructure_account_parameters.go
- get_infrastructure_account_responses.go
- infrastructure_accounts_client.go
- list_infrastructure_accounts_parameters.go
- list_infrastructure_accounts_responses.go
- update_infrastructure_account_parameters.go
- update_infrastructure_account_responses.go