entitlement

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 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 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 (*EmployeeEntitlementClientClientOK) GetPayload

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

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

WithContext adds the context to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithCount

WithCount adds the count to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithCustomerID

WithCustomerID adds the customerID to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithFields

WithFields adds the fields to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithFrom

WithFrom adds the from to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithSorting

WithSorting adds the sorting to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WithTimeout

WithTimeout adds the timeout to the employee entitlement client client params

func (*EmployeeEntitlementClientClientParams) WriteToRequest

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

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

WithContext adds the context to the employee entitlement get params

func (*EmployeeEntitlementGetParams) WithFields

WithFields adds the fields to the employee entitlement get params

func (*EmployeeEntitlementGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee entitlement get params

func (*EmployeeEntitlementGetParams) WithID

WithID adds the id to the employee entitlement get params

func (*EmployeeEntitlementGetParams) WithTimeout

WithTimeout adds the timeout to the employee entitlement get params

func (*EmployeeEntitlementGetParams) WriteToRequest

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

Code gets the status code for the employee entitlement grant client entitlements by template grant client entitlements by template default response

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateDefault) Error

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

SetAddToExisting adds the addToExisting to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetContext

SetContext adds the context to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetCustomerID

SetCustomerID adds the customerId to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetEmployeeID

SetEmployeeID adds the employeeId to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTemplate

SetTemplate adds the template to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) SetTimeout

SetTimeout adds the timeout to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithAddToExisting

WithAddToExisting adds the addToExisting to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithContext

WithContext adds the context to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithCustomerID

WithCustomerID adds the customerID to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTemplate

WithTemplate adds the template to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WithTimeout

WithTimeout adds the timeout to the employee entitlement grant client entitlements by template grant client entitlements by template params

func (*EmployeeEntitlementGrantClientEntitlementsByTemplateGrantClientEntitlementsByTemplateParams) WriteToRequest

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

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

Code gets the status code for the employee entitlement grant entitlements by template grant entitlements by template default response

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateDefault) Error

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

SetContext adds the context to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetEmployeeID

SetEmployeeID adds the employeeId to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTemplate

SetTemplate adds the template to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) SetTimeout

SetTimeout adds the timeout to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithContext

WithContext adds the context to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTemplate

WithTemplate adds the template to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WithTimeout

WithTimeout adds the timeout to the employee entitlement grant entitlements by template grant entitlements by template params

func (*EmployeeEntitlementGrantEntitlementsByTemplateGrantEntitlementsByTemplateParams) WriteToRequest

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

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 (*EmployeeEntitlementSearchOK) GetPayload

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

WithContext adds the context to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithCount

WithCount adds the count to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithFields

WithFields adds the fields to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithFrom

WithFrom adds the from to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithSorting

WithSorting adds the sorting to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WithTimeout

WithTimeout adds the timeout to the employee entitlement search params

func (*EmployeeEntitlementSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL