Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNetworkIPRange(params *CreateNetworkIPRangeParams) (*CreateNetworkIPRangeAccepted, error)
- func (a *Client) DeleteNetworkIPRange(params *DeleteNetworkIPRangeParams) (*DeleteNetworkIPRangeNoContent, error)
- func (a *Client) GetNetworkIPRange(params *GetNetworkIPRangeParams) (*GetNetworkIPRangeOK, error)
- func (a *Client) GetNetworkIPRanges(params *GetNetworkIPRangesParams) (*GetNetworkIPRangesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkIPRange(params *UpdateNetworkIPRangeParams) (*UpdateNetworkIPRangeOK, error)
- type CreateNetworkIPRangeAccepted
- type CreateNetworkIPRangeBadRequest
- type CreateNetworkIPRangeForbidden
- type CreateNetworkIPRangeParams
- func NewCreateNetworkIPRangeParams() *CreateNetworkIPRangeParams
- func NewCreateNetworkIPRangeParamsWithContext(ctx context.Context) *CreateNetworkIPRangeParams
- func NewCreateNetworkIPRangeParamsWithHTTPClient(client *http.Client) *CreateNetworkIPRangeParams
- func NewCreateNetworkIPRangeParamsWithTimeout(timeout time.Duration) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateNetworkIPRangeParams) SetBody(body *models.NetworkIPRangeSpecification)
- func (o *CreateNetworkIPRangeParams) SetContext(ctx context.Context)
- func (o *CreateNetworkIPRangeParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkIPRangeParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) WithBody(body *models.NetworkIPRangeSpecification) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) WithContext(ctx context.Context) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) WithHTTPClient(client *http.Client) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) WithTimeout(timeout time.Duration) *CreateNetworkIPRangeParams
- func (o *CreateNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkIPRangeReader
- type DeleteNetworkIPRangeForbidden
- type DeleteNetworkIPRangeNoContent
- type DeleteNetworkIPRangeParams
- func NewDeleteNetworkIPRangeParams() *DeleteNetworkIPRangeParams
- func NewDeleteNetworkIPRangeParamsWithContext(ctx context.Context) *DeleteNetworkIPRangeParams
- func NewDeleteNetworkIPRangeParamsWithHTTPClient(client *http.Client) *DeleteNetworkIPRangeParams
- func NewDeleteNetworkIPRangeParamsWithTimeout(timeout time.Duration) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteNetworkIPRangeParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkIPRangeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkIPRangeParams) SetID(id string)
- func (o *DeleteNetworkIPRangeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) WithContext(ctx context.Context) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) WithHTTPClient(client *http.Client) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) WithID(id string) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) WithTimeout(timeout time.Duration) *DeleteNetworkIPRangeParams
- func (o *DeleteNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkIPRangeReader
- type GetNetworkIPRangeForbidden
- type GetNetworkIPRangeNotFound
- type GetNetworkIPRangeOK
- type GetNetworkIPRangeParams
- func NewGetNetworkIPRangeParams() *GetNetworkIPRangeParams
- func NewGetNetworkIPRangeParamsWithContext(ctx context.Context) *GetNetworkIPRangeParams
- func NewGetNetworkIPRangeParamsWithHTTPClient(client *http.Client) *GetNetworkIPRangeParams
- func NewGetNetworkIPRangeParamsWithTimeout(timeout time.Duration) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkIPRangeParams) SetContext(ctx context.Context)
- func (o *GetNetworkIPRangeParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkIPRangeParams) SetID(id string)
- func (o *GetNetworkIPRangeParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) WithContext(ctx context.Context) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) WithHTTPClient(client *http.Client) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) WithID(id string) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) WithTimeout(timeout time.Duration) *GetNetworkIPRangeParams
- func (o *GetNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkIPRangeReader
- type GetNetworkIPRangesForbidden
- type GetNetworkIPRangesNotFound
- type GetNetworkIPRangesOK
- type GetNetworkIPRangesParams
- func NewGetNetworkIPRangesParams() *GetNetworkIPRangesParams
- func NewGetNetworkIPRangesParamsWithContext(ctx context.Context) *GetNetworkIPRangesParams
- func NewGetNetworkIPRangesParamsWithHTTPClient(client *http.Client) *GetNetworkIPRangesParams
- func NewGetNetworkIPRangesParamsWithTimeout(timeout time.Duration) *GetNetworkIPRangesParams
- func (o *GetNetworkIPRangesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkIPRangesParams) SetContext(ctx context.Context)
- func (o *GetNetworkIPRangesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkIPRangesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkIPRangesParams) WithAPIVersion(aPIVersion *string) *GetNetworkIPRangesParams
- func (o *GetNetworkIPRangesParams) WithContext(ctx context.Context) *GetNetworkIPRangesParams
- func (o *GetNetworkIPRangesParams) WithHTTPClient(client *http.Client) *GetNetworkIPRangesParams
- func (o *GetNetworkIPRangesParams) WithTimeout(timeout time.Duration) *GetNetworkIPRangesParams
- func (o *GetNetworkIPRangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkIPRangesReader
- type UpdateNetworkIPRangeForbidden
- type UpdateNetworkIPRangeNotFound
- type UpdateNetworkIPRangeOK
- type UpdateNetworkIPRangeParams
- func NewUpdateNetworkIPRangeParams() *UpdateNetworkIPRangeParams
- func NewUpdateNetworkIPRangeParamsWithContext(ctx context.Context) *UpdateNetworkIPRangeParams
- func NewUpdateNetworkIPRangeParamsWithHTTPClient(client *http.Client) *UpdateNetworkIPRangeParams
- func NewUpdateNetworkIPRangeParamsWithTimeout(timeout time.Duration) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateNetworkIPRangeParams) SetBody(body *models.NetworkIPRangeSpecification)
- func (o *UpdateNetworkIPRangeParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkIPRangeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkIPRangeParams) SetID(id string)
- func (o *UpdateNetworkIPRangeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WithBody(body *models.NetworkIPRangeSpecification) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WithContext(ctx context.Context) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WithHTTPClient(client *http.Client) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WithID(id string) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WithTimeout(timeout time.Duration) *UpdateNetworkIPRangeParams
- func (o *UpdateNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkIPRangeReader
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 ip range API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new network ip range API client.
func (*Client) CreateNetworkIPRange ¶
func (a *Client) CreateNetworkIPRange(params *CreateNetworkIPRangeParams) (*CreateNetworkIPRangeAccepted, error)
CreateNetworkIPRange creates network IP range
Creates a network IP range.
func (*Client) DeleteNetworkIPRange ¶
func (a *Client) DeleteNetworkIPRange(params *DeleteNetworkIPRangeParams) (*DeleteNetworkIPRangeNoContent, error)
DeleteNetworkIPRange deletes network IP range
Delete network IP range with a given id
func (*Client) GetNetworkIPRange ¶
func (a *Client) GetNetworkIPRange(params *GetNetworkIPRangeParams) (*GetNetworkIPRangeOK, error)
GetNetworkIPRange gets network IP range
Get network IP range with a given id
func (*Client) GetNetworkIPRanges ¶
func (a *Client) GetNetworkIPRanges(params *GetNetworkIPRangesParams) (*GetNetworkIPRangesOK, error)
GetNetworkIPRanges gets network IP ranges
Get all network IP ranges
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkIPRange ¶
func (a *Client) UpdateNetworkIPRange(params *UpdateNetworkIPRangeParams) (*UpdateNetworkIPRangeOK, error)
UpdateNetworkIPRange updates network IP range
Update network IP range.
type CreateNetworkIPRangeAccepted ¶
type CreateNetworkIPRangeAccepted struct {
Payload *models.RequestTracker
}
CreateNetworkIPRangeAccepted handles this case with default header values.
successful operation
func NewCreateNetworkIPRangeAccepted ¶
func NewCreateNetworkIPRangeAccepted() *CreateNetworkIPRangeAccepted
NewCreateNetworkIPRangeAccepted creates a CreateNetworkIPRangeAccepted with default headers values
func (*CreateNetworkIPRangeAccepted) Error ¶
func (o *CreateNetworkIPRangeAccepted) Error() string
func (*CreateNetworkIPRangeAccepted) GetPayload ¶
func (o *CreateNetworkIPRangeAccepted) GetPayload() *models.RequestTracker
type CreateNetworkIPRangeBadRequest ¶
type CreateNetworkIPRangeBadRequest struct { }
CreateNetworkIPRangeBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateNetworkIPRangeBadRequest ¶
func NewCreateNetworkIPRangeBadRequest() *CreateNetworkIPRangeBadRequest
NewCreateNetworkIPRangeBadRequest creates a CreateNetworkIPRangeBadRequest with default headers values
func (*CreateNetworkIPRangeBadRequest) Error ¶
func (o *CreateNetworkIPRangeBadRequest) Error() string
type CreateNetworkIPRangeForbidden ¶
type CreateNetworkIPRangeForbidden struct { }
CreateNetworkIPRangeForbidden handles this case with default header values.
Forbidden
func NewCreateNetworkIPRangeForbidden ¶
func NewCreateNetworkIPRangeForbidden() *CreateNetworkIPRangeForbidden
NewCreateNetworkIPRangeForbidden creates a CreateNetworkIPRangeForbidden with default headers values
func (*CreateNetworkIPRangeForbidden) Error ¶
func (o *CreateNetworkIPRangeForbidden) Error() string
type CreateNetworkIPRangeParams ¶
type CreateNetworkIPRangeParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Network IP Range Specification instance */ Body *models.NetworkIPRangeSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkIPRangeParams contains all the parameters to send to the API endpoint for the create network IP range operation typically these are written to a http.Request
func NewCreateNetworkIPRangeParams ¶
func NewCreateNetworkIPRangeParams() *CreateNetworkIPRangeParams
NewCreateNetworkIPRangeParams creates a new CreateNetworkIPRangeParams object with the default values initialized.
func NewCreateNetworkIPRangeParamsWithContext ¶
func NewCreateNetworkIPRangeParamsWithContext(ctx context.Context) *CreateNetworkIPRangeParams
NewCreateNetworkIPRangeParamsWithContext creates a new CreateNetworkIPRangeParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNetworkIPRangeParamsWithHTTPClient ¶
func NewCreateNetworkIPRangeParamsWithHTTPClient(client *http.Client) *CreateNetworkIPRangeParams
NewCreateNetworkIPRangeParamsWithHTTPClient creates a new CreateNetworkIPRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNetworkIPRangeParamsWithTimeout ¶
func NewCreateNetworkIPRangeParamsWithTimeout(timeout time.Duration) *CreateNetworkIPRangeParams
NewCreateNetworkIPRangeParamsWithTimeout creates a new CreateNetworkIPRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNetworkIPRangeParams) SetAPIVersion ¶
func (o *CreateNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create network IP range params
func (*CreateNetworkIPRangeParams) SetBody ¶
func (o *CreateNetworkIPRangeParams) SetBody(body *models.NetworkIPRangeSpecification)
SetBody adds the body to the create network IP range params
func (*CreateNetworkIPRangeParams) SetContext ¶
func (o *CreateNetworkIPRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the create network IP range params
func (*CreateNetworkIPRangeParams) SetHTTPClient ¶
func (o *CreateNetworkIPRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network IP range params
func (*CreateNetworkIPRangeParams) SetTimeout ¶
func (o *CreateNetworkIPRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network IP range params
func (*CreateNetworkIPRangeParams) WithAPIVersion ¶
func (o *CreateNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *CreateNetworkIPRangeParams
WithAPIVersion adds the aPIVersion to the create network IP range params
func (*CreateNetworkIPRangeParams) WithBody ¶
func (o *CreateNetworkIPRangeParams) WithBody(body *models.NetworkIPRangeSpecification) *CreateNetworkIPRangeParams
WithBody adds the body to the create network IP range params
func (*CreateNetworkIPRangeParams) WithContext ¶
func (o *CreateNetworkIPRangeParams) WithContext(ctx context.Context) *CreateNetworkIPRangeParams
WithContext adds the context to the create network IP range params
func (*CreateNetworkIPRangeParams) WithHTTPClient ¶
func (o *CreateNetworkIPRangeParams) WithHTTPClient(client *http.Client) *CreateNetworkIPRangeParams
WithHTTPClient adds the HTTPClient to the create network IP range params
func (*CreateNetworkIPRangeParams) WithTimeout ¶
func (o *CreateNetworkIPRangeParams) WithTimeout(timeout time.Duration) *CreateNetworkIPRangeParams
WithTimeout adds the timeout to the create network IP range params
func (*CreateNetworkIPRangeParams) WriteToRequest ¶
func (o *CreateNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkIPRangeReader ¶
type CreateNetworkIPRangeReader struct {
// contains filtered or unexported fields
}
CreateNetworkIPRangeReader is a Reader for the CreateNetworkIPRange structure.
func (*CreateNetworkIPRangeReader) ReadResponse ¶
func (o *CreateNetworkIPRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkIPRangeForbidden ¶
type DeleteNetworkIPRangeForbidden struct { }
DeleteNetworkIPRangeForbidden handles this case with default header values.
Forbidden
func NewDeleteNetworkIPRangeForbidden ¶
func NewDeleteNetworkIPRangeForbidden() *DeleteNetworkIPRangeForbidden
NewDeleteNetworkIPRangeForbidden creates a DeleteNetworkIPRangeForbidden with default headers values
func (*DeleteNetworkIPRangeForbidden) Error ¶
func (o *DeleteNetworkIPRangeForbidden) Error() string
type DeleteNetworkIPRangeNoContent ¶
type DeleteNetworkIPRangeNoContent struct { }
DeleteNetworkIPRangeNoContent handles this case with default header values.
No Content
func NewDeleteNetworkIPRangeNoContent ¶
func NewDeleteNetworkIPRangeNoContent() *DeleteNetworkIPRangeNoContent
NewDeleteNetworkIPRangeNoContent creates a DeleteNetworkIPRangeNoContent with default headers values
func (*DeleteNetworkIPRangeNoContent) Error ¶
func (o *DeleteNetworkIPRangeNoContent) Error() string
type DeleteNetworkIPRangeParams ¶
type DeleteNetworkIPRangeParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the network IP range. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkIPRangeParams contains all the parameters to send to the API endpoint for the delete network IP range operation typically these are written to a http.Request
func NewDeleteNetworkIPRangeParams ¶
func NewDeleteNetworkIPRangeParams() *DeleteNetworkIPRangeParams
NewDeleteNetworkIPRangeParams creates a new DeleteNetworkIPRangeParams object with the default values initialized.
func NewDeleteNetworkIPRangeParamsWithContext ¶
func NewDeleteNetworkIPRangeParamsWithContext(ctx context.Context) *DeleteNetworkIPRangeParams
NewDeleteNetworkIPRangeParamsWithContext creates a new DeleteNetworkIPRangeParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNetworkIPRangeParamsWithHTTPClient ¶
func NewDeleteNetworkIPRangeParamsWithHTTPClient(client *http.Client) *DeleteNetworkIPRangeParams
NewDeleteNetworkIPRangeParamsWithHTTPClient creates a new DeleteNetworkIPRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNetworkIPRangeParamsWithTimeout ¶
func NewDeleteNetworkIPRangeParamsWithTimeout(timeout time.Duration) *DeleteNetworkIPRangeParams
NewDeleteNetworkIPRangeParamsWithTimeout creates a new DeleteNetworkIPRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNetworkIPRangeParams) SetAPIVersion ¶
func (o *DeleteNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete network IP range params
func (*DeleteNetworkIPRangeParams) SetContext ¶
func (o *DeleteNetworkIPRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network IP range params
func (*DeleteNetworkIPRangeParams) SetHTTPClient ¶
func (o *DeleteNetworkIPRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network IP range params
func (*DeleteNetworkIPRangeParams) SetID ¶
func (o *DeleteNetworkIPRangeParams) SetID(id string)
SetID adds the id to the delete network IP range params
func (*DeleteNetworkIPRangeParams) SetTimeout ¶
func (o *DeleteNetworkIPRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WithAPIVersion ¶
func (o *DeleteNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkIPRangeParams
WithAPIVersion adds the aPIVersion to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WithContext ¶
func (o *DeleteNetworkIPRangeParams) WithContext(ctx context.Context) *DeleteNetworkIPRangeParams
WithContext adds the context to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WithHTTPClient ¶
func (o *DeleteNetworkIPRangeParams) WithHTTPClient(client *http.Client) *DeleteNetworkIPRangeParams
WithHTTPClient adds the HTTPClient to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WithID ¶
func (o *DeleteNetworkIPRangeParams) WithID(id string) *DeleteNetworkIPRangeParams
WithID adds the id to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WithTimeout ¶
func (o *DeleteNetworkIPRangeParams) WithTimeout(timeout time.Duration) *DeleteNetworkIPRangeParams
WithTimeout adds the timeout to the delete network IP range params
func (*DeleteNetworkIPRangeParams) WriteToRequest ¶
func (o *DeleteNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkIPRangeReader ¶
type DeleteNetworkIPRangeReader struct {
// contains filtered or unexported fields
}
DeleteNetworkIPRangeReader is a Reader for the DeleteNetworkIPRange structure.
func (*DeleteNetworkIPRangeReader) ReadResponse ¶
func (o *DeleteNetworkIPRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkIPRangeForbidden ¶
type GetNetworkIPRangeForbidden struct { }
GetNetworkIPRangeForbidden handles this case with default header values.
Forbidden
func NewGetNetworkIPRangeForbidden ¶
func NewGetNetworkIPRangeForbidden() *GetNetworkIPRangeForbidden
NewGetNetworkIPRangeForbidden creates a GetNetworkIPRangeForbidden with default headers values
func (*GetNetworkIPRangeForbidden) Error ¶
func (o *GetNetworkIPRangeForbidden) Error() string
type GetNetworkIPRangeNotFound ¶
type GetNetworkIPRangeNotFound struct { }
GetNetworkIPRangeNotFound handles this case with default header values.
Not Found
func NewGetNetworkIPRangeNotFound ¶
func NewGetNetworkIPRangeNotFound() *GetNetworkIPRangeNotFound
NewGetNetworkIPRangeNotFound creates a GetNetworkIPRangeNotFound with default headers values
func (*GetNetworkIPRangeNotFound) Error ¶
func (o *GetNetworkIPRangeNotFound) Error() string
type GetNetworkIPRangeOK ¶
type GetNetworkIPRangeOK struct {
Payload *models.NetworkIPRange
}
GetNetworkIPRangeOK handles this case with default header values.
successful operation
func NewGetNetworkIPRangeOK ¶
func NewGetNetworkIPRangeOK() *GetNetworkIPRangeOK
NewGetNetworkIPRangeOK creates a GetNetworkIPRangeOK with default headers values
func (*GetNetworkIPRangeOK) Error ¶
func (o *GetNetworkIPRangeOK) Error() string
func (*GetNetworkIPRangeOK) GetPayload ¶
func (o *GetNetworkIPRangeOK) GetPayload() *models.NetworkIPRange
type GetNetworkIPRangeParams ¶
type GetNetworkIPRangeParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the network IP range. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkIPRangeParams contains all the parameters to send to the API endpoint for the get network IP range operation typically these are written to a http.Request
func NewGetNetworkIPRangeParams ¶
func NewGetNetworkIPRangeParams() *GetNetworkIPRangeParams
NewGetNetworkIPRangeParams creates a new GetNetworkIPRangeParams object with the default values initialized.
func NewGetNetworkIPRangeParamsWithContext ¶
func NewGetNetworkIPRangeParamsWithContext(ctx context.Context) *GetNetworkIPRangeParams
NewGetNetworkIPRangeParamsWithContext creates a new GetNetworkIPRangeParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkIPRangeParamsWithHTTPClient ¶
func NewGetNetworkIPRangeParamsWithHTTPClient(client *http.Client) *GetNetworkIPRangeParams
NewGetNetworkIPRangeParamsWithHTTPClient creates a new GetNetworkIPRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkIPRangeParamsWithTimeout ¶
func NewGetNetworkIPRangeParamsWithTimeout(timeout time.Duration) *GetNetworkIPRangeParams
NewGetNetworkIPRangeParamsWithTimeout creates a new GetNetworkIPRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkIPRangeParams) SetAPIVersion ¶
func (o *GetNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network IP range params
func (*GetNetworkIPRangeParams) SetContext ¶
func (o *GetNetworkIPRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the get network IP range params
func (*GetNetworkIPRangeParams) SetHTTPClient ¶
func (o *GetNetworkIPRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network IP range params
func (*GetNetworkIPRangeParams) SetID ¶
func (o *GetNetworkIPRangeParams) SetID(id string)
SetID adds the id to the get network IP range params
func (*GetNetworkIPRangeParams) SetTimeout ¶
func (o *GetNetworkIPRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network IP range params
func (*GetNetworkIPRangeParams) WithAPIVersion ¶
func (o *GetNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *GetNetworkIPRangeParams
WithAPIVersion adds the aPIVersion to the get network IP range params
func (*GetNetworkIPRangeParams) WithContext ¶
func (o *GetNetworkIPRangeParams) WithContext(ctx context.Context) *GetNetworkIPRangeParams
WithContext adds the context to the get network IP range params
func (*GetNetworkIPRangeParams) WithHTTPClient ¶
func (o *GetNetworkIPRangeParams) WithHTTPClient(client *http.Client) *GetNetworkIPRangeParams
WithHTTPClient adds the HTTPClient to the get network IP range params
func (*GetNetworkIPRangeParams) WithID ¶
func (o *GetNetworkIPRangeParams) WithID(id string) *GetNetworkIPRangeParams
WithID adds the id to the get network IP range params
func (*GetNetworkIPRangeParams) WithTimeout ¶
func (o *GetNetworkIPRangeParams) WithTimeout(timeout time.Duration) *GetNetworkIPRangeParams
WithTimeout adds the timeout to the get network IP range params
func (*GetNetworkIPRangeParams) WriteToRequest ¶
func (o *GetNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkIPRangeReader ¶
type GetNetworkIPRangeReader struct {
// contains filtered or unexported fields
}
GetNetworkIPRangeReader is a Reader for the GetNetworkIPRange structure.
func (*GetNetworkIPRangeReader) ReadResponse ¶
func (o *GetNetworkIPRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkIPRangesForbidden ¶
type GetNetworkIPRangesForbidden struct { }
GetNetworkIPRangesForbidden handles this case with default header values.
Forbidden
func NewGetNetworkIPRangesForbidden ¶
func NewGetNetworkIPRangesForbidden() *GetNetworkIPRangesForbidden
NewGetNetworkIPRangesForbidden creates a GetNetworkIPRangesForbidden with default headers values
func (*GetNetworkIPRangesForbidden) Error ¶
func (o *GetNetworkIPRangesForbidden) Error() string
type GetNetworkIPRangesNotFound ¶
type GetNetworkIPRangesNotFound struct { }
GetNetworkIPRangesNotFound handles this case with default header values.
Not Found
func NewGetNetworkIPRangesNotFound ¶
func NewGetNetworkIPRangesNotFound() *GetNetworkIPRangesNotFound
NewGetNetworkIPRangesNotFound creates a GetNetworkIPRangesNotFound with default headers values
func (*GetNetworkIPRangesNotFound) Error ¶
func (o *GetNetworkIPRangesNotFound) Error() string
type GetNetworkIPRangesOK ¶
type GetNetworkIPRangesOK struct {
Payload *models.NetworkIPRangeResult
}
GetNetworkIPRangesOK handles this case with default header values.
successful operation
func NewGetNetworkIPRangesOK ¶
func NewGetNetworkIPRangesOK() *GetNetworkIPRangesOK
NewGetNetworkIPRangesOK creates a GetNetworkIPRangesOK with default headers values
func (*GetNetworkIPRangesOK) Error ¶
func (o *GetNetworkIPRangesOK) Error() string
func (*GetNetworkIPRangesOK) GetPayload ¶
func (o *GetNetworkIPRangesOK) GetPayload() *models.NetworkIPRangeResult
type GetNetworkIPRangesParams ¶
type GetNetworkIPRangesParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkIPRangesParams contains all the parameters to send to the API endpoint for the get network IP ranges operation typically these are written to a http.Request
func NewGetNetworkIPRangesParams ¶
func NewGetNetworkIPRangesParams() *GetNetworkIPRangesParams
NewGetNetworkIPRangesParams creates a new GetNetworkIPRangesParams object with the default values initialized.
func NewGetNetworkIPRangesParamsWithContext ¶
func NewGetNetworkIPRangesParamsWithContext(ctx context.Context) *GetNetworkIPRangesParams
NewGetNetworkIPRangesParamsWithContext creates a new GetNetworkIPRangesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkIPRangesParamsWithHTTPClient ¶
func NewGetNetworkIPRangesParamsWithHTTPClient(client *http.Client) *GetNetworkIPRangesParams
NewGetNetworkIPRangesParamsWithHTTPClient creates a new GetNetworkIPRangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkIPRangesParamsWithTimeout ¶
func NewGetNetworkIPRangesParamsWithTimeout(timeout time.Duration) *GetNetworkIPRangesParams
NewGetNetworkIPRangesParamsWithTimeout creates a new GetNetworkIPRangesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkIPRangesParams) SetAPIVersion ¶
func (o *GetNetworkIPRangesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network IP ranges params
func (*GetNetworkIPRangesParams) SetContext ¶
func (o *GetNetworkIPRangesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network IP ranges params
func (*GetNetworkIPRangesParams) SetHTTPClient ¶
func (o *GetNetworkIPRangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network IP ranges params
func (*GetNetworkIPRangesParams) SetTimeout ¶
func (o *GetNetworkIPRangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network IP ranges params
func (*GetNetworkIPRangesParams) WithAPIVersion ¶
func (o *GetNetworkIPRangesParams) WithAPIVersion(aPIVersion *string) *GetNetworkIPRangesParams
WithAPIVersion adds the aPIVersion to the get network IP ranges params
func (*GetNetworkIPRangesParams) WithContext ¶
func (o *GetNetworkIPRangesParams) WithContext(ctx context.Context) *GetNetworkIPRangesParams
WithContext adds the context to the get network IP ranges params
func (*GetNetworkIPRangesParams) WithHTTPClient ¶
func (o *GetNetworkIPRangesParams) WithHTTPClient(client *http.Client) *GetNetworkIPRangesParams
WithHTTPClient adds the HTTPClient to the get network IP ranges params
func (*GetNetworkIPRangesParams) WithTimeout ¶
func (o *GetNetworkIPRangesParams) WithTimeout(timeout time.Duration) *GetNetworkIPRangesParams
WithTimeout adds the timeout to the get network IP ranges params
func (*GetNetworkIPRangesParams) WriteToRequest ¶
func (o *GetNetworkIPRangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkIPRangesReader ¶
type GetNetworkIPRangesReader struct {
// contains filtered or unexported fields
}
GetNetworkIPRangesReader is a Reader for the GetNetworkIPRanges structure.
func (*GetNetworkIPRangesReader) ReadResponse ¶
func (o *GetNetworkIPRangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkIPRangeForbidden ¶
type UpdateNetworkIPRangeForbidden struct { }
UpdateNetworkIPRangeForbidden handles this case with default header values.
Forbidden
func NewUpdateNetworkIPRangeForbidden ¶
func NewUpdateNetworkIPRangeForbidden() *UpdateNetworkIPRangeForbidden
NewUpdateNetworkIPRangeForbidden creates a UpdateNetworkIPRangeForbidden with default headers values
func (*UpdateNetworkIPRangeForbidden) Error ¶
func (o *UpdateNetworkIPRangeForbidden) Error() string
type UpdateNetworkIPRangeNotFound ¶
type UpdateNetworkIPRangeNotFound struct { }
UpdateNetworkIPRangeNotFound handles this case with default header values.
Not Found
func NewUpdateNetworkIPRangeNotFound ¶
func NewUpdateNetworkIPRangeNotFound() *UpdateNetworkIPRangeNotFound
NewUpdateNetworkIPRangeNotFound creates a UpdateNetworkIPRangeNotFound with default headers values
func (*UpdateNetworkIPRangeNotFound) Error ¶
func (o *UpdateNetworkIPRangeNotFound) Error() string
type UpdateNetworkIPRangeOK ¶
type UpdateNetworkIPRangeOK struct {
Payload *models.FabricNetwork
}
UpdateNetworkIPRangeOK handles this case with default header values.
successful operation
func NewUpdateNetworkIPRangeOK ¶
func NewUpdateNetworkIPRangeOK() *UpdateNetworkIPRangeOK
NewUpdateNetworkIPRangeOK creates a UpdateNetworkIPRangeOK with default headers values
func (*UpdateNetworkIPRangeOK) Error ¶
func (o *UpdateNetworkIPRangeOK) Error() string
func (*UpdateNetworkIPRangeOK) GetPayload ¶
func (o *UpdateNetworkIPRangeOK) GetPayload() *models.FabricNetwork
type UpdateNetworkIPRangeParams ¶
type UpdateNetworkIPRangeParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Network IP range Specification */ Body *models.NetworkIPRangeSpecification /*ID The ID of the network IP range. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkIPRangeParams contains all the parameters to send to the API endpoint for the update network IP range operation typically these are written to a http.Request
func NewUpdateNetworkIPRangeParams ¶
func NewUpdateNetworkIPRangeParams() *UpdateNetworkIPRangeParams
NewUpdateNetworkIPRangeParams creates a new UpdateNetworkIPRangeParams object with the default values initialized.
func NewUpdateNetworkIPRangeParamsWithContext ¶
func NewUpdateNetworkIPRangeParamsWithContext(ctx context.Context) *UpdateNetworkIPRangeParams
NewUpdateNetworkIPRangeParamsWithContext creates a new UpdateNetworkIPRangeParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkIPRangeParamsWithHTTPClient ¶
func NewUpdateNetworkIPRangeParamsWithHTTPClient(client *http.Client) *UpdateNetworkIPRangeParams
NewUpdateNetworkIPRangeParamsWithHTTPClient creates a new UpdateNetworkIPRangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkIPRangeParamsWithTimeout ¶
func NewUpdateNetworkIPRangeParamsWithTimeout(timeout time.Duration) *UpdateNetworkIPRangeParams
NewUpdateNetworkIPRangeParamsWithTimeout creates a new UpdateNetworkIPRangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkIPRangeParams) SetAPIVersion ¶
func (o *UpdateNetworkIPRangeParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update network IP range params
func (*UpdateNetworkIPRangeParams) SetBody ¶
func (o *UpdateNetworkIPRangeParams) SetBody(body *models.NetworkIPRangeSpecification)
SetBody adds the body to the update network IP range params
func (*UpdateNetworkIPRangeParams) SetContext ¶
func (o *UpdateNetworkIPRangeParams) SetContext(ctx context.Context)
SetContext adds the context to the update network IP range params
func (*UpdateNetworkIPRangeParams) SetHTTPClient ¶
func (o *UpdateNetworkIPRangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network IP range params
func (*UpdateNetworkIPRangeParams) SetID ¶
func (o *UpdateNetworkIPRangeParams) SetID(id string)
SetID adds the id to the update network IP range params
func (*UpdateNetworkIPRangeParams) SetTimeout ¶
func (o *UpdateNetworkIPRangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithAPIVersion ¶
func (o *UpdateNetworkIPRangeParams) WithAPIVersion(aPIVersion *string) *UpdateNetworkIPRangeParams
WithAPIVersion adds the aPIVersion to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithBody ¶
func (o *UpdateNetworkIPRangeParams) WithBody(body *models.NetworkIPRangeSpecification) *UpdateNetworkIPRangeParams
WithBody adds the body to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithContext ¶
func (o *UpdateNetworkIPRangeParams) WithContext(ctx context.Context) *UpdateNetworkIPRangeParams
WithContext adds the context to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithHTTPClient ¶
func (o *UpdateNetworkIPRangeParams) WithHTTPClient(client *http.Client) *UpdateNetworkIPRangeParams
WithHTTPClient adds the HTTPClient to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithID ¶
func (o *UpdateNetworkIPRangeParams) WithID(id string) *UpdateNetworkIPRangeParams
WithID adds the id to the update network IP range params
func (*UpdateNetworkIPRangeParams) WithTimeout ¶
func (o *UpdateNetworkIPRangeParams) WithTimeout(timeout time.Duration) *UpdateNetworkIPRangeParams
WithTimeout adds the timeout to the update network IP range params
func (*UpdateNetworkIPRangeParams) WriteToRequest ¶
func (o *UpdateNetworkIPRangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkIPRangeReader ¶
type UpdateNetworkIPRangeReader struct {
// contains filtered or unexported fields
}
UpdateNetworkIPRangeReader is a Reader for the UpdateNetworkIPRange structure.
func (*UpdateNetworkIPRangeReader) ReadResponse ¶
func (o *UpdateNetworkIPRangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_network_ip_range_parameters.go
- create_network_ip_range_responses.go
- delete_network_ip_range_parameters.go
- delete_network_ip_range_responses.go
- get_network_ip_range_parameters.go
- get_network_ip_range_responses.go
- get_network_ip_ranges_parameters.go
- get_network_ip_ranges_responses.go
- network_ip_range_client.go
- update_network_ip_range_parameters.go
- update_network_ip_range_responses.go