Documentation ¶
Index ¶
- Variables
- func CheckResponse(r *http.Response) error
- type BeforeRequestDoCallback
- type Client
- func (c Client) AccessToken() string
- func (c Client) BaseURL() url.URL
- func (c Client) Charset() string
- func (c Client) Debug() bool
- func (c *Client) Do(req *http.Request, body interface{}) (*http.Response, error)
- func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
- func (c Client) MediaType() string
- func (c *Client) NewContractsGet() ContractsGet
- func (c *Client) NewContractsPost() ContractsPost
- func (c *Client) NewCostCentersGet() CostCentersGet
- func (c *Client) NewCostCentersPost() CostCentersPost
- func (c *Client) NewEmployeesGet() EmployeesGet
- func (c *Client) NewEmployeesPost() EmployeesPost
- func (c *Client) NewOrganizationUnitsGet() OrganizationUnitsGet
- func (c *Client) NewOrganizationUnitsPost() OrganizationUnitsPost
- func (c *Client) NewRequest(ctx context.Context, req Request) (*http.Request, error)
- func (c *Client) SetAccessToken(accessToken string)
- func (c *Client) SetBaseURL(baseURL url.URL)
- func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
- func (c *Client) SetCharset(charset string)
- func (c *Client) SetDebug(debug bool)
- func (c *Client) SetDisallowUnknownFields(disallowUnknownFields bool)
- func (c *Client) SetHTTPClient(client *http.Client)
- func (c *Client) SetMediaType(mediaType string)
- func (c *Client) SetUserAgent(userAgent string)
- func (c *Client) Unmarshal(r io.Reader, vv ...interface{}) error
- func (c Client) UserAgent() string
- type Contract
- type Contracts
- type ContractsGet
- func (r *ContractsGet) Do() (ContractsGetResponseBody, error)
- func (r *ContractsGet) Method() string
- func (r ContractsGet) NewPathParams() *ContractsGetPathParams
- func (r ContractsGet) NewQueryParams() *ContractsGetQueryParams
- func (r ContractsGet) NewRequestBody() ContractsGetBody
- func (r *ContractsGet) NewResponseBody() *ContractsGetResponseBody
- func (r *ContractsGet) PathParams() *ContractsGetPathParams
- func (r *ContractsGet) PathParamsInterface() PathParams
- func (r *ContractsGet) QueryParams() *ContractsGetQueryParams
- func (r *ContractsGet) RequestBody() *ContractsGetBody
- func (r *ContractsGet) RequestBodyInterface() interface{}
- func (r *ContractsGet) SetMethod(method string)
- func (r *ContractsGet) SetRequestBody(body ContractsGetBody)
- func (r *ContractsGet) URL() *url.URL
- type ContractsGetBody
- type ContractsGetPathParams
- type ContractsGetQueryParams
- type ContractsGetResponseBody
- type ContractsPost
- func (r *ContractsPost) Do() (ContractsPostResponseBody, error)
- func (r *ContractsPost) DoCSV() (Contracts, error)
- func (r *ContractsPost) Method() string
- func (r ContractsPost) NewPathParams() *ContractsPostPathParams
- func (r ContractsPost) NewQueryParams() *ContractsPostQueryParams
- func (r ContractsPost) NewRequestBody() ContractsPostBody
- func (r *ContractsPost) NewResponseBody() *ContractsPostResponseBody
- func (r *ContractsPost) PathParams() *ContractsPostPathParams
- func (r *ContractsPost) PathParamsInterface() PathParams
- func (r *ContractsPost) QueryParams() QueryParams
- func (r *ContractsPost) RequestBody() *ContractsPostBody
- func (r *ContractsPost) RequestBodyInterface() interface{}
- func (r *ContractsPost) SetMethod(method string)
- func (r *ContractsPost) SetRequestBody(body ContractsPostBody)
- func (r *ContractsPost) URL() *url.URL
- type ContractsPostBody
- type ContractsPostPathParams
- type ContractsPostQueryParams
- type ContractsPostResponseBody
- type CostCentersGet
- func (r *CostCentersGet) Do() (CostCentersGetResponseBody, error)
- func (r *CostCentersGet) Method() string
- func (r CostCentersGet) NewPathParams() *CostCentersGetPathParams
- func (r CostCentersGet) NewQueryParams() *CostCentersGetQueryParams
- func (r CostCentersGet) NewRequestBody() CostCentersGetBody
- func (r *CostCentersGet) NewResponseBody() *CostCentersGetResponseBody
- func (r *CostCentersGet) PathParams() *CostCentersGetPathParams
- func (r *CostCentersGet) PathParamsInterface() PathParams
- func (r *CostCentersGet) QueryParams() *CostCentersGetQueryParams
- func (r *CostCentersGet) RequestBody() *CostCentersGetBody
- func (r *CostCentersGet) RequestBodyInterface() interface{}
- func (r *CostCentersGet) SetMethod(method string)
- func (r *CostCentersGet) SetRequestBody(body CostCentersGetBody)
- func (r *CostCentersGet) URL() *url.URL
- type CostCentersGetBody
- type CostCentersGetPathParams
- type CostCentersGetQueryParams
- type CostCentersGetResponseBody
- type CostCentersPost
- func (r *CostCentersPost) Do() (CostCentersPostResponseBody, error)
- func (r *CostCentersPost) Method() string
- func (r CostCentersPost) NewPathParams() *CostCentersPostPathParams
- func (r CostCentersPost) NewQueryParams() *CostCentersPostQueryParams
- func (r CostCentersPost) NewRequestBody() CostCentersPostBody
- func (r *CostCentersPost) NewResponseBody() *CostCentersPostResponseBody
- func (r *CostCentersPost) PathParams() *CostCentersPostPathParams
- func (r *CostCentersPost) PathParamsInterface() PathParams
- func (r *CostCentersPost) QueryParams() QueryParams
- func (r *CostCentersPost) RequestBody() *CostCentersPostBody
- func (r *CostCentersPost) RequestBodyInterface() interface{}
- func (r *CostCentersPost) SetMethod(method string)
- func (r *CostCentersPost) SetRequestBody(body CostCentersPostBody)
- func (r *CostCentersPost) URL() *url.URL
- type CostCentersPostBody
- type CostCentersPostPathParams
- type CostCentersPostQueryParams
- type CostCentersPostResponseBody
- type Date
- type DateTime
- type Employee
- type Employees
- type EmployeesGet
- func (r *EmployeesGet) Do() (EmployeesGetResponseBody, error)
- func (r *EmployeesGet) Method() string
- func (r EmployeesGet) NewPathParams() *EmployeesGetPathParams
- func (r EmployeesGet) NewQueryParams() *EmployeesGetQueryParams
- func (r EmployeesGet) NewRequestBody() EmployeesGetBody
- func (r *EmployeesGet) NewResponseBody() *EmployeesGetResponseBody
- func (r *EmployeesGet) PathParams() *EmployeesGetPathParams
- func (r *EmployeesGet) PathParamsInterface() PathParams
- func (r *EmployeesGet) QueryParams() *EmployeesGetQueryParams
- func (r *EmployeesGet) RequestBody() *EmployeesGetBody
- func (r *EmployeesGet) RequestBodyInterface() interface{}
- func (r *EmployeesGet) SetMethod(method string)
- func (r *EmployeesGet) SetRequestBody(body EmployeesGetBody)
- func (r *EmployeesGet) URL() *url.URL
- type EmployeesGetBody
- type EmployeesGetPathParams
- type EmployeesGetQueryParams
- type EmployeesGetResponseBody
- type EmployeesPost
- func (r *EmployeesPost) Do() (EmployeesPostResponseBody, error)
- func (r *EmployeesPost) DoCSV() (Employees, error)
- func (r *EmployeesPost) Method() string
- func (r EmployeesPost) NewPathParams() *EmployeesPostPathParams
- func (r EmployeesPost) NewQueryParams() *EmployeesPostQueryParams
- func (r EmployeesPost) NewRequestBody() EmployeesPostBody
- func (r *EmployeesPost) NewResponseBody() *EmployeesPostResponseBody
- func (r *EmployeesPost) PathParams() *EmployeesPostPathParams
- func (r *EmployeesPost) PathParamsInterface() PathParams
- func (r *EmployeesPost) QueryParams() QueryParams
- func (r *EmployeesPost) RequestBody() *EmployeesPostBody
- func (r *EmployeesPost) RequestBodyInterface() interface{}
- func (r *EmployeesPost) SetMethod(method string)
- func (r *EmployeesPost) SetRequestBody(body EmployeesPostBody)
- func (r *EmployeesPost) URL() *url.URL
- type EmployeesPostBody
- type EmployeesPostPathParams
- type EmployeesPostQueryParams
- type EmployeesPostResponseBody
- type ErrorResponse
- type ExceptionResponse
- type Oauth2Config
- type OrganizationUnit
- type OrganizationUnits
- type OrganizationUnitsGet
- func (r *OrganizationUnitsGet) Do() (OrganizationUnitsGetResponseBody, error)
- func (r *OrganizationUnitsGet) Method() string
- func (r OrganizationUnitsGet) NewPathParams() *OrganizationUnitsGetPathParams
- func (r OrganizationUnitsGet) NewQueryParams() *OrganizationUnitsGetQueryParams
- func (r OrganizationUnitsGet) NewRequestBody() OrganizationUnitsGetBody
- func (r *OrganizationUnitsGet) NewResponseBody() *OrganizationUnitsGetResponseBody
- func (r *OrganizationUnitsGet) PathParams() *OrganizationUnitsGetPathParams
- func (r *OrganizationUnitsGet) PathParamsInterface() PathParams
- func (r *OrganizationUnitsGet) QueryParams() *OrganizationUnitsGetQueryParams
- func (r *OrganizationUnitsGet) RequestBody() *OrganizationUnitsGetBody
- func (r *OrganizationUnitsGet) RequestBodyInterface() interface{}
- func (r *OrganizationUnitsGet) SetMethod(method string)
- func (r *OrganizationUnitsGet) SetRequestBody(body OrganizationUnitsGetBody)
- func (r *OrganizationUnitsGet) URL() *url.URL
- type OrganizationUnitsGetBody
- type OrganizationUnitsGetPathParams
- type OrganizationUnitsGetQueryParams
- type OrganizationUnitsGetResponseBody
- type OrganizationUnitsPost
- func (r *OrganizationUnitsPost) Do() (OrganizationUnitsPostResponseBody, error)
- func (r *OrganizationUnitsPost) DoCSV() (OrganizationUnits, error)
- func (r *OrganizationUnitsPost) Method() string
- func (r OrganizationUnitsPost) NewPathParams() *OrganizationUnitsPostPathParams
- func (r OrganizationUnitsPost) NewQueryParams() *OrganizationUnitsPostQueryParams
- func (r OrganizationUnitsPost) NewRequestBody() OrganizationUnitsPostBody
- func (r *OrganizationUnitsPost) NewResponseBody() *OrganizationUnitsPostResponseBody
- func (r *OrganizationUnitsPost) PathParams() *OrganizationUnitsPostPathParams
- func (r *OrganizationUnitsPost) PathParamsInterface() PathParams
- func (r *OrganizationUnitsPost) QueryParams() QueryParams
- func (r *OrganizationUnitsPost) RequestBody() *OrganizationUnitsPostBody
- func (r *OrganizationUnitsPost) RequestBodyInterface() interface{}
- func (r *OrganizationUnitsPost) SetMethod(method string)
- func (r *OrganizationUnitsPost) SetRequestBody(body OrganizationUnitsPostBody)
- func (r *OrganizationUnitsPost) URL() *url.URL
- type OrganizationUnitsPostBody
- type OrganizationUnitsPostPathParams
- type OrganizationUnitsPostQueryParams
- type OrganizationUnitsPostResponseBody
- type PathParams
- type QueryParams
- type Request
- type RequestCompletionCallback
Constants ¶
This section is empty.
Variables ¶
var (
BaseURL = url.URL{
Scheme: "https",
Host: "api.analytics1.hrm.visma.net",
Path: "/",
}
)
Functions ¶
func CheckResponse ¶
CheckResponse checks the Client response for errors, and returns them if present. A response is considered an error if it has a status code outside the 200 range. Client error responses are expected to have either no response body, or a json response body that maps to ErrorResponse. Any other response body will be silently ignored.
Types ¶
type BeforeRequestDoCallback ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with Exact Globe Client
func (Client) AccessToken ¶
func (*Client) Do ¶
Do sends an Client request and returns the Client response. The Client response is json decoded and stored in the value pointed to by v, or returned as an error if an Client error has occurred. If v implements the io.Writer interface, the raw response will be written to v, without attempting to decode it.
func (*Client) GetEndpointURL ¶
func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
func (*Client) NewContractsGet ¶
func (c *Client) NewContractsGet() ContractsGet
func (*Client) NewContractsPost ¶
func (c *Client) NewContractsPost() ContractsPost
func (*Client) NewCostCentersGet ¶
func (c *Client) NewCostCentersGet() CostCentersGet
func (*Client) NewCostCentersPost ¶
func (c *Client) NewCostCentersPost() CostCentersPost
func (*Client) NewEmployeesGet ¶
func (c *Client) NewEmployeesGet() EmployeesGet
func (*Client) NewEmployeesPost ¶
func (c *Client) NewEmployeesPost() EmployeesPost
func (*Client) NewOrganizationUnitsGet ¶
func (c *Client) NewOrganizationUnitsGet() OrganizationUnitsGet
func (*Client) NewOrganizationUnitsPost ¶
func (c *Client) NewOrganizationUnitsPost() OrganizationUnitsPost
func (*Client) NewRequest ¶
func (*Client) SetAccessToken ¶
func (*Client) SetBaseURL ¶
func (*Client) SetBeforeRequestDo ¶
func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
func (*Client) SetCharset ¶
func (*Client) SetDisallowUnknownFields ¶
func (*Client) SetHTTPClient ¶
func (*Client) SetMediaType ¶
func (*Client) SetUserAgent ¶
type Contract ¶
type Contract struct { StartDate Date `csv:"startdate"` EndDate Date `csv:"enddate"` Probation Date `csv:"probation"` ContractTypeIndicationEN string `csv:"contracttypeindication_en"` ContractTypeIndicationNL string `csv:"contracttypeindication_nl"` EndReason string `csv:"endreason"` EndReasonNameEN string `csv:"endreasonname_en"` EndReasonName string `csv:"endreasonname"` BaseSubContractID string `csv:"basesubcontractid"` CAO string `csv:"cao"` ExternalCAOCode string `csv:"externalcaocode"` TypeEn string `csv:"type_en"` Type string `csv:"type"` CostCenterEN string `csv:"costcenter_en"` CostCenter string `csv:"costcenter"` OrgUnit string `csv:"orgunit"` OrgunitNameEN string `csv:"orgunitname_en"` OrgUnitName string `csv:"orgunitname"` ExtDepartmentID string `csv:"extdepartmentid"` ExtDepartmentNameEN string `csv:"extdepartmentname_en"` ExtDepartmentName string `csv:"extdepartmentname"` EmpType string `csv:"emptype"` EmpTypeNameEN string `csv:"emptypename_en"` EmpTypeName string `csv:"emptypename"` ExpertiseID string `csv:"expertiseid"` ExpertiseNameEN string `csv:"expertisename_en"` ExpertiseName string `csv:"expertisename"` CostUnitEN string `csv:"costunit_en"` CostUnit string `csv:"costunit"` FunctionID string `csv:"functionid"` FunctionNameEN string `csv:"functionname_en"` FunctionName string `csv:"functionname"` RosterID string `csv:"rosterid"` PTFactor float64 `csv:"ptfactor"` WeekHoursFixed float64 `csv:"weekhoursfixed"` WeekHoursVar float64 `csv:"weekhoursvar"` NormalHours float64 `csv:"normalhours"` ScaleTypeEN string `csv:"scaletype_en"` ScaleType string `csv:"scaletype"` Scale string `csv:"scale"` Step string `csv:"step"` StepName string `csv:"stepname"` GarScaleTypeEN string `csv:"garscaletype_en"` GarScaleType string `csv:"garscaletype"` GarScale string `csv:"garscale"` GarStep string `csv:"garstep"` GarStepName string `csv:"garstepname"` CatsScale string `csv:"catsscale"` CatsScaleName string `csv:"catsscalename"` CatsScaleID string `csv:"catsscaleid"` CatsRSPFactor string `csv:"catsrspfactor"` SalaryHour float64 `csv:"salaryhour"` GarSalaryHour float64 `csv:"garsalaryhour"` SalaryHourORT float64 `csv:"salaryhourort"` SalaryHourTravel float64 `csv:"salaryhourtravel"` SalaryHourExtra float64 `csv:"salaryhourextra"` SalaryType string `csv:"salarytype"` Distance string `csv:"distance"` MaxDistance string `csv:"maxdistance"` DaySPW string `csv:"dayspw"` TariffID string `csv:"tariffid"` TariffNameEN string `csv:"tariffname_en"` TariffName string `csv:"tariffname"` PublicTransportRegID string `csv:"publictransportregid"` PublicTransportRegNameEN string `csv:"publictransportregname_en"` PublicTransportRegName string `csv:"publictransportregname"` PublicTransportUnits string `csv:"publictransportunits"` IsPooler string `csv:"ispooler"` InsuranceType string `csv:"insurancetype"` InsuranceTypeNameEN string `csv:"insurancetypename_en"` InsuranceTypeName string `csv:"insurancetypename"` FinanceSource string `csv:"financesource"` FinanceSourceNameEN string `csv:"financesourcename_en"` FinanceSourceName string `csv:"financesourcename"` ODPOrgID string `csv:"odporgid"` EmployeeID string `csv:"employeeid"` ContractID string `csv:"contractid"` SubContractID string `csv:"subcontractid"` ExistenceStartUTC string `csv:"existencestartutc"` NickName string `csv:"nickname"` BirthName string `csv:"birthname"` PrefixBirthName string `csv:"prefixbirthname"` FormattedName string `csv:"formattedname"` DateOfBirth Date `csv:"dateofbirth"` Gender string `csv:"gender"` ManagerUserID string `csv:"manageruserid"` ManagerName string `csv:"managername"` }
type ContractsGet ¶
type ContractsGet struct {
// contains filtered or unexported fields
}
func (*ContractsGet) Do ¶
func (r *ContractsGet) Do() (ContractsGetResponseBody, error)
func (*ContractsGet) Method ¶
func (r *ContractsGet) Method() string
func (ContractsGet) NewPathParams ¶
func (r ContractsGet) NewPathParams() *ContractsGetPathParams
func (ContractsGet) NewQueryParams ¶
func (r ContractsGet) NewQueryParams() *ContractsGetQueryParams
func (ContractsGet) NewRequestBody ¶
func (r ContractsGet) NewRequestBody() ContractsGetBody
func (*ContractsGet) NewResponseBody ¶
func (r *ContractsGet) NewResponseBody() *ContractsGetResponseBody
func (*ContractsGet) PathParams ¶
func (r *ContractsGet) PathParams() *ContractsGetPathParams
func (*ContractsGet) PathParamsInterface ¶
func (r *ContractsGet) PathParamsInterface() PathParams
func (*ContractsGet) QueryParams ¶
func (r *ContractsGet) QueryParams() *ContractsGetQueryParams
func (*ContractsGet) RequestBody ¶
func (r *ContractsGet) RequestBody() *ContractsGetBody
func (*ContractsGet) RequestBodyInterface ¶
func (r *ContractsGet) RequestBodyInterface() interface{}
func (*ContractsGet) SetMethod ¶
func (r *ContractsGet) SetMethod(method string)
func (*ContractsGet) SetRequestBody ¶
func (r *ContractsGet) SetRequestBody(body ContractsGetBody)
func (*ContractsGet) URL ¶
func (r *ContractsGet) URL() *url.URL
type ContractsGetBody ¶
type ContractsGetBody struct { }
type ContractsGetPathParams ¶
type ContractsGetPathParams struct {
JobID string `schema:"jobId"`
}
func (*ContractsGetPathParams) Params ¶
func (p *ContractsGetPathParams) Params() map[string]string
type ContractsGetQueryParams ¶
type ContractsGetQueryParams struct{}
func (ContractsGetQueryParams) ToURLValues ¶
func (p ContractsGetQueryParams) ToURLValues() (url.Values, error)
type ContractsPost ¶
type ContractsPost struct {
// contains filtered or unexported fields
}
func (*ContractsPost) Do ¶
func (r *ContractsPost) Do() (ContractsPostResponseBody, error)
func (*ContractsPost) DoCSV ¶
func (r *ContractsPost) DoCSV() (Contracts, error)
func (*ContractsPost) Method ¶
func (r *ContractsPost) Method() string
func (ContractsPost) NewPathParams ¶
func (r ContractsPost) NewPathParams() *ContractsPostPathParams
func (ContractsPost) NewQueryParams ¶
func (r ContractsPost) NewQueryParams() *ContractsPostQueryParams
func (ContractsPost) NewRequestBody ¶
func (r ContractsPost) NewRequestBody() ContractsPostBody
func (*ContractsPost) NewResponseBody ¶
func (r *ContractsPost) NewResponseBody() *ContractsPostResponseBody
func (*ContractsPost) PathParams ¶
func (r *ContractsPost) PathParams() *ContractsPostPathParams
func (*ContractsPost) PathParamsInterface ¶
func (r *ContractsPost) PathParamsInterface() PathParams
func (*ContractsPost) QueryParams ¶
func (r *ContractsPost) QueryParams() QueryParams
func (*ContractsPost) RequestBody ¶
func (r *ContractsPost) RequestBody() *ContractsPostBody
func (*ContractsPost) RequestBodyInterface ¶
func (r *ContractsPost) RequestBodyInterface() interface{}
func (*ContractsPost) SetMethod ¶
func (r *ContractsPost) SetMethod(method string)
func (*ContractsPost) SetRequestBody ¶
func (r *ContractsPost) SetRequestBody(body ContractsPostBody)
func (*ContractsPost) URL ¶
func (r *ContractsPost) URL() *url.URL
type ContractsPostBody ¶
type ContractsPostBody struct { }
type ContractsPostPathParams ¶
type ContractsPostPathParams struct { }
func (*ContractsPostPathParams) Params ¶
func (p *ContractsPostPathParams) Params() map[string]string
type ContractsPostQueryParams ¶
type ContractsPostQueryParams struct { }
func (ContractsPostQueryParams) ToURLValues ¶
func (p ContractsPostQueryParams) ToURLValues() (url.Values, error)
type ContractsPostResponseBody ¶
type ContractsPostResponseBody struct {
JobID string `json:"jobId"`
}
type CostCentersGet ¶
type CostCentersGet struct {
// contains filtered or unexported fields
}
func (*CostCentersGet) Do ¶
func (r *CostCentersGet) Do() (CostCentersGetResponseBody, error)
func (*CostCentersGet) Method ¶
func (r *CostCentersGet) Method() string
func (CostCentersGet) NewPathParams ¶
func (r CostCentersGet) NewPathParams() *CostCentersGetPathParams
func (CostCentersGet) NewQueryParams ¶
func (r CostCentersGet) NewQueryParams() *CostCentersGetQueryParams
func (CostCentersGet) NewRequestBody ¶
func (r CostCentersGet) NewRequestBody() CostCentersGetBody
func (*CostCentersGet) NewResponseBody ¶
func (r *CostCentersGet) NewResponseBody() *CostCentersGetResponseBody
func (*CostCentersGet) PathParams ¶
func (r *CostCentersGet) PathParams() *CostCentersGetPathParams
func (*CostCentersGet) PathParamsInterface ¶
func (r *CostCentersGet) PathParamsInterface() PathParams
func (*CostCentersGet) QueryParams ¶
func (r *CostCentersGet) QueryParams() *CostCentersGetQueryParams
func (*CostCentersGet) RequestBody ¶
func (r *CostCentersGet) RequestBody() *CostCentersGetBody
func (*CostCentersGet) RequestBodyInterface ¶
func (r *CostCentersGet) RequestBodyInterface() interface{}
func (*CostCentersGet) SetMethod ¶
func (r *CostCentersGet) SetMethod(method string)
func (*CostCentersGet) SetRequestBody ¶
func (r *CostCentersGet) SetRequestBody(body CostCentersGetBody)
func (*CostCentersGet) URL ¶
func (r *CostCentersGet) URL() *url.URL
type CostCentersGetBody ¶
type CostCentersGetBody struct { }
type CostCentersGetPathParams ¶
type CostCentersGetPathParams struct {
JobID string `schema:"jobId"`
}
func (*CostCentersGetPathParams) Params ¶
func (p *CostCentersGetPathParams) Params() map[string]string
type CostCentersGetQueryParams ¶
type CostCentersGetQueryParams struct{}
func (CostCentersGetQueryParams) ToURLValues ¶
func (p CostCentersGetQueryParams) ToURLValues() (url.Values, error)
type CostCentersPost ¶
type CostCentersPost struct {
// contains filtered or unexported fields
}
func (*CostCentersPost) Do ¶
func (r *CostCentersPost) Do() (CostCentersPostResponseBody, error)
func (*CostCentersPost) Method ¶
func (r *CostCentersPost) Method() string
func (CostCentersPost) NewPathParams ¶
func (r CostCentersPost) NewPathParams() *CostCentersPostPathParams
func (CostCentersPost) NewQueryParams ¶
func (r CostCentersPost) NewQueryParams() *CostCentersPostQueryParams
func (CostCentersPost) NewRequestBody ¶
func (r CostCentersPost) NewRequestBody() CostCentersPostBody
func (*CostCentersPost) NewResponseBody ¶
func (r *CostCentersPost) NewResponseBody() *CostCentersPostResponseBody
func (*CostCentersPost) PathParams ¶
func (r *CostCentersPost) PathParams() *CostCentersPostPathParams
func (*CostCentersPost) PathParamsInterface ¶
func (r *CostCentersPost) PathParamsInterface() PathParams
func (*CostCentersPost) QueryParams ¶
func (r *CostCentersPost) QueryParams() QueryParams
func (*CostCentersPost) RequestBody ¶
func (r *CostCentersPost) RequestBody() *CostCentersPostBody
func (*CostCentersPost) RequestBodyInterface ¶
func (r *CostCentersPost) RequestBodyInterface() interface{}
func (*CostCentersPost) SetMethod ¶
func (r *CostCentersPost) SetMethod(method string)
func (*CostCentersPost) SetRequestBody ¶
func (r *CostCentersPost) SetRequestBody(body CostCentersPostBody)
func (*CostCentersPost) URL ¶
func (r *CostCentersPost) URL() *url.URL
type CostCentersPostBody ¶
type CostCentersPostBody struct { }
type CostCentersPostPathParams ¶
type CostCentersPostPathParams struct { }
func (*CostCentersPostPathParams) Params ¶
func (p *CostCentersPostPathParams) Params() map[string]string
type CostCentersPostQueryParams ¶
type CostCentersPostQueryParams struct { }
func (CostCentersPostQueryParams) ToURLValues ¶
func (p CostCentersPostQueryParams) ToURLValues() (url.Values, error)
type CostCentersPostResponseBody ¶
type CostCentersPostResponseBody struct {
JobID string `json:"jobId"`
}
type DateTime ¶
func (DateTime) MarshalSchema ¶
type Employee ¶
type Employee struct { SalutationID string `csv:"salutationid"` Salutation string `csv:"salutation"` Initials string `csv:"initials"` FirstName string `csv:"firstname"` Nickname string `csv:"nickname"` NameUsageEn string `csv:"nameusage_en"` NameUsage string `csv:"nameusage"` Namecode string `csv:"namecode"` BirthName string `csv:"birthname"` PrefixBirthName string `csv:"prefixbirthname"` FormattedName string `csv:"formattedname"` DateOfBirth Date `csv:"dateofbirth"` Gender string `csv:"gender"` NationalityEn string `csv:"nationality_en"` Nationality string `csv:"nationality"` CorrAddressEn string `csv:"corraddress_en"` CorrAddress string `csv:"corraddress"` TitleBeforeEn string `csv:"titlebefore_en"` TitleBefore string `csv:"titlebefore"` TitleAfterEn string `csv:"titleafter_en"` TitleAfter string `csv:"titleafter"` LanguageEn string `csv:"language_en"` Language string `csv:"language"` PartnerName string `csv:"partnername"` PrefixPartnerName string `csv:"prefixpartnername"` MaritalStatusID string `csv:"maritalstatusid"` MaritalStatus string `csv:"maritalstatus"` OfficialDate Date `csv:"officialdate"` EmployeeGroupID string `csv:"employeegroupid"` EmployeeGroupNameEn string `csv:"employeegroupname_en"` EmployeeGroupName string `csv:"employeegroupname"` IsManager string `csv:"ismanager"` CompanyID string `csv:"companyid"` CompanyName string `csv:"companyname"` BoardNumber string `csv:"boardnumber"` SicknessStreet string `csv:"sicknessstreet"` SicknessHouseNumber string `csv:"sicknesshousenumber"` SicknessHouseNumberExt string `csv:"sicknesshousenumberext"` SicknessZipcode string `csv:"sicknesszipcode"` SicknessCity string `csv:"sicknesscity"` SicknessCountryEn string `csv:"sicknesscountry_en"` SicknessCountry string `csv:"sicknesscountry"` PostalStreet string `csv:"postalstreet"` PostalHouseNumber string `csv:"postalhousenumber"` PostalHouseNumberExt string `csv:"postalhousenumberext"` PostalZipCode string `csv:"postalzipcode"` PostalCity string `csv:"postalcity"` PostalCountryEn string `csv:"postalcountry_en"` PostalCountry string `csv:"postalcountry"` HomeStreet string `csv:"homestreet"` HomeHouseNumber string `csv:"homehousenumber"` HomeHouseNumberext string `csv:"homehousenumberext"` HomeZipCode string `csv:"homezipcode"` HomeCity string `csv:"homecity"` HomeCountryEn string `csv:"homecountry_en"` HomeCountry string `csv:"homecountry"` OtherAddressesEn string `csv:"otheraddresses_en"` OtherAddresses string `csv:"otheraddresses"` HomeEmailAddress string `csv:"homeemailaddress"` BusinessEmailAddress string `csv:"businessemailaddress"` HomewebEmailAddress string `csv:"homewebemailaddress"` Businesswebemailaddress string `csv:"businesswebemailaddress"` OtherEmailAddressesEn string `csv:"otheremailaddresses_en"` OtherEmailaddresses string `csv:"otheremailaddresses"` HomePhoneNumber string `csv:"homephonenumber"` OfficeMobilePhoneNumber string `csv:"officemobilephonenumber"` HomeFaxPhoneNumber string `csv:"homefaxphonenumber"` PrivateMobilePhoneNumber string `csv:"privatemobilephonenumber"` OfficetelPhoneNumber string `csv:"officetelphonenumber"` OfficeextPhoneNumber string `csv:"officeextphonenumber"` OfficefaxPhoneNumber string `csv:"officefaxphonenumber"` SecretaryPhoneNumber string `csv:"secretaryphonenumber"` SicknessAddressPhoneNumber string `csv:"sicknessaddressphonenumber"` EmergencyPhoneNumber string `csv:"emergencyphonenumber"` OtherPhoneNumbersEn string `csv:"otherphonenumbers_en"` OtherPhoneNumbers string `csv:"otherphonenumbers"` ODPOrgID string `csv:"odporgid"` EmployeeID string `csv:"employeeid"` ExistenceStartUTC string `csv:"existencestartutc"` }
type EmployeesGet ¶
type EmployeesGet struct {
// contains filtered or unexported fields
}
func (*EmployeesGet) Do ¶
func (r *EmployeesGet) Do() (EmployeesGetResponseBody, error)
func (*EmployeesGet) Method ¶
func (r *EmployeesGet) Method() string
func (EmployeesGet) NewPathParams ¶
func (r EmployeesGet) NewPathParams() *EmployeesGetPathParams
func (EmployeesGet) NewQueryParams ¶
func (r EmployeesGet) NewQueryParams() *EmployeesGetQueryParams
func (EmployeesGet) NewRequestBody ¶
func (r EmployeesGet) NewRequestBody() EmployeesGetBody
func (*EmployeesGet) NewResponseBody ¶
func (r *EmployeesGet) NewResponseBody() *EmployeesGetResponseBody
func (*EmployeesGet) PathParams ¶
func (r *EmployeesGet) PathParams() *EmployeesGetPathParams
func (*EmployeesGet) PathParamsInterface ¶
func (r *EmployeesGet) PathParamsInterface() PathParams
func (*EmployeesGet) QueryParams ¶
func (r *EmployeesGet) QueryParams() *EmployeesGetQueryParams
func (*EmployeesGet) RequestBody ¶
func (r *EmployeesGet) RequestBody() *EmployeesGetBody
func (*EmployeesGet) RequestBodyInterface ¶
func (r *EmployeesGet) RequestBodyInterface() interface{}
func (*EmployeesGet) SetMethod ¶
func (r *EmployeesGet) SetMethod(method string)
func (*EmployeesGet) SetRequestBody ¶
func (r *EmployeesGet) SetRequestBody(body EmployeesGetBody)
func (*EmployeesGet) URL ¶
func (r *EmployeesGet) URL() *url.URL
type EmployeesGetBody ¶
type EmployeesGetBody struct { }
type EmployeesGetPathParams ¶
type EmployeesGetPathParams struct {
JobID string `schema:"jobId"`
}
func (*EmployeesGetPathParams) Params ¶
func (p *EmployeesGetPathParams) Params() map[string]string
type EmployeesGetQueryParams ¶
type EmployeesGetQueryParams struct{}
func (EmployeesGetQueryParams) ToURLValues ¶
func (p EmployeesGetQueryParams) ToURLValues() (url.Values, error)
type EmployeesPost ¶
type EmployeesPost struct {
// contains filtered or unexported fields
}
func (*EmployeesPost) Do ¶
func (r *EmployeesPost) Do() (EmployeesPostResponseBody, error)
func (*EmployeesPost) DoCSV ¶
func (r *EmployeesPost) DoCSV() (Employees, error)
func (*EmployeesPost) Method ¶
func (r *EmployeesPost) Method() string
func (EmployeesPost) NewPathParams ¶
func (r EmployeesPost) NewPathParams() *EmployeesPostPathParams
func (EmployeesPost) NewQueryParams ¶
func (r EmployeesPost) NewQueryParams() *EmployeesPostQueryParams
func (EmployeesPost) NewRequestBody ¶
func (r EmployeesPost) NewRequestBody() EmployeesPostBody
func (*EmployeesPost) NewResponseBody ¶
func (r *EmployeesPost) NewResponseBody() *EmployeesPostResponseBody
func (*EmployeesPost) PathParams ¶
func (r *EmployeesPost) PathParams() *EmployeesPostPathParams
func (*EmployeesPost) PathParamsInterface ¶
func (r *EmployeesPost) PathParamsInterface() PathParams
func (*EmployeesPost) QueryParams ¶
func (r *EmployeesPost) QueryParams() QueryParams
func (*EmployeesPost) RequestBody ¶
func (r *EmployeesPost) RequestBody() *EmployeesPostBody
func (*EmployeesPost) RequestBodyInterface ¶
func (r *EmployeesPost) RequestBodyInterface() interface{}
func (*EmployeesPost) SetMethod ¶
func (r *EmployeesPost) SetMethod(method string)
func (*EmployeesPost) SetRequestBody ¶
func (r *EmployeesPost) SetRequestBody(body EmployeesPostBody)
func (*EmployeesPost) URL ¶
func (r *EmployeesPost) URL() *url.URL
type EmployeesPostBody ¶
type EmployeesPostBody struct { }
type EmployeesPostPathParams ¶
type EmployeesPostPathParams struct { }
func (*EmployeesPostPathParams) Params ¶
func (p *EmployeesPostPathParams) Params() map[string]string
type EmployeesPostQueryParams ¶
type EmployeesPostQueryParams struct { }
func (EmployeesPostQueryParams) ToURLValues ¶
func (p EmployeesPostQueryParams) ToURLValues() (url.Values, error)
type EmployeesPostResponseBody ¶
type EmployeesPostResponseBody struct {
JobID string `json:"jobId"`
}
type ErrorResponse ¶
type ErrorResponse struct { // HTTP response that caused this error Response *http.Response Message string `json:"Message"` }
func (*ErrorResponse) Error ¶
func (r *ErrorResponse) Error() string
type ExceptionResponse ¶
type ExceptionResponse struct { // HTTP response that caused this error Response *http.Response ExceptionType string `json:"ExceptionType"` ExceptionMessage string `json:"ExceptionMessage"` ExceptionFaultCode string `json:"ExceptionFaultCode"` ExceptionMessageID string `json:"ExceptionMessageID"` ExceptionDetails string `json:"ExceptionDetails"` }
func (*ExceptionResponse) Error ¶
func (r *ExceptionResponse) Error() string
type Oauth2Config ¶
type Oauth2Config struct {
clientcredentials.Config
}
func NewOauth2Config ¶
func NewOauth2Config(tenantID string) *Oauth2Config
type OrganizationUnit ¶
type OrganizationUnit struct { ODPOrgID string `csv:"odporgid"` PublicID string `csv:"publicid"` OrgUnitID string `csv:"orgunitid"` OrgUnitParentID string `csv:"orgunitparentid"` OrgUnitType string `csv:"orgunittype"` OrgReportType string `csv:"orgreporttype"` Manager string `csv:"manager"` ManagerUserID string `csv:"manageruserid"` CostCenter string `csv:"costcenter"` CostcenterName_en string `csv:"costcentername_en"` CostcenterName string `csv:"costcentername"` OrgDescription_en string `csv:"orgdescription_en"` OrgDescription string `csv:"orgdescription"` OrgName_en string `csv:"orgname_en"` OrgName string `csv:"orgname"` ExtDepartmentID string `csv:"extdepartmentid"` ExtDepartmentName_en string `csv:"extdepartmentname_en"` ExtDepartmentName string `csv:"extdepartmentname"` ExistenceStartUTC string `csv:"existencestartutc"` StartDate string `csv:"startdate"` EndDate string `csv:"enddate"` }
type OrganizationUnits ¶
type OrganizationUnits []OrganizationUnit
type OrganizationUnitsGet ¶
type OrganizationUnitsGet struct {
// contains filtered or unexported fields
}
func (*OrganizationUnitsGet) Do ¶
func (r *OrganizationUnitsGet) Do() (OrganizationUnitsGetResponseBody, error)
func (*OrganizationUnitsGet) Method ¶
func (r *OrganizationUnitsGet) Method() string
func (OrganizationUnitsGet) NewPathParams ¶
func (r OrganizationUnitsGet) NewPathParams() *OrganizationUnitsGetPathParams
func (OrganizationUnitsGet) NewQueryParams ¶
func (r OrganizationUnitsGet) NewQueryParams() *OrganizationUnitsGetQueryParams
func (OrganizationUnitsGet) NewRequestBody ¶
func (r OrganizationUnitsGet) NewRequestBody() OrganizationUnitsGetBody
func (*OrganizationUnitsGet) NewResponseBody ¶
func (r *OrganizationUnitsGet) NewResponseBody() *OrganizationUnitsGetResponseBody
func (*OrganizationUnitsGet) PathParams ¶
func (r *OrganizationUnitsGet) PathParams() *OrganizationUnitsGetPathParams
func (*OrganizationUnitsGet) PathParamsInterface ¶
func (r *OrganizationUnitsGet) PathParamsInterface() PathParams
func (*OrganizationUnitsGet) QueryParams ¶
func (r *OrganizationUnitsGet) QueryParams() *OrganizationUnitsGetQueryParams
func (*OrganizationUnitsGet) RequestBody ¶
func (r *OrganizationUnitsGet) RequestBody() *OrganizationUnitsGetBody
func (*OrganizationUnitsGet) RequestBodyInterface ¶
func (r *OrganizationUnitsGet) RequestBodyInterface() interface{}
func (*OrganizationUnitsGet) SetMethod ¶
func (r *OrganizationUnitsGet) SetMethod(method string)
func (*OrganizationUnitsGet) SetRequestBody ¶
func (r *OrganizationUnitsGet) SetRequestBody(body OrganizationUnitsGetBody)
func (*OrganizationUnitsGet) URL ¶
func (r *OrganizationUnitsGet) URL() *url.URL
type OrganizationUnitsGetBody ¶
type OrganizationUnitsGetBody struct { }
type OrganizationUnitsGetPathParams ¶
type OrganizationUnitsGetPathParams struct {
JobID string `schema:"jobId"`
}
func (*OrganizationUnitsGetPathParams) Params ¶
func (p *OrganizationUnitsGetPathParams) Params() map[string]string
type OrganizationUnitsGetQueryParams ¶
type OrganizationUnitsGetQueryParams struct{}
func (OrganizationUnitsGetQueryParams) ToURLValues ¶
func (p OrganizationUnitsGetQueryParams) ToURLValues() (url.Values, error)
type OrganizationUnitsPost ¶
type OrganizationUnitsPost struct {
// contains filtered or unexported fields
}
func (*OrganizationUnitsPost) Do ¶
func (r *OrganizationUnitsPost) Do() (OrganizationUnitsPostResponseBody, error)
func (*OrganizationUnitsPost) DoCSV ¶
func (r *OrganizationUnitsPost) DoCSV() (OrganizationUnits, error)
func (*OrganizationUnitsPost) Method ¶
func (r *OrganizationUnitsPost) Method() string
func (OrganizationUnitsPost) NewPathParams ¶
func (r OrganizationUnitsPost) NewPathParams() *OrganizationUnitsPostPathParams
func (OrganizationUnitsPost) NewQueryParams ¶
func (r OrganizationUnitsPost) NewQueryParams() *OrganizationUnitsPostQueryParams
func (OrganizationUnitsPost) NewRequestBody ¶
func (r OrganizationUnitsPost) NewRequestBody() OrganizationUnitsPostBody
func (*OrganizationUnitsPost) NewResponseBody ¶
func (r *OrganizationUnitsPost) NewResponseBody() *OrganizationUnitsPostResponseBody
func (*OrganizationUnitsPost) PathParams ¶
func (r *OrganizationUnitsPost) PathParams() *OrganizationUnitsPostPathParams
func (*OrganizationUnitsPost) PathParamsInterface ¶
func (r *OrganizationUnitsPost) PathParamsInterface() PathParams
func (*OrganizationUnitsPost) QueryParams ¶
func (r *OrganizationUnitsPost) QueryParams() QueryParams
func (*OrganizationUnitsPost) RequestBody ¶
func (r *OrganizationUnitsPost) RequestBody() *OrganizationUnitsPostBody
func (*OrganizationUnitsPost) RequestBodyInterface ¶
func (r *OrganizationUnitsPost) RequestBodyInterface() interface{}
func (*OrganizationUnitsPost) SetMethod ¶
func (r *OrganizationUnitsPost) SetMethod(method string)
func (*OrganizationUnitsPost) SetRequestBody ¶
func (r *OrganizationUnitsPost) SetRequestBody(body OrganizationUnitsPostBody)
func (*OrganizationUnitsPost) URL ¶
func (r *OrganizationUnitsPost) URL() *url.URL
type OrganizationUnitsPostBody ¶
type OrganizationUnitsPostBody struct { }
type OrganizationUnitsPostPathParams ¶
type OrganizationUnitsPostPathParams struct { }
func (*OrganizationUnitsPostPathParams) Params ¶
func (p *OrganizationUnitsPostPathParams) Params() map[string]string
type OrganizationUnitsPostQueryParams ¶
type OrganizationUnitsPostQueryParams struct { }
func (OrganizationUnitsPostQueryParams) ToURLValues ¶
func (p OrganizationUnitsPostQueryParams) ToURLValues() (url.Values, error)
type OrganizationUnitsPostResponseBody ¶
type OrganizationUnitsPostResponseBody struct {
JobID string `json:"jobId"`
}