network_profiles

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 profiles API

func (*Client) NetworkProfileGetUsingGET

func (a *Client) NetworkProfileGetUsingGET(params *NetworkProfileGetUsingGETParams, opts ...ClientOption) (*NetworkProfileGetUsingGETOK, error)

NetworkProfileGetUsingGET gets

Get network profile

func (*Client) NetworkProfileListUsingGET

func (a *Client) NetworkProfileListUsingGET(params *NetworkProfileListUsingGETParams, opts ...ClientOption) (*NetworkProfileListUsingGETOK, error)

NetworkProfileListUsingGET lists

List network profile

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	NetworkProfileGetUsingGET(params *NetworkProfileGetUsingGETParams, opts ...ClientOption) (*NetworkProfileGetUsingGETOK, error)

	NetworkProfileListUsingGET(params *NetworkProfileListUsingGETParams, opts ...ClientOption) (*NetworkProfileListUsingGETOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new network profiles API client.

type NetworkProfileGetUsingGETBadRequest

type NetworkProfileGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NetworkProfileGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNetworkProfileGetUsingGETBadRequest

func NewNetworkProfileGetUsingGETBadRequest() *NetworkProfileGetUsingGETBadRequest

NewNetworkProfileGetUsingGETBadRequest creates a NetworkProfileGetUsingGETBadRequest with default headers values

func (*NetworkProfileGetUsingGETBadRequest) Error

func (*NetworkProfileGetUsingGETBadRequest) GetPayload added in v1.2.0

type NetworkProfileGetUsingGETNotFound

type NetworkProfileGetUsingGETNotFound struct {
}
NetworkProfileGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewNetworkProfileGetUsingGETNotFound

func NewNetworkProfileGetUsingGETNotFound() *NetworkProfileGetUsingGETNotFound

NewNetworkProfileGetUsingGETNotFound creates a NetworkProfileGetUsingGETNotFound with default headers values

func (*NetworkProfileGetUsingGETNotFound) Error

type NetworkProfileGetUsingGETOK

type NetworkProfileGetUsingGETOK struct {
	Payload *models.NetworkProfileGetResponse
}
NetworkProfileGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewNetworkProfileGetUsingGETOK

func NewNetworkProfileGetUsingGETOK() *NetworkProfileGetUsingGETOK

NewNetworkProfileGetUsingGETOK creates a NetworkProfileGetUsingGETOK with default headers values

func (*NetworkProfileGetUsingGETOK) Error

func (*NetworkProfileGetUsingGETOK) GetPayload

type NetworkProfileGetUsingGETParams

type NetworkProfileGetUsingGETParams struct {

	/* NetworkProfileID.

	   networkProfileId
	*/
	NetworkProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkProfileGetUsingGETParams contains all the parameters to send to the API endpoint

for the network profile get using g e t operation.

Typically these are written to a http.Request.

func NewNetworkProfileGetUsingGETParams

func NewNetworkProfileGetUsingGETParams() *NetworkProfileGetUsingGETParams

NewNetworkProfileGetUsingGETParams creates a new NetworkProfileGetUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkProfileGetUsingGETParamsWithContext

func NewNetworkProfileGetUsingGETParamsWithContext(ctx context.Context) *NetworkProfileGetUsingGETParams

NewNetworkProfileGetUsingGETParamsWithContext creates a new NetworkProfileGetUsingGETParams object with the ability to set a context for a request.

func NewNetworkProfileGetUsingGETParamsWithHTTPClient

func NewNetworkProfileGetUsingGETParamsWithHTTPClient(client *http.Client) *NetworkProfileGetUsingGETParams

NewNetworkProfileGetUsingGETParamsWithHTTPClient creates a new NetworkProfileGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkProfileGetUsingGETParamsWithTimeout

func NewNetworkProfileGetUsingGETParamsWithTimeout(timeout time.Duration) *NetworkProfileGetUsingGETParams

NewNetworkProfileGetUsingGETParamsWithTimeout creates a new NetworkProfileGetUsingGETParams object with the ability to set a timeout on a request.

func (*NetworkProfileGetUsingGETParams) SetContext

func (o *NetworkProfileGetUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) SetDefaults added in v1.2.4

func (o *NetworkProfileGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the network profile get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkProfileGetUsingGETParams) SetHTTPClient

func (o *NetworkProfileGetUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) SetNetworkProfileID

func (o *NetworkProfileGetUsingGETParams) SetNetworkProfileID(networkProfileID string)

SetNetworkProfileID adds the networkProfileId to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) SetTimeout

func (o *NetworkProfileGetUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) WithContext

WithContext adds the context to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the network profile get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkProfileGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) WithNetworkProfileID

