standard_time

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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 standard time API

func (*Client) EmployeeStandardTimeGet

func (a *Client) EmployeeStandardTimeGet(params *EmployeeStandardTimeGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeGetOK, error)

EmployeeStandardTimeGet bs e t a find standard time by ID

func (*Client) EmployeeStandardTimePost

EmployeeStandardTimePost bs e t a create standard time

func (*Client) EmployeeStandardTimePut

func (a *Client) EmployeeStandardTimePut(params *EmployeeStandardTimePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePutOK, error)

EmployeeStandardTimePut bs e t a update standard time

func (*Client) EmployeeStandardTimeSearch

func (a *Client) EmployeeStandardTimeSearch(params *EmployeeStandardTimeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeSearchOK, error)

EmployeeStandardTimeSearch bs e t a find all standard times for employee

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	EmployeeStandardTimeGet(params *EmployeeStandardTimeGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeGetOK, error)

	EmployeeStandardTimePost(params *EmployeeStandardTimePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePostCreated, error)

	EmployeeStandardTimePut(params *EmployeeStandardTimePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimePutOK, error)

	EmployeeStandardTimeSearch(params *EmployeeStandardTimeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeStandardTimeSearchOK, 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 standard time API client.

type EmployeeStandardTimeGetOK

type EmployeeStandardTimeGetOK struct {
	Payload *models.ResponseWrapperStandardTime
}

EmployeeStandardTimeGetOK handles this case with default header values.

successful operation

func NewEmployeeStandardTimeGetOK

func NewEmployeeStandardTimeGetOK() *EmployeeStandardTimeGetOK

NewEmployeeStandardTimeGetOK creates a EmployeeStandardTimeGetOK with default headers values

func (*EmployeeStandardTimeGetOK) Error

func (o *EmployeeStandardTimeGetOK) Error() string

func (*EmployeeStandardTimeGetOK) GetPayload

type EmployeeStandardTimeGetParams

type EmployeeStandardTimeGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

EmployeeStandardTimeGetParams contains all the parameters to send to the API endpoint for the employee standard time get operation typically these are written to a http.Request

func NewEmployeeStandardTimeGetParams

func NewEmployeeStandardTimeGetParams() *EmployeeStandardTimeGetParams

NewEmployeeStandardTimeGetParams creates a new EmployeeStandardTimeGetParams object with the default values initialized.

func NewEmployeeStandardTimeGetParamsWithContext

func NewEmployeeStandardTimeGetParamsWithContext(ctx context.Context) *EmployeeStandardTimeGetParams

NewEmployeeStandardTimeGetParamsWithContext creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a context for a request

func NewEmployeeStandardTimeGetParamsWithHTTPClient

func NewEmployeeStandardTimeGetParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeGetParams

NewEmployeeStandardTimeGetParamsWithHTTPClient creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEmployeeStandardTimeGetParamsWithTimeout

func NewEmployeeStandardTimeGetParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeGetParams

NewEmployeeStandardTimeGetParamsWithTimeout creates a new EmployeeStandardTimeGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*EmployeeStandardTimeGetParams) SetContext

func (o *EmployeeStandardTimeGetParams) SetContext(ctx context.Context)

SetContext adds the context to the employee standard time get params

func (*EmployeeStandardTimeGetParams) SetFields

func (o *EmployeeStandardTimeGetParams) SetFields(fields *string)

SetFields adds the fields to the employee standard time get params

