Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNetworkProfile(params *CreateNetworkProfileParams) (*CreateNetworkProfileCreated, error)
- func (a *Client) DeleteNetworkProfile(params *DeleteNetworkProfileParams) (*DeleteNetworkProfileNoContent, error)
- func (a *Client) GetNetworkProfile(params *GetNetworkProfileParams) (*GetNetworkProfileOK, error)
- func (a *Client) GetNetworkProfiles(params *GetNetworkProfilesParams) (*GetNetworkProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkProfile(params *UpdateNetworkProfileParams) (*UpdateNetworkProfileOK, error)
- type CreateNetworkProfileBadRequest
- type CreateNetworkProfileCreated
- type CreateNetworkProfileForbidden
- type CreateNetworkProfileParams
- func NewCreateNetworkProfileParams() *CreateNetworkProfileParams
- func NewCreateNetworkProfileParamsWithContext(ctx context.Context) *CreateNetworkProfileParams
- func NewCreateNetworkProfileParamsWithHTTPClient(client *http.Client) *CreateNetworkProfileParams
- func NewCreateNetworkProfileParamsWithTimeout(timeout time.Duration) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateNetworkProfileParams) SetBody(body *models.NetworkProfileSpecification)
- func (o *CreateNetworkProfileParams) SetContext(ctx context.Context)
- func (o *CreateNetworkProfileParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkProfileParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkProfileParams) WithAPIVersion(aPIVersion *string) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) WithBody(body *models.NetworkProfileSpecification) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) WithContext(ctx context.Context) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) WithHTTPClient(client *http.Client) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) WithTimeout(timeout time.Duration) *CreateNetworkProfileParams
- func (o *CreateNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkProfileReader
- type DeleteNetworkProfileForbidden
- type DeleteNetworkProfileNoContent
- type DeleteNetworkProfileParams
- func NewDeleteNetworkProfileParams() *DeleteNetworkProfileParams
- func NewDeleteNetworkProfileParamsWithContext(ctx context.Context) *DeleteNetworkProfileParams
- func NewDeleteNetworkProfileParamsWithHTTPClient(client *http.Client) *DeleteNetworkProfileParams
- func NewDeleteNetworkProfileParamsWithTimeout(timeout time.Duration) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteNetworkProfileParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkProfileParams) SetID(id string)
- func (o *DeleteNetworkProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkProfileParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) WithContext(ctx context.Context) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) WithHTTPClient(client *http.Client) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) WithID(id string) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) WithTimeout(timeout time.Duration) *DeleteNetworkProfileParams
- func (o *DeleteNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkProfileReader
- type GetNetworkProfileForbidden
- type GetNetworkProfileNotFound
- type GetNetworkProfileOK
- type GetNetworkProfileParams
- func NewGetNetworkProfileParams() *GetNetworkProfileParams
- func NewGetNetworkProfileParamsWithContext(ctx context.Context) *GetNetworkProfileParams
- func NewGetNetworkProfileParamsWithHTTPClient(client *http.Client) *GetNetworkProfileParams
- func NewGetNetworkProfileParamsWithTimeout(timeout time.Duration) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkProfileParams) SetContext(ctx context.Context)
- func (o *GetNetworkProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkProfileParams) SetID(id string)
- func (o *GetNetworkProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkProfileParams) WithAPIVersion(aPIVersion *string) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) WithContext(ctx context.Context) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) WithHTTPClient(client *http.Client) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) WithID(id string) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) WithTimeout(timeout time.Duration) *GetNetworkProfileParams
- func (o *GetNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkProfileReader
- type GetNetworkProfilesForbidden
- type GetNetworkProfilesOK
- type GetNetworkProfilesParams
- func NewGetNetworkProfilesParams() *GetNetworkProfilesParams
- func NewGetNetworkProfilesParamsWithContext(ctx context.Context) *GetNetworkProfilesParams
- func NewGetNetworkProfilesParamsWithHTTPClient(client *http.Client) *GetNetworkProfilesParams
- func NewGetNetworkProfilesParamsWithTimeout(timeout time.Duration) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetNetworkProfilesParams) SetContext(ctx context.Context)
- func (o *GetNetworkProfilesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetNetworkProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkProfilesParams) WithAPIVersion(aPIVersion *string) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) WithContext(ctx context.Context) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) WithDollarFilter(dollarFilter *string) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) WithHTTPClient(client *http.Client) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) WithTimeout(timeout time.Duration) *GetNetworkProfilesParams
- func (o *GetNetworkProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkProfilesReader
- type UpdateNetworkProfileForbidden
- type UpdateNetworkProfileNotFound
- type UpdateNetworkProfileOK
- type UpdateNetworkProfileParams
- func NewUpdateNetworkProfileParams() *UpdateNetworkProfileParams
- func NewUpdateNetworkProfileParamsWithContext(ctx context.Context) *UpdateNetworkProfileParams
- func NewUpdateNetworkProfileParamsWithHTTPClient(client *http.Client) *UpdateNetworkProfileParams
- func NewUpdateNetworkProfileParamsWithTimeout(timeout time.Duration) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateNetworkProfileParams) SetBody(body *models.NetworkProfileSpecification)
- func (o *UpdateNetworkProfileParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkProfileParams) SetID(id string)
- func (o *UpdateNetworkProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkProfileParams) WithAPIVersion(aPIVersion *string) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WithBody(body *models.NetworkProfileSpecification) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WithContext(ctx context.Context) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WithHTTPClient(client *http.Client) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WithID(id string) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WithTimeout(timeout time.Duration) *UpdateNetworkProfileParams
- func (o *UpdateNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkProfileReader
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 profile API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new network profile API client.
func (*Client) CreateNetworkProfile ¶
func (a *Client) CreateNetworkProfile(params *CreateNetworkProfileParams) (*CreateNetworkProfileCreated, error)
CreateNetworkProfile creates network profile
Create network profile
func (*Client) DeleteNetworkProfile ¶
func (a *Client) DeleteNetworkProfile(params *DeleteNetworkProfileParams) (*DeleteNetworkProfileNoContent, error)
DeleteNetworkProfile deletes network profile
Delete network profile with a given id
func (*Client) GetNetworkProfile ¶
func (a *Client) GetNetworkProfile(params *GetNetworkProfileParams) (*GetNetworkProfileOK, error)
GetNetworkProfile gets network profile
Get network profile with a given id
func (*Client) GetNetworkProfiles ¶
func (a *Client) GetNetworkProfiles(params *GetNetworkProfilesParams) (*GetNetworkProfilesOK, error)
GetNetworkProfiles gets network profiles
Get all network profiles
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkProfile ¶
func (a *Client) UpdateNetworkProfile(params *UpdateNetworkProfileParams) (*UpdateNetworkProfileOK, error)
UpdateNetworkProfile updates network profile
Update network profile
type CreateNetworkProfileBadRequest ¶
type CreateNetworkProfileBadRequest struct { }
CreateNetworkProfileBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateNetworkProfileBadRequest ¶
func NewCreateNetworkProfileBadRequest() *CreateNetworkProfileBadRequest
NewCreateNetworkProfileBadRequest creates a CreateNetworkProfileBadRequest with default headers values
func (*CreateNetworkProfileBadRequest) Error ¶
func (o *CreateNetworkProfileBadRequest) Error() string
type CreateNetworkProfileCreated ¶
type CreateNetworkProfileCreated struct {
Payload *models.NetworkProfile
}
CreateNetworkProfileCreated handles this case with default header values.
successful operation
func NewCreateNetworkProfileCreated ¶
func NewCreateNetworkProfileCreated() *CreateNetworkProfileCreated
NewCreateNetworkProfileCreated creates a CreateNetworkProfileCreated with default headers values
func (*CreateNetworkProfileCreated) Error ¶
func (o *CreateNetworkProfileCreated) Error() string
func (*CreateNetworkProfileCreated) GetPayload ¶
func (o *CreateNetworkProfileCreated) GetPayload() *models.NetworkProfile
type CreateNetworkProfileForbidden ¶
type CreateNetworkProfileForbidden struct { }
CreateNetworkProfileForbidden handles this case with default header values.
Forbidden
func NewCreateNetworkProfileForbidden ¶
func NewCreateNetworkProfileForbidden() *CreateNetworkProfileForbidden
NewCreateNetworkProfileForbidden creates a CreateNetworkProfileForbidden with default headers values
func (*CreateNetworkProfileForbidden) Error ¶
func (o *CreateNetworkProfileForbidden) Error() string
type CreateNetworkProfileParams ¶
type CreateNetworkProfileParams 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 NetworkProfile instance */ Body *models.NetworkProfileSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkProfileParams contains all the parameters to send to the API endpoint for the create network profile operation typically these are written to a http.Request
func NewCreateNetworkProfileParams ¶
func NewCreateNetworkProfileParams() *CreateNetworkProfileParams
NewCreateNetworkProfileParams creates a new CreateNetworkProfileParams object with the default values initialized.
func NewCreateNetworkProfileParamsWithContext ¶
func NewCreateNetworkProfileParamsWithContext(ctx context.Context) *CreateNetworkProfileParams
NewCreateNetworkProfileParamsWithContext creates a new CreateNetworkProfileParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNetworkProfileParamsWithHTTPClient ¶
func NewCreateNetworkProfileParamsWithHTTPClient(client *http.Client) *CreateNetworkProfileParams
NewCreateNetworkProfileParamsWithHTTPClient creates a new CreateNetworkProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNetworkProfileParamsWithTimeout ¶
func NewCreateNetworkProfileParamsWithTimeout(timeout time.Duration) *CreateNetworkProfileParams
NewCreateNetworkProfileParamsWithTimeout creates a new CreateNetworkProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNetworkProfileParams) SetAPIVersion ¶
func (o *CreateNetworkProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create network profile params
func (*CreateNetworkProfileParams) SetBody ¶
func (o *CreateNetworkProfileParams) SetBody(body *models.NetworkProfileSpecification)
SetBody adds the body to the create network profile params
func (*CreateNetworkProfileParams) SetContext ¶
func (o *CreateNetworkProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the create network profile params
func (*CreateNetworkProfileParams) SetHTTPClient ¶
func (o *CreateNetworkProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network profile params
func (*CreateNetworkProfileParams) SetTimeout ¶
func (o *CreateNetworkProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network profile params
func (*CreateNetworkProfileParams) WithAPIVersion ¶
func (o *CreateNetworkProfileParams) WithAPIVersion(aPIVersion *string) *CreateNetworkProfileParams
WithAPIVersion adds the aPIVersion to the create network profile params
func (*CreateNetworkProfileParams) WithBody ¶
func (o *CreateNetworkProfileParams) WithBody(body *models.NetworkProfileSpecification) *CreateNetworkProfileParams
WithBody adds the body to the create network profile params
func (*CreateNetworkProfileParams) WithContext ¶
func (o *CreateNetworkProfileParams) WithContext(ctx context.Context) *CreateNetworkProfileParams
WithContext adds the context to the create network profile params
func (*CreateNetworkProfileParams) WithHTTPClient ¶
func (o *CreateNetworkProfileParams) WithHTTPClient(client *http.Client) *CreateNetworkProfileParams
WithHTTPClient adds the HTTPClient to the create network profile params
func (*CreateNetworkProfileParams) WithTimeout ¶
func (o *CreateNetworkProfileParams) WithTimeout(timeout time.Duration) *CreateNetworkProfileParams
WithTimeout adds the timeout to the create network profile params
func (*CreateNetworkProfileParams) WriteToRequest ¶
func (o *CreateNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkProfileReader ¶
type CreateNetworkProfileReader struct {
// contains filtered or unexported fields
}
CreateNetworkProfileReader is a Reader for the CreateNetworkProfile structure.
func (*CreateNetworkProfileReader) ReadResponse ¶
func (o *CreateNetworkProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkProfileForbidden ¶
type DeleteNetworkProfileForbidden struct { }
DeleteNetworkProfileForbidden handles this case with default header values.
Forbidden
func NewDeleteNetworkProfileForbidden ¶
func NewDeleteNetworkProfileForbidden() *DeleteNetworkProfileForbidden
NewDeleteNetworkProfileForbidden creates a DeleteNetworkProfileForbidden with default headers values
func (*DeleteNetworkProfileForbidden) Error ¶
func (o *DeleteNetworkProfileForbidden) Error() string
type DeleteNetworkProfileNoContent ¶
type DeleteNetworkProfileNoContent struct { }
DeleteNetworkProfileNoContent handles this case with default header values.
No Content
func NewDeleteNetworkProfileNoContent ¶
func NewDeleteNetworkProfileNoContent() *DeleteNetworkProfileNoContent
NewDeleteNetworkProfileNoContent creates a DeleteNetworkProfileNoContent with default headers values
func (*DeleteNetworkProfileNoContent) Error ¶
func (o *DeleteNetworkProfileNoContent) Error() string
type DeleteNetworkProfileParams ¶
type DeleteNetworkProfileParams 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 profile. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkProfileParams contains all the parameters to send to the API endpoint for the delete network profile operation typically these are written to a http.Request
func NewDeleteNetworkProfileParams ¶
func NewDeleteNetworkProfileParams() *DeleteNetworkProfileParams
NewDeleteNetworkProfileParams creates a new DeleteNetworkProfileParams object with the default values initialized.
func NewDeleteNetworkProfileParamsWithContext ¶
func NewDeleteNetworkProfileParamsWithContext(ctx context.Context) *DeleteNetworkProfileParams
NewDeleteNetworkProfileParamsWithContext creates a new DeleteNetworkProfileParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNetworkProfileParamsWithHTTPClient ¶
func NewDeleteNetworkProfileParamsWithHTTPClient(client *http.Client) *DeleteNetworkProfileParams
NewDeleteNetworkProfileParamsWithHTTPClient creates a new DeleteNetworkProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNetworkProfileParamsWithTimeout ¶
func NewDeleteNetworkProfileParamsWithTimeout(timeout time.Duration) *DeleteNetworkProfileParams
NewDeleteNetworkProfileParamsWithTimeout creates a new DeleteNetworkProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNetworkProfileParams) SetAPIVersion ¶
func (o *DeleteNetworkProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete network profile params
func (*DeleteNetworkProfileParams) SetContext ¶
func (o *DeleteNetworkProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network profile params
func (*DeleteNetworkProfileParams) SetHTTPClient ¶
func (o *DeleteNetworkProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network profile params
func (*DeleteNetworkProfileParams) SetID ¶
func (o *DeleteNetworkProfileParams) SetID(id string)
SetID adds the id to the delete network profile params
func (*DeleteNetworkProfileParams) SetTimeout ¶
func (o *DeleteNetworkProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network profile params
func (*DeleteNetworkProfileParams) WithAPIVersion ¶
func (o *DeleteNetworkProfileParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkProfileParams
WithAPIVersion adds the aPIVersion to the delete network profile params
func (*DeleteNetworkProfileParams) WithContext ¶
func (o *DeleteNetworkProfileParams) WithContext(ctx context.Context) *DeleteNetworkProfileParams
WithContext adds the context to the delete network profile params
func (*DeleteNetworkProfileParams) WithHTTPClient ¶
func (o *DeleteNetworkProfileParams) WithHTTPClient(client *http.Client) *DeleteNetworkProfileParams
WithHTTPClient adds the HTTPClient to the delete network profile params
func (*DeleteNetworkProfileParams) WithID ¶
func (o *DeleteNetworkProfileParams) WithID(id string) *DeleteNetworkProfileParams
WithID adds the id to the delete network profile params
func (*DeleteNetworkProfileParams) WithTimeout ¶
func (o *DeleteNetworkProfileParams) WithTimeout(timeout time.Duration) *DeleteNetworkProfileParams
WithTimeout adds the timeout to the delete network profile params
func (*DeleteNetworkProfileParams) WriteToRequest ¶
func (o *DeleteNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkProfileReader ¶
type DeleteNetworkProfileReader struct {
// contains filtered or unexported fields
}
DeleteNetworkProfileReader is a Reader for the DeleteNetworkProfile structure.
func (*DeleteNetworkProfileReader) ReadResponse ¶
func (o *DeleteNetworkProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkProfileForbidden ¶
type GetNetworkProfileForbidden struct { }
GetNetworkProfileForbidden handles this case with default header values.
Forbidden
func NewGetNetworkProfileForbidden ¶
func NewGetNetworkProfileForbidden() *GetNetworkProfileForbidden
NewGetNetworkProfileForbidden creates a GetNetworkProfileForbidden with default headers values
func (*GetNetworkProfileForbidden) Error ¶
func (o *GetNetworkProfileForbidden) Error() string
type GetNetworkProfileNotFound ¶
type GetNetworkProfileNotFound struct { }
GetNetworkProfileNotFound handles this case with default header values.
Not Found
func NewGetNetworkProfileNotFound ¶
func NewGetNetworkProfileNotFound() *GetNetworkProfileNotFound
NewGetNetworkProfileNotFound creates a GetNetworkProfileNotFound with default headers values
func (*GetNetworkProfileNotFound) Error ¶
func (o *GetNetworkProfileNotFound) Error() string
type GetNetworkProfileOK ¶
type GetNetworkProfileOK struct {
Payload *models.NetworkProfile
}
GetNetworkProfileOK handles this case with default header values.
successful operation
func NewGetNetworkProfileOK ¶
func NewGetNetworkProfileOK() *GetNetworkProfileOK
NewGetNetworkProfileOK creates a GetNetworkProfileOK with default headers values
func (*GetNetworkProfileOK) Error ¶
func (o *GetNetworkProfileOK) Error() string
func (*GetNetworkProfileOK) GetPayload ¶
func (o *GetNetworkProfileOK) GetPayload() *models.NetworkProfile
type GetNetworkProfileParams ¶
type GetNetworkProfileParams 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 profile. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkProfileParams contains all the parameters to send to the API endpoint for the get network profile operation typically these are written to a http.Request
func NewGetNetworkProfileParams ¶
func NewGetNetworkProfileParams() *GetNetworkProfileParams
NewGetNetworkProfileParams creates a new GetNetworkProfileParams object with the default values initialized.
func NewGetNetworkProfileParamsWithContext ¶
func NewGetNetworkProfileParamsWithContext(ctx context.Context) *GetNetworkProfileParams
NewGetNetworkProfileParamsWithContext creates a new GetNetworkProfileParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkProfileParamsWithHTTPClient ¶
func NewGetNetworkProfileParamsWithHTTPClient(client *http.Client) *GetNetworkProfileParams
NewGetNetworkProfileParamsWithHTTPClient creates a new GetNetworkProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkProfileParamsWithTimeout ¶
func NewGetNetworkProfileParamsWithTimeout(timeout time.Duration) *GetNetworkProfileParams
NewGetNetworkProfileParamsWithTimeout creates a new GetNetworkProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkProfileParams) SetAPIVersion ¶
func (o *GetNetworkProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network profile params
func (*GetNetworkProfileParams) SetContext ¶
func (o *GetNetworkProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the get network profile params
func (*GetNetworkProfileParams) SetHTTPClient ¶
func (o *GetNetworkProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network profile params
func (*GetNetworkProfileParams) SetID ¶
func (o *GetNetworkProfileParams) SetID(id string)
SetID adds the id to the get network profile params
func (*GetNetworkProfileParams) SetTimeout ¶
func (o *GetNetworkProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network profile params
func (*GetNetworkProfileParams) WithAPIVersion ¶
func (o *GetNetworkProfileParams) WithAPIVersion(aPIVersion *string) *GetNetworkProfileParams
WithAPIVersion adds the aPIVersion to the get network profile params
func (*GetNetworkProfileParams) WithContext ¶
func (o *GetNetworkProfileParams) WithContext(ctx context.Context) *GetNetworkProfileParams
WithContext adds the context to the get network profile params
func (*GetNetworkProfileParams) WithHTTPClient ¶
func (o *GetNetworkProfileParams) WithHTTPClient(client *http.Client) *GetNetworkProfileParams
WithHTTPClient adds the HTTPClient to the get network profile params
func (*GetNetworkProfileParams) WithID ¶
func (o *GetNetworkProfileParams) WithID(id string) *GetNetworkProfileParams
WithID adds the id to the get network profile params
func (*GetNetworkProfileParams) WithTimeout ¶
func (o *GetNetworkProfileParams) WithTimeout(timeout time.Duration) *GetNetworkProfileParams
WithTimeout adds the timeout to the get network profile params
func (*GetNetworkProfileParams) WriteToRequest ¶
func (o *GetNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkProfileReader ¶
type GetNetworkProfileReader struct {
// contains filtered or unexported fields
}
GetNetworkProfileReader is a Reader for the GetNetworkProfile structure.
func (*GetNetworkProfileReader) ReadResponse ¶
func (o *GetNetworkProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkProfilesForbidden ¶
type GetNetworkProfilesForbidden struct { }
GetNetworkProfilesForbidden handles this case with default header values.
Forbidden
func NewGetNetworkProfilesForbidden ¶
func NewGetNetworkProfilesForbidden() *GetNetworkProfilesForbidden
NewGetNetworkProfilesForbidden creates a GetNetworkProfilesForbidden with default headers values
func (*GetNetworkProfilesForbidden) Error ¶
func (o *GetNetworkProfilesForbidden) Error() string
type GetNetworkProfilesOK ¶
type GetNetworkProfilesOK struct {
Payload *models.NetworkProfileResult
}
GetNetworkProfilesOK handles this case with default header values.
successful operation
func NewGetNetworkProfilesOK ¶
func NewGetNetworkProfilesOK() *GetNetworkProfilesOK
NewGetNetworkProfilesOK creates a GetNetworkProfilesOK with default headers values
func (*GetNetworkProfilesOK) Error ¶
func (o *GetNetworkProfilesOK) Error() string
func (*GetNetworkProfilesOK) GetPayload ¶
func (o *GetNetworkProfilesOK) GetPayload() *models.NetworkProfileResult
type GetNetworkProfilesParams ¶
type GetNetworkProfilesParams 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 please refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkProfilesParams contains all the parameters to send to the API endpoint for the get network profiles operation typically these are written to a http.Request
func NewGetNetworkProfilesParams ¶
func NewGetNetworkProfilesParams() *GetNetworkProfilesParams
NewGetNetworkProfilesParams creates a new GetNetworkProfilesParams object with the default values initialized.
func NewGetNetworkProfilesParamsWithContext ¶
func NewGetNetworkProfilesParamsWithContext(ctx context.Context) *GetNetworkProfilesParams
NewGetNetworkProfilesParamsWithContext creates a new GetNetworkProfilesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkProfilesParamsWithHTTPClient ¶
func NewGetNetworkProfilesParamsWithHTTPClient(client *http.Client) *GetNetworkProfilesParams
NewGetNetworkProfilesParamsWithHTTPClient creates a new GetNetworkProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkProfilesParamsWithTimeout ¶
func NewGetNetworkProfilesParamsWithTimeout(timeout time.Duration) *GetNetworkProfilesParams
NewGetNetworkProfilesParamsWithTimeout creates a new GetNetworkProfilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkProfilesParams) SetAPIVersion ¶
func (o *GetNetworkProfilesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get network profiles params
func (*GetNetworkProfilesParams) SetContext ¶
func (o *GetNetworkProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network profiles params
func (*GetNetworkProfilesParams) SetDollarFilter ¶ added in v0.2.1
func (o *GetNetworkProfilesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get network profiles params
func (*GetNetworkProfilesParams) SetHTTPClient ¶
func (o *GetNetworkProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network profiles params
func (*GetNetworkProfilesParams) SetTimeout ¶
func (o *GetNetworkProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network profiles params
func (*GetNetworkProfilesParams) WithAPIVersion ¶
func (o *GetNetworkProfilesParams) WithAPIVersion(aPIVersion *string) *GetNetworkProfilesParams
WithAPIVersion adds the aPIVersion to the get network profiles params
func (*GetNetworkProfilesParams) WithContext ¶
func (o *GetNetworkProfilesParams) WithContext(ctx context.Context) *GetNetworkProfilesParams
WithContext adds the context to the get network profiles params
func (*GetNetworkProfilesParams) WithDollarFilter ¶ added in v0.2.1
func (o *GetNetworkProfilesParams) WithDollarFilter(dollarFilter *string) *GetNetworkProfilesParams
WithDollarFilter adds the dollarFilter to the get network profiles params
func (*GetNetworkProfilesParams) WithHTTPClient ¶
func (o *GetNetworkProfilesParams) WithHTTPClient(client *http.Client) *GetNetworkProfilesParams
WithHTTPClient adds the HTTPClient to the get network profiles params
func (*GetNetworkProfilesParams) WithTimeout ¶
func (o *GetNetworkProfilesParams) WithTimeout(timeout time.Duration) *GetNetworkProfilesParams
WithTimeout adds the timeout to the get network profiles params
func (*GetNetworkProfilesParams) WriteToRequest ¶
func (o *GetNetworkProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkProfilesReader ¶
type GetNetworkProfilesReader struct {
// contains filtered or unexported fields
}
GetNetworkProfilesReader is a Reader for the GetNetworkProfiles structure.
func (*GetNetworkProfilesReader) ReadResponse ¶
func (o *GetNetworkProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkProfileForbidden ¶
type UpdateNetworkProfileForbidden struct { }
UpdateNetworkProfileForbidden handles this case with default header values.
Forbidden
func NewUpdateNetworkProfileForbidden ¶
func NewUpdateNetworkProfileForbidden() *UpdateNetworkProfileForbidden
NewUpdateNetworkProfileForbidden creates a UpdateNetworkProfileForbidden with default headers values
func (*UpdateNetworkProfileForbidden) Error ¶
func (o *UpdateNetworkProfileForbidden) Error() string
type UpdateNetworkProfileNotFound ¶
type UpdateNetworkProfileNotFound struct { }
UpdateNetworkProfileNotFound handles this case with default header values.
Not Found
func NewUpdateNetworkProfileNotFound ¶
func NewUpdateNetworkProfileNotFound() *UpdateNetworkProfileNotFound
NewUpdateNetworkProfileNotFound creates a UpdateNetworkProfileNotFound with default headers values
func (*UpdateNetworkProfileNotFound) Error ¶
func (o *UpdateNetworkProfileNotFound) Error() string
type UpdateNetworkProfileOK ¶
type UpdateNetworkProfileOK struct {
Payload *models.NetworkProfile
}
UpdateNetworkProfileOK handles this case with default header values.
successful operation
func NewUpdateNetworkProfileOK ¶
func NewUpdateNetworkProfileOK() *UpdateNetworkProfileOK
NewUpdateNetworkProfileOK creates a UpdateNetworkProfileOK with default headers values
func (*UpdateNetworkProfileOK) Error ¶
func (o *UpdateNetworkProfileOK) Error() string
func (*UpdateNetworkProfileOK) GetPayload ¶
func (o *UpdateNetworkProfileOK) GetPayload() *models.NetworkProfile
type UpdateNetworkProfileParams ¶
type UpdateNetworkProfileParams 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 NetworkProfile specification */ Body *models.NetworkProfileSpecification /*ID The ID of the network profile. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkProfileParams contains all the parameters to send to the API endpoint for the update network profile operation typically these are written to a http.Request
func NewUpdateNetworkProfileParams ¶
func NewUpdateNetworkProfileParams() *UpdateNetworkProfileParams
NewUpdateNetworkProfileParams creates a new UpdateNetworkProfileParams object with the default values initialized.
func NewUpdateNetworkProfileParamsWithContext ¶
func NewUpdateNetworkProfileParamsWithContext(ctx context.Context) *UpdateNetworkProfileParams
NewUpdateNetworkProfileParamsWithContext creates a new UpdateNetworkProfileParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkProfileParamsWithHTTPClient ¶
func NewUpdateNetworkProfileParamsWithHTTPClient(client *http.Client) *UpdateNetworkProfileParams
NewUpdateNetworkProfileParamsWithHTTPClient creates a new UpdateNetworkProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkProfileParamsWithTimeout ¶
func NewUpdateNetworkProfileParamsWithTimeout(timeout time.Duration) *UpdateNetworkProfileParams
NewUpdateNetworkProfileParamsWithTimeout creates a new UpdateNetworkProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkProfileParams) SetAPIVersion ¶
func (o *UpdateNetworkProfileParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update network profile params
func (*UpdateNetworkProfileParams) SetBody ¶
func (o *UpdateNetworkProfileParams) SetBody(body *models.NetworkProfileSpecification)
SetBody adds the body to the update network profile params
func (*UpdateNetworkProfileParams) SetContext ¶
func (o *UpdateNetworkProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the update network profile params
func (*UpdateNetworkProfileParams) SetHTTPClient ¶
func (o *UpdateNetworkProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network profile params
func (*UpdateNetworkProfileParams) SetID ¶
func (o *UpdateNetworkProfileParams) SetID(id string)
SetID adds the id to the update network profile params
func (*UpdateNetworkProfileParams) SetTimeout ¶
func (o *UpdateNetworkProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network profile params
func (*UpdateNetworkProfileParams) WithAPIVersion ¶
func (o *UpdateNetworkProfileParams) WithAPIVersion(aPIVersion *string) *UpdateNetworkProfileParams
WithAPIVersion adds the aPIVersion to the update network profile params
func (*UpdateNetworkProfileParams) WithBody ¶
func (o *UpdateNetworkProfileParams) WithBody(body *models.NetworkProfileSpecification) *UpdateNetworkProfileParams
WithBody adds the body to the update network profile params
func (*UpdateNetworkProfileParams) WithContext ¶
func (o *UpdateNetworkProfileParams) WithContext(ctx context.Context) *UpdateNetworkProfileParams
WithContext adds the context to the update network profile params
func (*UpdateNetworkProfileParams) WithHTTPClient ¶
func (o *UpdateNetworkProfileParams) WithHTTPClient(client *http.Client) *UpdateNetworkProfileParams
WithHTTPClient adds the HTTPClient to the update network profile params
func (*UpdateNetworkProfileParams) WithID ¶
func (o *UpdateNetworkProfileParams) WithID(id string) *UpdateNetworkProfileParams
WithID adds the id to the update network profile params
func (*UpdateNetworkProfileParams) WithTimeout ¶
func (o *UpdateNetworkProfileParams) WithTimeout(timeout time.Duration) *UpdateNetworkProfileParams
WithTimeout adds the timeout to the update network profile params
func (*UpdateNetworkProfileParams) WriteToRequest ¶
func (o *UpdateNetworkProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkProfileReader ¶
type UpdateNetworkProfileReader struct {
// contains filtered or unexported fields
}
UpdateNetworkProfileReader is a Reader for the UpdateNetworkProfile structure.
func (*UpdateNetworkProfileReader) ReadResponse ¶
func (o *UpdateNetworkProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_network_profile_parameters.go
- create_network_profile_responses.go
- delete_network_profile_parameters.go
- delete_network_profile_responses.go
- get_network_profile_parameters.go
- get_network_profile_responses.go
- get_network_profiles_parameters.go
- get_network_profiles_responses.go
- network_profile_client.go
- update_network_profile_parameters.go
- update_network_profile_responses.go