Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type UserGetUsingGETBadRequest
- type UserGetUsingGETNotFound
- type UserGetUsingGETOK
- type UserGetUsingGETParams
- func NewUserGetUsingGETParams() *UserGetUsingGETParams
- func NewUserGetUsingGETParamsWithContext(ctx context.Context) *UserGetUsingGETParams
- func NewUserGetUsingGETParamsWithHTTPClient(client *http.Client) *UserGetUsingGETParams
- func NewUserGetUsingGETParamsWithTimeout(timeout time.Duration) *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) SetContext(ctx context.Context)
- func (o *UserGetUsingGETParams) SetDefaults()
- func (o *UserGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *UserGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *UserGetUsingGETParams) SetUserID(userID string)
- func (o *UserGetUsingGETParams) WithContext(ctx context.Context) *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) WithDefaults() *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) WithHTTPClient(client *http.Client) *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) WithTimeout(timeout time.Duration) *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) WithUserID(userID string) *UserGetUsingGETParams
- func (o *UserGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetUsingGETReader
- type UserListUsingGETBadRequest
- type UserListUsingGETOK
- type UserListUsingGETParams
- func NewUserListUsingGETParams() *UserListUsingGETParams
- func NewUserListUsingGETParamsWithContext(ctx context.Context) *UserListUsingGETParams
- func NewUserListUsingGETParamsWithHTTPClient(client *http.Client) *UserListUsingGETParams
- func NewUserListUsingGETParamsWithTimeout(timeout time.Duration) *UserListUsingGETParams
- func (o *UserListUsingGETParams) SetContext(ctx context.Context)
- func (o *UserListUsingGETParams) SetDefaults()
- func (o *UserListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *UserListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *UserListUsingGETParams) SetUserName(userName *string)
- func (o *UserListUsingGETParams) WithContext(ctx context.Context) *UserListUsingGETParams
- func (o *UserListUsingGETParams) WithDefaults() *UserListUsingGETParams
- func (o *UserListUsingGETParams) WithHTTPClient(client *http.Client) *UserListUsingGETParams
- func (o *UserListUsingGETParams) WithTimeout(timeout time.Duration) *UserListUsingGETParams
- func (o *UserListUsingGETParams) WithUserName(userName *string) *UserListUsingGETParams
- func (o *UserListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserListUsingGETReader
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 users API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserGetUsingGET ¶
func (a *Client) UserGetUsingGET(params *UserGetUsingGETParams, opts ...ClientOption) (*UserGetUsingGETOK, error)
UserGetUsingGET gets
Get user
func (*Client) UserListUsingGET ¶
func (a *Client) UserListUsingGET(params *UserListUsingGETParams, opts ...ClientOption) (*UserListUsingGETOK, error)
UserListUsingGET lists
List users from vra/core
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { UserGetUsingGET(params *UserGetUsingGETParams, opts ...ClientOption) (*UserGetUsingGETOK, error) UserListUsingGET(params *UserListUsingGETParams, opts ...ClientOption) (*UserListUsingGETOK, 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 users API client.
type UserGetUsingGETBadRequest ¶
type UserGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
UserGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewUserGetUsingGETBadRequest ¶
func NewUserGetUsingGETBadRequest() *UserGetUsingGETBadRequest
NewUserGetUsingGETBadRequest creates a UserGetUsingGETBadRequest with default headers values
func (*UserGetUsingGETBadRequest) Error ¶
func (o *UserGetUsingGETBadRequest) Error() string
func (*UserGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *UserGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type UserGetUsingGETNotFound ¶
type UserGetUsingGETNotFound struct { }
UserGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewUserGetUsingGETNotFound ¶
func NewUserGetUsingGETNotFound() *UserGetUsingGETNotFound
NewUserGetUsingGETNotFound creates a UserGetUsingGETNotFound with default headers values
func (*UserGetUsingGETNotFound) Error ¶
func (o *UserGetUsingGETNotFound) Error() string
type UserGetUsingGETOK ¶
type UserGetUsingGETOK struct {
Payload *models.UserGetResponse
}
UserGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewUserGetUsingGETOK ¶
func NewUserGetUsingGETOK() *UserGetUsingGETOK
NewUserGetUsingGETOK creates a UserGetUsingGETOK with default headers values
func (*UserGetUsingGETOK) Error ¶
func (o *UserGetUsingGETOK) Error() string
func (*UserGetUsingGETOK) GetPayload ¶
func (o *UserGetUsingGETOK) GetPayload() *models.UserGetResponse
type UserGetUsingGETParams ¶
type UserGetUsingGETParams struct { /* UserID. userId */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetUsingGETParams contains all the parameters to send to the API endpoint
for the user get using g e t operation. Typically these are written to a http.Request.
func NewUserGetUsingGETParams ¶
func NewUserGetUsingGETParams() *UserGetUsingGETParams
NewUserGetUsingGETParams creates a new UserGetUsingGETParams 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 NewUserGetUsingGETParamsWithContext ¶
func NewUserGetUsingGETParamsWithContext(ctx context.Context) *UserGetUsingGETParams
NewUserGetUsingGETParamsWithContext creates a new UserGetUsingGETParams object with the ability to set a context for a request.
func NewUserGetUsingGETParamsWithHTTPClient ¶
func NewUserGetUsingGETParamsWithHTTPClient(client *http.Client) *UserGetUsingGETParams
NewUserGetUsingGETParamsWithHTTPClient creates a new UserGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewUserGetUsingGETParamsWithTimeout ¶
func NewUserGetUsingGETParamsWithTimeout(timeout time.Duration) *UserGetUsingGETParams
NewUserGetUsingGETParamsWithTimeout creates a new UserGetUsingGETParams object with the ability to set a timeout on a request.
func (*UserGetUsingGETParams) SetContext ¶
func (o *UserGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the user get using g e t params
func (*UserGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *UserGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the user get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetUsingGETParams) SetHTTPClient ¶
func (o *UserGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get using g e t params
func (*UserGetUsingGETParams) SetTimeout ¶
func (o *UserGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get using g e t params
func (*UserGetUsingGETParams) SetUserID ¶
func (o *UserGetUsingGETParams) SetUserID(userID string)
SetUserID adds the userId to the user get using g e t params
func (*UserGetUsingGETParams) WithContext ¶
func (o *UserGetUsingGETParams) WithContext(ctx context.Context) *UserGetUsingGETParams
WithContext adds the context to the user get using g e t params
func (*UserGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *UserGetUsingGETParams) WithDefaults() *UserGetUsingGETParams
WithDefaults hydrates default values in the user get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetUsingGETParams) WithHTTPClient ¶
func (o *UserGetUsingGETParams) WithHTTPClient(client *http.Client) *UserGetUsingGETParams
WithHTTPClient adds the HTTPClient to the user get using g e t params
func (*UserGetUsingGETParams) WithTimeout ¶
func (o *UserGetUsingGETParams) WithTimeout(timeout time.Duration) *UserGetUsingGETParams
WithTimeout adds the timeout to the user get using g e t params
func (*UserGetUsingGETParams) WithUserID ¶
func (o *UserGetUsingGETParams) WithUserID(userID string) *UserGetUsingGETParams
WithUserID adds the userID to the user get using g e t params
func (*UserGetUsingGETParams) WriteToRequest ¶
func (o *UserGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetUsingGETReader ¶
type UserGetUsingGETReader struct {
// contains filtered or unexported fields
}
UserGetUsingGETReader is a Reader for the UserGetUsingGET structure.
func (*UserGetUsingGETReader) ReadResponse ¶
func (o *UserGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserListUsingGETBadRequest ¶
type UserListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
UserListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewUserListUsingGETBadRequest ¶
func NewUserListUsingGETBadRequest() *UserListUsingGETBadRequest
NewUserListUsingGETBadRequest creates a UserListUsingGETBadRequest with default headers values
func (*UserListUsingGETBadRequest) Error ¶
func (o *UserListUsingGETBadRequest) Error() string
func (*UserListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *UserListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type UserListUsingGETOK ¶
type UserListUsingGETOK struct {
Payload *models.UserListResponse
}
UserListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewUserListUsingGETOK ¶
func NewUserListUsingGETOK() *UserListUsingGETOK
NewUserListUsingGETOK creates a UserListUsingGETOK with default headers values
func (*UserListUsingGETOK) Error ¶
func (o *UserListUsingGETOK) Error() string
func (*UserListUsingGETOK) GetPayload ¶
func (o *UserListUsingGETOK) GetPayload() *models.UserListResponse
type UserListUsingGETParams ¶
type UserListUsingGETParams struct { /* UserName. userName */ UserName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserListUsingGETParams contains all the parameters to send to the API endpoint
for the user list using g e t operation. Typically these are written to a http.Request.
func NewUserListUsingGETParams ¶
func NewUserListUsingGETParams() *UserListUsingGETParams
NewUserListUsingGETParams creates a new UserListUsingGETParams 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 NewUserListUsingGETParamsWithContext ¶
func NewUserListUsingGETParamsWithContext(ctx context.Context) *UserListUsingGETParams
NewUserListUsingGETParamsWithContext creates a new UserListUsingGETParams object with the ability to set a context for a request.
func NewUserListUsingGETParamsWithHTTPClient ¶
func NewUserListUsingGETParamsWithHTTPClient(client *http.Client) *UserListUsingGETParams
NewUserListUsingGETParamsWithHTTPClient creates a new UserListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewUserListUsingGETParamsWithTimeout ¶
func NewUserListUsingGETParamsWithTimeout(timeout time.Duration) *UserListUsingGETParams
NewUserListUsingGETParamsWithTimeout creates a new UserListUsingGETParams object with the ability to set a timeout on a request.
func (*UserListUsingGETParams) SetContext ¶
func (o *UserListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the user list using g e t params
func (*UserListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *UserListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the user list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*UserListUsingGETParams) SetHTTPClient ¶
func (o *UserListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user list using g e t params
func (*UserListUsingGETParams) SetTimeout ¶
func (o *UserListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user list using g e t params
func (*UserListUsingGETParams) SetUserName ¶
func (o *UserListUsingGETParams) SetUserName(userName *string)
SetUserName adds the userName to the user list using g e t params
func (*UserListUsingGETParams) WithContext ¶
func (o *UserListUsingGETParams) WithContext(ctx context.Context) *UserListUsingGETParams
WithContext adds the context to the user list using g e t params
func (*UserListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *UserListUsingGETParams) WithDefaults() *UserListUsingGETParams
WithDefaults hydrates default values in the user list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*UserListUsingGETParams) WithHTTPClient ¶
func (o *UserListUsingGETParams) WithHTTPClient(client *http.Client) *UserListUsingGETParams
WithHTTPClient adds the HTTPClient to the user list using g e t params
func (*UserListUsingGETParams) WithTimeout ¶
func (o *UserListUsingGETParams) WithTimeout(timeout time.Duration) *UserListUsingGETParams
WithTimeout adds the timeout to the user list using g e t params
func (*UserListUsingGETParams) WithUserName ¶
func (o *UserListUsingGETParams) WithUserName(userName *string) *UserListUsingGETParams
WithUserName adds the userName to the user list using g e t params
func (*UserListUsingGETParams) WriteToRequest ¶
func (o *UserListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserListUsingGETReader ¶
type UserListUsingGETReader struct {
// contains filtered or unexported fields
}
UserListUsingGETReader is a Reader for the UserListUsingGET structure.
func (*UserListUsingGETReader) ReadResponse ¶
func (o *UserListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.