Documentation ¶
Index ¶
- type Client
- func (a *Client) EmployeeEntitlementClientClient(params *EmployeeEntitlementClientClientParams, ...) (*EmployeeEntitlementClientClientOK, error)
- func (a *Client) EmployeeEntitlementGet(params *EmployeeEntitlementGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementGetOK, error)
- func (a *Client) EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate(...) error
- func (a *Client) EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate(...) error
- func (a *Client) EmployeeEntitlementSearch(params *EmployeeEntitlementSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EmployeeEntitlementClientClientOK
- type EmployeeEntitlementClientClientParams
- func NewEmployeeEntitlementClientClientParams() *EmployeeEntitlementClientClientParams
- func NewEmployeeEntitlementClientClientParamsWithContext(ctx context.Context) *EmployeeEntitlementClientClientParams
- func NewEmployeeEntitlementClientClientParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementClientClientParams
- func NewEmployeeEntitlementClientClientParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) SetContext(ctx context.Context)
- func (o *EmployeeEntitlementClientClientParams) SetCount(count *int64)
- func (o *EmployeeEntitlementClientClientParams) SetCustomerID(customerID *int32)
- func (o *EmployeeEntitlementClientClientParams) SetEmployeeID(employeeID *int32)
- func (o *EmployeeEntitlementClientClientParams) SetFields(fields *string)
- func (o *EmployeeEntitlementClientClientParams) SetFrom(from *int64)
- func (o *EmployeeEntitlementClientClientParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEntitlementClientClientParams) SetSorting(sorting *string)
- func (o *EmployeeEntitlementClientClientParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEntitlementClientClientParams) WithContext(ctx context.Context) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithCount(count *int64) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithCustomerID(customerID *int32) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithEmployeeID(employeeID *int32) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithFields(fields *string) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithFrom(from *int64) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithSorting(sorting *string) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementClientClientParams
- func (o *EmployeeEntitlementClientClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEntitlementClientClientReader
- type EmployeeEntitlementGetOK
- type EmployeeEntitlementGetParams
- func NewEmployeeEntitlementGetParams() *EmployeeEntitlementGetParams
- func NewEmployeeEntitlementGetParamsWithContext(ctx context.Context) *EmployeeEntitlementGetParams
- func NewEmployeeEntitlementGetParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementGetParams
- func NewEmployeeEntitlementGetParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) SetContext(ctx context.Context)
- func (o *EmployeeEntitlementGetParams) SetFields(fields *string)
- func (o *EmployeeEntitlementGetParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEntitlementGetParams) SetID(id int32)
- func (o *EmployeeEntitlementGetParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEntitlementGetParams) WithContext(ctx context.Context) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) WithFields(fields *string) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) WithID(id int32) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementGetParams
- func (o *EmployeeEntitlementGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEntitlementGetReader
- type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault
- type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
- func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams() ...
- func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithContext(ctx context.Context) ...
- func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithHTTPClient(client *http.Client) ...
- func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithTimeout(timeout time.Duration) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetAddToExisting(addToExisting *bool)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetContext(ctx context.Context)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetCustomerID(customerID int32)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetEmployeeID(employeeID int32)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTemplate(template string)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithAddToExisting(addToExisting *bool) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithContext(ctx context.Context) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithCustomerID(customerID int32) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithEmployeeID(employeeID int32) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithHTTPClient(client *http.Client) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTemplate(template string) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTimeout(timeout time.Duration) ...
- func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader
- type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault
- type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
- func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams() ...
- func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithContext(ctx context.Context) ...
- func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithHTTPClient(client *http.Client) ...
- func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithTimeout(timeout time.Duration) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetContext(ctx context.Context)
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetEmployeeID(employeeID int32)
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTemplate(template string)
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithContext(ctx context.Context) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithEmployeeID(employeeID int32) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithHTTPClient(client *http.Client) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTemplate(template string) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTimeout(timeout time.Duration) ...
- func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader
- type EmployeeEntitlementSearchOK
- type EmployeeEntitlementSearchParams
- func NewEmployeeEntitlementSearchParams() *EmployeeEntitlementSearchParams
- func NewEmployeeEntitlementSearchParamsWithContext(ctx context.Context) *EmployeeEntitlementSearchParams
- func NewEmployeeEntitlementSearchParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementSearchParams
- func NewEmployeeEntitlementSearchParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) SetContext(ctx context.Context)
- func (o *EmployeeEntitlementSearchParams) SetCount(count *int64)
- func (o *EmployeeEntitlementSearchParams) SetEmployeeID(employeeID *int32)
- func (o *EmployeeEntitlementSearchParams) SetFields(fields *string)
- func (o *EmployeeEntitlementSearchParams) SetFrom(from *int64)
- func (o *EmployeeEntitlementSearchParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeEntitlementSearchParams) SetSorting(sorting *string)
- func (o *EmployeeEntitlementSearchParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeEntitlementSearchParams) WithContext(ctx context.Context) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithCount(count *int64) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithEmployeeID(employeeID *int32) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithFields(fields *string) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithFrom(from *int64) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithSorting(sorting *string) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementSearchParams
- func (o *EmployeeEntitlementSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeEntitlementSearchReader
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 entitlement API
func (*Client) EmployeeEntitlementClientClient ¶
func (a *Client) EmployeeEntitlementClientClient(params *EmployeeEntitlementClientClientParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementClientClientOK, error)
EmployeeEntitlementClientClient bs e t a find all entitlements at client for user
func (*Client) EmployeeEntitlementGet ¶
func (a *Client) EmployeeEntitlementGet(params *EmployeeEntitlementGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementGetOK, error)
EmployeeEntitlementGet gets entitlement by ID
func (*Client) EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate ¶
func (a *Client) EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate(params *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams, authInfo runtime.ClientAuthInfoWriter) error
EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate bs e t a update employee entitlements in client account
func (*Client) EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate ¶
func (a *Client) EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate(params *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams, authInfo runtime.ClientAuthInfoWriter) error
EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate bs e t a update employee entitlements
The user will only receive the entitlements which are possible with the registered user type
func (*Client) EmployeeEntitlementSearch ¶
func (a *Client) EmployeeEntitlementSearch(params *EmployeeEntitlementSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementSearchOK, error)
EmployeeEntitlementSearch finds all entitlements for user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { EmployeeEntitlementClientClient(params *EmployeeEntitlementClientClientParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementClientClientOK, error) EmployeeEntitlementGet(params *EmployeeEntitlementGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementGetOK, error) EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate(params *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams, authInfo runtime.ClientAuthInfoWriter) error EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate(params *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams, authInfo runtime.ClientAuthInfoWriter) error EmployeeEntitlementSearch(params *EmployeeEntitlementSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeEntitlementSearchOK, 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 entitlement API client.
type EmployeeEntitlementClientClientOK ¶
type EmployeeEntitlementClientClientOK struct {
Payload *models.ListResponseEntitlement
}
EmployeeEntitlementClientClientOK handles this case with default header values.
successful operation
func NewEmployeeEntitlementClientClientOK ¶
func NewEmployeeEntitlementClientClientOK() *EmployeeEntitlementClientClientOK
NewEmployeeEntitlementClientClientOK creates a EmployeeEntitlementClientClientOK with default headers values
func (*EmployeeEntitlementClientClientOK) Error ¶
func (o *EmployeeEntitlementClientClientOK) Error() string
func (*EmployeeEntitlementClientClientOK) GetPayload ¶
func (o *EmployeeEntitlementClientClientOK) GetPayload() *models.ListResponseEntitlement
type EmployeeEntitlementClientClientParams ¶
type EmployeeEntitlementClientClientParams struct { /*Count Number of elements to return */ Count *int64 /*CustomerID Client ID */ CustomerID *int32 /*EmployeeID Employee ID. Defaults to ID of token owner. */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEntitlementClientClientParams contains all the parameters to send to the API endpoint for the employee entitlement client client operation typically these are written to a http.Request
func NewEmployeeEntitlementClientClientParams ¶
func NewEmployeeEntitlementClientClientParams() *EmployeeEntitlementClientClientParams
NewEmployeeEntitlementClientClientParams creates a new EmployeeEntitlementClientClientParams object with the default values initialized.
func NewEmployeeEntitlementClientClientParamsWithContext ¶
func NewEmployeeEntitlementClientClientParamsWithContext(ctx context.Context) *EmployeeEntitlementClientClientParams
NewEmployeeEntitlementClientClientParamsWithContext creates a new EmployeeEntitlementClientClientParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEntitlementClientClientParamsWithHTTPClient ¶
func NewEmployeeEntitlementClientClientParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementClientClientParams
NewEmployeeEntitlementClientClientParamsWithHTTPClient creates a new EmployeeEntitlementClientClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEntitlementClientClientParamsWithTimeout ¶
func NewEmployeeEntitlementClientClientParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementClientClientParams
NewEmployeeEntitlementClientClientParamsWithTimeout creates a new EmployeeEntitlementClientClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEntitlementClientClientParams) SetContext ¶
func (o *EmployeeEntitlementClientClientParams) SetContext(ctx context.Context)
SetContext adds the context to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetCount ¶
func (o *EmployeeEntitlementClientClientParams) SetCount(count *int64)
SetCount adds the count to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetCustomerID ¶
func (o *EmployeeEntitlementClientClientParams) SetCustomerID(customerID *int32)
SetCustomerID adds the customerId to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetEmployeeID ¶
func (o *EmployeeEntitlementClientClientParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetFields ¶
func (o *EmployeeEntitlementClientClientParams) SetFields(fields *string)
SetFields adds the fields to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetFrom ¶
func (o *EmployeeEntitlementClientClientParams) SetFrom(from *int64)
SetFrom adds the from to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetHTTPClient ¶
func (o *EmployeeEntitlementClientClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetSorting ¶
func (o *EmployeeEntitlementClientClientParams) SetSorting(sorting *string)
SetSorting adds the sorting to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) SetTimeout ¶
func (o *EmployeeEntitlementClientClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithContext ¶
func (o *EmployeeEntitlementClientClientParams) WithContext(ctx context.Context) *EmployeeEntitlementClientClientParams
WithContext adds the context to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithCount ¶
func (o *EmployeeEntitlementClientClientParams) WithCount(count *int64) *EmployeeEntitlementClientClientParams
WithCount adds the count to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithCustomerID ¶
func (o *EmployeeEntitlementClientClientParams) WithCustomerID(customerID *int32) *EmployeeEntitlementClientClientParams
WithCustomerID adds the customerID to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithEmployeeID ¶
func (o *EmployeeEntitlementClientClientParams) WithEmployeeID(employeeID *int32) *EmployeeEntitlementClientClientParams
WithEmployeeID adds the employeeID to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithFields ¶
func (o *EmployeeEntitlementClientClientParams) WithFields(fields *string) *EmployeeEntitlementClientClientParams
WithFields adds the fields to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithFrom ¶
func (o *EmployeeEntitlementClientClientParams) WithFrom(from *int64) *EmployeeEntitlementClientClientParams
WithFrom adds the from to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithHTTPClient ¶
func (o *EmployeeEntitlementClientClientParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementClientClientParams
WithHTTPClient adds the HTTPClient to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithSorting ¶
func (o *EmployeeEntitlementClientClientParams) WithSorting(sorting *string) *EmployeeEntitlementClientClientParams
WithSorting adds the sorting to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WithTimeout ¶
func (o *EmployeeEntitlementClientClientParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementClientClientParams
WithTimeout adds the timeout to the employee entitlement client client params
func (*EmployeeEntitlementClientClientParams) WriteToRequest ¶
func (o *EmployeeEntitlementClientClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEntitlementClientClientReader ¶
type EmployeeEntitlementClientClientReader struct {
// contains filtered or unexported fields
}
EmployeeEntitlementClientClientReader is a Reader for the EmployeeEntitlementClientClient structure.
func (*EmployeeEntitlementClientClientReader) ReadResponse ¶
func (o *EmployeeEntitlementClientClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEntitlementGetOK ¶
type EmployeeEntitlementGetOK struct {
Payload *models.ResponseWrapperEntitlement
}
EmployeeEntitlementGetOK handles this case with default header values.
successful operation
func NewEmployeeEntitlementGetOK ¶
func NewEmployeeEntitlementGetOK() *EmployeeEntitlementGetOK
NewEmployeeEntitlementGetOK creates a EmployeeEntitlementGetOK with default headers values
func (*EmployeeEntitlementGetOK) Error ¶
func (o *EmployeeEntitlementGetOK) Error() string
func (*EmployeeEntitlementGetOK) GetPayload ¶
func (o *EmployeeEntitlementGetOK) GetPayload() *models.ResponseWrapperEntitlement
type EmployeeEntitlementGetParams ¶
type EmployeeEntitlementGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEntitlementGetParams contains all the parameters to send to the API endpoint for the employee entitlement get operation typically these are written to a http.Request
func NewEmployeeEntitlementGetParams ¶
func NewEmployeeEntitlementGetParams() *EmployeeEntitlementGetParams
NewEmployeeEntitlementGetParams creates a new EmployeeEntitlementGetParams object with the default values initialized.
func NewEmployeeEntitlementGetParamsWithContext ¶
func NewEmployeeEntitlementGetParamsWithContext(ctx context.Context) *EmployeeEntitlementGetParams
NewEmployeeEntitlementGetParamsWithContext creates a new EmployeeEntitlementGetParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEntitlementGetParamsWithHTTPClient ¶
func NewEmployeeEntitlementGetParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementGetParams
NewEmployeeEntitlementGetParamsWithHTTPClient creates a new EmployeeEntitlementGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEntitlementGetParamsWithTimeout ¶
func NewEmployeeEntitlementGetParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementGetParams
NewEmployeeEntitlementGetParamsWithTimeout creates a new EmployeeEntitlementGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEntitlementGetParams) SetContext ¶
func (o *EmployeeEntitlementGetParams) SetContext(ctx context.Context)
SetContext adds the context to the employee entitlement get params
func (*EmployeeEntitlementGetParams) SetFields ¶
func (o *EmployeeEntitlementGetParams) SetFields(fields *string)
SetFields adds the fields to the employee entitlement get params
func (*EmployeeEntitlementGetParams) SetHTTPClient ¶
func (o *EmployeeEntitlementGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee entitlement get params
func (*EmployeeEntitlementGetParams) SetID ¶
func (o *EmployeeEntitlementGetParams) SetID(id int32)
SetID adds the id to the employee entitlement get params
func (*EmployeeEntitlementGetParams) SetTimeout ¶
func (o *EmployeeEntitlementGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WithContext ¶
func (o *EmployeeEntitlementGetParams) WithContext(ctx context.Context) *EmployeeEntitlementGetParams
WithContext adds the context to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WithFields ¶
func (o *EmployeeEntitlementGetParams) WithFields(fields *string) *EmployeeEntitlementGetParams
WithFields adds the fields to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WithHTTPClient ¶
func (o *EmployeeEntitlementGetParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementGetParams
WithHTTPClient adds the HTTPClient to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WithID ¶
func (o *EmployeeEntitlementGetParams) WithID(id int32) *EmployeeEntitlementGetParams
WithID adds the id to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WithTimeout ¶
func (o *EmployeeEntitlementGetParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementGetParams
WithTimeout adds the timeout to the employee entitlement get params
func (*EmployeeEntitlementGetParams) WriteToRequest ¶
func (o *EmployeeEntitlementGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEntitlementGetReader ¶
type EmployeeEntitlementGetReader struct {
// contains filtered or unexported fields
}
EmployeeEntitlementGetReader is a Reader for the EmployeeEntitlementGet structure.
func (*EmployeeEntitlementGetReader) ReadResponse ¶
func (o *EmployeeEntitlementGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault ¶
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault struct {
// contains filtered or unexported fields
}
EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault handles this case with default header values.
successful operation
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault ¶
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault(code int) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault
NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault creates a EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault with default headers values
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault) Code ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault) Code() int
Code gets the status code for the employee entitlement grant client entitlements by template grant client entitlements by template default response
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams ¶
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams struct { /*AddToExisting Add template to existing entitlements */ AddToExisting *bool /*CustomerID Client ID */ CustomerID int32 /*EmployeeID Employee ID */ EmployeeID int32 /*Template Template */ Template string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams contains all the parameters to send to the API endpoint for the employee entitlement grant client entitlements by template grant client entitlements by template operation typically these are written to a http.Request
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams ¶
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams() *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams creates a new EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams object with the default values initialized.
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithContext ¶
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithContext(ctx context.Context) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithContext creates a new EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithHTTPClient ¶
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithHTTPClient creates a new EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithTimeout ¶
func NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
NewEmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParamsWithTimeout creates a new EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetAddToExisting ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetAddToExisting(addToExisting *bool)
SetAddToExisting adds the addToExisting to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetContext ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetCustomerID ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetCustomerID(customerID int32)
SetCustomerID adds the customerId to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetEmployeeID ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetEmployeeID(employeeID int32)
SetEmployeeID adds the employeeId to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetHTTPClient ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTemplate ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTemplate(template string)
SetTemplate adds the template to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTimeout ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithAddToExisting ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithAddToExisting(addToExisting *bool) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithAddToExisting adds the addToExisting to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithContext ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithContext(ctx context.Context) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithContext adds the context to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithCustomerID ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithCustomerID(customerID int32) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithCustomerID adds the customerID to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithEmployeeID ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithEmployeeID(employeeID int32) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithEmployeeID adds the employeeID to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithHTTPClient ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithHTTPClient adds the HTTPClient to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTemplate ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTemplate(template string) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithTemplate adds the template to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTimeout ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams
WithTimeout adds the timeout to the employee entitlement grant client entitlements by template grant client entitlements by template params
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WriteToRequest ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader ¶
type EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader struct {
// contains filtered or unexported fields
}
EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader is a Reader for the EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplate structure.
func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader) ReadResponse ¶
func (o *EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault ¶
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault struct {
// contains filtered or unexported fields
}
EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault handles this case with default header values.
successful operation
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault ¶
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault(code int) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault
NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault creates a EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault with default headers values
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault) Code ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault) Code() int
Code gets the status code for the employee entitlement grant entitlements by template grant entitlements by template default response
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams ¶
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams struct { /*EmployeeID Employee ID */ EmployeeID int32 /*Template Template */ Template string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams contains all the parameters to send to the API endpoint for the employee entitlement grant entitlements by template grant entitlements by template operation typically these are written to a http.Request
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams ¶
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams() *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams creates a new EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams object with the default values initialized.
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithContext ¶
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithContext(ctx context.Context) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithContext creates a new EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithHTTPClient ¶
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithHTTPClient creates a new EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithTimeout ¶
func NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
NewEmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParamsWithTimeout creates a new EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetContext ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetEmployeeID ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetEmployeeID(employeeID int32)
SetEmployeeID adds the employeeId to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetHTTPClient ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTemplate ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTemplate(template string)
SetTemplate adds the template to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTimeout ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithContext ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithContext(ctx context.Context) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
WithContext adds the context to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithEmployeeID ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithEmployeeID(employeeID int32) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
WithEmployeeID adds the employeeID to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithHTTPClient ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
WithHTTPClient adds the HTTPClient to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTemplate ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTemplate(template string) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
WithTemplate adds the template to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTimeout ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams
WithTimeout adds the timeout to the employee entitlement grant entitlements by template grant entitlements by template params
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WriteToRequest ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader ¶
type EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader struct {
// contains filtered or unexported fields
}
EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader is a Reader for the EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplate structure.
func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader) ReadResponse ¶
func (o *EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeEntitlementSearchOK ¶
type EmployeeEntitlementSearchOK struct {
Payload *models.ListResponseEntitlement
}
EmployeeEntitlementSearchOK handles this case with default header values.
successful operation
func NewEmployeeEntitlementSearchOK ¶
func NewEmployeeEntitlementSearchOK() *EmployeeEntitlementSearchOK
NewEmployeeEntitlementSearchOK creates a EmployeeEntitlementSearchOK with default headers values
func (*EmployeeEntitlementSearchOK) Error ¶
func (o *EmployeeEntitlementSearchOK) Error() string
func (*EmployeeEntitlementSearchOK) GetPayload ¶
func (o *EmployeeEntitlementSearchOK) GetPayload() *models.ListResponseEntitlement
type EmployeeEntitlementSearchParams ¶
type EmployeeEntitlementSearchParams struct { /*Count Number of elements to return */ Count *int64 /*EmployeeID Employee ID. Defaults to ID of token owner. */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeEntitlementSearchParams contains all the parameters to send to the API endpoint for the employee entitlement search operation typically these are written to a http.Request
func NewEmployeeEntitlementSearchParams ¶
func NewEmployeeEntitlementSearchParams() *EmployeeEntitlementSearchParams
NewEmployeeEntitlementSearchParams creates a new EmployeeEntitlementSearchParams object with the default values initialized.
func NewEmployeeEntitlementSearchParamsWithContext ¶
func NewEmployeeEntitlementSearchParamsWithContext(ctx context.Context) *EmployeeEntitlementSearchParams
NewEmployeeEntitlementSearchParamsWithContext creates a new EmployeeEntitlementSearchParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeEntitlementSearchParamsWithHTTPClient ¶
func NewEmployeeEntitlementSearchParamsWithHTTPClient(client *http.Client) *EmployeeEntitlementSearchParams
NewEmployeeEntitlementSearchParamsWithHTTPClient creates a new EmployeeEntitlementSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeEntitlementSearchParamsWithTimeout ¶
func NewEmployeeEntitlementSearchParamsWithTimeout(timeout time.Duration) *EmployeeEntitlementSearchParams
NewEmployeeEntitlementSearchParamsWithTimeout creates a new EmployeeEntitlementSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeEntitlementSearchParams) SetContext ¶
func (o *EmployeeEntitlementSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetCount ¶
func (o *EmployeeEntitlementSearchParams) SetCount(count *int64)
SetCount adds the count to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetEmployeeID ¶
func (o *EmployeeEntitlementSearchParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetFields ¶
func (o *EmployeeEntitlementSearchParams) SetFields(fields *string)
SetFields adds the fields to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetFrom ¶
func (o *EmployeeEntitlementSearchParams) SetFrom(from *int64)
SetFrom adds the from to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetHTTPClient ¶
func (o *EmployeeEntitlementSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetSorting ¶
func (o *EmployeeEntitlementSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) SetTimeout ¶
func (o *EmployeeEntitlementSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithContext ¶
func (o *EmployeeEntitlementSearchParams) WithContext(ctx context.Context) *EmployeeEntitlementSearchParams
WithContext adds the context to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithCount ¶
func (o *EmployeeEntitlementSearchParams) WithCount(count *int64) *EmployeeEntitlementSearchParams
WithCount adds the count to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithEmployeeID ¶
func (o *EmployeeEntitlementSearchParams) WithEmployeeID(employeeID *int32) *EmployeeEntitlementSearchParams
WithEmployeeID adds the employeeID to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithFields ¶
func (o *EmployeeEntitlementSearchParams) WithFields(fields *string) *EmployeeEntitlementSearchParams
WithFields adds the fields to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithFrom ¶
func (o *EmployeeEntitlementSearchParams) WithFrom(from *int64) *EmployeeEntitlementSearchParams
WithFrom adds the from to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithHTTPClient ¶
func (o *EmployeeEntitlementSearchParams) WithHTTPClient(client *http.Client) *EmployeeEntitlementSearchParams
WithHTTPClient adds the HTTPClient to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithSorting ¶
func (o *EmployeeEntitlementSearchParams) WithSorting(sorting *string) *EmployeeEntitlementSearchParams
WithSorting adds the sorting to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WithTimeout ¶
func (o *EmployeeEntitlementSearchParams) WithTimeout(timeout time.Duration) *EmployeeEntitlementSearchParams
WithTimeout adds the timeout to the employee entitlement search params
func (*EmployeeEntitlementSearchParams) WriteToRequest ¶
func (o *EmployeeEntitlementSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeEntitlementSearchReader ¶
type EmployeeEntitlementSearchReader struct {
// contains filtered or unexported fields
}
EmployeeEntitlementSearchReader is a Reader for the EmployeeEntitlementSearch structure.
func (*EmployeeEntitlementSearchReader) ReadResponse ¶
func (o *EmployeeEntitlementSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- employee_entitlement_client_client_parameters.go
- employee_entitlement_client_client_responses.go
- employee_entitlement_get_parameters.go
- employee_entitlement_get_responses.go
- employee_entitlement_grant_client_entitlements_by_template_grant_client_entitlements_by_template_parameters.go
- employee_entitlement_grant_client_entitlements_by_template_grant_client_entitlements_by_template_responses.go
- employee_entitlement_grant_entitlements_by_template_grant_entitlements_by_template_parameters.go
- employee_entitlement_grant_entitlements_by_template_grant_entitlements_by_template_responses.go
- employee_entitlement_search_parameters.go
- employee_entitlement_search_responses.go
- entitlement_client.go