func (*EmployeeStandardTimeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee standard time get params

func (*EmployeeStandardTimeGetParams) SetID

func (o *EmployeeStandardTimeGetParams) SetID(id int32)

SetID adds the id to the employee standard time get params

func (*EmployeeStandardTimeGetParams) SetTimeout

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

SetTimeout adds the timeout to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WithContext

WithContext adds the context to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WithFields

WithFields adds the fields to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WithID

WithID adds the id to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WithTimeout

WithTimeout adds the timeout to the employee standard time get params

func (*EmployeeStandardTimeGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeStandardTimeGetReader

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

EmployeeStandardTimeGetReader is a Reader for the EmployeeStandardTimeGet structure.

func (*EmployeeStandardTimeGetReader) ReadResponse

func (o *EmployeeStandardTimeGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmployeeStandardTimePostCreated

type EmployeeStandardTimePostCreated struct {
	Payload *models.ResponseWrapperStandardTime
}

EmployeeStandardTimePostCreated handles this case with default header values.

successfully created

func NewEmployeeStandardTimePostCreated

func NewEmployeeStandardTimePostCreated() *EmployeeStandardTimePostCreated

NewEmployeeStandardTimePostCreated creates a EmployeeStandardTimePostCreated with default headers values

func (*EmployeeStandardTimePostCreated) Error

func (*EmployeeStandardTimePostCreated) GetPayload

type EmployeeStandardTimePostParams

type EmployeeStandardTimePostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.StandardTime

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

EmployeeStandardTimePostParams contains all the parameters to send to the API endpoint for the employee standard time post operation typically these are written to a http.Request

func NewEmployeeStandardTimePostParams

func NewEmployeeStandardTimePostParams() *EmployeeStandardTimePostParams

NewEmployeeStandardTimePostParams creates a new EmployeeStandardTimePostParams object with the default values initialized.

func NewEmployeeStandardTimePostParamsWithContext

func NewEmployeeStandardTimePostParamsWithContext(ctx context.Context) *EmployeeStandardTimePostParams

NewEmployeeStandardTimePostParamsWithContext creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a context for a request

func NewEmployeeStandardTimePostParamsWithHTTPClient

func NewEmployeeStandardTimePostParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePostParams

NewEmployeeStandardTimePostParamsWithHTTPClient creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEmployeeStandardTimePostParamsWithTimeout

func NewEmployeeStandardTimePostParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePostParams

NewEmployeeStandardTimePostParamsWithTimeout creates a new EmployeeStandardTimePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*EmployeeStandardTimePostParams) SetBody

SetBody adds the body to the employee standard time post params

func (*EmployeeStandardTimePostParams) SetContext

func (o *EmployeeStandardTimePostParams) SetContext(ctx context.Context)

SetContext adds the context to the employee standard time post params

func (*EmployeeStandardTimePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee standard time post params

func (*EmployeeStandardTimePostParams) SetTimeout

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

SetTimeout adds the timeout to the employee standard time post params

func (*EmployeeStandardTimePostParams) WithBody

WithBody adds the body to the employee standard time post params

func (*EmployeeStandardTimePostParams) WithContext

WithContext adds the context to the employee standard time post params

func (*EmployeeStandardTimePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee standard time post params

func (*EmployeeStandardTimePostParams) WithTimeout

WithTimeout adds the timeout to the employee standard time post params

func (*EmployeeStandardTimePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeStandardTimePostReader

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

EmployeeStandardTimePostReader is a Reader for the EmployeeStandardTimePost structure.

func (*EmployeeStandardTimePostReader) ReadResponse

func (o *EmployeeStandardTimePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmployeeStandardTimePutOK

type EmployeeStandardTimePutOK struct {
	Payload *models.ResponseWrapperStandardTime
}

EmployeeStandardTimePutOK handles this case with default header values.

successful operation

func NewEmployeeStandardTimePutOK

func NewEmployeeStandardTimePutOK() *EmployeeStandardTimePutOK

NewEmployeeStandardTimePutOK creates a EmployeeStandardTimePutOK with default headers values

func (*EmployeeStandardTimePutOK) Error

func (o *EmployeeStandardTimePutOK) Error() string

func (*EmployeeStandardTimePutOK) GetPayload

type EmployeeStandardTimePutParams

type EmployeeStandardTimePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.StandardTime
	/*ID
	  Element ID

	*/
	ID int32

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

EmployeeStandardTimePutParams contains all the parameters to send to the API endpoint for the employee standard time put operation typically these are written to a http.Request

func NewEmployeeStandardTimePutParams

func NewEmployeeStandardTimePutParams() *EmployeeStandardTimePutParams

NewEmployeeStandardTimePutParams creates a new EmployeeStandardTimePutParams object with the default values initialized.

func NewEmployeeStandardTimePutParamsWithContext

func NewEmployeeStandardTimePutParamsWithContext(ctx context.Context) *EmployeeStandardTimePutParams

NewEmployeeStandardTimePutParamsWithContext creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a context for a request

func NewEmployeeStandardTimePutParamsWithHTTPClient

func NewEmployeeStandardTimePutParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimePutParams

NewEmployeeStandardTimePutParamsWithHTTPClient creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEmployeeStandardTimePutParamsWithTimeout

func NewEmployeeStandardTimePutParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimePutParams

NewEmployeeStandardTimePutParamsWithTimeout creates a new EmployeeStandardTimePutParams object with the default values initialized, and the ability to set a timeout on a request

func (*EmployeeStandardTimePutParams) SetBody

SetBody adds the body to the employee standard time put params

func (*EmployeeStandardTimePutParams) SetContext

func (o *EmployeeStandardTimePutParams) SetContext(ctx context.Context)

SetContext adds the context to the employee standard time put params

func (*EmployeeStandardTimePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee standard time put params

func (*EmployeeStandardTimePutParams) SetID

func (o *EmployeeStandardTimePutParams) SetID(id int32)

SetID adds the id to the employee standard time put params

func (*EmployeeStandardTimePutParams) SetTimeout

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

SetTimeout adds the timeout to the employee standard time put params

func (*EmployeeStandardTimePutParams) WithBody

WithBody adds the body to the employee standard time put params

func (*EmployeeStandardTimePutParams) WithContext

WithContext adds the context to the employee standard time put params

func (*EmployeeStandardTimePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee standard time put params

func (*EmployeeStandardTimePutParams) WithID

WithID adds the id to the employee standard time put params

func (*EmployeeStandardTimePutParams) WithTimeout

WithTimeout adds the timeout to the employee standard time put params

func (*EmployeeStandardTimePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeStandardTimePutReader

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

EmployeeStandardTimePutReader is a Reader for the EmployeeStandardTimePut structure.

func (*EmployeeStandardTimePutReader) ReadResponse

func (o *EmployeeStandardTimePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmployeeStandardTimeSearchOK

type EmployeeStandardTimeSearchOK struct {
	Payload *models.ListResponseStandardTime
}

EmployeeStandardTimeSearchOK handles this case with default header values.

successful operation

func NewEmployeeStandardTimeSearchOK

func NewEmployeeStandardTimeSearchOK() *EmployeeStandardTimeSearchOK

NewEmployeeStandardTimeSearchOK creates a EmployeeStandardTimeSearchOK with default headers values

func (*EmployeeStandardTimeSearchOK) Error

func (*EmployeeStandardTimeSearchOK) GetPayload

type EmployeeStandardTimeSearchParams

type EmployeeStandardTimeSearchParams 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
}

EmployeeStandardTimeSearchParams contains all the parameters to send to the API endpoint for the employee standard time search operation typically these are written to a http.Request

func NewEmployeeStandardTimeSearchParams

func NewEmployeeStandardTimeSearchParams() *EmployeeStandardTimeSearchParams

NewEmployeeStandardTimeSearchParams creates a new EmployeeStandardTimeSearchParams object with the default values initialized.

func NewEmployeeStandardTimeSearchParamsWithContext

func NewEmployeeStandardTimeSearchParamsWithContext(ctx context.Context) *EmployeeStandardTimeSearchParams

NewEmployeeStandardTimeSearchParamsWithContext creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a context for a request

func NewEmployeeStandardTimeSearchParamsWithHTTPClient

func NewEmployeeStandardTimeSearchParamsWithHTTPClient(client *http.Client) *EmployeeStandardTimeSearchParams

NewEmployeeStandardTimeSearchParamsWithHTTPClient creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEmployeeStandardTimeSearchParamsWithTimeout

func NewEmployeeStandardTimeSearchParamsWithTimeout(timeout time.Duration) *EmployeeStandardTimeSearchParams

NewEmployeeStandardTimeSearchParamsWithTimeout creates a new EmployeeStandardTimeSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*EmployeeStandardTimeSearchParams) SetContext

SetContext adds the context to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetCount

func (o *EmployeeStandardTimeSearchParams) SetCount(count *int64)

SetCount adds the count to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetEmployeeID

func (o *EmployeeStandardTimeSearchParams) SetEmployeeID(employeeID *int32)

SetEmployeeID adds the employeeId to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetFields

func (o *EmployeeStandardTimeSearchParams) SetFields(fields *string)

SetFields adds the fields to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetFrom

func (o *EmployeeStandardTimeSearchParams) SetFrom(from *int64)

SetFrom adds the from to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetSorting

func (o *EmployeeStandardTimeSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) SetTimeout

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

SetTimeout adds the timeout to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithContext

WithContext adds the context to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithCount

WithCount adds the count to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithFields

WithFields adds the fields to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithFrom

WithFrom adds the from to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithSorting

WithSorting adds the sorting to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WithTimeout

WithTimeout adds the timeout to the employee standard time search params

func (*EmployeeStandardTimeSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmployeeStandardTimeSearchReader

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

EmployeeStandardTimeSearchReader is a Reader for the EmployeeStandardTimeSearch structure.

func (*EmployeeStandardTimeSearchReader) ReadResponse

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