Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNetwork(params *CreateNetworkParams, opts ...ClientOption) (*CreateNetworkAccepted, error)
- func (a *Client) DeleteNetwork(params *DeleteNetworkParams, opts ...ClientOption) (*DeleteNetworkAccepted, error)
- func (a *Client) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams, opts ...ClientOption) (*GetMachineNetworkInterfaceOK, error)
- func (a *Client) GetNetwork(params *GetNetworkParams, opts ...ClientOption) (*GetNetworkOK, error)
- func (a *Client) GetNetworkDomain(params *GetNetworkDomainParams, opts ...ClientOption) (*GetNetworkDomainOK, error)
- func (a *Client) GetNetworkDomains(params *GetNetworkDomainsParams, opts ...ClientOption) (*GetNetworkDomainsOK, error)
- func (a *Client) GetNetworks(params *GetNetworksParams, opts ...ClientOption) (*GetNetworksOK, error)
- func (a *Client) PatchMachineNetworkInterface(params *PatchMachineNetworkInterfaceParams, opts ...ClientOption) (*PatchMachineNetworkInterfaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateNetworkAccepted
- func (o *CreateNetworkAccepted) Error() string
- func (o *CreateNetworkAccepted) GetPayload() *models.RequestTracker
- func (o *CreateNetworkAccepted) IsClientError() bool
- func (o *CreateNetworkAccepted) IsCode(code int) bool
- func (o *CreateNetworkAccepted) IsRedirect() bool
- func (o *CreateNetworkAccepted) IsServerError() bool
- func (o *CreateNetworkAccepted) IsSuccess() bool
- func (o *CreateNetworkAccepted) String() string
- type CreateNetworkBadRequest
- func (o *CreateNetworkBadRequest) Error() string
- func (o *CreateNetworkBadRequest) GetPayload() *models.Error
- func (o *CreateNetworkBadRequest) IsClientError() bool
- func (o *CreateNetworkBadRequest) IsCode(code int) bool
- func (o *CreateNetworkBadRequest) IsRedirect() bool
- func (o *CreateNetworkBadRequest) IsServerError() bool
- func (o *CreateNetworkBadRequest) IsSuccess() bool
- func (o *CreateNetworkBadRequest) String() string
- type CreateNetworkForbidden
- func (o *CreateNetworkForbidden) Error() string
- func (o *CreateNetworkForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *CreateNetworkForbidden) IsClientError() bool
- func (o *CreateNetworkForbidden) IsCode(code int) bool
- func (o *CreateNetworkForbidden) IsRedirect() bool
- func (o *CreateNetworkForbidden) IsServerError() bool
- func (o *CreateNetworkForbidden) IsSuccess() bool
- func (o *CreateNetworkForbidden) String() string
- type CreateNetworkParams
- func (o *CreateNetworkParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateNetworkParams) SetBody(body *models.NetworkSpecification)
- func (o *CreateNetworkParams) SetContext(ctx context.Context)
- func (o *CreateNetworkParams) SetDefaults()
- func (o *CreateNetworkParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkParams) WithAPIVersion(aPIVersion *string) *CreateNetworkParams
- func (o *CreateNetworkParams) WithBody(body *models.NetworkSpecification) *CreateNetworkParams
- func (o *CreateNetworkParams) WithContext(ctx context.Context) *CreateNetworkParams
- func (o *CreateNetworkParams) WithDefaults() *CreateNetworkParams
- func (o *CreateNetworkParams) WithHTTPClient(client *http.Client) *CreateNetworkParams
- func (o *CreateNetworkParams) WithTimeout(timeout time.Duration) *CreateNetworkParams
- func (o *CreateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkReader
- type DeleteNetworkAccepted
- func (o *DeleteNetworkAccepted) Error() string
- func (o *DeleteNetworkAccepted) GetPayload() *models.RequestTracker
- func (o *DeleteNetworkAccepted) IsClientError() bool
- func (o *DeleteNetworkAccepted) IsCode(code int) bool
- func (o *DeleteNetworkAccepted) IsRedirect() bool
- func (o *DeleteNetworkAccepted) IsServerError() bool
- func (o *DeleteNetworkAccepted) IsSuccess() bool
- func (o *DeleteNetworkAccepted) String() string
- type DeleteNetworkForbidden
- func (o *DeleteNetworkForbidden) Error() string
- func (o *DeleteNetworkForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *DeleteNetworkForbidden) IsClientError() bool
- func (o *DeleteNetworkForbidden) IsCode(code int) bool
- func (o *DeleteNetworkForbidden) IsRedirect() bool
- func (o *DeleteNetworkForbidden) IsServerError() bool
- func (o *DeleteNetworkForbidden) IsSuccess() bool
- func (o *DeleteNetworkForbidden) String() string
- type DeleteNetworkParams
- func (o *DeleteNetworkParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteNetworkParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkParams) SetDefaults()
- func (o *DeleteNetworkParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteNetworkParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkParams) SetID(id string)
- func (o *DeleteNetworkParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithContext(ctx context.Context) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithDefaults() *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithForceDelete(forceDelete *bool) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithHTTPClient(client *http.Client) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithID(id string) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WithTimeout(timeout time.Duration) *DeleteNetworkParams
- func (o *DeleteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkReader
- type GetMachineNetworkInterfaceForbidden
- func (o *GetMachineNetworkInterfaceForbidden) Error() string
- func (o *GetMachineNetworkInterfaceForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetMachineNetworkInterfaceForbidden) IsClientError() bool
- func (o *GetMachineNetworkInterfaceForbidden) IsCode(code int) bool
- func (o *GetMachineNetworkInterfaceForbidden) IsRedirect() bool
- func (o *GetMachineNetworkInterfaceForbidden) IsServerError() bool
- func (o *GetMachineNetworkInterfaceForbidden) IsSuccess() bool
- func (o *GetMachineNetworkInterfaceForbidden) String() string
- type GetMachineNetworkInterfaceNotFound
- func (o *GetMachineNetworkInterfaceNotFound) Error() string
- func (o *GetMachineNetworkInterfaceNotFound) GetPayload() *models.Error
- func (o *GetMachineNetworkInterfaceNotFound) IsClientError() bool
- func (o *GetMachineNetworkInterfaceNotFound) IsCode(code int) bool
- func (o *GetMachineNetworkInterfaceNotFound) IsRedirect() bool
- func (o *GetMachineNetworkInterfaceNotFound) IsServerError() bool
- func (o *GetMachineNetworkInterfaceNotFound) IsSuccess() bool
- func (o *GetMachineNetworkInterfaceNotFound) String() string
- type GetMachineNetworkInterfaceOK
- func (o *GetMachineNetworkInterfaceOK) Error() string
- func (o *GetMachineNetworkInterfaceOK) GetPayload() *models.NetworkInterface
- func (o *GetMachineNetworkInterfaceOK) IsClientError() bool
- func (o *GetMachineNetworkInterfaceOK) IsCode(code int) bool
- func (o *GetMachineNetworkInterfaceOK) IsRedirect() bool
- func (o *GetMachineNetworkInterfaceOK) IsServerError() bool
- func (o *GetMachineNetworkInterfaceOK) IsSuccess() bool
- func (o *GetMachineNetworkInterfaceOK) String() string
- type GetMachineNetworkInterfaceParams
- func NewGetMachineNetworkInterfaceParams() *GetMachineNetworkInterfaceParams
- func NewGetMachineNetworkInterfaceParamsWithContext(ctx context.Context) *GetMachineNetworkInterfaceParams
- func NewGetMachineNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams
- func NewGetMachineNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineNetworkInterfaceParams) SetContext(ctx context.Context)
- func (o *GetMachineNetworkInterfaceParams) SetDefaults()
- func (o *GetMachineNetworkInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineNetworkInterfaceParams) SetID(id string)
- func (o *GetMachineNetworkInterfaceParams) SetNetworkID(networkID string)
- func (o *GetMachineNetworkInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineNetworkInterfaceParams) WithAPIVersion(aPIVersion *string) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithContext(ctx context.Context) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithDefaults() *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithID(id string) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithNetworkID(networkID string) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithTimeout(timeout time.Duration) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineNetworkInterfaceReader
- type GetNetworkDomainForbidden
- func (o *GetNetworkDomainForbidden) Error() string
- func (o *GetNetworkDomainForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetNetworkDomainForbidden) IsClientError() bool
- func (o *GetNetworkDomainForbidden) IsCode(code int) bool
- func (o *GetNetworkDomainForbidden) IsRedirect() bool
- func (o *GetNetworkDomainForbidden) IsServerError() bool
- func (o *GetNetworkDomainForbidden) IsSuccess() bool
- func (o *GetNetworkDomainForbidden) String() string
- type GetNetworkDomainNotFound
- func (o *GetNetworkDomainNotFound) Error() string
- func (o *GetNetworkDomainNotFound) GetPayload() *models.Error
- func (o *GetNetworkDomainNotFound) IsClientError() bool
- func (o *GetNetworkDomainNotFound) IsCode(code int) bool
- func (o *GetNetworkDomainNotFound) IsRedirect() bool
- func (o *GetNetworkDomainNotFound) IsServerError() bool
- func (o *GetNetworkDomainNotFound) IsSuccess() bool
- func (o *GetNetworkDomainNotFound) String() string
- type GetNetworkDomainOK
- func (o *GetNetworkDomainOK) Error() string
- func (o *GetNetworkDomainOK) GetPayload() *models.NetworkDomain
- func (o *GetNetworkDomainOK) IsClientError() bool
- func (o *GetNetworkDomainOK) IsCode(code int) bool
- func (o *GetNetworkDomainOK) IsRedirect() bool
- func (o *GetNetworkDomainOK) IsServerError() bool
- func (o *GetNetworkDomainOK) IsSuccess() bool
- func (o *GetNetworkDomainOK) String() string
- type GetNetworkDomainParams
- func NewGetNetworkDomainParams() *GetNetworkDomainParams
- func NewGetNetworkDomainParamsWithContext(ctx context.Context) *GetNetworkDomainParams
- func NewGetNetworkDomainParamsWithHTTPClient(client *http.Client) *GetNetworkDomainParams
- func NewGetNetworkDomainParamsWithTimeout(timeout time.Duration) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkDomainParams) SetContext(ctx context.Context)
- func (o *GetNetworkDomainParams) SetDefaults()
- func (o *GetNetworkDomainParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkDomainParams) SetID(id string)
- func (o *GetNetworkDomainParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkDomainParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WithContext(ctx context.Context) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WithDefaults() *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WithHTTPClient(client *http.Client) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WithID(id string) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WithTimeout(timeout time.Duration) *GetNetworkDomainParams
- func (o *GetNetworkDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkDomainReader
- type GetNetworkDomainsForbidden
- func (o *GetNetworkDomainsForbidden) Error() string
- func (o *GetNetworkDomainsForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetNetworkDomainsForbidden) IsClientError() bool
- func (o *GetNetworkDomainsForbidden) IsCode(code int) bool
- func (o *GetNetworkDomainsForbidden) IsRedirect() bool
- func (o *GetNetworkDomainsForbidden) IsServerError() bool
- func (o *GetNetworkDomainsForbidden) IsSuccess() bool
- func (o *GetNetworkDomainsForbidden) String() string
- type GetNetworkDomainsOK
- func (o *GetNetworkDomainsOK) Error() string
- func (o *GetNetworkDomainsOK) GetPayload() *models.NetworkDomainResult
- func (o *GetNetworkDomainsOK) IsClientError() bool
- func (o *GetNetworkDomainsOK) IsCode(code int) bool
- func (o *GetNetworkDomainsOK) IsRedirect() bool
- func (o *GetNetworkDomainsOK) IsServerError() bool
- func (o *GetNetworkDomainsOK) IsSuccess() bool
- func (o *GetNetworkDomainsOK) String() string
- type GetNetworkDomainsParams
- func NewGetNetworkDomainsParams() *GetNetworkDomainsParams
- func NewGetNetworkDomainsParamsWithContext(ctx context.Context) *GetNetworkDomainsParams
- func NewGetNetworkDomainsParamsWithHTTPClient(client *http.Client) *GetNetworkDomainsParams
- func NewGetNetworkDomainsParamsWithTimeout(timeout time.Duration) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkDomainsParams) SetContext(ctx context.Context)
- func (o *GetNetworkDomainsParams) SetDefaults()
- func (o *GetNetworkDomainsParams) SetDollarFilter(dollarFilter *string)
- func (o *GetNetworkDomainsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkDomainsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkDomainsParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WithContext(ctx context.Context) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WithDefaults() *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WithDollarFilter(dollarFilter *string) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WithHTTPClient(client *http.Client) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WithTimeout(timeout time.Duration) *GetNetworkDomainsParams
- func (o *GetNetworkDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkDomainsReader
- type GetNetworkForbidden
- func (o *GetNetworkForbidden) Error() string
- func (o *GetNetworkForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetNetworkForbidden) IsClientError() bool
- func (o *GetNetworkForbidden) IsCode(code int) bool
- func (o *GetNetworkForbidden) IsRedirect() bool
- func (o *GetNetworkForbidden) IsServerError() bool
- func (o *GetNetworkForbidden) IsSuccess() bool
- func (o *GetNetworkForbidden) String() string
- type GetNetworkNotFound
- func (o *GetNetworkNotFound) Error() string
- func (o *GetNetworkNotFound) GetPayload() *models.Error
- func (o *GetNetworkNotFound) IsClientError() bool
- func (o *GetNetworkNotFound) IsCode(code int) bool
- func (o *GetNetworkNotFound) IsRedirect() bool
- func (o *GetNetworkNotFound) IsServerError() bool
- func (o *GetNetworkNotFound) IsSuccess() bool
- func (o *GetNetworkNotFound) String() string
- type GetNetworkOK
- func (o *GetNetworkOK) Error() string
- func (o *GetNetworkOK) GetPayload() *models.Network
- func (o *GetNetworkOK) IsClientError() bool
- func (o *GetNetworkOK) IsCode(code int) bool
- func (o *GetNetworkOK) IsRedirect() bool
- func (o *GetNetworkOK) IsServerError() bool
- func (o *GetNetworkOK) IsSuccess() bool
- func (o *GetNetworkOK) String() string
- type GetNetworkParams
- func (o *GetNetworkParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkParams) SetContext(ctx context.Context)
- func (o *GetNetworkParams) SetDefaults()
- func (o *GetNetworkParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkParams) SetID(id string)
- func (o *GetNetworkParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkParams) WithAPIVersion(aPIVersion *string) *GetNetworkParams
- func (o *GetNetworkParams) WithContext(ctx context.Context) *GetNetworkParams
- func (o *GetNetworkParams) WithDefaults() *GetNetworkParams
- func (o *GetNetworkParams) WithHTTPClient(client *http.Client) *GetNetworkParams
- func (o *GetNetworkParams) WithID(id string) *GetNetworkParams
- func (o *GetNetworkParams) WithTimeout(timeout time.Duration) *GetNetworkParams
- func (o *GetNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkReader
- type GetNetworksForbidden
- func (o *GetNetworksForbidden) Error() string
- func (o *GetNetworksForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetNetworksForbidden) IsClientError() bool
- func (o *GetNetworksForbidden) IsCode(code int) bool
- func (o *GetNetworksForbidden) IsRedirect() bool
- func (o *GetNetworksForbidden) IsServerError() bool
- func (o *GetNetworksForbidden) IsSuccess() bool
- func (o *GetNetworksForbidden) String() string
- type GetNetworksOK
- func (o *GetNetworksOK) Error() string
- func (o *GetNetworksOK) GetPayload() *models.NetworkResult
- func (o *GetNetworksOK) IsClientError() bool
- func (o *GetNetworksOK) IsCode(code int) bool
- func (o *GetNetworksOK) IsRedirect() bool
- func (o *GetNetworksOK) IsServerError() bool
- func (o *GetNetworksOK) IsSuccess() bool
- func (o *GetNetworksOK) String() string
- type GetNetworksParams
- func (o *GetNetworksParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworksParams) SetContext(ctx context.Context)
- func (o *GetNetworksParams) SetDefaults()
- func (o *GetNetworksParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworksParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworksParams) WithAPIVersion(aPIVersion *string) *GetNetworksParams
- func (o *GetNetworksParams) WithContext(ctx context.Context) *GetNetworksParams
- func (o *GetNetworksParams) WithDefaults() *GetNetworksParams
- func (o *GetNetworksParams) WithHTTPClient(client *http.Client) *GetNetworksParams
- func (o *GetNetworksParams) WithTimeout(timeout time.Duration) *GetNetworksParams
- func (o *GetNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworksReader
- type PatchMachineNetworkInterfaceForbidden
- func (o *PatchMachineNetworkInterfaceForbidden) Error() string
- func (o *PatchMachineNetworkInterfaceForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *PatchMachineNetworkInterfaceForbidden) IsClientError() bool
- func (o *PatchMachineNetworkInterfaceForbidden) IsCode(code int) bool
- func (o *PatchMachineNetworkInterfaceForbidden) IsRedirect() bool
- func (o *PatchMachineNetworkInterfaceForbidden) IsServerError() bool
- func (o *PatchMachineNetworkInterfaceForbidden) IsSuccess() bool
- func (o *PatchMachineNetworkInterfaceForbidden) String() string
- type PatchMachineNetworkInterfaceNotFound
- func (o *PatchMachineNetworkInterfaceNotFound) Error() string
- func (o *PatchMachineNetworkInterfaceNotFound) GetPayload() *models.Error
- func (o *PatchMachineNetworkInterfaceNotFound) IsClientError() bool
- func (o *PatchMachineNetworkInterfaceNotFound) IsCode(code int) bool
- func (o *PatchMachineNetworkInterfaceNotFound) IsRedirect() bool
- func (o *PatchMachineNetworkInterfaceNotFound) IsServerError() bool
- func (o *PatchMachineNetworkInterfaceNotFound) IsSuccess() bool
- func (o *PatchMachineNetworkInterfaceNotFound) String() string
- type PatchMachineNetworkInterfaceOK
- func (o *PatchMachineNetworkInterfaceOK) Error() string
- func (o *PatchMachineNetworkInterfaceOK) GetPayload() *models.NetworkInterface
- func (o *PatchMachineNetworkInterfaceOK) IsClientError() bool
- func (o *PatchMachineNetworkInterfaceOK) IsCode(code int) bool
- func (o *PatchMachineNetworkInterfaceOK) IsRedirect() bool
- func (o *PatchMachineNetworkInterfaceOK) IsServerError() bool
- func (o *PatchMachineNetworkInterfaceOK) IsSuccess() bool
- func (o *PatchMachineNetworkInterfaceOK) String() string
- type PatchMachineNetworkInterfaceParams
- func NewPatchMachineNetworkInterfaceParams() *PatchMachineNetworkInterfaceParams
- func NewPatchMachineNetworkInterfaceParamsWithContext(ctx context.Context) *PatchMachineNetworkInterfaceParams
- func NewPatchMachineNetworkInterfaceParamsWithHTTPClient(client *http.Client) *PatchMachineNetworkInterfaceParams
- func NewPatchMachineNetworkInterfaceParamsWithTimeout(timeout time.Duration) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) SetAPIVersion(aPIVersion string)
- func (o *PatchMachineNetworkInterfaceParams) SetBody(body *models.UpdateNetworkInterfaceSpecification)
- func (o *PatchMachineNetworkInterfaceParams) SetContext(ctx context.Context)
- func (o *PatchMachineNetworkInterfaceParams) SetDefaults()
- func (o *PatchMachineNetworkInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *PatchMachineNetworkInterfaceParams) SetID(id string)
- func (o *PatchMachineNetworkInterfaceParams) SetNetworkID(networkID string)
- func (o *PatchMachineNetworkInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *PatchMachineNetworkInterfaceParams) WithAPIVersion(aPIVersion string) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithBody(body *models.UpdateNetworkInterfaceSpecification) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithContext(ctx context.Context) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithDefaults() *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithHTTPClient(client *http.Client) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithID(id string) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithNetworkID(networkID string) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WithTimeout(timeout time.Duration) *PatchMachineNetworkInterfaceParams
- func (o *PatchMachineNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMachineNetworkInterfaceReader
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 network API
func (*Client) CreateNetwork ¶
func (a *Client) CreateNetwork(params *CreateNetworkParams, opts ...ClientOption) (*CreateNetworkAccepted, error)
CreateNetwork creates network
Provision a new network based on the passed in constraints. The network should be destroyed after the machine is destroyed to free up resources.
func (*Client) DeleteNetwork ¶
func (a *Client) DeleteNetwork(params *DeleteNetworkParams, opts ...ClientOption) (*DeleteNetworkAccepted, error)
DeleteNetwork deletes a network
Delete a network with a given id
func (*Client) GetMachineNetworkInterface ¶
func (a *Client) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams, opts ...ClientOption) (*GetMachineNetworkInterfaceOK, error)
GetMachineNetworkInterface gets machine network interface
Get network interface with a given id for specific machine
func (*Client) GetNetwork ¶
func (a *Client) GetNetwork(params *GetNetworkParams, opts ...ClientOption) (*GetNetworkOK, error)
GetNetwork gets network
Get network with a given id
func (*Client) GetNetworkDomain ¶
func (a *Client) GetNetworkDomain(params *GetNetworkDomainParams, opts ...ClientOption) (*GetNetworkDomainOK, error)
GetNetworkDomain gets network domain
Get network domain with a given id
func (*Client) GetNetworkDomains ¶
func (a *Client) GetNetworkDomains(params *GetNetworkDomainsParams, opts ...ClientOption) (*GetNetworkDomainsOK, error)
GetNetworkDomains gets network domains
Get all network domains.
func (*Client) GetNetworks ¶
func (a *Client) GetNetworks(params *GetNetworksParams, opts ...ClientOption) (*GetNetworksOK, error)
GetNetworks gets networks
Get all networks
func (*Client) PatchMachineNetworkInterface ¶ added in v0.4.0
func (a *Client) PatchMachineNetworkInterface(params *PatchMachineNetworkInterfaceParams, opts ...ClientOption) (*PatchMachineNetworkInterfaceOK, error)
PatchMachineNetworkInterface patches machine network interface
Patch network interface with a given id for specific machine. Only name, description, IPv4 address and custom property updates are supported. The change to name and IPv4 address will not propagate to cloud endpoint for provisioned machines.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateNetwork(params *CreateNetworkParams, opts ...ClientOption) (*CreateNetworkAccepted, error) DeleteNetwork(params *DeleteNetworkParams, opts ...ClientOption) (*DeleteNetworkAccepted, error) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams, opts ...ClientOption) (*GetMachineNetworkInterfaceOK, error) GetNetwork(params *GetNetworkParams, opts ...ClientOption) (*GetNetworkOK, error) GetNetworkDomain(params *GetNetworkDomainParams, opts ...ClientOption) (*GetNetworkDomainOK, error) GetNetworkDomains(params *GetNetworkDomainsParams, opts ...ClientOption) (*GetNetworkDomainsOK, error) GetNetworks(params *GetNetworksParams, opts ...ClientOption) (*GetNetworksOK, error) PatchMachineNetworkInterface(params *PatchMachineNetworkInterfaceParams, opts ...ClientOption) (*PatchMachineNetworkInterfaceOK, 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 network API client.
type CreateNetworkAccepted ¶
type CreateNetworkAccepted struct {
Payload *models.RequestTracker
}
CreateNetworkAccepted describes a response with status code 202, with default header values.
successful operation
func NewCreateNetworkAccepted ¶
func NewCreateNetworkAccepted() *CreateNetworkAccepted
NewCreateNetworkAccepted creates a CreateNetworkAccepted with default headers values
func (*CreateNetworkAccepted) Error ¶
func (o *CreateNetworkAccepted) Error() string
func (*CreateNetworkAccepted) GetPayload ¶
func (o *CreateNetworkAccepted) GetPayload() *models.RequestTracker
func (*CreateNetworkAccepted) IsClientError ¶ added in v0.5.0
func (o *CreateNetworkAccepted) IsClientError() bool
IsClientError returns true when this create network accepted response has a 4xx status code
func (*CreateNetworkAccepted) IsCode ¶ added in v0.5.0
func (o *CreateNetworkAccepted) IsCode(code int) bool
IsCode returns true when this create network accepted response a status code equal to that given
func (*CreateNetworkAccepted) IsRedirect ¶ added in v0.5.0
func (o *CreateNetworkAccepted) IsRedirect() bool
IsRedirect returns true when this create network accepted response has a 3xx status code
func (*CreateNetworkAccepted) IsServerError ¶ added in v0.5.0
func (o *CreateNetworkAccepted) IsServerError() bool
IsServerError returns true when this create network accepted response has a 5xx status code
func (*CreateNetworkAccepted) IsSuccess ¶ added in v0.5.0
func (o *CreateNetworkAccepted) IsSuccess() bool
IsSuccess returns true when this create network accepted response has a 2xx status code
func (*CreateNetworkAccepted) String ¶ added in v0.5.0
func (o *CreateNetworkAccepted) String() string
type CreateNetworkBadRequest ¶
CreateNetworkBadRequest describes a response with status code 400, with default header values.
Invalid Request - bad data
func NewCreateNetworkBadRequest ¶
func NewCreateNetworkBadRequest() *CreateNetworkBadRequest
NewCreateNetworkBadRequest creates a CreateNetworkBadRequest with default headers values
func (*CreateNetworkBadRequest) Error ¶
func (o *CreateNetworkBadRequest) Error() string
func (*CreateNetworkBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateNetworkBadRequest) GetPayload() *models.Error
func (*CreateNetworkBadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) IsClientError() bool
IsClientError returns true when this create network bad request response has a 4xx status code
func (*CreateNetworkBadRequest) IsCode ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) IsCode(code int) bool
IsCode returns true when this create network bad request response a status code equal to that given
func (*CreateNetworkBadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) IsRedirect() bool
IsRedirect returns true when this create network bad request response has a 3xx status code
func (*CreateNetworkBadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) IsServerError() bool
IsServerError returns true when this create network bad request response has a 5xx status code
func (*CreateNetworkBadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) IsSuccess() bool
IsSuccess returns true when this create network bad request response has a 2xx status code
func (*CreateNetworkBadRequest) String ¶ added in v0.5.0
func (o *CreateNetworkBadRequest) String() string
type CreateNetworkForbidden ¶
type CreateNetworkForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateNetworkForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateNetworkForbidden ¶
func NewCreateNetworkForbidden() *CreateNetworkForbidden
NewCreateNetworkForbidden creates a CreateNetworkForbidden with default headers values
func (*CreateNetworkForbidden) Error ¶
func (o *CreateNetworkForbidden) Error() string
func (*CreateNetworkForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateNetworkForbidden) GetPayload() *models.ServiceErrorResponse
func (*CreateNetworkForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateNetworkForbidden) IsClientError() bool
IsClientError returns true when this create network forbidden response has a 4xx status code
func (*CreateNetworkForbidden) IsCode ¶ added in v0.5.0
func (o *CreateNetworkForbidden) IsCode(code int) bool
IsCode returns true when this create network forbidden response a status code equal to that given
func (*CreateNetworkForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateNetworkForbidden) IsRedirect() bool
IsRedirect returns true when this create network forbidden response has a 3xx status code
func (*CreateNetworkForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateNetworkForbidden) IsServerError() bool
IsServerError returns true when this create network forbidden response has a 5xx status code
func (*CreateNetworkForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateNetworkForbidden) IsSuccess() bool
IsSuccess returns true when this create network forbidden response has a 2xx status code
func (*CreateNetworkForbidden) String ¶ added in v0.5.0
func (o *CreateNetworkForbidden) String() string
type CreateNetworkParams ¶
type CreateNetworkParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* Body. Network Specification instance */ Body *models.NetworkSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkParams contains all the parameters to send to the API endpoint
for the create network operation. Typically these are written to a http.Request.
func NewCreateNetworkParams ¶
func NewCreateNetworkParams() *CreateNetworkParams
NewCreateNetworkParams creates a new CreateNetworkParams 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 NewCreateNetworkParamsWithContext ¶
func NewCreateNetworkParamsWithContext(ctx context.Context) *CreateNetworkParams
NewCreateNetworkParamsWithContext creates a new CreateNetworkParams object with the ability to set a context for a request.
func NewCreateNetworkParamsWithHTTPClient ¶
func NewCreateNetworkParamsWithHTTPClient(client *http.Client) *CreateNetworkParams
NewCreateNetworkParamsWithHTTPClient creates a new CreateNetworkParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkParamsWithTimeout ¶
func NewCreateNetworkParamsWithTimeout(timeout time.Duration) *CreateNetworkParams
NewCreateNetworkParamsWithTimeout creates a new CreateNetworkParams object with the ability to set a timeout on a request.
func (*CreateNetworkParams) SetAPIVersion ¶
func (o *CreateNetworkParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create network params
func (*CreateNetworkParams) SetBody ¶
func (o *CreateNetworkParams) SetBody(body *models.NetworkSpecification)
SetBody adds the body to the create network params
func (*CreateNetworkParams) SetContext ¶
func (o *CreateNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the create network params
func (*CreateNetworkParams) SetDefaults ¶ added in v0.2.20
func (o *CreateNetworkParams) SetDefaults()
SetDefaults hydrates default values in the create network params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkParams) SetHTTPClient ¶
func (o *CreateNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network params
func (*CreateNetworkParams) SetTimeout ¶
func (o *CreateNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network params
func (*CreateNetworkParams) WithAPIVersion ¶
func (o *CreateNetworkParams) WithAPIVersion(aPIVersion *string) *CreateNetworkParams
WithAPIVersion adds the aPIVersion to the create network params
func (*CreateNetworkParams) WithBody ¶
func (o *CreateNetworkParams) WithBody(body *models.NetworkSpecification) *CreateNetworkParams
WithBody adds the body to the create network params
func (*CreateNetworkParams) WithContext ¶
func (o *CreateNetworkParams) WithContext(ctx context.Context) *CreateNetworkParams
WithContext adds the context to the create network params
func (*CreateNetworkParams) WithDefaults ¶ added in v0.2.20
func (o *CreateNetworkParams) WithDefaults() *CreateNetworkParams
WithDefaults hydrates default values in the create network params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkParams) WithHTTPClient ¶
func (o *CreateNetworkParams) WithHTTPClient(client *http.Client) *CreateNetworkParams
WithHTTPClient adds the HTTPClient to the create network params
func (*CreateNetworkParams) WithTimeout ¶
func (o *CreateNetworkParams) WithTimeout(timeout time.Duration) *CreateNetworkParams
WithTimeout adds the timeout to the create network params
func (*CreateNetworkParams) WriteToRequest ¶
func (o *CreateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkReader ¶
type CreateNetworkReader struct {
// contains filtered or unexported fields
}
CreateNetworkReader is a Reader for the CreateNetwork structure.
func (*CreateNetworkReader) ReadResponse ¶
func (o *CreateNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkAccepted ¶
type DeleteNetworkAccepted struct {
Payload *models.RequestTracker
}
DeleteNetworkAccepted describes a response with status code 202, with default header values.
successful operation
func NewDeleteNetworkAccepted ¶
func NewDeleteNetworkAccepted() *DeleteNetworkAccepted
NewDeleteNetworkAccepted creates a DeleteNetworkAccepted with default headers values
func (*DeleteNetworkAccepted) Error ¶
func (o *DeleteNetworkAccepted) Error() string
func (*DeleteNetworkAccepted) GetPayload ¶
func (o *DeleteNetworkAccepted) GetPayload() *models.RequestTracker
func (*DeleteNetworkAccepted) IsClientError ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) IsClientError() bool
IsClientError returns true when this delete network accepted response has a 4xx status code
func (*DeleteNetworkAccepted) IsCode ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) IsCode(code int) bool
IsCode returns true when this delete network accepted response a status code equal to that given
func (*DeleteNetworkAccepted) IsRedirect ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) IsRedirect() bool
IsRedirect returns true when this delete network accepted response has a 3xx status code
func (*DeleteNetworkAccepted) IsServerError ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) IsServerError() bool
IsServerError returns true when this delete network accepted response has a 5xx status code
func (*DeleteNetworkAccepted) IsSuccess ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) IsSuccess() bool
IsSuccess returns true when this delete network accepted response has a 2xx status code
func (*DeleteNetworkAccepted) String ¶ added in v0.5.0
func (o *DeleteNetworkAccepted) String() string
type DeleteNetworkForbidden ¶
type DeleteNetworkForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteNetworkForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteNetworkForbidden ¶
func NewDeleteNetworkForbidden() *DeleteNetworkForbidden
NewDeleteNetworkForbidden creates a DeleteNetworkForbidden with default headers values
func (*DeleteNetworkForbidden) Error ¶
func (o *DeleteNetworkForbidden) Error() string
func (*DeleteNetworkForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteNetworkForbidden) GetPayload() *models.ServiceErrorResponse
func (*DeleteNetworkForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) IsClientError() bool
IsClientError returns true when this delete network forbidden response has a 4xx status code
func (*DeleteNetworkForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) IsCode(code int) bool
IsCode returns true when this delete network forbidden response a status code equal to that given
func (*DeleteNetworkForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) IsRedirect() bool
IsRedirect returns true when this delete network forbidden response has a 3xx status code
func (*DeleteNetworkForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) IsServerError() bool
IsServerError returns true when this delete network forbidden response has a 5xx status code
func (*DeleteNetworkForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) IsSuccess() bool
IsSuccess returns true when this delete network forbidden response has a 2xx status code
func (*DeleteNetworkForbidden) String ¶ added in v0.5.0
func (o *DeleteNetworkForbidden) String() string
type DeleteNetworkParams ¶
type DeleteNetworkParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ForceDelete. Controls whether this is a force delete operation. If true, best effort is made for deleting this network. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /* ID. The ID of the network. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkParams contains all the parameters to send to the API endpoint
for the delete network operation. Typically these are written to a http.Request.
func NewDeleteNetworkParams ¶
func NewDeleteNetworkParams() *DeleteNetworkParams
NewDeleteNetworkParams creates a new DeleteNetworkParams 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 NewDeleteNetworkParamsWithContext ¶
func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams
NewDeleteNetworkParamsWithContext creates a new DeleteNetworkParams object with the ability to set a context for a request.
func NewDeleteNetworkParamsWithHTTPClient ¶
func NewDeleteNetworkParamsWithHTTPClient(client *http.Client) *DeleteNetworkParams
NewDeleteNetworkParamsWithHTTPClient creates a new DeleteNetworkParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkParamsWithTimeout ¶
func NewDeleteNetworkParamsWithTimeout(timeout time.Duration) *DeleteNetworkParams
NewDeleteNetworkParamsWithTimeout creates a new DeleteNetworkParams object with the ability to set a timeout on a request.
func (*DeleteNetworkParams) SetAPIVersion ¶
func (o *DeleteNetworkParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete network params
func (*DeleteNetworkParams) SetContext ¶
func (o *DeleteNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network params
func (*DeleteNetworkParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteNetworkParams) SetDefaults()
SetDefaults hydrates default values in the delete network params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkParams) SetForceDelete ¶ added in v0.2.8
func (o *DeleteNetworkParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete network params
func (*DeleteNetworkParams) SetHTTPClient ¶
func (o *DeleteNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network params
func (*DeleteNetworkParams) SetID ¶
func (o *DeleteNetworkParams) SetID(id string)
SetID adds the id to the delete network params
func (*DeleteNetworkParams) SetTimeout ¶
func (o *DeleteNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network params
func (*DeleteNetworkParams) WithAPIVersion ¶
func (o *DeleteNetworkParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkParams
WithAPIVersion adds the aPIVersion to the delete network params
func (*DeleteNetworkParams) WithContext ¶
func (o *DeleteNetworkParams) WithContext(ctx context.Context) *DeleteNetworkParams
WithContext adds the context to the delete network params
func (*DeleteNetworkParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteNetworkParams) WithDefaults() *DeleteNetworkParams
WithDefaults hydrates default values in the delete network params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkParams) WithForceDelete ¶ added in v0.2.8
func (o *DeleteNetworkParams) WithForceDelete(forceDelete *bool) *DeleteNetworkParams
WithForceDelete adds the forceDelete to the delete network params
func (*DeleteNetworkParams) WithHTTPClient ¶
func (o *DeleteNetworkParams) WithHTTPClient(client *http.Client) *DeleteNetworkParams
WithHTTPClient adds the HTTPClient to the delete network params
func (*DeleteNetworkParams) WithID ¶
func (o *DeleteNetworkParams) WithID(id string) *DeleteNetworkParams
WithID adds the id to the delete network params
func (*DeleteNetworkParams) WithTimeout ¶
func (o *DeleteNetworkParams) WithTimeout(timeout time.Duration) *DeleteNetworkParams
WithTimeout adds the timeout to the delete network params
func (*DeleteNetworkParams) WriteToRequest ¶
func (o *DeleteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkReader ¶
type DeleteNetworkReader struct {
// contains filtered or unexported fields
}
DeleteNetworkReader is a Reader for the DeleteNetwork structure.
func (*DeleteNetworkReader) ReadResponse ¶
func (o *DeleteNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineNetworkInterfaceForbidden ¶
type GetMachineNetworkInterfaceForbidden struct {
Payload *models.ServiceErrorResponse
}
GetMachineNetworkInterfaceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetMachineNetworkInterfaceForbidden ¶
func NewGetMachineNetworkInterfaceForbidden() *GetMachineNetworkInterfaceForbidden
NewGetMachineNetworkInterfaceForbidden creates a GetMachineNetworkInterfaceForbidden with default headers values
func (*GetMachineNetworkInterfaceForbidden) Error ¶
func (o *GetMachineNetworkInterfaceForbidden) Error() string
func (*GetMachineNetworkInterfaceForbidden) GetPayload ¶ added in v0.2.20
func (o *GetMachineNetworkInterfaceForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetMachineNetworkInterfaceForbidden) IsClientError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) IsClientError() bool
IsClientError returns true when this get machine network interface forbidden response has a 4xx status code
func (*GetMachineNetworkInterfaceForbidden) IsCode ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) IsCode(code int) bool
IsCode returns true when this get machine network interface forbidden response a status code equal to that given
func (*GetMachineNetworkInterfaceForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) IsRedirect() bool
IsRedirect returns true when this get machine network interface forbidden response has a 3xx status code
func (*GetMachineNetworkInterfaceForbidden) IsServerError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) IsServerError() bool
IsServerError returns true when this get machine network interface forbidden response has a 5xx status code
func (*GetMachineNetworkInterfaceForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) IsSuccess() bool
IsSuccess returns true when this get machine network interface forbidden response has a 2xx status code
func (*GetMachineNetworkInterfaceForbidden) String ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceForbidden) String() string
type GetMachineNetworkInterfaceNotFound ¶
GetMachineNetworkInterfaceNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMachineNetworkInterfaceNotFound ¶
func NewGetMachineNetworkInterfaceNotFound() *GetMachineNetworkInterfaceNotFound
NewGetMachineNetworkInterfaceNotFound creates a GetMachineNetworkInterfaceNotFound with default headers values
func (*GetMachineNetworkInterfaceNotFound) Error ¶
func (o *GetMachineNetworkInterfaceNotFound) Error() string
func (*GetMachineNetworkInterfaceNotFound) GetPayload ¶ added in v0.2.9
func (o *GetMachineNetworkInterfaceNotFound) GetPayload() *models.Error
func (*GetMachineNetworkInterfaceNotFound) IsClientError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) IsClientError() bool
IsClientError returns true when this get machine network interface not found response has a 4xx status code
func (*GetMachineNetworkInterfaceNotFound) IsCode ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) IsCode(code int) bool
IsCode returns true when this get machine network interface not found response a status code equal to that given
func (*GetMachineNetworkInterfaceNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) IsRedirect() bool
IsRedirect returns true when this get machine network interface not found response has a 3xx status code
func (*GetMachineNetworkInterfaceNotFound) IsServerError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) IsServerError() bool
IsServerError returns true when this get machine network interface not found response has a 5xx status code
func (*GetMachineNetworkInterfaceNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) IsSuccess() bool
IsSuccess returns true when this get machine network interface not found response has a 2xx status code
func (*GetMachineNetworkInterfaceNotFound) String ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceNotFound) String() string
type GetMachineNetworkInterfaceOK ¶
type GetMachineNetworkInterfaceOK struct {
Payload *models.NetworkInterface
}
GetMachineNetworkInterfaceOK describes a response with status code 200, with default header values.
successful operation
func NewGetMachineNetworkInterfaceOK ¶
func NewGetMachineNetworkInterfaceOK() *GetMachineNetworkInterfaceOK
NewGetMachineNetworkInterfaceOK creates a GetMachineNetworkInterfaceOK with default headers values
func (*GetMachineNetworkInterfaceOK) Error ¶
func (o *GetMachineNetworkInterfaceOK) Error() string
func (*GetMachineNetworkInterfaceOK) GetPayload ¶
func (o *GetMachineNetworkInterfaceOK) GetPayload() *models.NetworkInterface
func (*GetMachineNetworkInterfaceOK) IsClientError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) IsClientError() bool
IsClientError returns true when this get machine network interface o k response has a 4xx status code
func (*GetMachineNetworkInterfaceOK) IsCode ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) IsCode(code int) bool
IsCode returns true when this get machine network interface o k response a status code equal to that given
func (*GetMachineNetworkInterfaceOK) IsRedirect ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) IsRedirect() bool
IsRedirect returns true when this get machine network interface o k response has a 3xx status code
func (*GetMachineNetworkInterfaceOK) IsServerError ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) IsServerError() bool
IsServerError returns true when this get machine network interface o k response has a 5xx status code
func (*GetMachineNetworkInterfaceOK) IsSuccess ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) IsSuccess() bool
IsSuccess returns true when this get machine network interface o k response has a 2xx status code
func (*GetMachineNetworkInterfaceOK) String ¶ added in v0.5.0
func (o *GetMachineNetworkInterfaceOK) String() string
type GetMachineNetworkInterfaceParams ¶
type GetMachineNetworkInterfaceParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the machine. */ ID string /* NetworkID. The ID of the network interface. */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineNetworkInterfaceParams contains all the parameters to send to the API endpoint
for the get machine network interface operation. Typically these are written to a http.Request.
func NewGetMachineNetworkInterfaceParams ¶
func NewGetMachineNetworkInterfaceParams() *GetMachineNetworkInterfaceParams
NewGetMachineNetworkInterfaceParams creates a new GetMachineNetworkInterfaceParams 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 NewGetMachineNetworkInterfaceParamsWithContext ¶
func NewGetMachineNetworkInterfaceParamsWithContext(ctx context.Context) *GetMachineNetworkInterfaceParams
NewGetMachineNetworkInterfaceParamsWithContext creates a new GetMachineNetworkInterfaceParams object with the ability to set a context for a request.
func NewGetMachineNetworkInterfaceParamsWithHTTPClient ¶
func NewGetMachineNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams
NewGetMachineNetworkInterfaceParamsWithHTTPClient creates a new GetMachineNetworkInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetMachineNetworkInterfaceParamsWithTimeout ¶
func NewGetMachineNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetMachineNetworkInterfaceParams
NewGetMachineNetworkInterfaceParamsWithTimeout creates a new GetMachineNetworkInterfaceParams object with the ability to set a timeout on a request.
func (*GetMachineNetworkInterfaceParams) SetAPIVersion ¶
func (o *GetMachineNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) SetContext ¶
func (o *GetMachineNetworkInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) SetDefaults ¶ added in v0.2.20
func (o *GetMachineNetworkInterfaceParams) SetDefaults()
SetDefaults hydrates default values in the get machine network interface params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineNetworkInterfaceParams) SetHTTPClient ¶
func (o *GetMachineNetworkInterfaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) SetID ¶
func (o *GetMachineNetworkInterfaceParams) SetID(id string)
SetID adds the id to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) SetNetworkID ¶ added in v0.4.0
func (o *GetMachineNetworkInterfaceParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) SetTimeout ¶
func (o *GetMachineNetworkInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithAPIVersion ¶
func (o *GetMachineNetworkInterfaceParams) WithAPIVersion(aPIVersion *string) *GetMachineNetworkInterfaceParams
WithAPIVersion adds the aPIVersion to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithContext ¶
func (o *GetMachineNetworkInterfaceParams) WithContext(ctx context.Context) *GetMachineNetworkInterfaceParams
WithContext adds the context to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithDefaults ¶ added in v0.2.20
func (o *GetMachineNetworkInterfaceParams) WithDefaults() *GetMachineNetworkInterfaceParams
WithDefaults hydrates default values in the get machine network interface params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineNetworkInterfaceParams) WithHTTPClient ¶
func (o *GetMachineNetworkInterfaceParams) WithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams
WithHTTPClient adds the HTTPClient to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithID ¶
func (o *GetMachineNetworkInterfaceParams) WithID(id string) *GetMachineNetworkInterfaceParams
WithID adds the id to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithNetworkID ¶ added in v0.4.0
func (o *GetMachineNetworkInterfaceParams) WithNetworkID(networkID string) *GetMachineNetworkInterfaceParams
WithNetworkID adds the networkID to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WithTimeout ¶
func (o *GetMachineNetworkInterfaceParams) WithTimeout(timeout time.Duration) *GetMachineNetworkInterfaceParams
WithTimeout adds the timeout to the get machine network interface params
func (*GetMachineNetworkInterfaceParams) WriteToRequest ¶
func (o *GetMachineNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineNetworkInterfaceReader ¶
type GetMachineNetworkInterfaceReader struct {
// contains filtered or unexported fields
}
GetMachineNetworkInterfaceReader is a Reader for the GetMachineNetworkInterface structure.
func (*GetMachineNetworkInterfaceReader) ReadResponse ¶
func (o *GetMachineNetworkInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkDomainForbidden ¶
type GetNetworkDomainForbidden struct {
Payload *models.ServiceErrorResponse
}
GetNetworkDomainForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetNetworkDomainForbidden ¶
func NewGetNetworkDomainForbidden() *GetNetworkDomainForbidden
NewGetNetworkDomainForbidden creates a GetNetworkDomainForbidden with default headers values
func (*GetNetworkDomainForbidden) Error ¶
func (o *GetNetworkDomainForbidden) Error() string
func (*GetNetworkDomainForbidden) GetPayload ¶ added in v0.2.20
func (o *GetNetworkDomainForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetNetworkDomainForbidden) IsClientError ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) IsClientError() bool
IsClientError returns true when this get network domain forbidden response has a 4xx status code
func (*GetNetworkDomainForbidden) IsCode ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) IsCode(code int) bool
IsCode returns true when this get network domain forbidden response a status code equal to that given
func (*GetNetworkDomainForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) IsRedirect() bool
IsRedirect returns true when this get network domain forbidden response has a 3xx status code
func (*GetNetworkDomainForbidden) IsServerError ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) IsServerError() bool
IsServerError returns true when this get network domain forbidden response has a 5xx status code
func (*GetNetworkDomainForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) IsSuccess() bool
IsSuccess returns true when this get network domain forbidden response has a 2xx status code
func (*GetNetworkDomainForbidden) String ¶ added in v0.5.0
func (o *GetNetworkDomainForbidden) String() string
type GetNetworkDomainNotFound ¶
GetNetworkDomainNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetNetworkDomainNotFound ¶
func NewGetNetworkDomainNotFound() *GetNetworkDomainNotFound
NewGetNetworkDomainNotFound creates a GetNetworkDomainNotFound with default headers values
func (*GetNetworkDomainNotFound) Error ¶
func (o *GetNetworkDomainNotFound) Error() string
func (*GetNetworkDomainNotFound) GetPayload ¶ added in v0.2.9
func (o *GetNetworkDomainNotFound) GetPayload() *models.Error
func (*GetNetworkDomainNotFound) IsClientError ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) IsClientError() bool
IsClientError returns true when this get network domain not found response has a 4xx status code
func (*GetNetworkDomainNotFound) IsCode ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) IsCode(code int) bool
IsCode returns true when this get network domain not found response a status code equal to that given
func (*GetNetworkDomainNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) IsRedirect() bool
IsRedirect returns true when this get network domain not found response has a 3xx status code
func (*GetNetworkDomainNotFound) IsServerError ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) IsServerError() bool
IsServerError returns true when this get network domain not found response has a 5xx status code
func (*GetNetworkDomainNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) IsSuccess() bool
IsSuccess returns true when this get network domain not found response has a 2xx status code
func (*GetNetworkDomainNotFound) String ¶ added in v0.5.0
func (o *GetNetworkDomainNotFound) String() string
type GetNetworkDomainOK ¶
type GetNetworkDomainOK struct {
Payload *models.NetworkDomain
}
GetNetworkDomainOK describes a response with status code 200, with default header values.
successful operation
func NewGetNetworkDomainOK ¶
func NewGetNetworkDomainOK() *GetNetworkDomainOK
NewGetNetworkDomainOK creates a GetNetworkDomainOK with default headers values
func (*GetNetworkDomainOK) Error ¶
func (o *GetNetworkDomainOK) Error() string
func (*GetNetworkDomainOK) GetPayload ¶
func (o *GetNetworkDomainOK) GetPayload() *models.NetworkDomain
func (*GetNetworkDomainOK) IsClientError ¶ added in v0.5.0
func (o *GetNetworkDomainOK) IsClientError() bool
IsClientError returns true when this get network domain o k response has a 4xx status code
func (*GetNetworkDomainOK) IsCode ¶ added in v0.5.0
func (o *GetNetworkDomainOK) IsCode(code int) bool
IsCode returns true when this get network domain o k response a status code equal to that given
func (*GetNetworkDomainOK) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkDomainOK) IsRedirect() bool
IsRedirect returns true when this get network domain o k response has a 3xx status code
func (*GetNetworkDomainOK) IsServerError ¶ added in v0.5.0
func (o *GetNetworkDomainOK) IsServerError() bool
IsServerError returns true when this get network domain o k response has a 5xx status code
func (*GetNetworkDomainOK) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkDomainOK) IsSuccess() bool
IsSuccess returns true when this get network domain o k response has a 2xx status code
func (*GetNetworkDomainOK) String ¶ added in v0.5.0
func (o *GetNetworkDomainOK) String() string
type GetNetworkDomainParams ¶
type GetNetworkDomainParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the network domain. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkDomainParams contains all the parameters to send to the API endpoint
for the get network domain operation. Typically these are written to a http.Request.
func NewGetNetworkDomainParams ¶
func NewGetNetworkDomainParams() *GetNetworkDomainParams
NewGetNetworkDomainParams creates a new GetNetworkDomainParams 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 NewGetNetworkDomainParamsWithContext ¶
func NewGetNetworkDomainParamsWithContext(ctx context.Context) *GetNetworkDomainParams
NewGetNetworkDomainParamsWithContext creates a new GetNetworkDomainParams object with the ability to set a context for a request.
func NewGetNetworkDomainParamsWithHTTPClient ¶
func NewGetNetworkDomainParamsWithHTTPClient(client *http.Client) *GetNetworkDomainParams
NewGetNetworkDomainParamsWithHTTPClient creates a new GetNetworkDomainParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkDomainParamsWithTimeout ¶
func NewGetNetworkDomainParamsWithTimeout(timeout time.Duration) *GetNetworkDomainParams
NewGetNetworkDomainParamsWithTimeout creates a new GetNetworkDomainParams object with the ability to set a timeout on a request.
func (*GetNetworkDomainParams) SetAPIVersion ¶
func (o *GetNetworkDomainParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network domain params
func (*GetNetworkDomainParams) SetContext ¶
func (o *GetNetworkDomainParams) SetContext(ctx context.Context)
SetContext adds the context to the get network domain params
func (*GetNetworkDomainParams) SetDefaults ¶ added in v0.2.20
func (o *GetNetworkDomainParams) SetDefaults()
SetDefaults hydrates default values in the get network domain params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkDomainParams) SetHTTPClient ¶
func (o *GetNetworkDomainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network domain params
func (*GetNetworkDomainParams) SetID ¶
func (o *GetNetworkDomainParams) SetID(id string)
SetID adds the id to the get network domain params
func (*GetNetworkDomainParams) SetTimeout ¶
func (o *GetNetworkDomainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network domain params
func (*GetNetworkDomainParams) WithAPIVersion ¶
func (o *GetNetworkDomainParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainParams
WithAPIVersion adds the aPIVersion to the get network domain params
func (*GetNetworkDomainParams) WithContext ¶
func (o *GetNetworkDomainParams) WithContext(ctx context.Context) *GetNetworkDomainParams
WithContext adds the context to the get network domain params
func (*GetNetworkDomainParams) WithDefaults ¶ added in v0.2.20
func (o *GetNetworkDomainParams) WithDefaults() *GetNetworkDomainParams
WithDefaults hydrates default values in the get network domain params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkDomainParams) WithHTTPClient ¶
func (o *GetNetworkDomainParams) WithHTTPClient(client *http.Client) *GetNetworkDomainParams
WithHTTPClient adds the HTTPClient to the get network domain params
func (*GetNetworkDomainParams) WithID ¶
func (o *GetNetworkDomainParams) WithID(id string) *GetNetworkDomainParams
WithID adds the id to the get network domain params
func (*GetNetworkDomainParams) WithTimeout ¶
func (o *GetNetworkDomainParams) WithTimeout(timeout time.Duration) *GetNetworkDomainParams
WithTimeout adds the timeout to the get network domain params
func (*GetNetworkDomainParams) WriteToRequest ¶
func (o *GetNetworkDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkDomainReader ¶
type GetNetworkDomainReader struct {
// contains filtered or unexported fields
}
GetNetworkDomainReader is a Reader for the GetNetworkDomain structure.
func (*GetNetworkDomainReader) ReadResponse ¶
func (o *GetNetworkDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkDomainsForbidden ¶
type GetNetworkDomainsForbidden struct {
Payload *models.ServiceErrorResponse
}
GetNetworkDomainsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetNetworkDomainsForbidden ¶
func NewGetNetworkDomainsForbidden() *GetNetworkDomainsForbidden
NewGetNetworkDomainsForbidden creates a GetNetworkDomainsForbidden with default headers values
func (*GetNetworkDomainsForbidden) Error ¶
func (o *GetNetworkDomainsForbidden) Error() string
func (*GetNetworkDomainsForbidden) GetPayload ¶ added in v0.2.20
func (o *GetNetworkDomainsForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetNetworkDomainsForbidden) IsClientError ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) IsClientError() bool
IsClientError returns true when this get network domains forbidden response has a 4xx status code
func (*GetNetworkDomainsForbidden) IsCode ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) IsCode(code int) bool
IsCode returns true when this get network domains forbidden response a status code equal to that given
func (*GetNetworkDomainsForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) IsRedirect() bool
IsRedirect returns true when this get network domains forbidden response has a 3xx status code
func (*GetNetworkDomainsForbidden) IsServerError ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) IsServerError() bool
IsServerError returns true when this get network domains forbidden response has a 5xx status code
func (*GetNetworkDomainsForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) IsSuccess() bool
IsSuccess returns true when this get network domains forbidden response has a 2xx status code
func (*GetNetworkDomainsForbidden) String ¶ added in v0.5.0
func (o *GetNetworkDomainsForbidden) String() string
type GetNetworkDomainsOK ¶
type GetNetworkDomainsOK struct {
Payload *models.NetworkDomainResult
}
GetNetworkDomainsOK describes a response with status code 200, with default header values.
successful operation
func NewGetNetworkDomainsOK ¶
func NewGetNetworkDomainsOK() *GetNetworkDomainsOK
NewGetNetworkDomainsOK creates a GetNetworkDomainsOK with default headers values
func (*GetNetworkDomainsOK) Error ¶
func (o *GetNetworkDomainsOK) Error() string
func (*GetNetworkDomainsOK) GetPayload ¶
func (o *GetNetworkDomainsOK) GetPayload() *models.NetworkDomainResult
func (*GetNetworkDomainsOK) IsClientError ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) IsClientError() bool
IsClientError returns true when this get network domains o k response has a 4xx status code
func (*GetNetworkDomainsOK) IsCode ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) IsCode(code int) bool
IsCode returns true when this get network domains o k response a status code equal to that given
func (*GetNetworkDomainsOK) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) IsRedirect() bool
IsRedirect returns true when this get network domains o k response has a 3xx status code
func (*GetNetworkDomainsOK) IsServerError ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) IsServerError() bool
IsServerError returns true when this get network domains o k response has a 5xx status code
func (*GetNetworkDomainsOK) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) IsSuccess() bool
IsSuccess returns true when this get network domains o k response has a 2xx status code
func (*GetNetworkDomainsOK) String ¶ added in v0.5.0
func (o *GetNetworkDomainsOK) String() string
type GetNetworkDomainsParams ¶
type GetNetworkDomainsParams struct { /* DollarFilter. Add a filter to return limited results */ DollarFilter *string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkDomainsParams contains all the parameters to send to the API endpoint
for the get network domains operation. Typically these are written to a http.Request.
func NewGetNetworkDomainsParams ¶
func NewGetNetworkDomainsParams() *GetNetworkDomainsParams
NewGetNetworkDomainsParams creates a new GetNetworkDomainsParams 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 NewGetNetworkDomainsParamsWithContext ¶
func NewGetNetworkDomainsParamsWithContext(ctx context.Context) *GetNetworkDomainsParams
NewGetNetworkDomainsParamsWithContext creates a new GetNetworkDomainsParams object with the ability to set a context for a request.
func NewGetNetworkDomainsParamsWithHTTPClient ¶
func NewGetNetworkDomainsParamsWithHTTPClient(client *http.Client) *GetNetworkDomainsParams
NewGetNetworkDomainsParamsWithHTTPClient creates a new GetNetworkDomainsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkDomainsParamsWithTimeout ¶
func NewGetNetworkDomainsParamsWithTimeout(timeout time.Duration) *GetNetworkDomainsParams
NewGetNetworkDomainsParamsWithTimeout creates a new GetNetworkDomainsParams object with the ability to set a timeout on a request.
func (*GetNetworkDomainsParams) SetAPIVersion ¶
func (o *GetNetworkDomainsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network domains params
func (*GetNetworkDomainsParams) SetContext ¶
func (o *GetNetworkDomainsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network domains params
func (*GetNetworkDomainsParams) SetDefaults ¶ added in v0.2.20
func (o *GetNetworkDomainsParams) SetDefaults()
SetDefaults hydrates default values in the get network domains params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkDomainsParams) SetDollarFilter ¶
func (o *GetNetworkDomainsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get network domains params
func (*GetNetworkDomainsParams) SetHTTPClient ¶
func (o *GetNetworkDomainsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network domains params
func (*GetNetworkDomainsParams) SetTimeout ¶
func (o *GetNetworkDomainsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network domains params
func (*GetNetworkDomainsParams) WithAPIVersion ¶
func (o *GetNetworkDomainsParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainsParams
WithAPIVersion adds the aPIVersion to the get network domains params
func (*GetNetworkDomainsParams) WithContext ¶
func (o *GetNetworkDomainsParams) WithContext(ctx context.Context) *GetNetworkDomainsParams
WithContext adds the context to the get network domains params
func (*GetNetworkDomainsParams) WithDefaults ¶ added in v0.2.20
func (o *GetNetworkDomainsParams) WithDefaults() *GetNetworkDomainsParams
WithDefaults hydrates default values in the get network domains params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkDomainsParams) WithDollarFilter ¶
func (o *GetNetworkDomainsParams) WithDollarFilter(dollarFilter *string) *GetNetworkDomainsParams
WithDollarFilter adds the dollarFilter to the get network domains params
func (*GetNetworkDomainsParams) WithHTTPClient ¶
func (o *GetNetworkDomainsParams) WithHTTPClient(client *http.Client) *GetNetworkDomainsParams
WithHTTPClient adds the HTTPClient to the get network domains params
func (*GetNetworkDomainsParams) WithTimeout ¶
func (o *GetNetworkDomainsParams) WithTimeout(timeout time.Duration) *GetNetworkDomainsParams
WithTimeout adds the timeout to the get network domains params
func (*GetNetworkDomainsParams) WriteToRequest ¶
func (o *GetNetworkDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkDomainsReader ¶
type GetNetworkDomainsReader struct {
// contains filtered or unexported fields
}
GetNetworkDomainsReader is a Reader for the GetNetworkDomains structure.
func (*GetNetworkDomainsReader) ReadResponse ¶
func (o *GetNetworkDomainsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkForbidden ¶
type GetNetworkForbidden struct {
Payload *models.ServiceErrorResponse
}
GetNetworkForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetNetworkForbidden ¶
func NewGetNetworkForbidden() *GetNetworkForbidden
NewGetNetworkForbidden creates a GetNetworkForbidden with default headers values
func (*GetNetworkForbidden) Error ¶
func (o *GetNetworkForbidden) Error() string
func (*GetNetworkForbidden) GetPayload ¶ added in v0.2.20
func (o *GetNetworkForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetNetworkForbidden) IsClientError ¶ added in v0.5.0
func (o *GetNetworkForbidden) IsClientError() bool
IsClientError returns true when this get network forbidden response has a 4xx status code
func (*GetNetworkForbidden) IsCode ¶ added in v0.5.0
func (o *GetNetworkForbidden) IsCode(code int) bool
IsCode returns true when this get network forbidden response a status code equal to that given
func (*GetNetworkForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkForbidden) IsRedirect() bool
IsRedirect returns true when this get network forbidden response has a 3xx status code
func (*GetNetworkForbidden) IsServerError ¶ added in v0.5.0
func (o *GetNetworkForbidden) IsServerError() bool
IsServerError returns true when this get network forbidden response has a 5xx status code
func (*GetNetworkForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkForbidden) IsSuccess() bool
IsSuccess returns true when this get network forbidden response has a 2xx status code
func (*GetNetworkForbidden) String ¶ added in v0.5.0
func (o *GetNetworkForbidden) String() string
type GetNetworkNotFound ¶
GetNetworkNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetNetworkNotFound ¶
func NewGetNetworkNotFound() *GetNetworkNotFound
NewGetNetworkNotFound creates a GetNetworkNotFound with default headers values
func (*GetNetworkNotFound) Error ¶
func (o *GetNetworkNotFound) Error() string
func (*GetNetworkNotFound) GetPayload ¶ added in v0.2.9
func (o *GetNetworkNotFound) GetPayload() *models.Error
func (*GetNetworkNotFound) IsClientError ¶ added in v0.5.0
func (o *GetNetworkNotFound) IsClientError() bool
IsClientError returns true when this get network not found response has a 4xx status code
func (*GetNetworkNotFound) IsCode ¶ added in v0.5.0
func (o *GetNetworkNotFound) IsCode(code int) bool
IsCode returns true when this get network not found response a status code equal to that given
func (*GetNetworkNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkNotFound) IsRedirect() bool
IsRedirect returns true when this get network not found response has a 3xx status code
func (*GetNetworkNotFound) IsServerError ¶ added in v0.5.0
func (o *GetNetworkNotFound) IsServerError() bool
IsServerError returns true when this get network not found response has a 5xx status code
func (*GetNetworkNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkNotFound) IsSuccess() bool
IsSuccess returns true when this get network not found response has a 2xx status code
func (*GetNetworkNotFound) String ¶ added in v0.5.0
func (o *GetNetworkNotFound) String() string
type GetNetworkOK ¶
GetNetworkOK describes a response with status code 200, with default header values.
successful operation
func NewGetNetworkOK ¶
func NewGetNetworkOK() *GetNetworkOK
NewGetNetworkOK creates a GetNetworkOK with default headers values
func (*GetNetworkOK) Error ¶
func (o *GetNetworkOK) Error() string
func (*GetNetworkOK) GetPayload ¶
func (o *GetNetworkOK) GetPayload() *models.Network
func (*GetNetworkOK) IsClientError ¶ added in v0.5.0
func (o *GetNetworkOK) IsClientError() bool
IsClientError returns true when this get network o k response has a 4xx status code
func (*GetNetworkOK) IsCode ¶ added in v0.5.0
func (o *GetNetworkOK) IsCode(code int) bool
IsCode returns true when this get network o k response a status code equal to that given
func (*GetNetworkOK) IsRedirect ¶ added in v0.5.0
func (o *GetNetworkOK) IsRedirect() bool
IsRedirect returns true when this get network o k response has a 3xx status code
func (*GetNetworkOK) IsServerError ¶ added in v0.5.0
func (o *GetNetworkOK) IsServerError() bool
IsServerError returns true when this get network o k response has a 5xx status code
func (*GetNetworkOK) IsSuccess ¶ added in v0.5.0
func (o *GetNetworkOK) IsSuccess() bool
IsSuccess returns true when this get network o k response has a 2xx status code
func (*GetNetworkOK) String ¶ added in v0.5.0
func (o *GetNetworkOK) String() string
type GetNetworkParams ¶
type GetNetworkParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* ID. The ID of the network. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkParams contains all the parameters to send to the API endpoint
for the get network operation. Typically these are written to a http.Request.
func NewGetNetworkParams ¶
func NewGetNetworkParams() *GetNetworkParams
NewGetNetworkParams creates a new GetNetworkParams 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 NewGetNetworkParamsWithContext ¶
func NewGetNetworkParamsWithContext(ctx context.Context) *GetNetworkParams
NewGetNetworkParamsWithContext creates a new GetNetworkParams object with the ability to set a context for a request.
func NewGetNetworkParamsWithHTTPClient ¶
func NewGetNetworkParamsWithHTTPClient(client *http.Client) *GetNetworkParams
NewGetNetworkParamsWithHTTPClient creates a new GetNetworkParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkParamsWithTimeout ¶
func NewGetNetworkParamsWithTimeout(timeout time.Duration) *GetNetworkParams
NewGetNetworkParamsWithTimeout creates a new GetNetworkParams object with the ability to set a timeout on a request.
func (*GetNetworkParams) SetAPIVersion ¶
func (o *GetNetworkParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network params
func (*GetNetworkParams) SetContext ¶
func (o *GetNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the get network params
func (*GetNetworkParams) SetDefaults ¶ added in v0.2.20
func (o *GetNetworkParams) SetDefaults()
SetDefaults hydrates default values in the get network params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkParams) SetHTTPClient ¶
func (o *GetNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network params
func (*GetNetworkParams) SetID ¶
func (o *GetNetworkParams) SetID(id string)
SetID adds the id to the get network params
func (*GetNetworkParams) SetTimeout ¶
func (o *GetNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network params
func (*GetNetworkParams) WithAPIVersion ¶
func (o *GetNetworkParams) WithAPIVersion(aPIVersion *string) *GetNetworkParams
WithAPIVersion adds the aPIVersion to the get network params
func (*GetNetworkParams) WithContext ¶
func (o *GetNetworkParams) WithContext(ctx context.Context) *GetNetworkParams
WithContext adds the context to the get network params
func (*GetNetworkParams) WithDefaults ¶ added in v0.2.20
func (o *GetNetworkParams) WithDefaults() *GetNetworkParams
WithDefaults hydrates default values in the get network params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkParams) WithHTTPClient ¶
func (o *GetNetworkParams) WithHTTPClient(client *http.Client) *GetNetworkParams
WithHTTPClient adds the HTTPClient to the get network params
func (*GetNetworkParams) WithID ¶
func (o *GetNetworkParams) WithID(id string) *GetNetworkParams
WithID adds the id to the get network params
func (*GetNetworkParams) WithTimeout ¶
func (o *GetNetworkParams) WithTimeout(timeout time.Duration) *GetNetworkParams
WithTimeout adds the timeout to the get network params
func (*GetNetworkParams) WriteToRequest ¶
func (o *GetNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkReader ¶
type GetNetworkReader struct {
// contains filtered or unexported fields
}
GetNetworkReader is a Reader for the GetNetwork structure.
func (*GetNetworkReader) ReadResponse ¶
func (o *GetNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworksForbidden ¶
type GetNetworksForbidden struct {
Payload *models.ServiceErrorResponse
}
GetNetworksForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetNetworksForbidden ¶
func NewGetNetworksForbidden() *GetNetworksForbidden
NewGetNetworksForbidden creates a GetNetworksForbidden with default headers values
func (*GetNetworksForbidden) Error ¶
func (o *GetNetworksForbidden) Error() string
func (*GetNetworksForbidden) GetPayload ¶ added in v0.2.20
func (o *GetNetworksForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetNetworksForbidden) IsClientError ¶ added in v0.5.0
func (o *GetNetworksForbidden) IsClientError() bool
IsClientError returns true when this get networks forbidden response has a 4xx status code
func (*GetNetworksForbidden) IsCode ¶ added in v0.5.0
func (o *GetNetworksForbidden) IsCode(code int) bool
IsCode returns true when this get networks forbidden response a status code equal to that given
func (*GetNetworksForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetNetworksForbidden) IsRedirect() bool
IsRedirect returns true when this get networks forbidden response has a 3xx status code
func (*GetNetworksForbidden) IsServerError ¶ added in v0.5.0
func (o *GetNetworksForbidden) IsServerError() bool
IsServerError returns true when this get networks forbidden response has a 5xx status code
func (*GetNetworksForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetNetworksForbidden) IsSuccess() bool
IsSuccess returns true when this get networks forbidden response has a 2xx status code
func (*GetNetworksForbidden) String ¶ added in v0.5.0
func (o *GetNetworksForbidden) String() string
type GetNetworksOK ¶
type GetNetworksOK struct {
Payload *models.NetworkResult
}
GetNetworksOK describes a response with status code 200, with default header values.
successful operation
func NewGetNetworksOK ¶
func NewGetNetworksOK() *GetNetworksOK
NewGetNetworksOK creates a GetNetworksOK with default headers values
func (*GetNetworksOK) Error ¶
func (o *GetNetworksOK) Error() string
func (*GetNetworksOK) GetPayload ¶
func (o *GetNetworksOK) GetPayload() *models.NetworkResult
func (*GetNetworksOK) IsClientError ¶ added in v0.5.0
func (o *GetNetworksOK) IsClientError() bool
IsClientError returns true when this get networks o k response has a 4xx status code
func (*GetNetworksOK) IsCode ¶ added in v0.5.0
func (o *GetNetworksOK) IsCode(code int) bool
IsCode returns true when this get networks o k response a status code equal to that given
func (*GetNetworksOK) IsRedirect ¶ added in v0.5.0
func (o *GetNetworksOK) IsRedirect() bool
IsRedirect returns true when this get networks o k response has a 3xx status code
func (*GetNetworksOK) IsServerError ¶ added in v0.5.0
func (o *GetNetworksOK) IsServerError() bool
IsServerError returns true when this get networks o k response has a 5xx status code
func (*GetNetworksOK) IsSuccess ¶ added in v0.5.0
func (o *GetNetworksOK) IsSuccess() bool
IsSuccess returns true when this get networks o k response has a 2xx status code
func (*GetNetworksOK) String ¶ added in v0.5.0
func (o *GetNetworksOK) String() string
type GetNetworksParams ¶
type GetNetworksParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworksParams contains all the parameters to send to the API endpoint
for the get networks operation. Typically these are written to a http.Request.
func NewGetNetworksParams ¶
func NewGetNetworksParams() *GetNetworksParams
NewGetNetworksParams creates a new GetNetworksParams 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 NewGetNetworksParamsWithContext ¶
func NewGetNetworksParamsWithContext(ctx context.Context) *GetNetworksParams
NewGetNetworksParamsWithContext creates a new GetNetworksParams object with the ability to set a context for a request.
func NewGetNetworksParamsWithHTTPClient ¶
func NewGetNetworksParamsWithHTTPClient(client *http.Client) *GetNetworksParams
NewGetNetworksParamsWithHTTPClient creates a new GetNetworksParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworksParamsWithTimeout ¶
func NewGetNetworksParamsWithTimeout(timeout time.Duration) *GetNetworksParams
NewGetNetworksParamsWithTimeout creates a new GetNetworksParams object with the ability to set a timeout on a request.
func (*GetNetworksParams) SetAPIVersion ¶
func (o *GetNetworksParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get networks params
func (*GetNetworksParams) SetContext ¶
func (o *GetNetworksParams) SetContext(ctx context.Context)
SetContext adds the context to the get networks params
func (*GetNetworksParams) SetDefaults ¶ added in v0.2.20
func (o *GetNetworksParams) SetDefaults()
SetDefaults hydrates default values in the get networks params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworksParams) SetHTTPClient ¶
func (o *GetNetworksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get networks params
func (*GetNetworksParams) SetTimeout ¶
func (o *GetNetworksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get networks params
func (*GetNetworksParams) WithAPIVersion ¶
func (o *GetNetworksParams) WithAPIVersion(aPIVersion *string) *GetNetworksParams
WithAPIVersion adds the aPIVersion to the get networks params
func (*GetNetworksParams) WithContext ¶
func (o *GetNetworksParams) WithContext(ctx context.Context) *GetNetworksParams
WithContext adds the context to the get networks params
func (*GetNetworksParams) WithDefaults ¶ added in v0.2.20
func (o *GetNetworksParams) WithDefaults() *GetNetworksParams
WithDefaults hydrates default values in the get networks params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworksParams) WithHTTPClient ¶
func (o *GetNetworksParams) WithHTTPClient(client *http.Client) *GetNetworksParams
WithHTTPClient adds the HTTPClient to the get networks params
func (*GetNetworksParams) WithTimeout ¶
func (o *GetNetworksParams) WithTimeout(timeout time.Duration) *GetNetworksParams
WithTimeout adds the timeout to the get networks params
func (*GetNetworksParams) WriteToRequest ¶
func (o *GetNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworksReader ¶
type GetNetworksReader struct {
// contains filtered or unexported fields
}
GetNetworksReader is a Reader for the GetNetworks structure.
func (*GetNetworksReader) ReadResponse ¶
func (o *GetNetworksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMachineNetworkInterfaceForbidden ¶ added in v0.4.0
type PatchMachineNetworkInterfaceForbidden struct {
Payload *models.ServiceErrorResponse
}
PatchMachineNetworkInterfaceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchMachineNetworkInterfaceForbidden ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceForbidden() *PatchMachineNetworkInterfaceForbidden
NewPatchMachineNetworkInterfaceForbidden creates a PatchMachineNetworkInterfaceForbidden with default headers values
func (*PatchMachineNetworkInterfaceForbidden) Error ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceForbidden) Error() string
func (*PatchMachineNetworkInterfaceForbidden) GetPayload ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceForbidden) GetPayload() *models.ServiceErrorResponse
func (*PatchMachineNetworkInterfaceForbidden) IsClientError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) IsClientError() bool
IsClientError returns true when this patch machine network interface forbidden response has a 4xx status code
func (*PatchMachineNetworkInterfaceForbidden) IsCode ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) IsCode(code int) bool
IsCode returns true when this patch machine network interface forbidden response a status code equal to that given
func (*PatchMachineNetworkInterfaceForbidden) IsRedirect ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) IsRedirect() bool
IsRedirect returns true when this patch machine network interface forbidden response has a 3xx status code
func (*PatchMachineNetworkInterfaceForbidden) IsServerError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) IsServerError() bool
IsServerError returns true when this patch machine network interface forbidden response has a 5xx status code
func (*PatchMachineNetworkInterfaceForbidden) IsSuccess ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) IsSuccess() bool
IsSuccess returns true when this patch machine network interface forbidden response has a 2xx status code
func (*PatchMachineNetworkInterfaceForbidden) String ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceForbidden) String() string
type PatchMachineNetworkInterfaceNotFound ¶ added in v0.4.0
PatchMachineNetworkInterfaceNotFound describes a response with status code 404, with default header values.
Not Found
func NewPatchMachineNetworkInterfaceNotFound ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceNotFound() *PatchMachineNetworkInterfaceNotFound
NewPatchMachineNetworkInterfaceNotFound creates a PatchMachineNetworkInterfaceNotFound with default headers values
func (*PatchMachineNetworkInterfaceNotFound) Error ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceNotFound) Error() string
func (*PatchMachineNetworkInterfaceNotFound) GetPayload ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceNotFound) GetPayload() *models.Error
func (*PatchMachineNetworkInterfaceNotFound) IsClientError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) IsClientError() bool
IsClientError returns true when this patch machine network interface not found response has a 4xx status code
func (*PatchMachineNetworkInterfaceNotFound) IsCode ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) IsCode(code int) bool
IsCode returns true when this patch machine network interface not found response a status code equal to that given
func (*PatchMachineNetworkInterfaceNotFound) IsRedirect ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) IsRedirect() bool
IsRedirect returns true when this patch machine network interface not found response has a 3xx status code
func (*PatchMachineNetworkInterfaceNotFound) IsServerError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) IsServerError() bool
IsServerError returns true when this patch machine network interface not found response has a 5xx status code
func (*PatchMachineNetworkInterfaceNotFound) IsSuccess ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) IsSuccess() bool
IsSuccess returns true when this patch machine network interface not found response has a 2xx status code
func (*PatchMachineNetworkInterfaceNotFound) String ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceNotFound) String() string
type PatchMachineNetworkInterfaceOK ¶ added in v0.4.0
type PatchMachineNetworkInterfaceOK struct {
Payload *models.NetworkInterface
}
PatchMachineNetworkInterfaceOK describes a response with status code 200, with default header values.
successful operation
func NewPatchMachineNetworkInterfaceOK ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceOK() *PatchMachineNetworkInterfaceOK
NewPatchMachineNetworkInterfaceOK creates a PatchMachineNetworkInterfaceOK with default headers values
func (*PatchMachineNetworkInterfaceOK) Error ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceOK) Error() string
func (*PatchMachineNetworkInterfaceOK) GetPayload ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceOK) GetPayload() *models.NetworkInterface
func (*PatchMachineNetworkInterfaceOK) IsClientError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) IsClientError() bool
IsClientError returns true when this patch machine network interface o k response has a 4xx status code
func (*PatchMachineNetworkInterfaceOK) IsCode ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) IsCode(code int) bool
IsCode returns true when this patch machine network interface o k response a status code equal to that given
func (*PatchMachineNetworkInterfaceOK) IsRedirect ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) IsRedirect() bool
IsRedirect returns true when this patch machine network interface o k response has a 3xx status code
func (*PatchMachineNetworkInterfaceOK) IsServerError ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) IsServerError() bool
IsServerError returns true when this patch machine network interface o k response has a 5xx status code
func (*PatchMachineNetworkInterfaceOK) IsSuccess ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) IsSuccess() bool
IsSuccess returns true when this patch machine network interface o k response has a 2xx status code
func (*PatchMachineNetworkInterfaceOK) String ¶ added in v0.5.0
func (o *PatchMachineNetworkInterfaceOK) String() string
type PatchMachineNetworkInterfaceParams ¶ added in v0.4.0
type PatchMachineNetworkInterfaceParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string /* Body. NetworkInterface Specification */ Body *models.UpdateNetworkInterfaceSpecification /* ID. The ID of the machine. */ ID string /* NetworkID. The ID of the network interface. */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMachineNetworkInterfaceParams contains all the parameters to send to the API endpoint
for the patch machine network interface operation. Typically these are written to a http.Request.
func NewPatchMachineNetworkInterfaceParams ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceParams() *PatchMachineNetworkInterfaceParams
NewPatchMachineNetworkInterfaceParams creates a new PatchMachineNetworkInterfaceParams 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 NewPatchMachineNetworkInterfaceParamsWithContext ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceParamsWithContext(ctx context.Context) *PatchMachineNetworkInterfaceParams
NewPatchMachineNetworkInterfaceParamsWithContext creates a new PatchMachineNetworkInterfaceParams object with the ability to set a context for a request.
func NewPatchMachineNetworkInterfaceParamsWithHTTPClient ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceParamsWithHTTPClient(client *http.Client) *PatchMachineNetworkInterfaceParams
NewPatchMachineNetworkInterfaceParamsWithHTTPClient creates a new PatchMachineNetworkInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewPatchMachineNetworkInterfaceParamsWithTimeout ¶ added in v0.4.0
func NewPatchMachineNetworkInterfaceParamsWithTimeout(timeout time.Duration) *PatchMachineNetworkInterfaceParams
NewPatchMachineNetworkInterfaceParamsWithTimeout creates a new PatchMachineNetworkInterfaceParams object with the ability to set a timeout on a request.
func (*PatchMachineNetworkInterfaceParams) SetAPIVersion ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetBody ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetBody(body *models.UpdateNetworkInterfaceSpecification)
SetBody adds the body to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetContext ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetDefaults ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetDefaults()
SetDefaults hydrates default values in the patch machine network interface params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMachineNetworkInterfaceParams) SetHTTPClient ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetID ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetID(id string)
SetID adds the id to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetNetworkID ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) SetTimeout ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithAPIVersion ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithAPIVersion(aPIVersion string) *PatchMachineNetworkInterfaceParams
WithAPIVersion adds the aPIVersion to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithBody ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithBody(body *models.UpdateNetworkInterfaceSpecification) *PatchMachineNetworkInterfaceParams
WithBody adds the body to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithContext ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithContext(ctx context.Context) *PatchMachineNetworkInterfaceParams
WithContext adds the context to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithDefaults ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithDefaults() *PatchMachineNetworkInterfaceParams
WithDefaults hydrates default values in the patch machine network interface params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMachineNetworkInterfaceParams) WithHTTPClient ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithHTTPClient(client *http.Client) *PatchMachineNetworkInterfaceParams
WithHTTPClient adds the HTTPClient to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithID ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithID(id string) *PatchMachineNetworkInterfaceParams
WithID adds the id to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithNetworkID ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithNetworkID(networkID string) *PatchMachineNetworkInterfaceParams
WithNetworkID adds the networkID to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WithTimeout ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WithTimeout(timeout time.Duration) *PatchMachineNetworkInterfaceParams
WithTimeout adds the timeout to the patch machine network interface params
func (*PatchMachineNetworkInterfaceParams) WriteToRequest ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMachineNetworkInterfaceReader ¶ added in v0.4.0
type PatchMachineNetworkInterfaceReader struct {
// contains filtered or unexported fields
}
PatchMachineNetworkInterfaceReader is a Reader for the PatchMachineNetworkInterface structure.
func (*PatchMachineNetworkInterfaceReader) ReadResponse ¶ added in v0.4.0
func (o *PatchMachineNetworkInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_network_parameters.go
- create_network_responses.go
- delete_network_parameters.go
- delete_network_responses.go
- get_machine_network_interface_parameters.go
- get_machine_network_interface_responses.go
- get_network_domain_parameters.go
- get_network_domain_responses.go
- get_network_domains_parameters.go
- get_network_domains_responses.go
- get_network_parameters.go
- get_network_responses.go
- get_networks_parameters.go
- get_networks_responses.go
- network_client.go
- patch_machine_network_interface_parameters.go
- patch_machine_network_interface_responses.go