Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ContextProfileListUsingGETBadRequest
- type ContextProfileListUsingGETOK
- type ContextProfileListUsingGETParams
- func NewContextProfileListUsingGETParams() *ContextProfileListUsingGETParams
- func NewContextProfileListUsingGETParamsWithContext(ctx context.Context) *ContextProfileListUsingGETParams
- func NewContextProfileListUsingGETParamsWithHTTPClient(client *http.Client) *ContextProfileListUsingGETParams
- func NewContextProfileListUsingGETParamsWithTimeout(timeout time.Duration) *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) SetContext(ctx context.Context)
- func (o *ContextProfileListUsingGETParams) SetDefaults()
- func (o *ContextProfileListUsingGETParams) SetDisplayName(displayName *string)
- func (o *ContextProfileListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ContextProfileListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ContextProfileListUsingGETParams) WithContext(ctx context.Context) *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) WithDefaults() *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) WithDisplayName(displayName *string) *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) WithHTTPClient(client *http.Client) *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) WithTimeout(timeout time.Duration) *ContextProfileListUsingGETParams
- func (o *ContextProfileListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContextProfileListUsingGETReader
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 (o *ContextProfileListUsingGETBadRequest) Error() string
func (*ContextProfileListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *ContextProfileListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *ContextProfileListUsingGETOK) Error() string
func (*ContextProfileListUsingGETOK) GetPayload ¶
func (o *ContextProfileListUsingGETOK) GetPayload() *models.ContextProfileListResponse
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 ¶
func (o *ContextProfileListUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *ContextProfileListUsingGETParams) WithContext(ctx context.Context) *ContextProfileListUsingGETParams
WithContext adds the context to the context profile list using g e t params
func (*ContextProfileListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *ContextProfileListUsingGETParams) WithDefaults() *ContextProfileListUsingGETParams
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 ¶
func (o *ContextProfileListUsingGETParams) WithDisplayName(displayName *string) *ContextProfileListUsingGETParams
WithDisplayName adds the displayName to the context profile list using g e t params
func (*ContextProfileListUsingGETParams) WithHTTPClient ¶
func (o *ContextProfileListUsingGETParams) WithHTTPClient(client *http.Client) *ContextProfileListUsingGETParams
WithHTTPClient adds the HTTPClient to the context profile list using g e t params
func (*ContextProfileListUsingGETParams) WithTimeout ¶
func (o *ContextProfileListUsingGETParams) WithTimeout(timeout time.Duration) *ContextProfileListUsingGETParams
WithTimeout adds the timeout to the context profile list using g e t params
func (*ContextProfileListUsingGETParams) WriteToRequest ¶
func (o *ContextProfileListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.