Documentation
¶
Index ¶
- type Client
- func (a *Client) NetworkProfileGetUsingGET(params *NetworkProfileGetUsingGETParams, opts ...ClientOption) (*NetworkProfileGetUsingGETOK, error)
- func (a *Client) NetworkProfileListUsingGET(params *NetworkProfileListUsingGETParams, opts ...ClientOption) (*NetworkProfileListUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type NetworkProfileGetUsingGETBadRequest
- type NetworkProfileGetUsingGETNotFound
- type NetworkProfileGetUsingGETOK
- type NetworkProfileGetUsingGETParams
- func NewNetworkProfileGetUsingGETParams() *NetworkProfileGetUsingGETParams
- func NewNetworkProfileGetUsingGETParamsWithContext(ctx context.Context) *NetworkProfileGetUsingGETParams
- func NewNetworkProfileGetUsingGETParamsWithHTTPClient(client *http.Client) *NetworkProfileGetUsingGETParams
- func NewNetworkProfileGetUsingGETParamsWithTimeout(timeout time.Duration) *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) SetContext(ctx context.Context)
- func (o *NetworkProfileGetUsingGETParams) SetDefaults()
- func (o *NetworkProfileGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *NetworkProfileGetUsingGETParams) SetNetworkProfileID(networkProfileID string)
- func (o *NetworkProfileGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *NetworkProfileGetUsingGETParams) WithContext(ctx context.Context) *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) WithDefaults() *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) WithHTTPClient(client *http.Client) *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) WithNetworkProfileID(networkProfileID string) *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) WithTimeout(timeout time.Duration) *NetworkProfileGetUsingGETParams
- func (o *NetworkProfileGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkProfileGetUsingGETReader
- type NetworkProfileListUsingGETBadRequest
- type NetworkProfileListUsingGETOK
- type NetworkProfileListUsingGETParams
- func NewNetworkProfileListUsingGETParams() *NetworkProfileListUsingGETParams
- func NewNetworkProfileListUsingGETParamsWithContext(ctx context.Context) *NetworkProfileListUsingGETParams
- func NewNetworkProfileListUsingGETParamsWithHTTPClient(client *http.Client) *NetworkProfileListUsingGETParams
- func NewNetworkProfileListUsingGETParamsWithTimeout(timeout time.Duration) *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) SetContext(ctx context.Context)
- func (o *NetworkProfileListUsingGETParams) SetDefaults()
- func (o *NetworkProfileListUsingGETParams) SetDisplayName(displayName *string)
- func (o *NetworkProfileListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *NetworkProfileListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *NetworkProfileListUsingGETParams) WithContext(ctx context.Context) *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) WithDefaults() *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) WithDisplayName(displayName *string) *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) WithHTTPClient(client *http.Client) *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) WithTimeout(timeout time.Duration) *NetworkProfileListUsingGETParams
- func (o *NetworkProfileListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkProfileListUsingGETReader
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 (o *NetworkProfileGetUsingGETBadRequest) Error() string
func (*NetworkProfileGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *NetworkProfileGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *NetworkProfileGetUsingGETNotFound) Error() string
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 (o *NetworkProfileGetUsingGETOK) Error() string
func (*NetworkProfileGetUsingGETOK) GetPayload ¶
func (o *NetworkProfileGetUsingGETOK) GetPayload() *models.NetworkProfileGetResponse
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 ¶
func (o *NetworkProfileGetUsingGETParams) WithContext(ctx context.Context) *NetworkProfileGetUsingGETParams
WithContext adds the context to the network profile get using g e t params
func (*NetworkProfileGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *NetworkProfileGetUsingGETParams) WithDefaults() *NetworkProfileGetUsingGETParams
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 ¶
func (o *NetworkProfileGetUsingGETParams) WithHTTPClient(client *http.Client) *NetworkProfileGetUsingGETParams
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 ¶
func (o *NetworkProfileGetUsingGETParams) WithTimeout(timeout time.Duration) *NetworkProfileGetUsingGETParams
WithTimeout adds the timeout to the network profile get using g e t params
func (*NetworkProfileGetUsingGETParams) WriteToRequest ¶
func (o *NetworkProfileGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *NetworkProfileListUsingGETBadRequest) Error() string
func (*NetworkProfileListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *NetworkProfileListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *NetworkProfileListUsingGETOK) Error() string
func (*NetworkProfileListUsingGETOK) GetPayload ¶
func (o *NetworkProfileListUsingGETOK) GetPayload() *models.NetworkProfileListResponse
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 ¶
func (o *NetworkProfileListUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *NetworkProfileListUsingGETParams) WithContext(ctx context.Context) *NetworkProfileListUsingGETParams
WithContext adds the context to the network profile list using g e t params
func (*NetworkProfileListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *NetworkProfileListUsingGETParams) WithDefaults() *NetworkProfileListUsingGETParams
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 ¶
func (o *NetworkProfileListUsingGETParams) WithDisplayName(displayName *string) *NetworkProfileListUsingGETParams
WithDisplayName adds the displayName to the network profile list using g e t params
func (*NetworkProfileListUsingGETParams) WithHTTPClient ¶
func (o *NetworkProfileListUsingGETParams) WithHTTPClient(client *http.Client) *NetworkProfileListUsingGETParams
WithHTTPClient adds the HTTPClient to the network profile list using g e t params
func (*NetworkProfileListUsingGETParams) WithTimeout ¶
func (o *NetworkProfileListUsingGETParams) WithTimeout(timeout time.Duration) *NetworkProfileListUsingGETParams
WithTimeout adds the timeout to the network profile list using g e t params
func (*NetworkProfileListUsingGETParams) WriteToRequest ¶
func (o *NetworkProfileListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.