settings

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 10 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 settings API

func (*Client) SalarySettingsGet

func (a *Client) SalarySettingsGet(params *SalarySettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsGetOK, error)

SalarySettingsGet bs e t a get salary settings of logged in company

func (*Client) SalarySettingsPut

func (a *Client) SalarySettingsPut(params *SalarySettingsPutParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsPutOK, error)

SalarySettingsPut bs e t a update settings of logged in company

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TimesheetSettingsGet

func (a *Client) TimesheetSettingsGet(params *TimesheetSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetSettingsGetOK, error)

TimesheetSettingsGet bs e t a get timesheet settings of logged in company

func (*Client) TravelExpenseSettingsGet

func (a *Client) TravelExpenseSettingsGet(params *TravelExpenseSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSettingsGetOK, error)

TravelExpenseSettingsGet bs e t a get travel expense settings of logged in company

type ClientService

type ClientService interface {
	SalarySettingsGet(params *SalarySettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsGetOK, error)

	SalarySettingsPut(params *SalarySettingsPutParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsPutOK, error)

	TimesheetSettingsGet(params *TimesheetSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetSettingsGetOK, error)

	TravelExpenseSettingsGet(params *TravelExpenseSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSettingsGetOK, 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 settings API client.

type SalarySettingsGetOK

type SalarySettingsGetOK struct {
	Payload *models.ResponseWrapperSalarySettings
}

SalarySettingsGetOK handles this case with default header values.

successful operation

func NewSalarySettingsGetOK

func NewSalarySettingsGetOK() *SalarySettingsGetOK

NewSalarySettingsGetOK creates a SalarySettingsGetOK with default headers values

func (*SalarySettingsGetOK) Error

func (o *SalarySettingsGetOK) Error() string

func (*SalarySettingsGetOK) GetPayload

type SalarySettingsGetParams

type SalarySettingsGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string

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

SalarySettingsGetParams contains all the parameters to send to the API endpoint for the salary settings get operation typically these are written to a http.Request

func NewSalarySettingsGetParams

func NewSalarySettingsGetParams() *SalarySettingsGetParams

NewSalarySettingsGetParams creates a new SalarySettingsGetParams object with the default values initialized.

func NewSalarySettingsGetParamsWithContext

func NewSalarySettingsGetParamsWithContext(ctx context.Context) *SalarySettingsGetParams

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

func NewSalarySettingsGetParamsWithHTTPClient

func NewSalarySettingsGetParamsWithHTTPClient(client *http.Client) *SalarySettingsGetParams

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

func NewSalarySettingsGetParamsWithTimeout

func NewSalarySettingsGetParamsWithTimeout(timeout time.Duration) *SalarySettingsGetParams

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

func (*SalarySettingsGetParams) SetContext

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

SetContext adds the context to the salary settings get params

func (*SalarySettingsGetParams) SetFields

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

SetFields adds the fields to the salary settings get params

func (*SalarySettingsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings get params

func (*SalarySettingsGetParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings get params

func (*SalarySettingsGetParams) WithContext

WithContext adds the context to the salary settings get params

func (*SalarySettingsGetParams) WithFields

func (o *SalarySettingsGetParams) WithFields(fields *string) *SalarySettingsGetParams

WithFields adds the fields to the salary settings get params

func (*SalarySettingsGetParams) WithHTTPClient

func (o *SalarySettingsGetParams) WithHTTPClient(client *http.Client) *SalarySettingsGetParams

WithHTTPClient adds the HTTPClient to the salary settings get params

func (*SalarySettingsGetParams) WithTimeout

WithTimeout adds the timeout to the salary settings get params

func (*SalarySettingsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsGetReader

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

SalarySettingsGetReader is a Reader for the SalarySettingsGet structure.

func (*SalarySettingsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SalarySettingsPutOK

type SalarySettingsPutOK struct {
	Payload *models.ResponseWrapperSalarySettings
}

SalarySettingsPutOK handles this case with default header values.

successful operation

func NewSalarySettingsPutOK

func NewSalarySettingsPutOK() *SalarySettingsPutOK

NewSalarySettingsPutOK creates a SalarySettingsPutOK with default headers values

func (*SalarySettingsPutOK) Error

func (o *SalarySettingsPutOK) Error() string

func (*SalarySettingsPutOK) GetPayload

type SalarySettingsPutParams

type SalarySettingsPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.SalarySettings

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

SalarySettingsPutParams contains all the parameters to send to the API endpoint for the salary settings put operation typically these are written to a http.Request

func NewSalarySettingsPutParams

func NewSalarySettingsPutParams() *SalarySettingsPutParams

NewSalarySettingsPutParams creates a new SalarySettingsPutParams object with the default values initialized.

func NewSalarySettingsPutParamsWithContext

func NewSalarySettingsPutParamsWithContext(ctx context.Context) *SalarySettingsPutParams

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

func NewSalarySettingsPutParamsWithHTTPClient

func NewSalarySettingsPutParamsWithHTTPClient(client *http.Client) *SalarySettingsPutParams

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

func NewSalarySettingsPutParamsWithTimeout

func NewSalarySettingsPutParamsWithTimeout(timeout time.Duration) *SalarySettingsPutParams

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

func (*SalarySettingsPutParams) SetBody

func (o *SalarySettingsPutParams) SetBody(body *models.SalarySettings)

SetBody adds the body to the salary settings put params

func (*SalarySettingsPutParams) SetContext

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

SetContext adds the context to the salary settings put params

func (*SalarySettingsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the salary settings put params

func (*SalarySettingsPutParams) SetTimeout

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

SetTimeout adds the timeout to the salary settings put params

func (*SalarySettingsPutParams) WithBody

WithBody adds the body to the salary settings put params

func (*SalarySettingsPutParams) WithContext

WithContext adds the context to the salary settings put params

func (*SalarySettingsPutParams) WithHTTPClient

func (o *SalarySettingsPutParams) WithHTTPClient(client *http.Client) *SalarySettingsPutParams

WithHTTPClient adds the HTTPClient to the salary settings put params

func (*SalarySettingsPutParams) WithTimeout

WithTimeout adds the timeout to the salary settings put params

func (*SalarySettingsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SalarySettingsPutReader

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

SalarySettingsPutReader is a Reader for the SalarySettingsPut structure.

func (*SalarySettingsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TimesheetSettingsGetOK

type TimesheetSettingsGetOK struct {
	Payload *models.ResponseWrapperTimesheetSettings
}

TimesheetSettingsGetOK handles this case with default header values.

successful operation

func NewTimesheetSettingsGetOK

func NewTimesheetSettingsGetOK() *TimesheetSettingsGetOK

NewTimesheetSettingsGetOK creates a TimesheetSettingsGetOK with default headers values

func (*TimesheetSettingsGetOK) Error

func (o *TimesheetSettingsGetOK) Error() string

func (*TimesheetSettingsGetOK) GetPayload

type TimesheetSettingsGetParams

type TimesheetSettingsGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string

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

TimesheetSettingsGetParams contains all the parameters to send to the API endpoint for the timesheet settings get operation typically these are written to a http.Request

func NewTimesheetSettingsGetParams

func NewTimesheetSettingsGetParams() *TimesheetSettingsGetParams

NewTimesheetSettingsGetParams creates a new TimesheetSettingsGetParams object with the default values initialized.

func NewTimesheetSettingsGetParamsWithContext

func NewTimesheetSettingsGetParamsWithContext(ctx context.Context) *TimesheetSettingsGetParams

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

func NewTimesheetSettingsGetParamsWithHTTPClient

func NewTimesheetSettingsGetParamsWithHTTPClient(client *http.Client) *TimesheetSettingsGetParams

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

func NewTimesheetSettingsGetParamsWithTimeout

func NewTimesheetSettingsGetParamsWithTimeout(timeout time.Duration) *TimesheetSettingsGetParams

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

func (*TimesheetSettingsGetParams) SetContext

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

SetContext adds the context to the timesheet settings get params

func (*TimesheetSettingsGetParams) SetFields

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

SetFields adds the fields to the timesheet settings get params

func (*TimesheetSettingsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the timesheet settings get params

func (*TimesheetSettingsGetParams) SetTimeout

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

SetTimeout adds the timeout to the timesheet settings get params

func (*TimesheetSettingsGetParams) WithContext

WithContext adds the context to the timesheet settings get params

func (*TimesheetSettingsGetParams) WithFields

WithFields adds the fields to the timesheet settings get params

func (*TimesheetSettingsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the timesheet settings get params

func (*TimesheetSettingsGetParams) WithTimeout

WithTimeout adds the timeout to the timesheet settings get params

func (*TimesheetSettingsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TimesheetSettingsGetReader

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

TimesheetSettingsGetReader is a Reader for the TimesheetSettingsGet structure.

func (*TimesheetSettingsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TravelExpenseSettingsGetOK

type TravelExpenseSettingsGetOK struct {
	Payload *models.ResponseWrapperTravelExpenseSettings
}

TravelExpenseSettingsGetOK handles this case with default header values.

successful operation

func NewTravelExpenseSettingsGetOK

func NewTravelExpenseSettingsGetOK() *TravelExpenseSettingsGetOK

NewTravelExpenseSettingsGetOK creates a TravelExpenseSettingsGetOK with default headers values

func (*TravelExpenseSettingsGetOK) Error

func (*TravelExpenseSettingsGetOK) GetPayload

type TravelExpenseSettingsGetParams

type TravelExpenseSettingsGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string

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

TravelExpenseSettingsGetParams contains all the parameters to send to the API endpoint for the travel expense settings get operation typically these are written to a http.Request

func NewTravelExpenseSettingsGetParams

func NewTravelExpenseSettingsGetParams() *TravelExpenseSettingsGetParams

NewTravelExpenseSettingsGetParams creates a new TravelExpenseSettingsGetParams object with the default values initialized.

func NewTravelExpenseSettingsGetParamsWithContext

func NewTravelExpenseSettingsGetParamsWithContext(ctx context.Context) *TravelExpenseSettingsGetParams

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

func NewTravelExpenseSettingsGetParamsWithHTTPClient

func NewTravelExpenseSettingsGetParamsWithHTTPClient(client *http.Client) *TravelExpenseSettingsGetParams

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

func NewTravelExpenseSettingsGetParamsWithTimeout

func NewTravelExpenseSettingsGetParamsWithTimeout(timeout time.Duration) *TravelExpenseSettingsGetParams

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

func (*TravelExpenseSettingsGetParams) SetContext

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

SetContext adds the context to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) SetFields

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

SetFields adds the fields to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) SetTimeout

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

SetTimeout adds the timeout to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) WithContext

WithContext adds the context to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) WithFields

WithFields adds the fields to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) WithTimeout

WithTimeout adds the timeout to the travel expense settings get params

func (*TravelExpenseSettingsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TravelExpenseSettingsGetReader

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

TravelExpenseSettingsGetReader is a Reader for the TravelExpenseSettingsGet structure.

func (*TravelExpenseSettingsGetReader) ReadResponse

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