Documentation ¶
Index ¶
- type Client
- func (a *Client) SalarySettingsGet(params *SalarySettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsGetOK, error)
- func (a *Client) SalarySettingsPut(params *SalarySettingsPutParams, authInfo runtime.ClientAuthInfoWriter) (*SalarySettingsPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TimesheetSettingsGet(params *TimesheetSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TimesheetSettingsGetOK, error)
- func (a *Client) TravelExpenseSettingsGet(params *TravelExpenseSettingsGetParams, authInfo runtime.ClientAuthInfoWriter) (*TravelExpenseSettingsGetOK, error)
- type ClientService
- type SalarySettingsGetOK
- type SalarySettingsGetParams
- func NewSalarySettingsGetParams() *SalarySettingsGetParams
- func NewSalarySettingsGetParamsWithContext(ctx context.Context) *SalarySettingsGetParams
- func NewSalarySettingsGetParamsWithHTTPClient(client *http.Client) *SalarySettingsGetParams
- func NewSalarySettingsGetParamsWithTimeout(timeout time.Duration) *SalarySettingsGetParams
- func (o *SalarySettingsGetParams) SetContext(ctx context.Context)
- func (o *SalarySettingsGetParams) SetFields(fields *string)
- func (o *SalarySettingsGetParams) SetHTTPClient(client *http.Client)
- func (o *SalarySettingsGetParams) SetTimeout(timeout time.Duration)
- func (o *SalarySettingsGetParams) WithContext(ctx context.Context) *SalarySettingsGetParams
- func (o *SalarySettingsGetParams) WithFields(fields *string) *SalarySettingsGetParams
- func (o *SalarySettingsGetParams) WithHTTPClient(client *http.Client) *SalarySettingsGetParams
- func (o *SalarySettingsGetParams) WithTimeout(timeout time.Duration) *SalarySettingsGetParams
- func (o *SalarySettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalarySettingsGetReader
- type SalarySettingsPutOK
- type SalarySettingsPutParams
- func NewSalarySettingsPutParams() *SalarySettingsPutParams
- func NewSalarySettingsPutParamsWithContext(ctx context.Context) *SalarySettingsPutParams
- func NewSalarySettingsPutParamsWithHTTPClient(client *http.Client) *SalarySettingsPutParams
- func NewSalarySettingsPutParamsWithTimeout(timeout time.Duration) *SalarySettingsPutParams
- func (o *SalarySettingsPutParams) SetBody(body *models.SalarySettings)
- func (o *SalarySettingsPutParams) SetContext(ctx context.Context)
- func (o *SalarySettingsPutParams) SetHTTPClient(client *http.Client)
- func (o *SalarySettingsPutParams) SetTimeout(timeout time.Duration)
- func (o *SalarySettingsPutParams) WithBody(body *models.SalarySettings) *SalarySettingsPutParams
- func (o *SalarySettingsPutParams) WithContext(ctx context.Context) *SalarySettingsPutParams
- func (o *SalarySettingsPutParams) WithHTTPClient(client *http.Client) *SalarySettingsPutParams
- func (o *SalarySettingsPutParams) WithTimeout(timeout time.Duration) *SalarySettingsPutParams
- func (o *SalarySettingsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SalarySettingsPutReader
- type TimesheetSettingsGetOK
- type TimesheetSettingsGetParams
- func NewTimesheetSettingsGetParams() *TimesheetSettingsGetParams
- func NewTimesheetSettingsGetParamsWithContext(ctx context.Context) *TimesheetSettingsGetParams
- func NewTimesheetSettingsGetParamsWithHTTPClient(client *http.Client) *TimesheetSettingsGetParams
- func NewTimesheetSettingsGetParamsWithTimeout(timeout time.Duration) *TimesheetSettingsGetParams
- func (o *TimesheetSettingsGetParams) SetContext(ctx context.Context)
- func (o *TimesheetSettingsGetParams) SetFields(fields *string)
- func (o *TimesheetSettingsGetParams) SetHTTPClient(client *http.Client)
- func (o *TimesheetSettingsGetParams) SetTimeout(timeout time.Duration)
- func (o *TimesheetSettingsGetParams) WithContext(ctx context.Context) *TimesheetSettingsGetParams
- func (o *TimesheetSettingsGetParams) WithFields(fields *string) *TimesheetSettingsGetParams
- func (o *TimesheetSettingsGetParams) WithHTTPClient(client *http.Client) *TimesheetSettingsGetParams
- func (o *TimesheetSettingsGetParams) WithTimeout(timeout time.Duration) *TimesheetSettingsGetParams
- func (o *TimesheetSettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimesheetSettingsGetReader
- type TravelExpenseSettingsGetOK
- type TravelExpenseSettingsGetParams
- func NewTravelExpenseSettingsGetParams() *TravelExpenseSettingsGetParams
- func NewTravelExpenseSettingsGetParamsWithContext(ctx context.Context) *TravelExpenseSettingsGetParams
- func NewTravelExpenseSettingsGetParamsWithHTTPClient(client *http.Client) *TravelExpenseSettingsGetParams
- func NewTravelExpenseSettingsGetParamsWithTimeout(timeout time.Duration) *TravelExpenseSettingsGetParams
- func (o *TravelExpenseSettingsGetParams) SetContext(ctx context.Context)
- func (o *TravelExpenseSettingsGetParams) SetFields(fields *string)
- func (o *TravelExpenseSettingsGetParams) SetHTTPClient(client *http.Client)
- func (o *TravelExpenseSettingsGetParams) SetTimeout(timeout time.Duration)
- func (o *TravelExpenseSettingsGetParams) WithContext(ctx context.Context) *TravelExpenseSettingsGetParams
- func (o *TravelExpenseSettingsGetParams) WithFields(fields *string) *TravelExpenseSettingsGetParams
- func (o *TravelExpenseSettingsGetParams) WithHTTPClient(client *http.Client) *TravelExpenseSettingsGetParams
- func (o *TravelExpenseSettingsGetParams) WithTimeout(timeout time.Duration) *TravelExpenseSettingsGetParams
- func (o *TravelExpenseSettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TravelExpenseSettingsGetReader
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 ¶
func (o *SalarySettingsGetOK) GetPayload() *models.ResponseWrapperSalarySettings
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 ¶
func (o *SalarySettingsGetParams) WithContext(ctx context.Context) *SalarySettingsGetParams
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 ¶
func (o *SalarySettingsGetParams) WithTimeout(timeout time.Duration) *SalarySettingsGetParams
WithTimeout adds the timeout to the salary settings get params
func (*SalarySettingsGetParams) WriteToRequest ¶
func (o *SalarySettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SalarySettingsPutOK) GetPayload() *models.ResponseWrapperSalarySettings
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 ¶
func (o *SalarySettingsPutParams) WithBody(body *models.SalarySettings) *SalarySettingsPutParams
WithBody adds the body to the salary settings put params
func (*SalarySettingsPutParams) WithContext ¶
func (o *SalarySettingsPutParams) WithContext(ctx context.Context) *SalarySettingsPutParams
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 ¶
func (o *SalarySettingsPutParams) WithTimeout(timeout time.Duration) *SalarySettingsPutParams
WithTimeout adds the timeout to the salary settings put params
func (*SalarySettingsPutParams) WriteToRequest ¶
func (o *SalarySettingsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *TimesheetSettingsGetOK) GetPayload() *models.ResponseWrapperTimesheetSettings
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 ¶
func (o *TimesheetSettingsGetParams) WithContext(ctx context.Context) *TimesheetSettingsGetParams
WithContext adds the context to the timesheet settings get params
func (*TimesheetSettingsGetParams) WithFields ¶
func (o *TimesheetSettingsGetParams) WithFields(fields *string) *TimesheetSettingsGetParams
WithFields adds the fields to the timesheet settings get params
func (*TimesheetSettingsGetParams) WithHTTPClient ¶
func (o *TimesheetSettingsGetParams) WithHTTPClient(client *http.Client) *TimesheetSettingsGetParams
WithHTTPClient adds the HTTPClient to the timesheet settings get params
func (*TimesheetSettingsGetParams) WithTimeout ¶
func (o *TimesheetSettingsGetParams) WithTimeout(timeout time.Duration) *TimesheetSettingsGetParams
WithTimeout adds the timeout to the timesheet settings get params
func (*TimesheetSettingsGetParams) WriteToRequest ¶
func (o *TimesheetSettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *TravelExpenseSettingsGetOK) Error() string
func (*TravelExpenseSettingsGetOK) GetPayload ¶
func (o *TravelExpenseSettingsGetOK) GetPayload() *models.ResponseWrapperTravelExpenseSettings
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 ¶
func (o *TravelExpenseSettingsGetParams) WithContext(ctx context.Context) *TravelExpenseSettingsGetParams
WithContext adds the context to the travel expense settings get params
func (*TravelExpenseSettingsGetParams) WithFields ¶
func (o *TravelExpenseSettingsGetParams) WithFields(fields *string) *TravelExpenseSettingsGetParams
WithFields adds the fields to the travel expense settings get params
func (*TravelExpenseSettingsGetParams) WithHTTPClient ¶
func (o *TravelExpenseSettingsGetParams) WithHTTPClient(client *http.Client) *TravelExpenseSettingsGetParams
WithHTTPClient adds the HTTPClient to the travel expense settings get params
func (*TravelExpenseSettingsGetParams) WithTimeout ¶
func (o *TravelExpenseSettingsGetParams) WithTimeout(timeout time.Duration) *TravelExpenseSettingsGetParams
WithTimeout adds the timeout to the travel expense settings get params
func (*TravelExpenseSettingsGetParams) WriteToRequest ¶
func (o *TravelExpenseSettingsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- salary_settings_get_parameters.go
- salary_settings_get_responses.go
- salary_settings_put_parameters.go
- salary_settings_put_responses.go
- settings_client.go
- timesheet_settings_get_parameters.go
- timesheet_settings_get_responses.go
- travel_expense_settings_get_parameters.go
- travel_expense_settings_get_responses.go