func (o *NetworkProfileGetUsingGETParams) WithNetworkProfileID(networkProfileID string) *NetworkProfileGetUsingGETParams

WithNetworkProfileID adds the networkProfileID to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the network profile get using g e t params

func (*NetworkProfileGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NetworkProfileGetUsingGETReader

type NetworkProfileGetUsingGETReader struct {
	// contains filtered or unexported fields
}

NetworkProfileGetUsingGETReader is a Reader for the NetworkProfileGetUsingGET structure.

func (*NetworkProfileGetUsingGETReader) ReadResponse

func (o *NetworkProfileGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NetworkProfileListUsingGETBadRequest

type NetworkProfileListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NetworkProfileListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNetworkProfileListUsingGETBadRequest

func NewNetworkProfileListUsingGETBadRequest() *NetworkProfileListUsingGETBadRequest

NewNetworkProfileListUsingGETBadRequest creates a NetworkProfileListUsingGETBadRequest with default headers values

func (*NetworkProfileListUsingGETBadRequest) Error

func (*NetworkProfileListUsingGETBadRequest) GetPayload added in v1.2.0

type NetworkProfileListUsingGETOK

type NetworkProfileListUsingGETOK struct {
	Payload *models.NetworkProfileListResponse
}
NetworkProfileListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewNetworkProfileListUsingGETOK

func NewNetworkProfileListUsingGETOK() *NetworkProfileListUsingGETOK

NewNetworkProfileListUsingGETOK creates a NetworkProfileListUsingGETOK with default headers values

func (*NetworkProfileListUsingGETOK) Error

func (*NetworkProfileListUsingGETOK) GetPayload

type NetworkProfileListUsingGETParams

type NetworkProfileListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NetworkProfileListUsingGETParams contains all the parameters to send to the API endpoint

for the network profile list using g e t operation.

Typically these are written to a http.Request.

func NewNetworkProfileListUsingGETParams

func NewNetworkProfileListUsingGETParams() *NetworkProfileListUsingGETParams

NewNetworkProfileListUsingGETParams creates a new NetworkProfileListUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewNetworkProfileListUsingGETParamsWithContext

func NewNetworkProfileListUsingGETParamsWithContext(ctx context.Context) *NetworkProfileListUsingGETParams

NewNetworkProfileListUsingGETParamsWithContext creates a new NetworkProfileListUsingGETParams object with the ability to set a context for a request.

func NewNetworkProfileListUsingGETParamsWithHTTPClient

func NewNetworkProfileListUsingGETParamsWithHTTPClient(client *http.Client) *NetworkProfileListUsingGETParams

NewNetworkProfileListUsingGETParamsWithHTTPClient creates a new NetworkProfileListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkProfileListUsingGETParamsWithTimeout

func NewNetworkProfileListUsingGETParamsWithTimeout(timeout time.Duration) *NetworkProfileListUsingGETParams

NewNetworkProfileListUsingGETParamsWithTimeout creates a new NetworkProfileListUsingGETParams object with the ability to set a timeout on a request.

func (*NetworkProfileListUsingGETParams) SetContext

SetContext adds the context to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) SetDefaults added in v1.2.4

func (o *NetworkProfileListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the network profile list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkProfileListUsingGETParams) SetDisplayName

func (o *NetworkProfileListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) SetHTTPClient

func (o *NetworkProfileListUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) SetTimeout

func (o *NetworkProfileListUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) WithContext

WithContext adds the context to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the network profile list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NetworkProfileListUsingGETParams) WithDisplayName

WithDisplayName adds the displayName to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the network profile list using g e t params

func (*NetworkProfileListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NetworkProfileListUsingGETReader

type NetworkProfileListUsingGETReader struct {
	// contains filtered or unexported fields
}

NetworkProfileListUsingGETReader is a Reader for the NetworkProfileListUsingGET structure.

func (*NetworkProfileListUsingGETReader) ReadResponse

func (o *NetworkProfileListUsingGETReader) 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