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

func (*Client) ContextProfileListUsingGET

func (a *Client) ContextProfileListUsingGET(params *ContextProfileListUsingGETParams, opts ...ClientOption) (*ContextProfileListUsingGETOK, error)

ContextProfileListUsingGET lists

List context profiles from NSX-T

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 {
	ContextProfileListUsingGET(params *ContextProfileListUsingGETParams, opts ...ClientOption) (*ContextProfileListUsingGETOK, 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 context profiles API client.

type ContextProfileListUsingGETBadRequest

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

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

func NewContextProfileListUsingGETBadRequest

func NewContextProfileListUsingGETBadRequest() *ContextProfileListUsingGETBadRequest

NewContextProfileListUsingGETBadRequest creates a ContextProfileListUsingGETBadRequest with default headers values

func (*ContextProfileListUsingGETBadRequest) Error

func (*ContextProfileListUsingGETBadRequest) GetPayload added in v1.2.0

type ContextProfileListUsingGETOK

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

OK

func NewContextProfileListUsingGETOK

func NewContextProfileListUsingGETOK() *ContextProfileListUsingGETOK

NewContextProfileListUsingGETOK creates a ContextProfileListUsingGETOK with default headers values

func (*ContextProfileListUsingGETOK) Error

func (*ContextProfileListUsingGETOK) GetPayload

type ContextProfileListUsingGETParams

type ContextProfileListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

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

ContextProfileListUsingGETParams contains all the parameters to send to the API endpoint

for the context profile list using g e t operation.

Typically these are written to a http.Request.

func NewContextProfileListUsingGETParams

func NewContextProfileListUsingGETParams() *ContextProfileListUsingGETParams

NewContextProfileListUsingGETParams creates a new ContextProfileListUsingGETParams 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 NewContextProfileListUsingGETParamsWithContext

func NewContextProfileListUsingGETParamsWithContext(ctx context.Context) *ContextProfileListUsingGETParams

NewContextProfileListUsingGETParamsWithContext creates a new ContextProfileListUsingGETParams object with the ability to set a context for a request.

func NewContextProfileListUsingGETParamsWithHTTPClient

func NewContextProfileListUsingGETParamsWithHTTPClient(client *http.Client) *ContextProfileListUsingGETParams

NewContextProfileListUsingGETParamsWithHTTPClient creates a new ContextProfileListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewContextProfileListUsingGETParamsWithTimeout

func NewContextProfileListUsingGETParamsWithTimeout(timeout time.Duration) *ContextProfileListUsingGETParams

NewContextProfileListUsingGETParamsWithTimeout creates a new ContextProfileListUsingGETParams object with the ability to set a timeout on a request.

func (*ContextProfileListUsingGETParams) SetContext

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

func (*ContextProfileListUsingGETParams) SetDefaults added in v1.2.4

func (o *ContextProfileListUsingGETParams) SetDefaults()

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

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

func (*ContextProfileListUsingGETParams) SetDisplayName

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

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

func (*ContextProfileListUsingGETParams) SetHTTPClient

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

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

func (*ContextProfileListUsingGETParams) SetTimeout

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

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

func (*ContextProfileListUsingGETParams) WithContext

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

func (*ContextProfileListUsingGETParams) WithDefaults added in v1.2.4

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

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

func (*ContextProfileListUsingGETParams) WithDisplayName

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

func (*ContextProfileListUsingGETParams) WithHTTPClient

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

func (*ContextProfileListUsingGETParams) WithTimeout

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

func (*ContextProfileListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContextProfileListUsingGETReader

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

ContextProfileListUsingGETReader is a Reader for the ContextProfileListUsingGET structure.

func (*ContextProfileListUsingGETReader) ReadResponse

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