network_profile

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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

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 (*CreateNetworkProfileCreated) GetPayload

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

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

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

WithBody adds the body to the create network profile params

func (*CreateNetworkProfileParams) WithContext

WithContext adds the context to the create network profile params

func (*CreateNetworkProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network profile params

func (*CreateNetworkProfileParams) WithTimeout

WithTimeout adds the timeout to the create network profile params

func (*CreateNetworkProfileParams) WriteToRequest

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

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

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

WithContext adds the context to the delete network profile params

func (*DeleteNetworkProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network profile params

func (*DeleteNetworkProfileParams) WithID

WithID adds the id to the delete network profile params

func (*DeleteNetworkProfileParams) WithTimeout

WithTimeout adds the timeout to the delete network profile params

func (*DeleteNetworkProfileParams) WriteToRequest

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

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

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

WithID adds the id to the get network profile params

func (*GetNetworkProfileParams) WithTimeout

WithTimeout adds the timeout to the get network profile params

func (*GetNetworkProfileParams) WriteToRequest

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

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

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

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

WithTimeout adds the timeout to the get network profiles params

func (*GetNetworkProfilesParams) WriteToRequest

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

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

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

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

WithBody adds the body to the update network profile params

func (*UpdateNetworkProfileParams) WithContext

WithContext adds the context to the update network profile params

func (*UpdateNetworkProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network profile params

func (*UpdateNetworkProfileParams) WithID

WithID adds the id to the update network profile params

func (*UpdateNetworkProfileParams) WithTimeout

WithTimeout adds the timeout to the update network profile params

func (*UpdateNetworkProfileParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL