Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNetwork(params *CreateNetworkParams) (*CreateNetworkAccepted, error)
- func (a *Client) DeleteNetwork(params *DeleteNetworkParams) (*DeleteNetworkAccepted, error)
- func (a *Client) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams) (*GetMachineNetworkInterfaceOK, error)
- func (a *Client) GetNetwork(params *GetNetworkParams) (*GetNetworkOK, error)
- func (a *Client) GetNetworkDomain(params *GetNetworkDomainParams) (*GetNetworkDomainOK, error)
- func (a *Client) GetNetworkDomains(params *GetNetworkDomainsParams) (*GetNetworkDomainsOK, error)
- func (a *Client) GetNetworks(params *GetNetworksParams) (*GetNetworksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateNetworkAccepted
- type CreateNetworkBadRequest
- type CreateNetworkForbidden
- 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) 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) 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
- type DeleteNetworkForbidden
- type DeleteNetworkParams
- func (o *DeleteNetworkParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteNetworkParams) SetContext(ctx context.Context)
- 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) 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
- type GetMachineNetworkInterfaceNotFound
- type GetMachineNetworkInterfaceOK
- 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) SetHTTPClient(client *http.Client)
- func (o *GetMachineNetworkInterfaceParams) SetID(id string)
- func (o *GetMachineNetworkInterfaceParams) SetId1(id1 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) WithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithID(id string) *GetMachineNetworkInterfaceParams
- func (o *GetMachineNetworkInterfaceParams) WithId1(id1 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
- type GetNetworkDomainNotFound
- type GetNetworkDomainOK
- 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) 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) 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
- type GetNetworkDomainsOK
- 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) 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) 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
- type GetNetworkNotFound
- type GetNetworkOK
- type GetNetworkParams
- func (o *GetNetworkParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkParams) SetContext(ctx context.Context)
- 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) 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
- type GetNetworksOK
- type GetNetworksParams
- func (o *GetNetworksParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworksParams) SetContext(ctx context.Context)
- 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new network API client.
func (*Client) CreateNetwork ¶
func (a *Client) CreateNetwork(params *CreateNetworkParams) (*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) (*DeleteNetworkAccepted, error)
DeleteNetwork deletes a network
Delete a network with a given id
func (*Client) GetMachineNetworkInterface ¶
func (a *Client) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams) (*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) (*GetNetworkOK, error)
GetNetwork gets network
Get network with a given id
func (*Client) GetNetworkDomain ¶
func (a *Client) GetNetworkDomain(params *GetNetworkDomainParams) (*GetNetworkDomainOK, error)
GetNetworkDomain gets network domain
Get network domain with a given id
func (*Client) GetNetworkDomains ¶
func (a *Client) GetNetworkDomains(params *GetNetworkDomainsParams) (*GetNetworkDomainsOK, error)
GetNetworkDomains gets network domains
Get all network domains.
func (*Client) GetNetworks ¶
func (a *Client) GetNetworks(params *GetNetworksParams) (*GetNetworksOK, error)
GetNetworks gets networks
Get all networks
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateNetworkAccepted ¶
type CreateNetworkAccepted struct {
Payload *models.RequestTracker
}
CreateNetworkAccepted handles this case 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
type CreateNetworkBadRequest ¶
CreateNetworkBadRequest handles this case 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
type CreateNetworkForbidden ¶
type CreateNetworkForbidden struct { }
CreateNetworkForbidden handles this case 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
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 values initialized.
func NewCreateNetworkParamsWithContext ¶
func NewCreateNetworkParamsWithContext(ctx context.Context) *CreateNetworkParams
NewCreateNetworkParamsWithContext creates a new CreateNetworkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type DeleteNetworkForbidden ¶
type DeleteNetworkForbidden struct { }
DeleteNetworkForbidden handles this case 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
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 values initialized.
func NewDeleteNetworkParamsWithContext ¶
func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams
NewDeleteNetworkParamsWithContext creates a new DeleteNetworkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetMachineNetworkInterfaceForbidden handles this case 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
type GetMachineNetworkInterfaceNotFound ¶
GetMachineNetworkInterfaceNotFound handles this case 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
type GetMachineNetworkInterfaceOK ¶
type GetMachineNetworkInterfaceOK struct {
Payload *models.NetworkInterface
}
GetMachineNetworkInterfaceOK handles this case 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
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 /*Id1 The ID of the network interface. */ Id1 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 values initialized.
func NewGetMachineNetworkInterfaceParamsWithContext ¶
func NewGetMachineNetworkInterfaceParamsWithContext(ctx context.Context) *GetMachineNetworkInterfaceParams
NewGetMachineNetworkInterfaceParamsWithContext creates a new GetMachineNetworkInterfaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) SetId1 ¶
func (o *GetMachineNetworkInterfaceParams) SetId1(id1 string)
SetId1 adds the id1 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) 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) WithId1 ¶
func (o *GetMachineNetworkInterfaceParams) WithId1(id1 string) *GetMachineNetworkInterfaceParams
WithId1 adds the id1 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 { }
GetNetworkDomainForbidden handles this case 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
type GetNetworkDomainNotFound ¶
GetNetworkDomainNotFound handles this case 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
type GetNetworkDomainOK ¶
type GetNetworkDomainOK struct {
Payload *models.NetworkDomain
}
GetNetworkDomainOK handles this case 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
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 values initialized.
func NewGetNetworkDomainParamsWithContext ¶
func NewGetNetworkDomainParamsWithContext(ctx context.Context) *GetNetworkDomainParams
NewGetNetworkDomainParamsWithContext creates a new GetNetworkDomainParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetNetworkDomainsForbidden handles this case 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
type GetNetworkDomainsOK ¶
type GetNetworkDomainsOK struct {
Payload *models.NetworkDomainResult
}
GetNetworkDomainsOK handles this case 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
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 values initialized.
func NewGetNetworkDomainsParamsWithContext ¶
func NewGetNetworkDomainsParamsWithContext(ctx context.Context) *GetNetworkDomainsParams
NewGetNetworkDomainsParamsWithContext creates a new GetNetworkDomainsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetNetworkForbidden handles this case 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
type GetNetworkNotFound ¶
GetNetworkNotFound handles this case 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
type GetNetworkOK ¶
GetNetworkOK handles this case 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
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 values initialized.
func NewGetNetworkParamsWithContext ¶
func NewGetNetworkParamsWithContext(ctx context.Context) *GetNetworkParams
NewGetNetworkParamsWithContext creates a new GetNetworkParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { }
GetNetworksForbidden handles this case 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
type GetNetworksOK ¶
type GetNetworksOK struct {
Payload *models.NetworkResult
}
GetNetworksOK handles this case 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
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 values initialized.
func NewGetNetworksParamsWithContext ¶
func NewGetNetworksParamsWithContext(ctx context.Context) *GetNetworksParams
NewGetNetworksParamsWithContext creates a new GetNetworksParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.
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