Documentation
¶
Index ¶
- Constants
- type AbnormalReason
- type AbnormalReasonBuilder
- func (builder *AbnormalReasonBuilder) Build() *AbnormalReason
- func (builder *AbnormalReasonBuilder) I18nElements(i18nElements []*AbnormalReasonI18nElement) *AbnormalReasonBuilder
- func (builder *AbnormalReasonBuilder) Id(id string) *AbnormalReasonBuilder
- func (builder *AbnormalReasonBuilder) Type(type_ int) *AbnormalReasonBuilder
- type AbnormalReasonElement
- type AbnormalReasonElementBuilder
- func (builder *AbnormalReasonElementBuilder) Build() *AbnormalReasonElement
- func (builder *AbnormalReasonElementBuilder) Href(href string) *AbnormalReasonElementBuilder
- func (builder *AbnormalReasonElementBuilder) Tag(tag string) *AbnormalReasonElementBuilder
- func (builder *AbnormalReasonElementBuilder) Text(text string) *AbnormalReasonElementBuilder
- type AbnormalReasonI18nElement
- type AbnormalReasonI18nElementBuilder
- func (builder *AbnormalReasonI18nElementBuilder) Build() *AbnormalReasonI18nElement
- func (builder *AbnormalReasonI18nElementBuilder) Elements(elements []*AbnormalReasonElement) *AbnormalReasonI18nElementBuilder
- func (builder *AbnormalReasonI18nElementBuilder) Lang(lang string) *AbnormalReasonI18nElementBuilder
- type Address
- type AddressBuilder
- func (builder *AddressBuilder) AddressId(addressId string) *AddressBuilder
- func (builder *AddressBuilder) AddressTypeList(addressTypeList []*Enum) *AddressBuilder
- func (builder *AddressBuilder) Build() *Address
- func (builder *AddressBuilder) CityIdV2(cityIdV2 string) *AddressBuilder
- func (builder *AddressBuilder) CountryRegionId(countryRegionId string) *AddressBuilder
- func (builder *AddressBuilder) CustomFields(customFields []*CustomFieldData) *AddressBuilder
- func (builder *AddressBuilder) DistrictIdV2(districtIdV2 string) *AddressBuilder
- func (builder *AddressBuilder) FullAddressLocalScript(fullAddressLocalScript string) *AddressBuilder
- func (builder *AddressBuilder) FullAddressWesternScript(fullAddressWesternScript string) *AddressBuilder
- func (builder *AddressBuilder) IsPrimary(isPrimary bool) *AddressBuilder
- func (builder *AddressBuilder) IsPublic(isPublic bool) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine1(localAddressLine1 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine2(localAddressLine2 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine3(localAddressLine3 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine4(localAddressLine4 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine5(localAddressLine5 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine6(localAddressLine6 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine7(localAddressLine7 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine8(localAddressLine8 string) *AddressBuilder
- func (builder *AddressBuilder) LocalAddressLine9(localAddressLine9 string) *AddressBuilder
- func (builder *AddressBuilder) PostalCode(postalCode string) *AddressBuilder
- func (builder *AddressBuilder) RegionId(regionId string) *AddressBuilder
- type ApprovalGroup
- type ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) AdjustReason(adjustReason string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) ApprovalGroupId(approvalGroupId string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) ApprovalGroupStatus(approvalGroupStatus string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) Build() *ApprovalGroup
- func (builder *ApprovalGroupBuilder) CreatedBy(createdBy string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) DepartmentChanges(departmentChanges []string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) DraftId(draftId string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) DraftStatus(draftStatus string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) EffectiveDate(effectiveDate string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) JobChanges(jobChanges []string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) ProcessId(processId string) *ApprovalGroupBuilder
- func (builder *ApprovalGroupBuilder) Topic(topic string) *ApprovalGroupBuilder
- type Assessment
- type AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentComment(assessmentComment string) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentDetail(assessmentDetail string) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentGrade(assessmentGrade *Enum) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentId(assessmentId string) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentResult(assessmentResult *Enum) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentScore(assessmentScore float64) *AssessmentBuilder
- func (builder *AssessmentBuilder) AssessmentStatus(assessmentStatus *Enum) *AssessmentBuilder
- func (builder *AssessmentBuilder) Build() *Assessment
- func (builder *AssessmentBuilder) IsFinalAsssessment(isFinalAsssessment bool) *AssessmentBuilder
- type AssessmentForCreate
- type AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentComment(assessmentComment string) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentDetail(assessmentDetail string) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentGrade(assessmentGrade string) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentResult(assessmentResult string) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentScore(assessmentScore float64) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) AssessmentStatus(assessmentStatus string) *AssessmentForCreateBuilder
- func (builder *AssessmentForCreateBuilder) Build() *AssessmentForCreate
- func (builder *AssessmentForCreateBuilder) IsFinalAsssessment(isFinalAsssessment bool) *AssessmentForCreateBuilder
- type Bank
- type BankAccount
- type BankAccountBuilder
- func (builder *BankAccountBuilder) AccountHolder(accountHolder string) *BankAccountBuilder
- func (builder *BankAccountBuilder) BankAccountNumber(bankAccountNumber string) *BankAccountBuilder
- func (builder *BankAccountBuilder) BankAccountType(bankAccountType *Enum) *BankAccountBuilder
- func (builder *BankAccountBuilder) BankAccountUsage(bankAccountUsage []*Enum) *BankAccountBuilder
- func (builder *BankAccountBuilder) BankIdV2(bankIdV2 string) *BankAccountBuilder
- func (builder *BankAccountBuilder) BankName(bankName string) *BankAccountBuilder
- func (builder *BankAccountBuilder) BranchIdV2(branchIdV2 string) *BankAccountBuilder
- func (builder *BankAccountBuilder) BranchName(branchName string) *BankAccountBuilder
- func (builder *BankAccountBuilder) Build() *BankAccount
- func (builder *BankAccountBuilder) CountryRegionId(countryRegionId string) *BankAccountBuilder
- func (builder *BankAccountBuilder) CurrencyId(currencyId string) *BankAccountBuilder
- func (builder *BankAccountBuilder) CustomFields(customFields []*CustomFieldData) *BankAccountBuilder
- func (builder *BankAccountBuilder) IBAN(iBAN string) *BankAccountBuilder
- type BankBranch
- type BankBranchBuilder
- func (builder *BankBranchBuilder) BankBranchId(bankBranchId string) *BankBranchBuilder
- func (builder *BankBranchBuilder) BankBranchName(bankBranchName []*I18n) *BankBranchBuilder
- func (builder *BankBranchBuilder) BankId(bankId string) *BankBranchBuilder
- func (builder *BankBranchBuilder) Build() *BankBranch
- func (builder *BankBranchBuilder) Code(code string) *BankBranchBuilder
- func (builder *BankBranchBuilder) Status(status int) *BankBranchBuilder
- func (builder *BankBranchBuilder) SwiftCode(swiftCode string) *BankBranchBuilder
- type BankBuilder
- func (builder *BankBuilder) BankCode(bankCode string) *BankBuilder
- func (builder *BankBuilder) BankId(bankId string) *BankBuilder
- func (builder *BankBuilder) BankName(bankName []*I18n) *BankBuilder
- func (builder *BankBuilder) Build() *Bank
- func (builder *BankBuilder) CountryRegionId(countryRegionId string) *BankBuilder
- func (builder *BankBuilder) Status(status int) *BankBuilder
- type BasicDepartment
- type BasicDepartmentBuilder
- type BasicEmployee
- type BasicEmployeeBuilder
- func (builder *BasicEmployeeBuilder) Build() *BasicEmployee
- func (builder *BasicEmployeeBuilder) EmailAddress(emailAddress string) *BasicEmployeeBuilder
- func (builder *BasicEmployeeBuilder) EmployeeNumber(employeeNumber string) *BasicEmployeeBuilder
- func (builder *BasicEmployeeBuilder) EmploymentId(employmentId string) *BasicEmployeeBuilder
- func (builder *BasicEmployeeBuilder) PersonInfo(personInfo *BasicPersonInfo) *BasicEmployeeBuilder
- type BasicInfo
- type BasicInfoBuilder
- func (builder *BasicInfoBuilder) AdditionalNationalityIdList(additionalNationalityIdList []string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) Build() *BasicInfo
- func (builder *BasicInfoBuilder) CitizenshipStatusIdList(citizenshipStatusIdList []string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) DateOfBirth(dateOfBirth string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) Email(email string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) GenderId(genderId string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) HomeAddress(homeAddress string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) InternationalAreaCode(internationalAreaCode string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) Name(name *Name) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) NationalityId(nationalityId string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) PersonalIdNumber(personalIdNumber string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) PhoneNumber(phoneNumber string) *BasicInfoBuilder
- func (builder *BasicInfoBuilder) WorkerId(workerId string) *BasicInfoBuilder
- type BasicJobData
- type BasicJobDataBuilder
- type BasicPersonInfo
- type BasicPersonInfoBuilder
- func (builder *BasicPersonInfoBuilder) Build() *BasicPersonInfo
- func (builder *BasicPersonInfoBuilder) PersonId(personId string) *BasicPersonInfoBuilder
- func (builder *BasicPersonInfoBuilder) PreferredEnglishFullName(preferredEnglishFullName string) *BasicPersonInfoBuilder
- func (builder *BasicPersonInfoBuilder) PreferredLocalFullName(preferredLocalFullName string) *BasicPersonInfoBuilder
- func (builder *BasicPersonInfoBuilder) PreferredName(preferredName string) *BasicPersonInfoBuilder
- type BatchGetCompanyPathReqBodyBuilder
- type BatchGetCompanyReq
- type BatchGetCompanyReqBody
- type BatchGetCompanyReqBodyBuilder
- type BatchGetCompanyReqBuilder
- type BatchGetCompanyResp
- type BatchGetCompanyRespData
- type BatchGetEmployeePathReqBodyBuilder
- func (builder *BatchGetEmployeePathReqBodyBuilder) Build() (*BatchGetEmployeeReqBody, error)
- func (builder *BatchGetEmployeePathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeePathReqBodyBuilder
- func (builder *BatchGetEmployeePathReqBodyBuilder) Fields(fields []string) *BatchGetEmployeePathReqBodyBuilder
- func (builder *BatchGetEmployeePathReqBodyBuilder) PersonIds(personIds []string) *BatchGetEmployeePathReqBodyBuilder
- func (builder *BatchGetEmployeePathReqBodyBuilder) WorkEmails(workEmails []string) *BatchGetEmployeePathReqBodyBuilder
- type BatchGetEmployeeReq
- type BatchGetEmployeeReqBody
- type BatchGetEmployeeReqBodyBuilder
- func (builder *BatchGetEmployeeReqBodyBuilder) Build() *BatchGetEmployeeReqBody
- func (builder *BatchGetEmployeeReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeeReqBodyBuilder
- func (builder *BatchGetEmployeeReqBodyBuilder) Fields(fields []string) *BatchGetEmployeeReqBodyBuilder
- func (builder *BatchGetEmployeeReqBodyBuilder) PersonIds(personIds []string) *BatchGetEmployeeReqBodyBuilder
- func (builder *BatchGetEmployeeReqBodyBuilder) WorkEmails(workEmails []string) *BatchGetEmployeeReqBodyBuilder
- type BatchGetEmployeeReqBuilder
- func (builder *BatchGetEmployeeReqBuilder) Body(body *BatchGetEmployeeReqBody) *BatchGetEmployeeReqBuilder
- func (builder *BatchGetEmployeeReqBuilder) Build() *BatchGetEmployeeReq
- func (builder *BatchGetEmployeeReqBuilder) DepartmentIdType(departmentIdType string) *BatchGetEmployeeReqBuilder
- func (builder *BatchGetEmployeeReqBuilder) UserIdType(userIdType string) *BatchGetEmployeeReqBuilder
- type BatchGetEmployeeResp
- type BatchGetEmployeeRespData
- type BatchGetEmployeesBpPathReqBodyBuilder
- func (builder *BatchGetEmployeesBpPathReqBodyBuilder) Build() (*BatchGetEmployeesBpReqBody, error)
- func (builder *BatchGetEmployeesBpPathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesBpPathReqBodyBuilder
- func (builder *BatchGetEmployeesBpPathReqBodyBuilder) GetAll(getAll bool) *BatchGetEmployeesBpPathReqBodyBuilder
- type BatchGetEmployeesBpReq
- type BatchGetEmployeesBpReqBody
- type BatchGetEmployeesBpReqBodyBuilder
- func (builder *BatchGetEmployeesBpReqBodyBuilder) Build() *BatchGetEmployeesBpReqBody
- func (builder *BatchGetEmployeesBpReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesBpReqBodyBuilder
- func (builder *BatchGetEmployeesBpReqBodyBuilder) GetAll(getAll bool) *BatchGetEmployeesBpReqBodyBuilder
- type BatchGetEmployeesBpReqBuilder
- func (builder *BatchGetEmployeesBpReqBuilder) Body(body *BatchGetEmployeesBpReqBody) *BatchGetEmployeesBpReqBuilder
- func (builder *BatchGetEmployeesBpReqBuilder) Build() *BatchGetEmployeesBpReq
- func (builder *BatchGetEmployeesBpReqBuilder) UserIdType(userIdType string) *BatchGetEmployeesBpReqBuilder
- type BatchGetEmployeesBpResp
- type BatchGetEmployeesBpRespData
- type BatchGetEmployeesJobDataPathReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) Build() (*BatchGetEmployeesJobDataReqBody, error)
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) DataDate(dataDate string) *BatchGetEmployeesJobDataPathReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *BatchGetEmployeesJobDataPathReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *BatchGetEmployeesJobDataPathReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesJobDataPathReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *BatchGetEmployeesJobDataPathReqBodyBuilder
- type BatchGetEmployeesJobDataReq
- type BatchGetEmployeesJobDataReqBody
- type BatchGetEmployeesJobDataReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) Build() *BatchGetEmployeesJobDataReqBody
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) DataDate(dataDate string) *BatchGetEmployeesJobDataReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *BatchGetEmployeesJobDataReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *BatchGetEmployeesJobDataReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesJobDataReqBodyBuilder
- func (builder *BatchGetEmployeesJobDataReqBodyBuilder) GetAllVersion(getAllVersion bool) *BatchGetEmployeesJobDataReqBodyBuilder
- type BatchGetEmployeesJobDataReqBuilder
- func (builder *BatchGetEmployeesJobDataReqBuilder) Body(body *BatchGetEmployeesJobDataReqBody) *BatchGetEmployeesJobDataReqBuilder
- func (builder *BatchGetEmployeesJobDataReqBuilder) Build() *BatchGetEmployeesJobDataReq
- func (builder *BatchGetEmployeesJobDataReqBuilder) DepartmentIdType(departmentIdType string) *BatchGetEmployeesJobDataReqBuilder
- func (builder *BatchGetEmployeesJobDataReqBuilder) UserIdType(userIdType string) *BatchGetEmployeesJobDataReqBuilder
- type BatchGetEmployeesJobDataResp
- type BatchGetEmployeesJobDataRespData
- type BatchGetJobFamilyPathReqBodyBuilder
- type BatchGetJobFamilyReq
- type BatchGetJobFamilyReqBody
- type BatchGetJobFamilyReqBodyBuilder
- type BatchGetJobFamilyReqBuilder
- type BatchGetJobFamilyResp
- type BatchGetJobFamilyRespData
- type BatchGetJobLevelPathReqBodyBuilder
- type BatchGetJobLevelReq
- type BatchGetJobLevelReqBody
- type BatchGetJobLevelReqBodyBuilder
- type BatchGetJobLevelReqBuilder
- type BatchGetJobLevelResp
- type BatchGetJobLevelRespData
- type BatchGetLocationPathReqBodyBuilder
- type BatchGetLocationReq
- type BatchGetLocationReqBody
- type BatchGetLocationReqBodyBuilder
- type BatchGetLocationReqBuilder
- type BatchGetLocationResp
- type BatchGetLocationRespData
- type Bp
- type BpBuilder
- type BpmDataengineI18n
- type BpmDataengineI18nBuilder
- type CalculateParam
- type CalculateParamBuilder
- func (builder *CalculateParamBuilder) Build() *CalculateParam
- func (builder *CalculateParamBuilder) DepartmentId(departmentId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) EmployeeTypeId(employeeTypeId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) JobFamilyId(jobFamilyId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) JobId(jobId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) JobLevelId(jobLevelId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) MatchingRuleDimension(matchingRuleDimension []*DimensionValue) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) SocialSecurityCityId(socialSecurityCityId string) *CalculateParamBuilder
- func (builder *CalculateParamBuilder) WorkLocationId(workLocationId string) *CalculateParamBuilder
- type ChangeFieldPair
- type ChangeFieldPairBuilder
- type CitizenshipStatus
- type CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) Active(active bool) *CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) Build() *CitizenshipStatus
- func (builder *CitizenshipStatusBuilder) CitizenshipStatus(citizenshipStatus []*I18n) *CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) CountryRegionId(countryRegionId string) *CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) Id(id string) *CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) Name(name []*I18n) *CitizenshipStatusBuilder
- func (builder *CitizenshipStatusBuilder) ViewOrder(viewOrder string) *CitizenshipStatusBuilder
- type City
- type CityBuilder
- func (builder *CityBuilder) Build() *City
- func (builder *CityBuilder) CityId(cityId string) *CityBuilder
- func (builder *CityBuilder) Code(code string) *CityBuilder
- func (builder *CityBuilder) CountryRegionSubdivisionId(countryRegionSubdivisionId string) *CityBuilder
- func (builder *CityBuilder) Name(name []*I18n) *CityBuilder
- func (builder *CityBuilder) Status(status int) *CityBuilder
- type Company
- type CompanyBuilder
- func (builder *CompanyBuilder) BranchCompany(branchCompany bool) *CompanyBuilder
- func (builder *CompanyBuilder) Build() *Company
- func (builder *CompanyBuilder) CompanyId(companyId string) *CompanyBuilder
- func (builder *CompanyBuilder) Confidential(confidential bool) *CompanyBuilder
- func (builder *CompanyBuilder) Currency(currency *Currency) *CompanyBuilder
- func (builder *CompanyBuilder) CustomFields(customFields []*CustomFieldData) *CompanyBuilder
- func (builder *CompanyBuilder) Fax(fax *PhoneNumberAndAreaCode) *CompanyBuilder
- func (builder *CompanyBuilder) HiberarchyCommon(hiberarchyCommon *HiberarchyCommon) *CompanyBuilder
- func (builder *CompanyBuilder) IndustryList(industryList []*Enum) *CompanyBuilder
- func (builder *CompanyBuilder) LegalRepresentative(legalRepresentative []*I18n) *CompanyBuilder
- func (builder *CompanyBuilder) OfficeAddress(officeAddress []*I18n) *CompanyBuilder
- func (builder *CompanyBuilder) OfficeAddressInfo(officeAddressInfo *Address) *CompanyBuilder
- func (builder *CompanyBuilder) Phone(phone *PhoneNumberAndAreaCode) *CompanyBuilder
- func (builder *CompanyBuilder) PostCode(postCode string) *CompanyBuilder
- func (builder *CompanyBuilder) PrimaryManager(primaryManager []*I18n) *CompanyBuilder
- func (builder *CompanyBuilder) RegisteredOfficeAddress(registeredOfficeAddress []*I18n) *CompanyBuilder
- func (builder *CompanyBuilder) RegisteredOfficeAddressInfo(registeredOfficeAddressInfo *Address) *CompanyBuilder
- func (builder *CompanyBuilder) SubTypeList(subTypeList []*Enum) *CompanyBuilder
- func (builder *CompanyBuilder) TaxPayerId(taxPayerId string) *CompanyBuilder
- func (builder *CompanyBuilder) Type(type_ *Enum) *CompanyBuilder
- type CompanyIdAndName
- type CompanyIdAndNameBuilder
- type Contract
- type ContractBuilder
- func (builder *ContractBuilder) Build() *Contract
- func (builder *ContractBuilder) ContractEndDate(contractEndDate string) *ContractBuilder
- func (builder *ContractBuilder) ContractNumber(contractNumber string) *ContractBuilder
- func (builder *ContractBuilder) ContractType(contractType *Enum) *ContractBuilder
- func (builder *ContractBuilder) DurationType(durationType *Enum) *ContractBuilder
- func (builder *ContractBuilder) EffectiveTime(effectiveTime string) *ContractBuilder
- func (builder *ContractBuilder) EmploymentId(employmentId string) *ContractBuilder
- func (builder *ContractBuilder) ExpirationTime(expirationTime string) *ContractBuilder
- func (builder *ContractBuilder) FirstPartyCompanyId(firstPartyCompanyId string) *ContractBuilder
- func (builder *ContractBuilder) Id(id string) *ContractBuilder
- func (builder *ContractBuilder) PersonId(personId string) *ContractBuilder
- func (builder *ContractBuilder) SigningType(signingType *Enum) *ContractBuilder
- type CostCenter
- type CostCenterBuilder
- func (builder *CostCenterBuilder) Active(active bool) *CostCenterBuilder
- func (builder *CostCenterBuilder) Build() *CostCenter
- func (builder *CostCenterBuilder) Code(code string) *CostCenterBuilder
- func (builder *CostCenterBuilder) CostCenterId(costCenterId string) *CostCenterBuilder
- func (builder *CostCenterBuilder) Description(description []*I18n) *CostCenterBuilder
- func (builder *CostCenterBuilder) EffectiveTime(effectiveTime string) *CostCenterBuilder
- func (builder *CostCenterBuilder) ExpirationTime(expirationTime string) *CostCenterBuilder
- func (builder *CostCenterBuilder) Managers(managers []string) *CostCenterBuilder
- func (builder *CostCenterBuilder) Name(name []*I18n) *CostCenterBuilder
- func (builder *CostCenterBuilder) OperationReason(operationReason string) *CostCenterBuilder
- func (builder *CostCenterBuilder) ParentCostCenterId(parentCostCenterId string) *CostCenterBuilder
- type CostCenterVersion
- type CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) Active(active bool) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) Build() *CostCenterVersion
- func (builder *CostCenterVersionBuilder) Code(code string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) CostCenterId(costCenterId string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) Description(description []*I18n) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) EffectiveTime(effectiveTime string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) ExpirationTime(expirationTime string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) Managers(managers []string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) Name(name []*I18n) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) OperationReason(operationReason string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) ParentCostCenterId(parentCostCenterId string) *CostCenterVersionBuilder
- func (builder *CostCenterVersionBuilder) VersionId(versionId string) *CostCenterVersionBuilder
- type CountryRegion
- type CountryRegionBuilder
- func (builder *CountryRegionBuilder) Alpha2Code(alpha2Code string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Alpha3Code(alpha3Code string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Build() *CountryRegion
- func (builder *CountryRegionBuilder) CountryRegionId(countryRegionId string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) FullName(fullName []*I18n) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) GlobalCode(globalCode string) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Name(name []*I18n) *CountryRegionBuilder
- func (builder *CountryRegionBuilder) Status(status int) *CountryRegionBuilder
- type CountryRegionSubdivision
- type CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) Build() *CountryRegionSubdivision
- func (builder *CountryRegionSubdivisionBuilder) CountryRegionId(countryRegionId string) *CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) CountryRegionSubdivisionId(countryRegionSubdivisionId string) *CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) IsoCode(isoCode string) *CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) Name(name []*I18n) *CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) Status(status int) *CountryRegionSubdivisionBuilder
- func (builder *CountryRegionSubdivisionBuilder) SubdivisionType(subdivisionType *Enum) *CountryRegionSubdivisionBuilder
- type CreateCostCenterReq
- type CreateCostCenterReqBuilder
- type CreateCostCenterResp
- type CreateCostCenterRespData
- type CreateCostCenterVersionReq
- type CreateCostCenterVersionReqBuilder
- func (builder *CreateCostCenterVersionReqBuilder) Build() *CreateCostCenterVersionReq
- func (builder *CreateCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *CreateCostCenterVersionReqBuilder
- func (builder *CreateCostCenterVersionReqBuilder) CostCenterVersion(costCenterVersion *CostCenterVersion) *CreateCostCenterVersionReqBuilder
- func (builder *CreateCostCenterVersionReqBuilder) UserIdType(userIdType string) *CreateCostCenterVersionReqBuilder
- type CreateCostCenterVersionResp
- type CreateCostCenterVersionRespData
- type CreatePersonReq
- type CreatePersonReqBuilder
- type CreatePersonResp
- type CreatePersonRespData
- type CreatePreHireReq
- type CreatePreHireReqBuilder
- type CreatePreHireResp
- type CreatePreHireRespData
- type CreateProbationAssessmentPathReqBodyBuilder
- func (builder *CreateProbationAssessmentPathReqBodyBuilder) Assessments(assessments []*AssessmentForCreate) *CreateProbationAssessmentPathReqBodyBuilder
- func (builder *CreateProbationAssessmentPathReqBodyBuilder) Build() (*CreateProbationAssessmentReqBody, error)
- func (builder *CreateProbationAssessmentPathReqBodyBuilder) EmploymentId(employmentId string) *CreateProbationAssessmentPathReqBodyBuilder
- type CreateProbationAssessmentReq
- type CreateProbationAssessmentReqBody
- type CreateProbationAssessmentReqBodyBuilder
- func (builder *CreateProbationAssessmentReqBodyBuilder) Assessments(assessments []*AssessmentForCreate) *CreateProbationAssessmentReqBodyBuilder
- func (builder *CreateProbationAssessmentReqBodyBuilder) Build() *CreateProbationAssessmentReqBody
- func (builder *CreateProbationAssessmentReqBodyBuilder) EmploymentId(employmentId string) *CreateProbationAssessmentReqBodyBuilder
- type CreateProbationAssessmentReqBuilder
- func (builder *CreateProbationAssessmentReqBuilder) Body(body *CreateProbationAssessmentReqBody) *CreateProbationAssessmentReqBuilder
- func (builder *CreateProbationAssessmentReqBuilder) Build() *CreateProbationAssessmentReq
- func (builder *CreateProbationAssessmentReqBuilder) ClientToken(clientToken string) *CreateProbationAssessmentReqBuilder
- func (builder *CreateProbationAssessmentReqBuilder) UserIdType(userIdType string) *CreateProbationAssessmentReqBuilder
- type CreateProbationAssessmentResp
- type CreateProbationAssessmentRespData
- type Currency
- type CurrencyBuilder
- func (builder *CurrencyBuilder) Build() *Currency
- func (builder *CurrencyBuilder) CountryRegionId(countryRegionId string) *CurrencyBuilder
- func (builder *CurrencyBuilder) CurrencyAlpha3Code(currencyAlpha3Code string) *CurrencyBuilder
- func (builder *CurrencyBuilder) CurrencyId(currencyId string) *CurrencyBuilder
- func (builder *CurrencyBuilder) CurrencyName(currencyName []*I18n) *CurrencyBuilder
- func (builder *CurrencyBuilder) NumericCode(numericCode int) *CurrencyBuilder
- func (builder *CurrencyBuilder) Status(status int) *CurrencyBuilder
- type CustomFieldData
- type CustomFieldDataBuilder
- func (builder *CustomFieldDataBuilder) Build() *CustomFieldData
- func (builder *CustomFieldDataBuilder) CustomApiName(customApiName string) *CustomFieldDataBuilder
- func (builder *CustomFieldDataBuilder) Name(name *CustomName) *CustomFieldDataBuilder
- func (builder *CustomFieldDataBuilder) Type(type_ int) *CustomFieldDataBuilder
- func (builder *CustomFieldDataBuilder) Value(value string) *CustomFieldDataBuilder
- type CustomName
- type CustomNameBuilder
- type CustomValue
- type CustomValueBuilder
- type DataengineI18n
- type DataengineI18nBuilder
- type DeleteCostCenterPathReqBodyBuilder
- type DeleteCostCenterReq
- type DeleteCostCenterReqBody
- type DeleteCostCenterReqBodyBuilder
- type DeleteCostCenterReqBuilder
- type DeleteCostCenterResp
- type DeleteCostCenterVersionPathReqBodyBuilder
- type DeleteCostCenterVersionReq
- type DeleteCostCenterVersionReqBody
- type DeleteCostCenterVersionReqBodyBuilder
- type DeleteCostCenterVersionReqBuilder
- func (builder *DeleteCostCenterVersionReqBuilder) Body(body *DeleteCostCenterVersionReqBody) *DeleteCostCenterVersionReqBuilder
- func (builder *DeleteCostCenterVersionReqBuilder) Build() *DeleteCostCenterVersionReq
- func (builder *DeleteCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *DeleteCostCenterVersionReqBuilder
- func (builder *DeleteCostCenterVersionReqBuilder) VersionId(versionId string) *DeleteCostCenterVersionReqBuilder
- type DeleteCostCenterVersionResp
- type DeleteProbationAssessmentReq
- type DeleteProbationAssessmentReqBuilder
- type DeleteProbationAssessmentResp
- type Department
- type DepartmentBuilder
- func (builder *DepartmentBuilder) Active(active bool) *DepartmentBuilder
- func (builder *DepartmentBuilder) Build() *Department
- func (builder *DepartmentBuilder) Code(code string) *DepartmentBuilder
- func (builder *DepartmentBuilder) CustomFields(customFields []*CustomFieldData) *DepartmentBuilder
- func (builder *DepartmentBuilder) DepartmentName(departmentName []*I18n) *DepartmentBuilder
- func (builder *DepartmentBuilder) Description(description []*I18n) *DepartmentBuilder
- func (builder *DepartmentBuilder) EffectiveDate(effectiveDate string) *DepartmentBuilder
- func (builder *DepartmentBuilder) ExpirationDate(expirationDate string) *DepartmentBuilder
- func (builder *DepartmentBuilder) Id(id string) *DepartmentBuilder
- func (builder *DepartmentBuilder) IsConfidential(isConfidential bool) *DepartmentBuilder
- func (builder *DepartmentBuilder) IsRoot(isRoot bool) *DepartmentBuilder
- func (builder *DepartmentBuilder) ListOrder(listOrder string) *DepartmentBuilder
- func (builder *DepartmentBuilder) Manager(manager string) *DepartmentBuilder
- func (builder *DepartmentBuilder) ParentDepartmentId(parentDepartmentId string) *DepartmentBuilder
- func (builder *DepartmentBuilder) StaffingModel(staffingModel *Enum) *DepartmentBuilder
- func (builder *DepartmentBuilder) SubType(subType *Enum) *DepartmentBuilder
- func (builder *DepartmentBuilder) TreeOrder(treeOrder string) *DepartmentBuilder
- func (builder *DepartmentBuilder) VersionId(versionId string) *DepartmentBuilder
- type DepartmentChange
- type DepartmentChangeBuilder
- func (builder *DepartmentChangeBuilder) Build() *DepartmentChange
- func (builder *DepartmentChangeBuilder) DepartmentChangeId(departmentChangeId string) *DepartmentChangeBuilder
- func (builder *DepartmentChangeBuilder) DepartmentChangeType(departmentChangeType string) *DepartmentChangeBuilder
- func (builder *DepartmentChangeBuilder) DepartmentId(departmentId string) *DepartmentChangeBuilder
- func (builder *DepartmentChangeBuilder) ReorganizationInfo(reorganizationInfo *ReorganizationInfo) *DepartmentChangeBuilder
- type DepartmentHrbp
- type DepartmentHrbpBuilder
- type DepartmentId
- type DepartmentIdBuilder
- type DepartmentParentInfo
- type DepartmentParentInfoBuilder
- func (builder *DepartmentParentInfoBuilder) Active(active bool) *DepartmentParentInfoBuilder
- func (builder *DepartmentParentInfoBuilder) Build() *DepartmentParentInfo
- func (builder *DepartmentParentInfoBuilder) DepartmentId(departmentId string) *DepartmentParentInfoBuilder
- func (builder *DepartmentParentInfoBuilder) DepartmentName(departmentName []*I18n) *DepartmentParentInfoBuilder
- func (builder *DepartmentParentInfoBuilder) IsRoot(isRoot bool) *DepartmentParentInfoBuilder
- func (builder *DepartmentParentInfoBuilder) ParentDepartmentId(parentDepartmentId string) *DepartmentParentInfoBuilder
- type DepartmentParents
- type DepartmentParentsBuilder
- func (builder *DepartmentParentsBuilder) Build() *DepartmentParents
- func (builder *DepartmentParentsBuilder) DepartmentId(departmentId string) *DepartmentParentsBuilder
- func (builder *DepartmentParentsBuilder) ParentDepartmentList(parentDepartmentList []*DepartmentParentInfo) *DepartmentParentsBuilder
- type Dependent
- type DependentBuilder
- func (builder *DependentBuilder) Address(address *Address) *DependentBuilder
- func (builder *DependentBuilder) BirthCertificateOfChild(birthCertificateOfChild []*File) *DependentBuilder
- func (builder *DependentBuilder) Build() *Dependent
- func (builder *DependentBuilder) CustomFields(customFields []*CustomFieldData) *DependentBuilder
- func (builder *DependentBuilder) DateOfBirth(dateOfBirth string) *DependentBuilder
- func (builder *DependentBuilder) DependentName(dependentName string) *DependentBuilder
- func (builder *DependentBuilder) Employer(employer string) *DependentBuilder
- func (builder *DependentBuilder) Gender(gender *Enum) *DependentBuilder
- func (builder *DependentBuilder) IsThisPersonAllowedForTaxDeduction(isThisPersonAllowedForTaxDeduction bool) *DependentBuilder
- func (builder *DependentBuilder) IsThisPersonCoveredByHealthInsurance(isThisPersonCoveredByHealthInsurance bool) *DependentBuilder
- func (builder *DependentBuilder) Job(job string) *DependentBuilder
- func (builder *DependentBuilder) Name(name *PersonName) *DependentBuilder
- func (builder *DependentBuilder) NationalIdList(nationalIdList []*NationalId) *DependentBuilder
- func (builder *DependentBuilder) NationalityIdV2(nationalityIdV2 string) *DependentBuilder
- func (builder *DependentBuilder) Phone(phone *Phone) *DependentBuilder
- func (builder *DependentBuilder) Relationship(relationship *Enum) *DependentBuilder
- func (builder *DependentBuilder) SpousesWorkingStatus(spousesWorkingStatus *Enum) *DependentBuilder
- type Dimension
- type DimensionBuilder
- func (builder *DimensionBuilder) ApiName(apiName string) *DimensionBuilder
- func (builder *DimensionBuilder) Build() *Dimension
- func (builder *DimensionBuilder) EnumValue(enumValue []*Enum) *DimensionBuilder
- func (builder *DimensionBuilder) FieldType(fieldType string) *DimensionBuilder
- func (builder *DimensionBuilder) Name(name []*I18n) *DimensionBuilder
- func (builder *DimensionBuilder) Required(required bool) *DimensionBuilder
- type DimensionInfo
- type DimensionInfoBuilder
- type DimensionValue
- type DimensionValueBuilder
- type District
- type DistrictBuilder
- func (builder *DistrictBuilder) Build() *District
- func (builder *DistrictBuilder) CityId(cityId string) *DistrictBuilder
- func (builder *DistrictBuilder) DistrictId(districtId string) *DistrictBuilder
- func (builder *DistrictBuilder) Name(name []*I18n) *DistrictBuilder
- func (builder *DistrictBuilder) Status(status int) *DistrictBuilder
- type Education
- type EducationBuilder
- func (builder *EducationBuilder) Build() *Education
- func (builder *EducationBuilder) CountryRegionId(countryRegionId string) *EducationBuilder
- func (builder *EducationBuilder) CustomFields(customFields []*CustomFieldData) *EducationBuilder
- func (builder *EducationBuilder) Degree(degree *Enum) *EducationBuilder
- func (builder *EducationBuilder) EndDate(endDate string) *EducationBuilder
- func (builder *EducationBuilder) ExpectedEndDate(expectedEndDate string) *EducationBuilder
- func (builder *EducationBuilder) FieldOfStudy(fieldOfStudy []*I18n) *EducationBuilder
- func (builder *EducationBuilder) FieldOfStudyName(fieldOfStudyName *Enum) *EducationBuilder
- func (builder *EducationBuilder) LevelOfEducation(levelOfEducation *Enum) *EducationBuilder
- func (builder *EducationBuilder) School(school []*I18n) *EducationBuilder
- func (builder *EducationBuilder) SchoolName(schoolName *Enum) *EducationBuilder
- func (builder *EducationBuilder) StartDate(startDate string) *EducationBuilder
- type EducationInfo
- type EducationInfoBuilder
- func (builder *EducationInfoBuilder) Build() *EducationInfo
- func (builder *EducationInfoBuilder) Education(education string) *EducationInfoBuilder
- func (builder *EducationInfoBuilder) EndTime(endTime string) *EducationInfoBuilder
- func (builder *EducationInfoBuilder) FieldOfStudy(fieldOfStudy string) *EducationInfoBuilder
- func (builder *EducationInfoBuilder) SchoolName(schoolName string) *EducationInfoBuilder
- func (builder *EducationInfoBuilder) StartTime(startTime string) *EducationInfoBuilder
- type Email
- type EmailBuilder
- func (builder *EmailBuilder) Build() *Email
- func (builder *EmailBuilder) Email(email string) *EmailBuilder
- func (builder *EmailBuilder) EmailUsage(emailUsage *Enum) *EmailBuilder
- func (builder *EmailBuilder) IsPrimary(isPrimary bool) *EmailBuilder
- func (builder *EmailBuilder) IsPublic(isPublic bool) *EmailBuilder
- type EmergencyContact
- type EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) Address(address *Address) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) Build() *EmergencyContact
- func (builder *EmergencyContactBuilder) CustomFields(customFields []*CustomFieldData) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) Email(email *Email) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) LegalName(legalName string) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) Name(name *PersonName) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) PhoneIst(phoneIst []*Phone) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) PhoneList(phoneList []*Phone) *EmergencyContactBuilder
- func (builder *EmergencyContactBuilder) Relationship(relationship *Enum) *EmergencyContactBuilder
- type Employee
- type EmployeeBuilder
- func (builder *EmployeeBuilder) AtsApplicationId(atsApplicationId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) AvatarUrl(avatarUrl string) *EmployeeBuilder
- func (builder *EmployeeBuilder) Build() *Employee
- func (builder *EmployeeBuilder) CompanyId(companyId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) ContractEndDate(contractEndDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) ContractExpectedEndDate(contractExpectedEndDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) ContractStartDate(contractStartDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) CostCenterList(costCenterList []*JobDataCostCenter) *EmployeeBuilder
- func (builder *EmployeeBuilder) CustomFields(customFields []*CustomFieldData) *EmployeeBuilder
- func (builder *EmployeeBuilder) Department(department *BasicDepartment) *EmployeeBuilder
- func (builder *EmployeeBuilder) DepartmentId(departmentId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) DirectManager(directManager *BasicEmployee) *EmployeeBuilder
- func (builder *EmployeeBuilder) DirectManagerId(directManagerId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) DottedLineManager(dottedLineManager *BasicEmployee) *EmployeeBuilder
- func (builder *EmployeeBuilder) DottedLineManagerId(dottedLineManagerId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EffectiveDate(effectiveDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmailAddress(emailAddress string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmployeeNumber(employeeNumber string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmployeeTypeId(employeeTypeId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmploymentId(employmentId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmploymentStatus(employmentStatus *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) EmploymentType(employmentType *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) ExpirationDate(expirationDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) ExternalId(externalId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) InternationalAssignment(internationalAssignment bool) *EmployeeBuilder
- func (builder *EmployeeBuilder) JobFamilyId(jobFamilyId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) JobGradeId(jobGradeId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) JobId(jobId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) JobLevelId(jobLevelId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) NoncompeteStatus(noncompeteStatus *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) OnProbation(onProbation bool) *EmployeeBuilder
- func (builder *EmployeeBuilder) PastOffboarding(pastOffboarding bool) *EmployeeBuilder
- func (builder *EmployeeBuilder) PayGroupId(payGroupId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) PersonInfo(personInfo *PersonInfo) *EmployeeBuilder
- func (builder *EmployeeBuilder) PrehireId(prehireId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) PrimaryContractId(primaryContractId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) PrimaryEmployment(primaryEmployment bool) *EmployeeBuilder
- func (builder *EmployeeBuilder) ProbationEndDate(probationEndDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) ProbationPeriod(probationPeriod int) *EmployeeBuilder
- func (builder *EmployeeBuilder) ReasonForOffboarding(reasonForOffboarding *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) RecruitmentType(recruitmentType *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) Rehire(rehire *Enum) *EmployeeBuilder
- func (builder *EmployeeBuilder) RehireEmploymentId(rehireEmploymentId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) SeniorityDate(seniorityDate string) *EmployeeBuilder
- func (builder *EmployeeBuilder) Tenure(tenure string) *EmployeeBuilder
- func (builder *EmployeeBuilder) TimeZone(timeZone string) *EmployeeBuilder
- func (builder *EmployeeBuilder) TimesEmployed(timesEmployed int) *EmployeeBuilder
- func (builder *EmployeeBuilder) WorkCalendarId(workCalendarId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) WorkEmailList(workEmailList []*WorkEmail) *EmployeeBuilder
- func (builder *EmployeeBuilder) WorkLocationId(workLocationId string) *EmployeeBuilder
- func (builder *EmployeeBuilder) WorkingHoursTypeId(workingHoursTypeId string) *EmployeeBuilder
- type EmployeeInternationalAssignment
- type EmployeeInternationalAssignmentBuilder
- func (builder *EmployeeInternationalAssignmentBuilder) Build() *EmployeeInternationalAssignment
- func (builder *EmployeeInternationalAssignmentBuilder) EmploymentId(employmentId string) *EmployeeInternationalAssignmentBuilder
- func (builder *EmployeeInternationalAssignmentBuilder) InternationalAssignments(internationalAssignments []*InternationalAssignmentV2) *EmployeeInternationalAssignmentBuilder
- type EmployeeJobData
- type EmployeeJobDataBuilder
- type Employment
- type EmploymentBp
- type EmploymentBpBuilder
- func (builder *EmploymentBpBuilder) Build() *EmploymentBp
- func (builder *EmploymentBpBuilder) EmploymentId(employmentId string) *EmploymentBpBuilder
- func (builder *EmploymentBpBuilder) HrbpIds(hrbpIds []string) *EmploymentBpBuilder
- func (builder *EmploymentBpBuilder) LocationBpIds(locationBpIds []string) *EmploymentBpBuilder
- type EmploymentBuilder
- func (builder *EmploymentBuilder) AtsApplicationId(atsApplicationId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) Build() *Employment
- func (builder *EmploymentBuilder) CompanyId(companyId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) CostCenterList(costCenterList []*JobDataCostCenter) *EmploymentBuilder
- func (builder *EmploymentBuilder) CustomFields(customFields []*ObjectFieldData) *EmploymentBuilder
- func (builder *EmploymentBuilder) DepartmentId(departmentId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) EffectiveDate(effectiveDate string) *EmploymentBuilder
- func (builder *EmploymentBuilder) EmailAddress(emailAddress string) *EmploymentBuilder
- func (builder *EmploymentBuilder) EmployeeNumber(employeeNumber string) *EmploymentBuilder
- func (builder *EmploymentBuilder) EmployeeTypeId(employeeTypeId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) EmploymentStatus(employmentStatus *Enum) *EmploymentBuilder
- func (builder *EmploymentBuilder) EmploymentType(employmentType *Enum) *EmploymentBuilder
- func (builder *EmploymentBuilder) ExpirationDate(expirationDate string) *EmploymentBuilder
- func (builder *EmploymentBuilder) Id(id string) *EmploymentBuilder
- func (builder *EmploymentBuilder) JobFamilyId(jobFamilyId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) JobId(jobId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) JobLevelId(jobLevelId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) OnProbation(onProbation string) *EmploymentBuilder
- func (builder *EmploymentBuilder) PersonId(personId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) PrehireId(prehireId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) PrimaryEmployment(primaryEmployment bool) *EmploymentBuilder
- func (builder *EmploymentBuilder) ProbationEndDate(probationEndDate string) *EmploymentBuilder
- func (builder *EmploymentBuilder) ProbationPeriod(probationPeriod int) *EmploymentBuilder
- func (builder *EmploymentBuilder) ReasonForOffboarding(reasonForOffboarding *Enum) *EmploymentBuilder
- func (builder *EmploymentBuilder) SeniorityDate(seniorityDate string) *EmploymentBuilder
- func (builder *EmploymentBuilder) Tenure(tenure string) *EmploymentBuilder
- func (builder *EmploymentBuilder) WorkEmailList(workEmailList []*Email) *EmploymentBuilder
- func (builder *EmploymentBuilder) WorkLocationId(workLocationId string) *EmploymentBuilder
- func (builder *EmploymentBuilder) WorkingHoursTypeId(workingHoursTypeId string) *EmploymentBuilder
- type EnableDisableAssessmentProbationPathReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) Active(active bool) *EnableDisableAssessmentProbationPathReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) AppUrl(appUrl string) *EnableDisableAssessmentProbationPathReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) Build() (*EnableDisableAssessmentProbationReqBody, error)
- type EnableDisableAssessmentProbationReq
- type EnableDisableAssessmentProbationReqBody
- type EnableDisableAssessmentProbationReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationReqBodyBuilder) Active(active bool) *EnableDisableAssessmentProbationReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationReqBodyBuilder) AppUrl(appUrl string) *EnableDisableAssessmentProbationReqBodyBuilder
- func (builder *EnableDisableAssessmentProbationReqBodyBuilder) Build() *EnableDisableAssessmentProbationReqBody
- type EnableDisableAssessmentProbationReqBuilder
- type EnableDisableAssessmentProbationResp
- type Enum
- type EnumBuilder
- type File
- type FileBuilder
- type FormFieldVariableBoolValue
- type FormFieldVariableBoolValueBuilder
- type FormFieldVariableI18nValue
- type FormFieldVariableI18nValueBuilder
- type FormFieldVariableNullValue
- type FormFieldVariableNumberValue
- type FormFieldVariableNumberValueBuilder
- type FormFieldVariableStringValue
- type FormFieldVariableStringValueBuilder
- type FormVariableValueInfo
- type FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) BoolValue(boolValue *FormFieldVariableBoolValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) Build() *FormVariableValueInfo
- func (builder *FormVariableValueInfoBuilder) DateTimeValue(dateTimeValue *FormFieldVariableNumberValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) DateValue(dateValue *FormFieldVariableNumberValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) DepartmentValue(departmentValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) EmploymentValue(employmentValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) EnumValue(enumValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) I18nValue(i18nValue *FormFieldVariableI18nValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) NullValue(nullValue *FormFieldVariableNullValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) NumberValue(numberValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) ObjectValue(objectValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- func (builder *FormVariableValueInfoBuilder) TextValue(textValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
- type GetByDepartmentBpPathReqBodyBuilder
- type GetByDepartmentBpReq
- type GetByDepartmentBpReqBody
- type GetByDepartmentBpReqBodyBuilder
- type GetByDepartmentBpReqBuilder
- func (builder *GetByDepartmentBpReqBuilder) Body(body *GetByDepartmentBpReqBody) *GetByDepartmentBpReqBuilder
- func (builder *GetByDepartmentBpReqBuilder) Build() *GetByDepartmentBpReq
- func (builder *GetByDepartmentBpReqBuilder) DepartmentIdType(departmentIdType string) *GetByDepartmentBpReqBuilder
- func (builder *GetByDepartmentBpReqBuilder) UserIdType(userIdType string) *GetByDepartmentBpReqBuilder
- type GetByDepartmentBpResp
- type GetByDepartmentBpRespData
- type GetJobReq
- type GetJobReqBuilder
- type GetJobResp
- type GetJobRespData
- type GetProcessReq
- type GetProcessReqBuilder
- type GetProcessResp
- type GetProcessRespData
- type HiberarchyCommon
- type HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) Active(active bool) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) Build() *HiberarchyCommon
- func (builder *HiberarchyCommonBuilder) Code(code string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) CustomFields(customFields []*ObjectFieldData) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) Description(description []*I18n) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) EffectiveTime(effectiveTime string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) ExpirationTime(expirationTime string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) ListOrder(listOrder string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) Name(name []*I18n) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) ParentId(parentId string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) TreeOrder(treeOrder string) *HiberarchyCommonBuilder
- func (builder *HiberarchyCommonBuilder) Type(type_ *Enum) *HiberarchyCommonBuilder
- type I18n
- type I18nBuilder
- type I18nV2
- type I18nV2Builder
- type InternationalAssignment
- type InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) AssignmentCityId(assignmentCityId string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) AssignmentCompanyId(assignmentCompanyId string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) AssignmentCountryId(assignmentCountryId string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) AssignmentReason(assignmentReason *I18n) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) Build() *InternationalAssignment
- func (builder *InternationalAssignmentBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) EndAssignmentProcessId(endAssignmentProcessId string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) Id(id string) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentBuilder
- func (builder *InternationalAssignmentBuilder) StartAssignmentProcessId(startAssignmentProcessId string) *InternationalAssignmentBuilder
- type InternationalAssignmentV2
- type InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) Accommodation(accommodation bool) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) Build() *InternationalAssignmentV2
- func (builder *InternationalAssignmentV2Builder) CreatedAt(createdAt string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) CreatedBy(createdBy string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) DeletedAt(deletedAt string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) Description(description string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) EmploymentId(employmentId string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) ExpirationTime(expirationTime string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) Id(id string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) UpdatedAt(updatedAt string) *InternationalAssignmentV2Builder
- func (builder *InternationalAssignmentV2Builder) UpdatedBy(updatedBy string) *InternationalAssignmentV2Builder
- type InternationalAssignmentV2ForCreate
- type InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) Accommodation(accommodation bool) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) Build() *InternationalAssignmentV2ForCreate
- func (builder *InternationalAssignmentV2ForCreateBuilder) Description(description string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) EmploymentId(employmentId string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2ForCreateBuilder
- func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2ForCreateBuilder
- type InternationalAssignmentV2ForPatch
- type InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) Accommodation(accommodation bool) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) Build() *InternationalAssignmentV2ForPatch
- func (builder *InternationalAssignmentV2ForPatchBuilder) Description(description string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2ForPatchBuilder
- func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2ForPatchBuilder
- type Job
- type JobBuilder
- func (builder *JobBuilder) Active(active bool) *JobBuilder
- func (builder *JobBuilder) Build() *Job
- func (builder *JobBuilder) Code(code string) *JobBuilder
- func (builder *JobBuilder) CustomFields(customFields []*ObjectFieldData) *JobBuilder
- func (builder *JobBuilder) Description(description []*I18n) *JobBuilder
- func (builder *JobBuilder) EffectiveTime(effectiveTime string) *JobBuilder
- func (builder *JobBuilder) ExpirationTime(expirationTime string) *JobBuilder
- func (builder *JobBuilder) Id(id string) *JobBuilder
- func (builder *JobBuilder) JobFamilyIdList(jobFamilyIdList []string) *JobBuilder
- func (builder *JobBuilder) JobLevelIdList(jobLevelIdList []string) *JobBuilder
- func (builder *JobBuilder) JobTitle(jobTitle []*I18n) *JobBuilder
- func (builder *JobBuilder) Name(name []*I18n) *JobBuilder
- func (builder *JobBuilder) WorkingHoursTypeId(workingHoursTypeId string) *JobBuilder
- type JobChange
- type JobChangeBuilder
- func (builder *JobChangeBuilder) Build() *JobChange
- func (builder *JobChangeBuilder) CreatedTime(createdTime string) *JobChangeBuilder
- func (builder *JobChangeBuilder) EffectiveDate(effectiveDate string) *JobChangeBuilder
- func (builder *JobChangeBuilder) EmploymentId(employmentId string) *JobChangeBuilder
- func (builder *JobChangeBuilder) JobChangeId(jobChangeId string) *JobChangeBuilder
- func (builder *JobChangeBuilder) ProcessId(processId string) *JobChangeBuilder
- func (builder *JobChangeBuilder) Status(status string) *JobChangeBuilder
- func (builder *JobChangeBuilder) TransferInfo(transferInfo *TransferInfo) *JobChangeBuilder
- func (builder *JobChangeBuilder) TransferReasonUniqueIdentifier(transferReasonUniqueIdentifier string) *JobChangeBuilder
- func (builder *JobChangeBuilder) TransferTypeUniqueIdentifier(transferTypeUniqueIdentifier string) *JobChangeBuilder
- func (builder *JobChangeBuilder) UpdatedTime(updatedTime string) *JobChangeBuilder
- type JobData
- type JobDataBuilder
- func (builder *JobDataBuilder) AssignmentStartReason(assignmentStartReason *Enum) *JobDataBuilder
- func (builder *JobDataBuilder) Build() *JobData
- func (builder *JobDataBuilder) CostCenterRates(costCenterRates []*JobDataCostCenter) *JobDataBuilder
- func (builder *JobDataBuilder) CustomFields(customFields []*CustomFieldData) *JobDataBuilder
- func (builder *JobDataBuilder) DepartmentId(departmentId string) *JobDataBuilder
- func (builder *JobDataBuilder) DirectManager(directManager *BasicJobData) *JobDataBuilder
- func (builder *JobDataBuilder) DottedLineManagers(dottedLineManagers []*BasicJobData) *JobDataBuilder
- func (builder *JobDataBuilder) EffectiveTime(effectiveTime string) *JobDataBuilder
- func (builder *JobDataBuilder) EmployeeTypeId(employeeTypeId string) *JobDataBuilder
- func (builder *JobDataBuilder) EmploymentId(employmentId string) *JobDataBuilder
- func (builder *JobDataBuilder) ExpirationTime(expirationTime string) *JobDataBuilder
- func (builder *JobDataBuilder) JobDataId(jobDataId string) *JobDataBuilder
- func (builder *JobDataBuilder) JobFamilyId(jobFamilyId string) *JobDataBuilder
- func (builder *JobDataBuilder) JobGradeId(jobGradeId string) *JobDataBuilder
- func (builder *JobDataBuilder) JobId(jobId string) *JobDataBuilder
- func (builder *JobDataBuilder) JobLevelId(jobLevelId string) *JobDataBuilder
- func (builder *JobDataBuilder) PrimaryJobData(primaryJobData bool) *JobDataBuilder
- func (builder *JobDataBuilder) ProbationEndDate(probationEndDate string) *JobDataBuilder
- func (builder *JobDataBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *JobDataBuilder
- func (builder *JobDataBuilder) ProbationOutcome(probationOutcome *Enum) *JobDataBuilder
- func (builder *JobDataBuilder) ProbationStartDate(probationStartDate string) *JobDataBuilder
- func (builder *JobDataBuilder) SecondDirectManager(secondDirectManager *BasicJobData) *JobDataBuilder
- func (builder *JobDataBuilder) VersionId(versionId string) *JobDataBuilder
- func (builder *JobDataBuilder) WorkLocationId(workLocationId string) *JobDataBuilder
- func (builder *JobDataBuilder) WorkingHoursTypeId(workingHoursTypeId string) *JobDataBuilder
- type JobDataCostCenter
- type JobDataCostCenterBuilder
- type JobFamily
- type JobFamilyBuilder
- func (builder *JobFamilyBuilder) Active(active bool) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) Build() *JobFamily
- func (builder *JobFamilyBuilder) Code(code string) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) CustomFields(customFields []*CustomFieldData) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) EffectiveTime(effectiveTime string) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) ExpirationTime(expirationTime string) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) JobFamilyId(jobFamilyId string) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) Name(name []*I18n) *JobFamilyBuilder
- func (builder *JobFamilyBuilder) ParentId(parentId string) *JobFamilyBuilder
- type JobLevel
- type JobLevelBuilder
- func (builder *JobLevelBuilder) Active(active bool) *JobLevelBuilder
- func (builder *JobLevelBuilder) Build() *JobLevel
- func (builder *JobLevelBuilder) Code(code string) *JobLevelBuilder
- func (builder *JobLevelBuilder) CustomFields(customFields []*CustomFieldData) *JobLevelBuilder
- func (builder *JobLevelBuilder) Description(description []*I18n) *JobLevelBuilder
- func (builder *JobLevelBuilder) JobLevelId(jobLevelId string) *JobLevelBuilder
- func (builder *JobLevelBuilder) LevelOrder(levelOrder int) *JobLevelBuilder
- func (builder *JobLevelBuilder) Name(name []*I18n) *JobLevelBuilder
- type ListBpIterator
- type ListBpReq
- type ListBpReqBuilder
- func (builder *ListBpReqBuilder) Build() *ListBpReq
- func (builder *ListBpReqBuilder) DepartmentIdType(departmentIdType string) *ListBpReqBuilder
- func (builder *ListBpReqBuilder) Limit(limit int) *ListBpReqBuilder
- func (builder *ListBpReqBuilder) PageSize(pageSize int) *ListBpReqBuilder
- func (builder *ListBpReqBuilder) PageToken(pageToken string) *ListBpReqBuilder
- func (builder *ListBpReqBuilder) UserIdType(userIdType string) *ListBpReqBuilder
- type ListBpResp
- type ListBpRespData
- type ListJobReq
- type ListJobReqBuilder
- func (builder *ListJobReqBuilder) Build() *ListJobReq
- func (builder *ListJobReqBuilder) Name(name string) *ListJobReqBuilder
- func (builder *ListJobReqBuilder) PageSize(pageSize string) *ListJobReqBuilder
- func (builder *ListJobReqBuilder) PageToken(pageToken string) *ListJobReqBuilder
- func (builder *ListJobReqBuilder) QueryLanguage(queryLanguage string) *ListJobReqBuilder
- type ListJobResp
- type ListJobRespData
- type ListProcessIterator
- type ListProcessReq
- type ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) Build() *ListProcessReq
- func (builder *ListProcessReqBuilder) FlowDefinitionId(flowDefinitionId string) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) Limit(limit int) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) ModifyTimeFrom(modifyTimeFrom string) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) ModifyTimeTo(modifyTimeTo string) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) PageSize(pageSize int) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) PageToken(pageToken string) *ListProcessReqBuilder
- func (builder *ListProcessReqBuilder) Statuses(statuses []int) *ListProcessReqBuilder
- type ListProcessResp
- type ListProcessRespData
- type Location
- type LocationBuilder
- func (builder *LocationBuilder) Address(address []*Address) *LocationBuilder
- func (builder *LocationBuilder) Build() *Location
- func (builder *LocationBuilder) CustomFields(customFields []*CustomFieldData) *LocationBuilder
- func (builder *LocationBuilder) DisplayLanguageId(displayLanguageId string) *LocationBuilder
- func (builder *LocationBuilder) EffectiveTime(effectiveTime string) *LocationBuilder
- func (builder *LocationBuilder) ExpirationTime(expirationTime string) *LocationBuilder
- func (builder *LocationBuilder) HiberarchyCommon(hiberarchyCommon *HiberarchyCommon) *LocationBuilder
- func (builder *LocationBuilder) Locale(locale *Enum) *LocationBuilder
- func (builder *LocationBuilder) LocationId(locationId string) *LocationBuilder
- func (builder *LocationBuilder) LocationUsageList(locationUsageList []*Enum) *LocationBuilder
- func (builder *LocationBuilder) TimeZoneId(timeZoneId string) *LocationBuilder
- func (builder *LocationBuilder) WorkingHoursTypeId(workingHoursTypeId string) *LocationBuilder
- type LocationV2
- type LocationV2Builder
- func (builder *LocationV2Builder) Active(active bool) *LocationV2Builder
- func (builder *LocationV2Builder) Addresses(addresses []*Address) *LocationV2Builder
- func (builder *LocationV2Builder) Build() *LocationV2
- func (builder *LocationV2Builder) Code(code string) *LocationV2Builder
- func (builder *LocationV2Builder) CustomFields(customFields []*CustomFieldData) *LocationV2Builder
- func (builder *LocationV2Builder) DisplayLanguageId(displayLanguageId string) *LocationV2Builder
- func (builder *LocationV2Builder) EffectiveTime(effectiveTime string) *LocationV2Builder
- func (builder *LocationV2Builder) ExpirationTime(expirationTime string) *LocationV2Builder
- func (builder *LocationV2Builder) Locale(locale *Enum) *LocationV2Builder
- func (builder *LocationV2Builder) LocationId(locationId string) *LocationV2Builder
- func (builder *LocationV2Builder) LocationUsages(locationUsages []*Enum) *LocationV2Builder
- func (builder *LocationV2Builder) Names(names []*I18n) *LocationV2Builder
- func (builder *LocationV2Builder) ParentLocationId(parentLocationId string) *LocationV2Builder
- func (builder *LocationV2Builder) TimeZoneId(timeZoneId string) *LocationV2Builder
- func (builder *LocationV2Builder) WorkingHoursTypeId(workingHoursTypeId string) *LocationV2Builder
- type Name
- type NameBuilder
- func (builder *NameBuilder) Build() *Name
- func (builder *NameBuilder) FirstName(firstName string) *NameBuilder
- func (builder *NameBuilder) FullName(fullName string) *NameBuilder
- func (builder *NameBuilder) LocalFirstName(localFirstName string) *NameBuilder
- func (builder *NameBuilder) LocalMiddleName(localMiddleName string) *NameBuilder
- func (builder *NameBuilder) LocalPrimary(localPrimary string) *NameBuilder
- func (builder *NameBuilder) MiddleName(middleName string) *NameBuilder
- func (builder *NameBuilder) NamePrimary(namePrimary string) *NameBuilder
- type NationalId
- type NationalIdBuilder
- func (builder *NationalIdBuilder) Build() *NationalId
- func (builder *NationalIdBuilder) CountryRegionId(countryRegionId string) *NationalIdBuilder
- func (builder *NationalIdBuilder) CustomFields(customFields []*CustomFieldData) *NationalIdBuilder
- func (builder *NationalIdBuilder) ExpirationDate(expirationDate string) *NationalIdBuilder
- func (builder *NationalIdBuilder) IssueDate(issueDate string) *NationalIdBuilder
- func (builder *NationalIdBuilder) IssuedBy(issuedBy string) *NationalIdBuilder
- func (builder *NationalIdBuilder) NationalIdNumber(nationalIdNumber string) *NationalIdBuilder
- func (builder *NationalIdBuilder) NationalIdTypeId(nationalIdTypeId string) *NationalIdBuilder
- type Nationality
- type NationalityBuilder
- func (builder *NationalityBuilder) Alpha2Code(alpha2Code string) *NationalityBuilder
- func (builder *NationalityBuilder) Alpha3Code(alpha3Code string) *NationalityBuilder
- func (builder *NationalityBuilder) Build() *Nationality
- func (builder *NationalityBuilder) CountryRegionId(countryRegionId string) *NationalityBuilder
- func (builder *NationalityBuilder) Name(name []*I18n) *NationalityBuilder
- func (builder *NationalityBuilder) NationalityId(nationalityId string) *NationalityBuilder
- func (builder *NationalityBuilder) NumericCode(numericCode int) *NationalityBuilder
- func (builder *NationalityBuilder) Status(status int) *NationalityBuilder
- type ObjectFieldData
- type ObjectFieldDataBuilder
- type OfferInfo
- type OfferInfoBuilder
- func (builder *OfferInfoBuilder) Build() *OfferInfo
- func (builder *OfferInfoBuilder) Company(company string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ContractEndDate(contractEndDate string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ContractStartDate(contractStartDate string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ContractType(contractType string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) CostCenterRate(costCenterRate []*JobDataCostCenter) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) CustomFields(customFields []*ObjectFieldData) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) DepartmentId(departmentId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) DirectLeaderId(directLeaderId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) DurationPeriod(durationPeriod float64) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) DurationTypeId(durationTypeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) DurationUnit(durationUnit string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) EmployeeTypeId(employeeTypeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) EmploymentTypeId(employmentTypeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) EntryMode(entryMode string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) JobFamilyId(jobFamilyId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) JobGradeId(jobGradeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) JobId(jobId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) JobLevelId(jobLevelId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) JobTitle(jobTitle string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) OfferHrId(offerHrId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) OfferId(offerId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) OfficeLocationId(officeLocationId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) OnboardingDate(onboardingDate string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) OnboardingLocationId(onboardingLocationId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ProbationEndDate(probationEndDate string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ProbationPeriod(probationPeriod string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) ProbationStartDate(probationStartDate string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) RecruitmentTypeId(recruitmentTypeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) SigningTypeId(signingTypeId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) SocialSecurityCityId(socialSecurityCityId string) *OfferInfoBuilder
- func (builder *OfferInfoBuilder) WorkEmail(workEmail string) *OfferInfoBuilder
- type OnboardingTask
- type OnboardingTaskBuilder
- func (builder *OnboardingTaskBuilder) Build() *OnboardingTask
- func (builder *OnboardingTaskBuilder) OperatorId(operatorId string) *OnboardingTaskBuilder
- func (builder *OnboardingTaskBuilder) TaskCode(taskCode string) *OnboardingTaskBuilder
- func (builder *OnboardingTaskBuilder) TaskName(taskName string) *OnboardingTaskBuilder
- func (builder *OnboardingTaskBuilder) TaskStatus(taskStatus string) *OnboardingTaskBuilder
- type P2ProbationUpdatedV2
- type P2ProbationUpdatedV2Data
- type P2ProbationUpdatedV2Handler
- type P2ProcessApproverUpdatedV2
- type P2ProcessApproverUpdatedV2Data
- type P2ProcessApproverUpdatedV2Handler
- type P2ProcessCcUpdatedV2
- type P2ProcessCcUpdatedV2Data
- type P2ProcessCcUpdatedV2Handler
- type P2ProcessUpdatedV2
- type P2ProcessUpdatedV2Data
- type P2ProcessUpdatedV2Handler
- type ParentsDepartmentPathReqBodyBuilder
- type ParentsDepartmentReq
- type ParentsDepartmentReqBody
- type ParentsDepartmentReqBodyBuilder
- type ParentsDepartmentReqBuilder
- type ParentsDepartmentResp
- type ParentsDepartmentRespData
- type PatchCostCenterPathReqBodyBuilder
- func (builder *PatchCostCenterPathReqBodyBuilder) Active(active bool) *PatchCostCenterPathReqBodyBuilder
- func (builder *PatchCostCenterPathReqBodyBuilder) Build() (*PatchCostCenterReqBody, error)
- func (builder *PatchCostCenterPathReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterPathReqBodyBuilder
- func (builder *PatchCostCenterPathReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterPathReqBodyBuilder
- type PatchCostCenterReq
- type PatchCostCenterReqBody
- type PatchCostCenterReqBodyBuilder
- func (builder *PatchCostCenterReqBodyBuilder) Active(active bool) *PatchCostCenterReqBodyBuilder
- func (builder *PatchCostCenterReqBodyBuilder) Build() *PatchCostCenterReqBody
- func (builder *PatchCostCenterReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterReqBodyBuilder
- func (builder *PatchCostCenterReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterReqBodyBuilder
- type PatchCostCenterReqBuilder
- func (builder *PatchCostCenterReqBuilder) Body(body *PatchCostCenterReqBody) *PatchCostCenterReqBuilder
- func (builder *PatchCostCenterReqBuilder) Build() *PatchCostCenterReq
- func (builder *PatchCostCenterReqBuilder) CostCenterId(costCenterId string) *PatchCostCenterReqBuilder
- func (builder *PatchCostCenterReqBuilder) UserIdType(userIdType string) *PatchCostCenterReqBuilder
- type PatchCostCenterResp
- type PatchCostCenterRespData
- type PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) Build() (*PatchCostCenterVersionReqBody, error)
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) Description(description []*I18n) *PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) Managers(managers []string) *PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) Name(name []*I18n) *PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterVersionPathReqBodyBuilder
- func (builder *PatchCostCenterVersionPathReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *PatchCostCenterVersionPathReqBodyBuilder
- type PatchCostCenterVersionReq
- type PatchCostCenterVersionReqBody
- type PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) Build() *PatchCostCenterVersionReqBody
- func (builder *PatchCostCenterVersionReqBodyBuilder) Description(description []*I18n) *PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) Managers(managers []string) *PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) Name(name []*I18n) *PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterVersionReqBodyBuilder
- func (builder *PatchCostCenterVersionReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *PatchCostCenterVersionReqBodyBuilder
- type PatchCostCenterVersionReqBuilder
- func (builder *PatchCostCenterVersionReqBuilder) Body(body *PatchCostCenterVersionReqBody) *PatchCostCenterVersionReqBuilder
- func (builder *PatchCostCenterVersionReqBuilder) Build() *PatchCostCenterVersionReq
- func (builder *PatchCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *PatchCostCenterVersionReqBuilder
- func (builder *PatchCostCenterVersionReqBuilder) UserIdType(userIdType string) *PatchCostCenterVersionReqBuilder
- func (builder *PatchCostCenterVersionReqBuilder) VersionId(versionId string) *PatchCostCenterVersionReqBuilder
- type PatchCostCenterVersionResp
- type PatchCostCenterVersionRespData
- type PatchPersonReq
- type PatchPersonReqBuilder
- func (builder *PatchPersonReqBuilder) Build() *PatchPersonReq
- func (builder *PatchPersonReqBuilder) ClientToken(clientToken string) *PatchPersonReqBuilder
- func (builder *PatchPersonReqBuilder) NoNeedQuery(noNeedQuery bool) *PatchPersonReqBuilder
- func (builder *PatchPersonReqBuilder) PersonId(personId string) *PatchPersonReqBuilder
- func (builder *PatchPersonReqBuilder) PersonInfo(personInfo *PersonInfo) *PatchPersonReqBuilder
- type PatchPersonResp
- type PatchPersonRespData
- type PatchProbationAssessmentReq
- type PatchProbationAssessmentReqBuilder
- func (builder *PatchProbationAssessmentReqBuilder) AssessmentForCreate(assessmentForCreate *AssessmentForCreate) *PatchProbationAssessmentReqBuilder
- func (builder *PatchProbationAssessmentReqBuilder) AssessmentId(assessmentId string) *PatchProbationAssessmentReqBuilder
- func (builder *PatchProbationAssessmentReqBuilder) Build() *PatchProbationAssessmentReq
- func (builder *PatchProbationAssessmentReqBuilder) ClientToken(clientToken string) *PatchProbationAssessmentReqBuilder
- type PatchProbationAssessmentResp
- type PersonInfo
- type PersonInfoBuilder
- func (builder *PersonInfoBuilder) AddressList(addressList []*Address) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) Age(age int) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) BankAccountList(bankAccountList []*BankAccount) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) BornCountryRegion(bornCountryRegion string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) Build() *PersonInfo
- func (builder *PersonInfoBuilder) CustomFields(customFields []*CustomFieldData) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) DateOfBirth(dateOfBirth string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) DependentList(dependentList []*Dependent) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) DisableCardNumber(disableCardNumber string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) EducationList(educationList []*Education) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) EmailAddress(emailAddress string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) EmailList(emailList []*Email) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) EmergencyContactList(emergencyContactList []*EmergencyContact) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) FamilyAddress(familyAddress string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) FirstEntryTime(firstEntryTime string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) Gender(gender *Enum) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) HighestDegreeOfEducation(highestDegreeOfEducation *Education) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) HighestLevelOfEducation(highestLevelOfEducation *Education) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) HukouLocation(hukouLocation string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) HukouType(hukouType *Enum) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) IsDisabled(isDisabled bool) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) IsMartyrFamily(isMartyrFamily bool) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) IsOldAlone(isOldAlone bool) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) LeaveTime(leaveTime string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) LegalName(legalName string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) MaritalStatus(maritalStatus *Enum) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) MartyrCardNumber(martyrCardNumber string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) NameList(nameList []*PersonName) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) NationalIdList(nationalIdList []*NationalId) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) NationalIdNumber(nationalIdNumber string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) NationalityIdV2(nationalityIdV2 string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) NativeRegion(nativeRegion string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PersonId(personId string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PersonInfoChns(personInfoChns []*PersonInfoChn) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PersonalProfile(personalProfile []*PersonalProfile) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PhoneList(phoneList []*Phone) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PhoneNumber(phoneNumber string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PreferredEnglishFullName(preferredEnglishFullName string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PreferredLocalFullName(preferredLocalFullName string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) PreferredName(preferredName string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) ProfileImageId(profileImageId string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) Race(race *Enum) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) Religion(religion *Enum) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) ResidentTaxes(residentTaxes []*ResidentTax) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) TalentId(talentId string) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) WorkExperienceList(workExperienceList []*WorkExperienceInfo) *PersonInfoBuilder
- func (builder *PersonInfoBuilder) WorkingYears(workingYears int) *PersonInfoBuilder
- type PersonInfoChn
- type PersonInfoChnBuilder
- func (builder *PersonInfoChnBuilder) Build() *PersonInfoChn
- func (builder *PersonInfoChnBuilder) FirstEntryTime(firstEntryTime string) *PersonInfoChnBuilder
- func (builder *PersonInfoChnBuilder) HukouLocation(hukouLocation string) *PersonInfoChnBuilder
- func (builder *PersonInfoChnBuilder) HukouType(hukouType *Enum) *PersonInfoChnBuilder
- func (builder *PersonInfoChnBuilder) LeaveTime(leaveTime string) *PersonInfoChnBuilder
- func (builder *PersonInfoChnBuilder) NativeRegion(nativeRegion string) *PersonInfoChnBuilder
- type PersonName
- type PersonNameBuilder
- func (builder *PersonNameBuilder) AdditionalNameType(additionalNameType *Enum) *PersonNameBuilder
- func (builder *PersonNameBuilder) Build() *PersonName
- func (builder *PersonNameBuilder) CountryRegionId(countryRegionId string) *PersonNameBuilder
- func (builder *PersonNameBuilder) CustomLocalName(customLocalName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) CustomName(customName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) DisplayNameLocalAndWesternScript(displayNameLocalAndWesternScript string) *PersonNameBuilder
- func (builder *PersonNameBuilder) DisplayNameLocalScript(displayNameLocalScript string) *PersonNameBuilder
- func (builder *PersonNameBuilder) DisplayNameWesternScript(displayNameWesternScript string) *PersonNameBuilder
- func (builder *PersonNameBuilder) FirstName(firstName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) FullName(fullName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) Hereditary(hereditary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalFirstName(localFirstName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalFirstName2(localFirstName2 string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalMiddleName(localMiddleName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalPrimary(localPrimary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalPrimary2(localPrimary2 string) *PersonNameBuilder
- func (builder *PersonNameBuilder) LocalSecondary(localSecondary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) MiddleName(middleName string) *PersonNameBuilder
- func (builder *PersonNameBuilder) NamePrimary(namePrimary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) NameType(nameType *Enum) *PersonNameBuilder
- func (builder *PersonNameBuilder) Secondary(secondary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) Social(social *Enum) *PersonNameBuilder
- func (builder *PersonNameBuilder) Tertiary(tertiary string) *PersonNameBuilder
- func (builder *PersonNameBuilder) Title(title *Enum) *PersonNameBuilder
- type PersonalProfile
- type PersonalProfileBuilder
- func (builder *PersonalProfileBuilder) Build() *PersonalProfile
- func (builder *PersonalProfileBuilder) Files(files []*File) *PersonalProfileBuilder
- func (builder *PersonalProfileBuilder) PersonalProfileId(personalProfileId string) *PersonalProfileBuilder
- func (builder *PersonalProfileBuilder) PersonalProfileType(personalProfileType *Enum) *PersonalProfileBuilder
- type Phone
- type PhoneBuilder
- func (builder *PhoneBuilder) Build() *Phone
- func (builder *PhoneBuilder) DeviceType(deviceType *Enum) *PhoneBuilder
- func (builder *PhoneBuilder) FormattedPhoneNumber(formattedPhoneNumber string) *PhoneBuilder
- func (builder *PhoneBuilder) InternationalAreaCode(internationalAreaCode *Enum) *PhoneBuilder
- func (builder *PhoneBuilder) IsPrimary(isPrimary bool) *PhoneBuilder
- func (builder *PhoneBuilder) IsPublic(isPublic bool) *PhoneBuilder
- func (builder *PhoneBuilder) PhoneNumber(phoneNumber string) *PhoneBuilder
- func (builder *PhoneBuilder) PhoneUsage(phoneUsage *Enum) *PhoneBuilder
- type PhoneNumberAndAreaCode
- type PhoneNumberAndAreaCodeBuilder
- type PreHire
- type PreHireBuilder
- func (builder *PreHireBuilder) Build() *PreHire
- func (builder *PreHireBuilder) ContractInfo(contractInfo *PreHireContractInfo) *PreHireBuilder
- func (builder *PreHireBuilder) EmploymentInfo(employmentInfo *PreHireEmploymentInfo) *PreHireBuilder
- func (builder *PreHireBuilder) OnboardingInfo(onboardingInfo *PreHireOnboardingInfo) *PreHireBuilder
- func (builder *PreHireBuilder) PersonInfo(personInfo *PersonInfo) *PreHireBuilder
- func (builder *PreHireBuilder) PreHireId(preHireId string) *PreHireBuilder
- func (builder *PreHireBuilder) ProbationInfo(probationInfo *PreHireProbationInfo) *PreHireBuilder
- type PreHireContractInfo
- type PreHireContractInfoBuilder
- func (builder *PreHireContractInfoBuilder) Build() *PreHireContractInfo
- func (builder *PreHireContractInfoBuilder) ContractEndDate(contractEndDate string) *PreHireContractInfoBuilder
- func (builder *PreHireContractInfoBuilder) ContractStartDate(contractStartDate string) *PreHireContractInfoBuilder
- func (builder *PreHireContractInfoBuilder) ContractType(contractType string) *PreHireContractInfoBuilder
- func (builder *PreHireContractInfoBuilder) DurationType(durationType string) *PreHireContractInfoBuilder
- func (builder *PreHireContractInfoBuilder) SigningType(signingType string) *PreHireContractInfoBuilder
- type PreHireEmploymentInfo
- type PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) Build() *PreHireEmploymentInfo
- func (builder *PreHireEmploymentInfoBuilder) CompanyId(companyId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) CompensationType(compensationType *Enum) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) CostCenterRates(costCenterRates []*JobDataCostCenter) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) CustomFields(customFields []*CustomFieldData) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) DepartmentId(departmentId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) DirectLeaderId(directLeaderId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) EmployeeTypeId(employeeTypeId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) EmploymentType(employmentType string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) JobFamilyId(jobFamilyId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) JobGradeId(jobGradeId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) JobId(jobId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) JobLevelId(jobLevelId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) JobTitle(jobTitle string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) NonCompeteCovenant(nonCompeteCovenant bool) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) OfficeAddress(officeAddress *Address) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) OfficeLocationId(officeLocationId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) Rehire(rehire string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) RehireEmploymentId(rehireEmploymentId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) SocialSecurityCityId(socialSecurityCityId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) SuspectedRehiring(suspectedRehiring bool) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) UpdatedAt(updatedAt string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WeeklyWorkingHours(weeklyWorkingHours int) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WeeklyWorkingHoursV2(weeklyWorkingHoursV2 float64) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkEmail(workEmail string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkLocationId(workLocationId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkStation(workStation string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkerId(workerId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkingCalendarId(workingCalendarId string) *PreHireEmploymentInfoBuilder
- func (builder *PreHireEmploymentInfoBuilder) WorkingHoursType(workingHoursType string) *PreHireEmploymentInfoBuilder
- type PreHireOnboardingInfo
- type PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) AtsApplicationId(atsApplicationId string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) Build() *PreHireOnboardingInfo
- func (builder *PreHireOnboardingInfoBuilder) CompanySponsoredVisa(companySponsoredVisa bool) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) EntryMode(entryMode string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) FlowName(flowName []*I18n) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OfferHrId(offerHrId string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OfferId(offerId string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OnboardingAddress(onboardingAddress *Address) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OnboardingDate(onboardingDate string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OnboardingLocationId(onboardingLocationId string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OnboardingStatus(onboardingStatus string) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) OnboardingTaskList(onboardingTaskList []*OnboardingTask) *PreHireOnboardingInfoBuilder
- func (builder *PreHireOnboardingInfoBuilder) RecruitmentType(recruitmentType string) *PreHireOnboardingInfoBuilder
- type PreHireProbationInfo
- type PreHireProbationInfoBuilder
- func (builder *PreHireProbationInfoBuilder) Build() *PreHireProbationInfo
- func (builder *PreHireProbationInfoBuilder) ProbationEndDate(probationEndDate string) *PreHireProbationInfoBuilder
- func (builder *PreHireProbationInfoBuilder) ProbationPeriod(probationPeriod int) *PreHireProbationInfoBuilder
- func (builder *PreHireProbationInfoBuilder) ProbationStartDate(probationStartDate string) *PreHireProbationInfoBuilder
- type PrehireCreate
- type PrehireCreateBuilder
- func (builder *PrehireCreateBuilder) AtsApplicationId(atsApplicationId string) *PrehireCreateBuilder
- func (builder *PrehireCreateBuilder) BasicInfo(basicInfo *BasicInfo) *PrehireCreateBuilder
- func (builder *PrehireCreateBuilder) Build() *PrehireCreate
- func (builder *PrehireCreateBuilder) EducationInfo(educationInfo []*EducationInfo) *PrehireCreateBuilder
- func (builder *PrehireCreateBuilder) OfferInfo(offerInfo *OfferInfo) *PrehireCreateBuilder
- func (builder *PrehireCreateBuilder) WorkExperience(workExperience []*WorkExperience) *PrehireCreateBuilder
- type ProbationInfo
- type ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) Assessments(assessments []*Assessment) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) Build() *ProbationInfo
- func (builder *ProbationInfoBuilder) ConvertedViaBpm(convertedViaBpm bool) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) CustomFields(customFields []*CustomFieldData) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) EmploymentId(employmentId string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentComment(finalAssessmentComment string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentDetail(finalAssessmentDetail string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentGrade(finalAssessmentGrade *Enum) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentResult(finalAssessmentResult *Enum) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentScore(finalAssessmentScore float64) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) FinalAssessmentStatus(finalAssessmentStatus *Enum) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) InitiatingTime(initiatingTime string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) InitiatorId(initiatorId string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) Notes(notes string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ProbationId(probationId string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ProbationStartDate(probationStartDate string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ProbationStatus(probationStatus *Enum) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) ProcessId(processId string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) SelfReview(selfReview string) *ProbationInfoBuilder
- func (builder *ProbationInfoBuilder) SubmissionType(submissionType *Enum) *ProbationInfoBuilder
- type ProbationInfoForSubmit
- type ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) Build() *ProbationInfoForSubmit
- func (builder *ProbationInfoForSubmitBuilder) ConvertedViaBpm(convertedViaBpm bool) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) CustomFields(customFields []*CustomFieldData) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) EmploymentId(employmentId string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentComment(finalAssessmentComment string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentDetail(finalAssessmentDetail string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentGrade(finalAssessmentGrade *Enum) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentResult(finalAssessmentResult *Enum) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentScore(finalAssessmentScore float64) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentStatus(finalAssessmentStatus *Enum) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) InitiatingTime(initiatingTime string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) InitiatorId(initiatorId string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) Notes(notes string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ProbationId(probationId string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ProbationStartDate(probationStartDate string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ProbationStatus(probationStatus *Enum) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) ProcessId(processId string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) SelfReview(selfReview string) *ProbationInfoForSubmitBuilder
- func (builder *ProbationInfoForSubmitBuilder) SubmissionType(submissionType *Enum) *ProbationInfoForSubmitBuilder
- type ProcessAbstractItem
- type ProcessAbstractItemBuilder
- type ProcessApprover
- type ProcessApproverBuilder
- func (builder *ProcessApproverBuilder) Build() *ProcessApprover
- func (builder *ProcessApproverBuilder) FieldValues(fieldValues []*ProcessFormVariable) *ProcessApproverBuilder
- func (builder *ProcessApproverBuilder) Reason(reason string) *ProcessApproverBuilder
- func (builder *ProcessApproverBuilder) Status(status int) *ProcessApproverBuilder
- func (builder *ProcessApproverBuilder) SystemApproval(systemApproval bool) *ProcessApproverBuilder
- func (builder *ProcessApproverBuilder) UserId(userId string) *ProcessApproverBuilder
- type ProcessCcItem
- type ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) ApproverId(approverId string) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) Build() *ProcessCcItem
- func (builder *ProcessCcItemBuilder) CreateTime(createTime string) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) Links(links *ProcessLink) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) OperatorId(operatorId string) *ProcessCcItemBuilder
- func (builder *ProcessCcItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessCcItemBuilder
- type ProcessDoneItem
- type ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) ApproverId(approverId string) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) Build() *ProcessDoneItem
- func (builder *ProcessDoneItemBuilder) CompleteTime(completeTime string) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) CreateTime(createTime string) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) Links(links *ProcessLink) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) OperatorId(operatorId string) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) Status(status int) *ProcessDoneItemBuilder
- func (builder *ProcessDoneItemBuilder) Type(type_ int) *ProcessDoneItemBuilder
- type ProcessFormVariable
- type ProcessFormVariableBuilder
- func (builder *ProcessFormVariableBuilder) Build() *ProcessFormVariable
- func (builder *ProcessFormVariableBuilder) VariableApiName(variableApiName string) *ProcessFormVariableBuilder
- func (builder *ProcessFormVariableBuilder) VariableValue(variableValue *FormVariableValueInfo) *ProcessFormVariableBuilder
- type ProcessLink
- type ProcessLinkBuilder
- type ProcessTodoItem
- type ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) ApproverId(approverId string) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) Build() *ProcessTodoItem
- func (builder *ProcessTodoItemBuilder) CreateTime(createTime string) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) Links(links *ProcessLink) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) OperatorId(operatorId string) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessTodoItemBuilder
- func (builder *ProcessTodoItemBuilder) Type(type_ int) *ProcessTodoItemBuilder
- type ProfileSettingAddress
- type ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine1(addressLine1 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine2(addressLine2 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine3(addressLine3 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine4(addressLine4 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine5(addressLine5 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine6(addressLine6 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine7(addressLine7 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine8(addressLine8 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressLine9(addressLine9 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) AddressType(addressType string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) Build() *ProfileSettingAddress
- func (builder *ProfileSettingAddressBuilder) CitySubdivision1(citySubdivision1 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) CitySubdivision2(citySubdivision2 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) CityText(cityText string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) CityV2(cityV2 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) CountryRegion(countryRegion string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) DistrictV2(districtV2 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine1(localAddressLine1 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine2(localAddressLine2 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine3(localAddressLine3 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine4(localAddressLine4 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine5(localAddressLine5 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine6(localAddressLine6 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine7(localAddressLine7 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine8(localAddressLine8 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalAddressLine9(localAddressLine9 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) LocalCityText(localCityText string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) PostalCode(postalCode string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) Region(region string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) RegionSubdivision1(regionSubdivision1 string) *ProfileSettingAddressBuilder
- func (builder *ProfileSettingAddressBuilder) RegionSubdivision2(regionSubdivision2 string) *ProfileSettingAddressBuilder
- type ProfileSettingBankAccount
- type ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) AccountHolder(accountHolder string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BankAccountNumber(bankAccountNumber string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BankAccountType(bankAccountType string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BankAccountUsages(bankAccountUsages []string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BankId(bankId string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BankName(bankName string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BranchId(branchId string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) BranchName(branchName string) *ProfileSettingBankAccountBuilder
- func (builder *ProfileSettingBankAccountBuilder) Build() *ProfileSettingBankAccount
- func (builder *ProfileSettingBankAccountBuilder) CountryRegion(countryRegion string) *ProfileSettingBankAccountBuilder
- type ProfileSettingCareer
- type ProfileSettingCareerBuilder
- func (builder *ProfileSettingCareerBuilder) Build() *ProfileSettingCareer
- func (builder *ProfileSettingCareerBuilder) CustomGroups(customGroups []*ProfileSettingCustomGroup) *ProfileSettingCareerBuilder
- func (builder *ProfileSettingCareerBuilder) Educations(educations []*ProfileSettingEducation) *ProfileSettingCareerBuilder
- func (builder *ProfileSettingCareerBuilder) WorkExperiences(workExperiences []*ProfileSettingWorkExperience) *ProfileSettingCareerBuilder
- type ProfileSettingCostCenter
- type ProfileSettingCostCenterBuilder
- type ProfileSettingCustomField
- type ProfileSettingCustomFieldBuilder
- type ProfileSettingCustomGroup
- type ProfileSettingCustomGroupBuilder
- func (builder *ProfileSettingCustomGroupBuilder) Build() *ProfileSettingCustomGroup
- func (builder *ProfileSettingCustomGroupBuilder) GroupName(groupName string) *ProfileSettingCustomGroupBuilder
- func (builder *ProfileSettingCustomGroupBuilder) Items(items []*ProfileSettingCustomGroupItem) *ProfileSettingCustomGroupBuilder
- type ProfileSettingCustomGroupItem
- type ProfileSettingCustomGroupItemBuilder
- type ProfileSettingDataAttachment
- type ProfileSettingDataAttachmentBuilder
- type ProfileSettingDependent
- type ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Address(address *ProfileSettingAddress) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Build() *ProfileSettingDependent
- func (builder *ProfileSettingDependentBuilder) ChildBirthCertificates(childBirthCertificates []*ProfileSettingFile) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) DateOfBirth(dateOfBirth string) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Employer(employer string) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Gender(gender string) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Job(job string) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) LegalName(legalName string) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingDependentBuilder
- func (builder *ProfileSettingDependentBuilder) RelationshipWithDependent(relationshipWithDependent string) *ProfileSettingDependentBuilder
- type ProfileSettingEducation
- type ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) Build() *ProfileSettingEducation
- func (builder *ProfileSettingEducationBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) Degree(degree string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) EndDate(endDate string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) FieldOfStudy(fieldOfStudy string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) FieldOfStudyEnum(fieldOfStudyEnum string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) LevelOfEducation(levelOfEducation string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) School(school string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) SchoolEnum(schoolEnum string) *ProfileSettingEducationBuilder
- func (builder *ProfileSettingEducationBuilder) StartDate(startDate string) *ProfileSettingEducationBuilder
- type ProfileSettingEmergencyContact
- type ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) Address(address *ProfileSettingAddress) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) Build() *ProfileSettingEmergencyContact
- func (builder *ProfileSettingEmergencyContactBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) Email(email string) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) IsPrimary(isPrimary bool) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) LegalName(legalName string) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmergencyContactBuilder
- func (builder *ProfileSettingEmergencyContactBuilder) Relationship(relationship string) *ProfileSettingEmergencyContactBuilder
- type ProfileSettingEmpBasicInfoForUpdate
- type ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) Build() *ProfileSettingEmpBasicInfoForUpdate
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) EmployeeNumber(employeeNumber string) *ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) SeniorityDate(seniorityDate string) *ProfileSettingEmpBasicInfoForUpdateBuilder
- func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) WorkEmail(workEmail string) *ProfileSettingEmpBasicInfoForUpdateBuilder
- type ProfileSettingEmpContractRecord
- type ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) Build() *ProfileSettingEmpContractRecord
- func (builder *ProfileSettingEmpContractRecordBuilder) ContractEndDate(contractEndDate string) *ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) ContractNumber(contractNumber string) *ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) ContractType(contractType string) *ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) DurationType(durationType string) *ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) EffectiveTime(effectiveTime string) *ProfileSettingEmpContractRecordBuilder
- func (builder *ProfileSettingEmpContractRecordBuilder) FirstParty(firstParty string) *ProfileSettingEmpContractRecordBuilder
- type ProfileSettingEmpInfoForUpdate
- type ProfileSettingEmpInfoForUpdateBuilder
- func (builder *ProfileSettingEmpInfoForUpdateBuilder) BasicInfo(basicInfo *ProfileSettingEmpBasicInfoForUpdate) *ProfileSettingEmpInfoForUpdateBuilder
- func (builder *ProfileSettingEmpInfoForUpdateBuilder) Build() *ProfileSettingEmpInfoForUpdate
- func (builder *ProfileSettingEmpInfoForUpdateBuilder) ProbationInfo(probationInfo *ProfileSettingProbationInfo) *ProfileSettingEmpInfoForUpdateBuilder
- type ProfileSettingEmploymentBasicInfo
- type ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) Build() *ProfileSettingEmploymentBasicInfo
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) EffectiveTime(effectiveTime string) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) EmployeeNumber(employeeNumber string) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) SeniorityDate(seniorityDate string) *ProfileSettingEmploymentBasicInfoBuilder
- func (builder *ProfileSettingEmploymentBasicInfoBuilder) WorkEmail(workEmail string) *ProfileSettingEmploymentBasicInfoBuilder
- type ProfileSettingEmploymentInfo
- type ProfileSettingEmploymentInfoBuilder
- func (builder *ProfileSettingEmploymentInfoBuilder) BasicInfo(basicInfo *ProfileSettingEmploymentBasicInfo) *ProfileSettingEmploymentInfoBuilder
- func (builder *ProfileSettingEmploymentInfoBuilder) Build() *ProfileSettingEmploymentInfo
- func (builder *ProfileSettingEmploymentInfoBuilder) EmpContractRecord(empContractRecord *ProfileSettingEmpContractRecord) *ProfileSettingEmploymentInfoBuilder
- func (builder *ProfileSettingEmploymentInfoBuilder) EmploymentRecord(employmentRecord *ProfileSettingEmploymentRecord) *ProfileSettingEmploymentInfoBuilder
- func (builder *ProfileSettingEmploymentInfoBuilder) ProbationInfo(probationInfo *ProfileSettingProbationInfo) *ProfileSettingEmploymentInfoBuilder
- type ProfileSettingEmploymentRecord
- type ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) Build() *ProfileSettingEmploymentRecord
- func (builder *ProfileSettingEmploymentRecordBuilder) CostCenters(costCenters []*ProfileSettingCostCenter) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) Department(department string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) DirectManager(directManager string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) DirectManagerEffectiveTime(directManagerEffectiveTime string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) DottedLineManager(dottedLineManager string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) DottedLineManagerEffectiveTime(dottedLineManagerEffectiveTime string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) EmployeeType(employeeType string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) Job(job string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) JobFamily(jobFamily string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) JobGrade(jobGrade string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) JobLevel(jobLevel string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) WeeklyWorkingHours(weeklyWorkingHours int) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) WorkLocation(workLocation string) *ProfileSettingEmploymentRecordBuilder
- func (builder *ProfileSettingEmploymentRecordBuilder) WorkingHoursType(workingHoursType string) *ProfileSettingEmploymentRecordBuilder
- type ProfileSettingFieldError
- type ProfileSettingFieldErrorBuilder
- type ProfileSettingFile
- type ProfileSettingFileBuilder
- func (builder *ProfileSettingFileBuilder) Build() *ProfileSettingFile
- func (builder *ProfileSettingFileBuilder) FileId(fileId string) *ProfileSettingFileBuilder
- func (builder *ProfileSettingFileBuilder) MimeType(mimeType string) *ProfileSettingFileBuilder
- func (builder *ProfileSettingFileBuilder) Name(name string) *ProfileSettingFileBuilder
- func (builder *ProfileSettingFileBuilder) Size(size string) *ProfileSettingFileBuilder
- func (builder *ProfileSettingFileBuilder) Token(token string) *ProfileSettingFileBuilder
- type ProfileSettingHukou
- type ProfileSettingHukouBuilder
- func (builder *ProfileSettingHukouBuilder) Build() *ProfileSettingHukou
- func (builder *ProfileSettingHukouBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingHukouBuilder
- func (builder *ProfileSettingHukouBuilder) HukouLocation(hukouLocation string) *ProfileSettingHukouBuilder
- func (builder *ProfileSettingHukouBuilder) HukouType(hukouType string) *ProfileSettingHukouBuilder
- type ProfileSettingI18n
- type ProfileSettingI18nBuilder
- type ProfileSettingName
- type ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) AdditionalNameType(additionalNameType string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Build() *ProfileSettingName
- func (builder *ProfileSettingNameBuilder) CountryRegion(countryRegion string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) CustomLocalName(customLocalName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) CustomWesternName(customWesternName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) FirstName(firstName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) FullName(fullName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Hereditary(hereditary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalFirstName(localFirstName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalFirstName2(localFirstName2 string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalMiddleName(localMiddleName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalPrimary(localPrimary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalPrimary2(localPrimary2 string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) LocalSecondary(localSecondary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) MiddleName(middleName string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) NamePrimary(namePrimary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) NameType(nameType string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Secondary(secondary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Social(social string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Tertiary(tertiary string) *ProfileSettingNameBuilder
- func (builder *ProfileSettingNameBuilder) Title(title string) *ProfileSettingNameBuilder
- type ProfileSettingNational
- type ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) Build() *ProfileSettingNational
- func (builder *ProfileSettingNationalBuilder) CountryRegion(countryRegion string) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) ExpirationDate(expirationDate string) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) IssuedBy(issuedBy string) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) IssuedDate(issuedDate string) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) NationalIdNumber(nationalIdNumber string) *ProfileSettingNationalBuilder
- func (builder *ProfileSettingNationalBuilder) NationalIdType(nationalIdType string) *ProfileSettingNationalBuilder
- type ProfileSettingPersonalBasicInfo
- type ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) BornCountryRegion(bornCountryRegion string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) Build() *ProfileSettingPersonalBasicInfo
- func (builder *ProfileSettingPersonalBasicInfoBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) DateOfBirth(dateOfBirth string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) DisableCardNumber(disableCardNumber string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) Email(email string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) EthnicityRace(ethnicityRace string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) FirstEntryTime(firstEntryTime string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) Gender(gender string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) IsDisabled(isDisabled bool) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) IsMartyrFamily(isMartyrFamily bool) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) IsOldAlone(isOldAlone bool) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) LeaveTime(leaveTime string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) LegalName(legalName *ProfileSettingName) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) MaritalStatus(maritalStatus string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) MartyrCardNumber(martyrCardNumber string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) NationalityV2(nationalityV2 string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) NativeRegion(nativeRegion string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) PoliticalAffiliation(politicalAffiliation string) *ProfileSettingPersonalBasicInfoBuilder
- func (builder *ProfileSettingPersonalBasicInfoBuilder) PreferredName(preferredName *ProfileSettingName) *ProfileSettingPersonalBasicInfoBuilder
- type ProfileSettingPersonalInfo
- type ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) BankAccounts(bankAccounts []*ProfileSettingBankAccount) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) Build() *ProfileSettingPersonalInfo
- func (builder *ProfileSettingPersonalInfoBuilder) ContactAddresses(contactAddresses []*ProfileSettingAddress) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) CustomGroups(customGroups []*ProfileSettingCustomGroup) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) Dependents(dependents []*ProfileSettingDependent) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) EmergencyContacts(emergencyContacts []*ProfileSettingEmergencyContact) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) Hukou(hukou *ProfileSettingHukou) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) Nationals(nationals []*ProfileSettingNational) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) PersonalBasicInfo(personalBasicInfo *ProfileSettingPersonalBasicInfo) *ProfileSettingPersonalInfoBuilder
- func (builder *ProfileSettingPersonalInfoBuilder) ResidentTaxes(residentTaxes []*ProfileSettingResidentTax) *ProfileSettingPersonalInfoBuilder
- type ProfileSettingPersonalRecord
- type ProfileSettingPersonalRecordBuilder
- func (builder *ProfileSettingPersonalRecordBuilder) Build() *ProfileSettingPersonalRecord
- func (builder *ProfileSettingPersonalRecordBuilder) Files(files []*ProfileSettingFile) *ProfileSettingPersonalRecordBuilder
- func (builder *ProfileSettingPersonalRecordBuilder) ProfileType(profileType string) *ProfileSettingPersonalRecordBuilder
- type ProfileSettingPhone
- type ProfileSettingPhoneBuilder
- type ProfileSettingProbationInfo
- type ProfileSettingProbationInfoBuilder
- func (builder *ProfileSettingProbationInfoBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProfileSettingProbationInfoBuilder
- func (builder *ProfileSettingProbationInfoBuilder) Build() *ProfileSettingProbationInfo
- func (builder *ProfileSettingProbationInfoBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProfileSettingProbationInfoBuilder
- func (builder *ProfileSettingProbationInfoBuilder) ProbationStartDate(probationStartDate string) *ProfileSettingProbationInfoBuilder
- type ProfileSettingResidentTax
- type ProfileSettingResidentTaxBuilder
- func (builder *ProfileSettingResidentTaxBuilder) Build() *ProfileSettingResidentTax
- func (builder *ProfileSettingResidentTaxBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingResidentTaxBuilder
- func (builder *ProfileSettingResidentTaxBuilder) ResidentStatus(residentStatus string) *ProfileSettingResidentTaxBuilder
- func (builder *ProfileSettingResidentTaxBuilder) TaxCountryRegion(taxCountryRegion string) *ProfileSettingResidentTaxBuilder
- func (builder *ProfileSettingResidentTaxBuilder) YearResidentTax(yearResidentTax string) *ProfileSettingResidentTaxBuilder
- type ProfileSettingWorkExperience
- type ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) Build() *ProfileSettingWorkExperience
- func (builder *ProfileSettingWorkExperienceBuilder) CompanyOrganization(companyOrganization *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) Department(department *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) Description(description *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) EndDate(endDate string) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) Job(job *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
- func (builder *ProfileSettingWorkExperienceBuilder) StartDate(startDate string) *ProfileSettingWorkExperienceBuilder
- type QueryEmployeesJobDataPathReqBodyBuilder
- func (builder *QueryEmployeesJobDataPathReqBodyBuilder) Build() (*QueryEmployeesJobDataReqBody, error)
- func (builder *QueryEmployeesJobDataPathReqBodyBuilder) DataDate(dataDate string) *QueryEmployeesJobDataPathReqBodyBuilder
- func (builder *QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *QueryEmployeesJobDataPathReqBodyBuilder
- func (builder *QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *QueryEmployeesJobDataPathReqBodyBuilder
- func (builder *QueryEmployeesJobDataPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *QueryEmployeesJobDataPathReqBodyBuilder
- type QueryEmployeesJobDataReq
- type QueryEmployeesJobDataReqBody
- type QueryEmployeesJobDataReqBodyBuilder
- func (builder *QueryEmployeesJobDataReqBodyBuilder) Build() *QueryEmployeesJobDataReqBody
- func (builder *QueryEmployeesJobDataReqBodyBuilder) DataDate(dataDate string) *QueryEmployeesJobDataReqBodyBuilder
- func (builder *QueryEmployeesJobDataReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *QueryEmployeesJobDataReqBodyBuilder
- func (builder *QueryEmployeesJobDataReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *QueryEmployeesJobDataReqBodyBuilder
- func (builder *QueryEmployeesJobDataReqBodyBuilder) GetAllVersion(getAllVersion bool) *QueryEmployeesJobDataReqBodyBuilder
- type QueryEmployeesJobDataReqBuilder
- func (builder *QueryEmployeesJobDataReqBuilder) Body(body *QueryEmployeesJobDataReqBody) *QueryEmployeesJobDataReqBuilder
- func (builder *QueryEmployeesJobDataReqBuilder) Build() *QueryEmployeesJobDataReq
- func (builder *QueryEmployeesJobDataReqBuilder) DepartmentIdType(departmentIdType string) *QueryEmployeesJobDataReqBuilder
- func (builder *QueryEmployeesJobDataReqBuilder) PageSize(pageSize int) *QueryEmployeesJobDataReqBuilder
- func (builder *QueryEmployeesJobDataReqBuilder) PageToken(pageToken string) *QueryEmployeesJobDataReqBuilder
- func (builder *QueryEmployeesJobDataReqBuilder) UserIdType(userIdType string) *QueryEmployeesJobDataReqBuilder
- type QueryEmployeesJobDataResp
- type QueryEmployeesJobDataRespData
- type ReorganizationInfo
- type ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) Build() *ReorganizationInfo
- func (builder *ReorganizationInfoBuilder) CustomFields(customFields []*ChangeFieldPair) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalCostCenter(originalCostCenter *CostCenter) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalDepartmentCode(originalDepartmentCode string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalDepartmentManager(originalDepartmentManager string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalDepartmentNames(originalDepartmentNames []*I18n) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalDescriptions(originalDescriptions []*I18n) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalIsConfidential(originalIsConfidential bool) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalParentDepartmentId(originalParentDepartmentId string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalStaffingModel(originalStaffingModel bool) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) OriginalSubType(originalSubType *Enum) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetCostCenter(targetCostCenter *CostCenter) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetDepartmentCode(targetDepartmentCode string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetDepartmentManager(targetDepartmentManager string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetDepartmentNames(targetDepartmentNames []*I18n) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetDescriptions(targetDescriptions []*I18n) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetIsConfidential(targetIsConfidential bool) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetParentDepartmentId(targetParentDepartmentId string) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetStaffingModel(targetStaffingModel bool) *ReorganizationInfoBuilder
- func (builder *ReorganizationInfoBuilder) TargetSubType(targetSubType *Enum) *ReorganizationInfoBuilder
- type ResidentTax
- type ResidentTaxBuilder
- func (builder *ResidentTaxBuilder) Build() *ResidentTax
- func (builder *ResidentTaxBuilder) CustomFields(customFields []*ObjectFieldData) *ResidentTaxBuilder
- func (builder *ResidentTaxBuilder) ResidentStatus(residentStatus *Enum) *ResidentTaxBuilder
- func (builder *ResidentTaxBuilder) TaxCountryRegionId(taxCountryRegionId string) *ResidentTaxBuilder
- func (builder *ResidentTaxBuilder) YearResidentTax(yearResidentTax string) *ResidentTaxBuilder
- type SearchBasicInfoBankBranchIterator
- type SearchBasicInfoBankBranchPathReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchIdList(bankBranchIdList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchNameList(bankBranchNameList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) Build() (*SearchBasicInfoBankBranchReqBody, error)
- func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankBranchPathReqBodyBuilder
- type SearchBasicInfoBankBranchReq
- type SearchBasicInfoBankBranchReqBody
- type SearchBasicInfoBankBranchReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankBranchIdList(bankBranchIdList []string) *SearchBasicInfoBankBranchReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankBranchNameList(bankBranchNameList []string) *SearchBasicInfoBankBranchReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankBranchReqBodyBuilder
- func (builder *SearchBasicInfoBankBranchReqBodyBuilder) Build() *SearchBasicInfoBankBranchReqBody
- func (builder *SearchBasicInfoBankBranchReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankBranchReqBodyBuilder
- type SearchBasicInfoBankBranchReqBuilder
- func (builder *SearchBasicInfoBankBranchReqBuilder) Body(body *SearchBasicInfoBankBranchReqBody) *SearchBasicInfoBankBranchReqBuilder
- func (builder *SearchBasicInfoBankBranchReqBuilder) Build() *SearchBasicInfoBankBranchReq
- func (builder *SearchBasicInfoBankBranchReqBuilder) Limit(limit int) *SearchBasicInfoBankBranchReqBuilder
- func (builder *SearchBasicInfoBankBranchReqBuilder) PageSize(pageSize int) *SearchBasicInfoBankBranchReqBuilder
- func (builder *SearchBasicInfoBankBranchReqBuilder) PageToken(pageToken string) *SearchBasicInfoBankBranchReqBuilder
- type SearchBasicInfoBankBranchResp
- type SearchBasicInfoBankBranchRespData
- type SearchBasicInfoBankIterator
- type SearchBasicInfoBankPathReqBodyBuilder
- func (builder *SearchBasicInfoBankPathReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankPathReqBodyBuilder
- func (builder *SearchBasicInfoBankPathReqBodyBuilder) BankNameList(bankNameList []string) *SearchBasicInfoBankPathReqBodyBuilder
- func (builder *SearchBasicInfoBankPathReqBodyBuilder) Build() (*SearchBasicInfoBankReqBody, error)
- func (builder *SearchBasicInfoBankPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankPathReqBodyBuilder
- type SearchBasicInfoBankReq
- type SearchBasicInfoBankReqBody
- type SearchBasicInfoBankReqBodyBuilder
- func (builder *SearchBasicInfoBankReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankReqBodyBuilder
- func (builder *SearchBasicInfoBankReqBodyBuilder) BankNameList(bankNameList []string) *SearchBasicInfoBankReqBodyBuilder
- func (builder *SearchBasicInfoBankReqBodyBuilder) Build() *SearchBasicInfoBankReqBody
- func (builder *SearchBasicInfoBankReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankReqBodyBuilder
- type SearchBasicInfoBankReqBuilder
- func (builder *SearchBasicInfoBankReqBuilder) Body(body *SearchBasicInfoBankReqBody) *SearchBasicInfoBankReqBuilder
- func (builder *SearchBasicInfoBankReqBuilder) Build() *SearchBasicInfoBankReq
- func (builder *SearchBasicInfoBankReqBuilder) Limit(limit int) *SearchBasicInfoBankReqBuilder
- func (builder *SearchBasicInfoBankReqBuilder) PageSize(pageSize int) *SearchBasicInfoBankReqBuilder
- func (builder *SearchBasicInfoBankReqBuilder) PageToken(pageToken string) *SearchBasicInfoBankReqBuilder
- type SearchBasicInfoBankResp
- type SearchBasicInfoBankRespData
- type SearchBasicInfoCityIterator
- type SearchBasicInfoCityPathReqBodyBuilder
- func (builder *SearchBasicInfoCityPathReqBodyBuilder) Build() (*SearchBasicInfoCityReqBody, error)
- func (builder *SearchBasicInfoCityPathReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoCityPathReqBodyBuilder
- func (builder *SearchBasicInfoCityPathReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCityPathReqBodyBuilder
- func (builder *SearchBasicInfoCityPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCityPathReqBodyBuilder
- type SearchBasicInfoCityReq
- type SearchBasicInfoCityReqBody
- type SearchBasicInfoCityReqBodyBuilder
- func (builder *SearchBasicInfoCityReqBodyBuilder) Build() *SearchBasicInfoCityReqBody
- func (builder *SearchBasicInfoCityReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoCityReqBodyBuilder
- func (builder *SearchBasicInfoCityReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCityReqBodyBuilder
- func (builder *SearchBasicInfoCityReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCityReqBodyBuilder
- type SearchBasicInfoCityReqBuilder
- func (builder *SearchBasicInfoCityReqBuilder) Body(body *SearchBasicInfoCityReqBody) *SearchBasicInfoCityReqBuilder
- func (builder *SearchBasicInfoCityReqBuilder) Build() *SearchBasicInfoCityReq
- func (builder *SearchBasicInfoCityReqBuilder) Limit(limit int) *SearchBasicInfoCityReqBuilder
- func (builder *SearchBasicInfoCityReqBuilder) PageSize(pageSize int) *SearchBasicInfoCityReqBuilder
- func (builder *SearchBasicInfoCityReqBuilder) PageToken(pageToken string) *SearchBasicInfoCityReqBuilder
- type SearchBasicInfoCityResp
- type SearchBasicInfoCityRespData
- type SearchBasicInfoCountryRegionIterator
- type SearchBasicInfoCountryRegionPathReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) Build() (*SearchBasicInfoCountryRegionReqBody, error)
- func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionPathReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionPathReqBodyBuilder
- type SearchBasicInfoCountryRegionReq
- type SearchBasicInfoCountryRegionReqBody
- type SearchBasicInfoCountryRegionReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) Build() *SearchBasicInfoCountryRegionReqBody
- func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionReqBodyBuilder
- type SearchBasicInfoCountryRegionReqBuilder
- func (builder *SearchBasicInfoCountryRegionReqBuilder) Body(body *SearchBasicInfoCountryRegionReqBody) *SearchBasicInfoCountryRegionReqBuilder
- func (builder *SearchBasicInfoCountryRegionReqBuilder) Build() *SearchBasicInfoCountryRegionReq
- func (builder *SearchBasicInfoCountryRegionReqBuilder) Limit(limit int) *SearchBasicInfoCountryRegionReqBuilder
- func (builder *SearchBasicInfoCountryRegionReqBuilder) PageSize(pageSize int) *SearchBasicInfoCountryRegionReqBuilder
- func (builder *SearchBasicInfoCountryRegionReqBuilder) PageToken(pageToken string) *SearchBasicInfoCountryRegionReqBuilder
- type SearchBasicInfoCountryRegionResp
- type SearchBasicInfoCountryRegionRespData
- type SearchBasicInfoCountryRegionSubdivisionIterator
- type SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) Build() (*SearchBasicInfoCountryRegionSubdivisionReqBody, error)
- func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
- type SearchBasicInfoCountryRegionSubdivisionReq
- type SearchBasicInfoCountryRegionSubdivisionReqBody
- type SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) Build() *SearchBasicInfoCountryRegionSubdivisionReqBody
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
- type SearchBasicInfoCountryRegionSubdivisionReqBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) Body(body *SearchBasicInfoCountryRegionSubdivisionReqBody) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) Build() *SearchBasicInfoCountryRegionSubdivisionReq
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) Limit(limit int) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageSize(pageSize int) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
- func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageToken(pageToken string) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
- type SearchBasicInfoCountryRegionSubdivisionResp
- type SearchBasicInfoCountryRegionSubdivisionRespData
- type SearchBasicInfoCurrencyIterator
- type SearchBasicInfoCurrencyPathReqBodyBuilder
- func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) Build() (*SearchBasicInfoCurrencyReqBody, error)
- func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) CurrencyIdList(currencyIdList []string) *SearchBasicInfoCurrencyPathReqBodyBuilder
- func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCurrencyPathReqBodyBuilder
- type SearchBasicInfoCurrencyReq
- type SearchBasicInfoCurrencyReqBody
- type SearchBasicInfoCurrencyReqBodyBuilder
- func (builder *SearchBasicInfoCurrencyReqBodyBuilder) Build() *SearchBasicInfoCurrencyReqBody
- func (builder *SearchBasicInfoCurrencyReqBodyBuilder) CurrencyIdList(currencyIdList []string) *SearchBasicInfoCurrencyReqBodyBuilder
- func (builder *SearchBasicInfoCurrencyReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCurrencyReqBodyBuilder
- type SearchBasicInfoCurrencyReqBuilder
- func (builder *SearchBasicInfoCurrencyReqBuilder) Body(body *SearchBasicInfoCurrencyReqBody) *SearchBasicInfoCurrencyReqBuilder
- func (builder *SearchBasicInfoCurrencyReqBuilder) Build() *SearchBasicInfoCurrencyReq
- func (builder *SearchBasicInfoCurrencyReqBuilder) Limit(limit int) *SearchBasicInfoCurrencyReqBuilder
- func (builder *SearchBasicInfoCurrencyReqBuilder) PageSize(pageSize int) *SearchBasicInfoCurrencyReqBuilder
- func (builder *SearchBasicInfoCurrencyReqBuilder) PageToken(pageToken string) *SearchBasicInfoCurrencyReqBuilder
- type SearchBasicInfoCurrencyResp
- type SearchBasicInfoCurrencyRespData
- type SearchBasicInfoDistrictIterator
- type SearchBasicInfoDistrictPathReqBodyBuilder
- func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) Build() (*SearchBasicInfoDistrictReqBody, error)
- func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoDistrictPathReqBodyBuilder
- func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) DistrictIdList(districtIdList []string) *SearchBasicInfoDistrictPathReqBodyBuilder
- func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoDistrictPathReqBodyBuilder
- type SearchBasicInfoDistrictReq
- type SearchBasicInfoDistrictReqBody
- type SearchBasicInfoDistrictReqBodyBuilder
- func (builder *SearchBasicInfoDistrictReqBodyBuilder) Build() *SearchBasicInfoDistrictReqBody
- func (builder *SearchBasicInfoDistrictReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoDistrictReqBodyBuilder
- func (builder *SearchBasicInfoDistrictReqBodyBuilder) DistrictIdList(districtIdList []string) *SearchBasicInfoDistrictReqBodyBuilder
- func (builder *SearchBasicInfoDistrictReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoDistrictReqBodyBuilder
- type SearchBasicInfoDistrictReqBuilder
- func (builder *SearchBasicInfoDistrictReqBuilder) Body(body *SearchBasicInfoDistrictReqBody) *SearchBasicInfoDistrictReqBuilder
- func (builder *SearchBasicInfoDistrictReqBuilder) Build() *SearchBasicInfoDistrictReq
- func (builder *SearchBasicInfoDistrictReqBuilder) Limit(limit int) *SearchBasicInfoDistrictReqBuilder
- func (builder *SearchBasicInfoDistrictReqBuilder) PageSize(pageSize int) *SearchBasicInfoDistrictReqBuilder
- func (builder *SearchBasicInfoDistrictReqBuilder) PageToken(pageToken string) *SearchBasicInfoDistrictReqBuilder
- type SearchBasicInfoDistrictResp
- type SearchBasicInfoDistrictRespData
- type SearchBasicInfoNationalityIterator
- type SearchBasicInfoNationalityPathReqBodyBuilder
- func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) Build() (*SearchBasicInfoNationalityReqBody, error)
- func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoNationalityPathReqBodyBuilder
- func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) NationalityIdList(nationalityIdList []string) *SearchBasicInfoNationalityPathReqBodyBuilder
- func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoNationalityPathReqBodyBuilder
- type SearchBasicInfoNationalityReq
- type SearchBasicInfoNationalityReqBody
- type SearchBasicInfoNationalityReqBodyBuilder
- func (builder *SearchBasicInfoNationalityReqBodyBuilder) Build() *SearchBasicInfoNationalityReqBody
- func (builder *SearchBasicInfoNationalityReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoNationalityReqBodyBuilder
- func (builder *SearchBasicInfoNationalityReqBodyBuilder) NationalityIdList(nationalityIdList []string) *SearchBasicInfoNationalityReqBodyBuilder
- func (builder *SearchBasicInfoNationalityReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoNationalityReqBodyBuilder
- type SearchBasicInfoNationalityReqBuilder
- func (builder *SearchBasicInfoNationalityReqBuilder) Body(body *SearchBasicInfoNationalityReqBody) *SearchBasicInfoNationalityReqBuilder
- func (builder *SearchBasicInfoNationalityReqBuilder) Build() *SearchBasicInfoNationalityReq
- func (builder *SearchBasicInfoNationalityReqBuilder) Limit(limit int) *SearchBasicInfoNationalityReqBuilder
- func (builder *SearchBasicInfoNationalityReqBuilder) PageSize(pageSize int) *SearchBasicInfoNationalityReqBuilder
- func (builder *SearchBasicInfoNationalityReqBuilder) PageToken(pageToken string) *SearchBasicInfoNationalityReqBuilder
- type SearchBasicInfoNationalityResp
- type SearchBasicInfoNationalityRespData
- type SearchContractIterator
- type SearchContractPathReqBodyBuilder
- func (builder *SearchContractPathReqBodyBuilder) Build() (*SearchContractReqBody, error)
- func (builder *SearchContractPathReqBodyBuilder) ContractIdList(contractIdList []string) *SearchContractPathReqBodyBuilder
- func (builder *SearchContractPathReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchContractPathReqBodyBuilder
- type SearchContractReq
- type SearchContractReqBody
- type SearchContractReqBodyBuilder
- func (builder *SearchContractReqBodyBuilder) Build() *SearchContractReqBody
- func (builder *SearchContractReqBodyBuilder) ContractIdList(contractIdList []string) *SearchContractReqBodyBuilder
- func (builder *SearchContractReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchContractReqBodyBuilder
- type SearchContractReqBuilder
- func (builder *SearchContractReqBuilder) Body(body *SearchContractReqBody) *SearchContractReqBuilder
- func (builder *SearchContractReqBuilder) Build() *SearchContractReq
- func (builder *SearchContractReqBuilder) Limit(limit int) *SearchContractReqBuilder
- func (builder *SearchContractReqBuilder) PageSize(pageSize int) *SearchContractReqBuilder
- func (builder *SearchContractReqBuilder) PageToken(pageToken string) *SearchContractReqBuilder
- func (builder *SearchContractReqBuilder) UserIdType(userIdType string) *SearchContractReqBuilder
- type SearchContractResp
- type SearchContractRespData
- type SearchCostCenterPathReqBodyBuilder
- func (builder *SearchCostCenterPathReqBodyBuilder) Build() (*SearchCostCenterReqBody, error)
- func (builder *SearchCostCenterPathReqBodyBuilder) Code(code string) *SearchCostCenterPathReqBodyBuilder
- func (builder *SearchCostCenterPathReqBodyBuilder) CostCenterIdList(costCenterIdList []string) *SearchCostCenterPathReqBodyBuilder
- func (builder *SearchCostCenterPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *SearchCostCenterPathReqBodyBuilder
- func (builder *SearchCostCenterPathReqBodyBuilder) NameList(nameList []string) *SearchCostCenterPathReqBodyBuilder
- func (builder *SearchCostCenterPathReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *SearchCostCenterPathReqBodyBuilder
- type SearchCostCenterReq
- type SearchCostCenterReqBody
- type SearchCostCenterReqBodyBuilder
- func (builder *SearchCostCenterReqBodyBuilder) Build() *SearchCostCenterReqBody
- func (builder *SearchCostCenterReqBodyBuilder) Code(code string) *SearchCostCenterReqBodyBuilder
- func (builder *SearchCostCenterReqBodyBuilder) CostCenterIdList(costCenterIdList []string) *SearchCostCenterReqBodyBuilder
- func (builder *SearchCostCenterReqBodyBuilder) GetAllVersion(getAllVersion bool) *SearchCostCenterReqBodyBuilder
- func (builder *SearchCostCenterReqBodyBuilder) NameList(nameList []string) *SearchCostCenterReqBodyBuilder
- func (builder *SearchCostCenterReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *SearchCostCenterReqBodyBuilder
- type SearchCostCenterReqBuilder
- func (builder *SearchCostCenterReqBuilder) Body(body *SearchCostCenterReqBody) *SearchCostCenterReqBuilder
- func (builder *SearchCostCenterReqBuilder) Build() *SearchCostCenterReq
- func (builder *SearchCostCenterReqBuilder) PageSize(pageSize int) *SearchCostCenterReqBuilder
- func (builder *SearchCostCenterReqBuilder) PageToken(pageToken string) *SearchCostCenterReqBuilder
- func (builder *SearchCostCenterReqBuilder) UserIdType(userIdType string) *SearchCostCenterReqBuilder
- type SearchCostCenterResp
- type SearchCostCenterRespData
- type SearchDepartmentIterator
- type SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) Active(active bool) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) Build() (*SearchDepartmentReqBody, error)
- func (builder *SearchDepartmentPathReqBodyBuilder) CodeList(codeList []string) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) Fields(fields []string) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) GetAllChildren(getAllChildren bool) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) ManagerList(managerList []string) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) NameList(nameList []string) *SearchDepartmentPathReqBodyBuilder
- func (builder *SearchDepartmentPathReqBodyBuilder) ParentDepartmentId(parentDepartmentId string) *SearchDepartmentPathReqBodyBuilder
- type SearchDepartmentReq
- type SearchDepartmentReqBody
- type SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) Active(active bool) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) Build() *SearchDepartmentReqBody
- func (builder *SearchDepartmentReqBodyBuilder) CodeList(codeList []string) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) Fields(fields []string) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) GetAllChildren(getAllChildren bool) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) ManagerList(managerList []string) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) NameList(nameList []string) *SearchDepartmentReqBodyBuilder
- func (builder *SearchDepartmentReqBodyBuilder) ParentDepartmentId(parentDepartmentId string) *SearchDepartmentReqBodyBuilder
- type SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) Body(body *SearchDepartmentReqBody) *SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) Build() *SearchDepartmentReq
- func (builder *SearchDepartmentReqBuilder) DepartmentIdType(departmentIdType string) *SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) Limit(limit int) *SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) PageSize(pageSize int) *SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) PageToken(pageToken string) *SearchDepartmentReqBuilder
- func (builder *SearchDepartmentReqBuilder) UserIdType(userIdType string) *SearchDepartmentReqBuilder
- type SearchDepartmentResp
- type SearchDepartmentRespData
- type SearchEmployeeIterator
- type SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) Build() (*SearchEmployeeReqBody, error)
- func (builder *SearchEmployeePathReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) DepartmentIdListIncludeSub(departmentIdListIncludeSub []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) DirectManagerIdList(directManagerIdList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) DottedLineManagerIdList(dottedLineManagerIdList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EffectiveTimeEnd(effectiveTimeEnd string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EffectiveTimeStart(effectiveTimeStart string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EmailAddressList(emailAddressList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EmployeeNumberList(employeeNumberList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EmployeeTypeId(employeeTypeId string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) EmploymentStatus(employmentStatus string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) Fields(fields []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) KeyWord(keyWord string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) NationalIdNumberList(nationalIdNumberList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) PhoneNumber(phoneNumber string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) PhoneNumberList(phoneNumberList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) PreferredEnglishFullNameList(preferredEnglishFullNameList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) PreferredLocalFullNameList(preferredLocalFullNameList []string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateEnd(regularEmployeeStartDateEnd string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateStart(regularEmployeeStartDateStart string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) WorkEmail(workEmail string) *SearchEmployeePathReqBodyBuilder
- func (builder *SearchEmployeePathReqBodyBuilder) WorkLocationIdListIncludeSub(workLocationIdListIncludeSub []string) *SearchEmployeePathReqBodyBuilder
- type SearchEmployeeReq
- type SearchEmployeeReqBody
- type SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) Build() *SearchEmployeeReqBody
- func (builder *SearchEmployeeReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) DepartmentIdListIncludeSub(departmentIdListIncludeSub []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) DirectManagerIdList(directManagerIdList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) DottedLineManagerIdList(dottedLineManagerIdList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EffectiveTimeEnd(effectiveTimeEnd string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EffectiveTimeStart(effectiveTimeStart string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EmailAddressList(emailAddressList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EmployeeNumberList(employeeNumberList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EmployeeTypeId(employeeTypeId string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) EmploymentStatus(employmentStatus string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) Fields(fields []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) KeyWord(keyWord string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) NationalIdNumberList(nationalIdNumberList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) PhoneNumber(phoneNumber string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) PhoneNumberList(phoneNumberList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) PreferredEnglishFullNameList(preferredEnglishFullNameList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) PreferredLocalFullNameList(preferredLocalFullNameList []string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateEnd(regularEmployeeStartDateEnd string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateStart(regularEmployeeStartDateStart string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) WorkEmail(workEmail string) *SearchEmployeeReqBodyBuilder
- func (builder *SearchEmployeeReqBodyBuilder) WorkLocationIdListIncludeSub(workLocationIdListIncludeSub []string) *SearchEmployeeReqBodyBuilder
- type SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) Body(body *SearchEmployeeReqBody) *SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) Build() *SearchEmployeeReq
- func (builder *SearchEmployeeReqBuilder) DepartmentIdType(departmentIdType string) *SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) Limit(limit int) *SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) PageSize(pageSize int) *SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) PageToken(pageToken string) *SearchEmployeeReqBuilder
- func (builder *SearchEmployeeReqBuilder) UserIdType(userIdType string) *SearchEmployeeReqBuilder
- type SearchEmployeeResp
- type SearchEmployeeRespData
- type SearchJobChangeIterator
- type SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) Build() (*SearchJobChangeReqBody, error)
- func (builder *SearchJobChangePathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) JobChangeIds(jobChangeIds []string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) Statuses(statuses []string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) UpdatedTimeEnd(updatedTimeEnd string) *SearchJobChangePathReqBodyBuilder
- func (builder *SearchJobChangePathReqBodyBuilder) UpdatedTimeStart(updatedTimeStart string) *SearchJobChangePathReqBodyBuilder
- type SearchJobChangeReq
- type SearchJobChangeReqBody
- type SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) Build() *SearchJobChangeReqBody
- func (builder *SearchJobChangeReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) JobChangeIds(jobChangeIds []string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) Statuses(statuses []string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) UpdatedTimeEnd(updatedTimeEnd string) *SearchJobChangeReqBodyBuilder
- func (builder *SearchJobChangeReqBodyBuilder) UpdatedTimeStart(updatedTimeStart string) *SearchJobChangeReqBodyBuilder
- type SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) Body(body *SearchJobChangeReqBody) *SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) Build() *SearchJobChangeReq
- func (builder *SearchJobChangeReqBuilder) DepartmentIdType(departmentIdType string) *SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) Limit(limit int) *SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) PageSize(pageSize int) *SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) PageToken(pageToken string) *SearchJobChangeReqBuilder
- func (builder *SearchJobChangeReqBuilder) UserIdType(userIdType string) *SearchJobChangeReqBuilder
- type SearchJobChangeResp
- type SearchJobChangeRespData
- type SearchProbationIterator
- type SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ActualProbationEndDateEnd(actualProbationEndDateEnd string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ActualProbationEndDateStart(actualProbationEndDateStart string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) Build() (*SearchProbationReqBody, error)
- func (builder *SearchProbationPathReqBodyBuilder) DepartmentIds(departmentIds []string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) FinalAssessmentGrade(finalAssessmentGrade string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) FinalAssessmentResult(finalAssessmentResult string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) InitiatingTimeEnd(initiatingTimeEnd string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) InitiatingTimeStart(initiatingTimeStart string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateEnd(probationExpectedEndDateEnd string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateStart(probationExpectedEndDateStart string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ProbationStartDateEnd(probationStartDateEnd string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ProbationStartDateStart(probationStartDateStart string) *SearchProbationPathReqBodyBuilder
- func (builder *SearchProbationPathReqBodyBuilder) ProbationStatus(probationStatus string) *SearchProbationPathReqBodyBuilder
- type SearchProbationReq
- type SearchProbationReqBody
- type SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ActualProbationEndDateEnd(actualProbationEndDateEnd string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ActualProbationEndDateStart(actualProbationEndDateStart string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) Build() *SearchProbationReqBody
- func (builder *SearchProbationReqBodyBuilder) DepartmentIds(departmentIds []string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) FinalAssessmentGrade(finalAssessmentGrade string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) FinalAssessmentResult(finalAssessmentResult string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) InitiatingTimeEnd(initiatingTimeEnd string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) InitiatingTimeStart(initiatingTimeStart string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ProbationExpectedEndDateEnd(probationExpectedEndDateEnd string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ProbationExpectedEndDateStart(probationExpectedEndDateStart string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ProbationStartDateEnd(probationStartDateEnd string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ProbationStartDateStart(probationStartDateStart string) *SearchProbationReqBodyBuilder
- func (builder *SearchProbationReqBodyBuilder) ProbationStatus(probationStatus string) *SearchProbationReqBodyBuilder
- type SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) Body(body *SearchProbationReqBody) *SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) Build() *SearchProbationReq
- func (builder *SearchProbationReqBuilder) DepartmentIdType(departmentIdType string) *SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) Limit(limit int) *SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) PageSize(pageSize int) *SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) PageToken(pageToken string) *SearchProbationReqBuilder
- func (builder *SearchProbationReqBuilder) UserIdType(userIdType string) *SearchProbationReqBuilder
- type SearchProbationResp
- type SearchProbationRespData
- type SignatureFile
- type SignatureFileBuilder
- func (builder *SignatureFileBuilder) Build() *SignatureFile
- func (builder *SignatureFileBuilder) ContractCode(contractCode string) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) CreateTime(createTime string) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) EmploymentId(employmentId string) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) Names(names []*I18n) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) SignatureFileId(signatureFileId string) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) SignatureFileState(signatureFileState *Enum) *SignatureFileBuilder
- func (builder *SignatureFileBuilder) UpdateTime(updateTime string) *SignatureFileBuilder
- type TranferEmploymentInfo
- type TranferEmploymentInfoBuilder
- func (builder *TranferEmploymentInfoBuilder) Build() *TranferEmploymentInfo
- func (builder *TranferEmploymentInfoBuilder) CustomFields(customFields []*CustomFieldData) *TranferEmploymentInfoBuilder
- func (builder *TranferEmploymentInfoBuilder) EmployeeNumber(employeeNumber string) *TranferEmploymentInfoBuilder
- func (builder *TranferEmploymentInfoBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *TranferEmploymentInfoBuilder
- func (builder *TranferEmploymentInfoBuilder) SeniorityDate(seniorityDate string) *TranferEmploymentInfoBuilder
- type TransferInfo
- type TransferInfoBuilder
- func (builder *TransferInfoBuilder) Build() *TransferInfo
- func (builder *TransferInfoBuilder) OfferInfo(offerInfo string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalCompany(originalCompany string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalContractEndDate(originalContractEndDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalContractNumber(originalContractNumber string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalContractStartDate(originalContractStartDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalContractType(originalContractType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalCostCenterRate(originalCostCenterRate []*JobDataCostCenter) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalDepartment(originalDepartment string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalDirectManager(originalDirectManager string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalDottedManager(originalDottedManager string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalDurationType(originalDurationType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalEmploymentChange(originalEmploymentChange *TranferEmploymentInfo) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalJob(originalJob string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalJobFamily(originalJobFamily string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalJobGrade(originalJobGrade string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalJobLevel(originalJobLevel string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalProbationEndDate(originalProbationEndDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalSigningType(originalSigningType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWeeklyWorkingHours(originalWeeklyWorkingHours string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWorkLocation(originalWorkLocation string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWorkShift(originalWorkShift string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWorkforceType(originalWorkforceType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWorkingCalendar(originalWorkingCalendar string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) OriginalWorkingHoursType(originalWorkingHoursType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) ProbationExist(probationExist bool) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) Remark(remark string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetCompany(targetCompany string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetContractEndDate(targetContractEndDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetContractNumber(targetContractNumber string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetContractStartDate(targetContractStartDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetContractType(targetContractType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetCostCenterRate(targetCostCenterRate []*JobDataCostCenter) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetDepartment(targetDepartment string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetDirectManager(targetDirectManager string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetDottedManager(targetDottedManager string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetDottedManagerClean(targetDottedManagerClean bool) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetDurationType(targetDurationType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetEmploymentChange(targetEmploymentChange *TranferEmploymentInfo) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetJob(targetJob string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetJobFamily(targetJobFamily string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetJobGrade(targetJobGrade string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetJobLevel(targetJobLevel string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetProbationEndDate(targetProbationEndDate string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetSigningType(targetSigningType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWeeklyWorkingHours(targetWeeklyWorkingHours string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWorkLocation(targetWorkLocation string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWorkShift(targetWorkShift string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWorkforceType(targetWorkforceType string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWorkingCalendar(targetWorkingCalendar string) *TransferInfoBuilder
- func (builder *TransferInfoBuilder) TargetWorkingHoursType(targetWorkingHoursType string) *TransferInfoBuilder
- type UserContact
- type UserContactBuilder
- type UserInfo
- type UserInfoBuilder
- func (builder *UserInfoBuilder) Build() *UserInfo
- func (builder *UserInfoBuilder) Email(email string) *UserInfoBuilder
- func (builder *UserInfoBuilder) EmployeeNo(employeeNo string) *UserInfoBuilder
- func (builder *UserInfoBuilder) EnName(enName string) *UserInfoBuilder
- func (builder *UserInfoBuilder) IsResigned(isResigned bool) *UserInfoBuilder
- func (builder *UserInfoBuilder) Mobile(mobile string) *UserInfoBuilder
- func (builder *UserInfoBuilder) Name(name string) *UserInfoBuilder
- func (builder *UserInfoBuilder) ResignDate(resignDate string) *UserInfoBuilder
- func (builder *UserInfoBuilder) ResignTime(resignTime string) *UserInfoBuilder
- func (builder *UserInfoBuilder) UserId(userId string) *UserInfoBuilder
- func (builder *UserInfoBuilder) ZhName(zhName string) *UserInfoBuilder
- type V2
- type WorkEmail
- type WorkEmailBuilder
- type WorkExperience
- type WorkExperienceBuilder
- func (builder *WorkExperienceBuilder) Build() *WorkExperience
- func (builder *WorkExperienceBuilder) CompanyName(companyName string) *WorkExperienceBuilder
- func (builder *WorkExperienceBuilder) Description(description string) *WorkExperienceBuilder
- func (builder *WorkExperienceBuilder) EndTime(endTime string) *WorkExperienceBuilder
- func (builder *WorkExperienceBuilder) JobTitle(jobTitle string) *WorkExperienceBuilder
- func (builder *WorkExperienceBuilder) StartTime(startTime string) *WorkExperienceBuilder
- type WorkExperienceInfo
- type WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) Build() *WorkExperienceInfo
- func (builder *WorkExperienceInfoBuilder) CompanyOrganization(companyOrganization []*I18n) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) CustomFields(customFields []*CustomFieldData) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) Department(department []*I18n) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) Description(description []*I18n) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) EndDate(endDate string) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) Job(job []*I18n) *WorkExperienceInfoBuilder
- func (builder *WorkExperienceInfoBuilder) StartDate(startDate string) *WorkExperienceInfoBuilder
- type WorkforcePlan
- type WorkforcePlanBuilder
- func (builder *WorkforcePlanBuilder) Active(active bool) *WorkforcePlanBuilder
- func (builder *WorkforcePlanBuilder) Build() *WorkforcePlan
- func (builder *WorkforcePlanBuilder) EndDate(endDate string) *WorkforcePlanBuilder
- func (builder *WorkforcePlanBuilder) StartDate(startDate string) *WorkforcePlanBuilder
- func (builder *WorkforcePlanBuilder) WorkforcePlanId(workforcePlanId string) *WorkforcePlanBuilder
- func (builder *WorkforcePlanBuilder) WorkforcePlanName(workforcePlanName []*I18n) *WorkforcePlanBuilder
- type WorkforcePlanDetail
- type WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) Build() *WorkforcePlanDetail
- func (builder *WorkforcePlanDetailBuilder) CostCenter(costCenter *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) Department(department *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) EmployeeType(employeeType *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) EstimatedActiveIndividualsDetail(estimatedActiveIndividualsDetail []*WorkforcePlanEaiDetail) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) Job(job *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) JobFamily(jobFamily *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) JobLevel(jobLevel *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) WorkLocation(workLocation *DimensionInfo) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) WorkforcePlan(workforcePlan string) *WorkforcePlanDetailBuilder
- func (builder *WorkforcePlanDetailBuilder) WorkforcePlanDetailId(workforcePlanDetailId string) *WorkforcePlanDetailBuilder
- type WorkforcePlanEaiDetail
- type WorkforcePlanEaiDetailBuilder
- func (builder *WorkforcePlanEaiDetailBuilder) Build() *WorkforcePlanEaiDetail
- func (builder *WorkforcePlanEaiDetailBuilder) Date(date string) *WorkforcePlanEaiDetailBuilder
- func (builder *WorkforcePlanEaiDetailBuilder) EstimatedActiveIndividuals(estimatedActiveIndividuals string) *WorkforcePlanEaiDetailBuilder
Constants ¶
const ( UserIdTypeUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypePeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypePeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeListBpUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeListBpUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeListBpOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeListBpPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeListBpOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeListBpDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeListBpPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeSearchContractUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchContractUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchContractOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchContractPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypeCreateCostCenterUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeCreateCostCenterUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeCreateCostCenterOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeCreateCostCenterPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypePatchCostCenterUserId = "user_id" // 以 user_id 来识别用户 UserIdTypePatchCostCenterUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypePatchCostCenterOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypePatchCostCenterPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypeSearchCostCenterUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchCostCenterUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchCostCenterOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchCostCenterPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypeCreateCostCenterVersionUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeCreateCostCenterVersionUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeCreateCostCenterVersionOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeCreateCostCenterVersionPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypePatchCostCenterVersionUserId = "user_id" // 以 user_id 来识别用户 UserIdTypePatchCostCenterVersionUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypePatchCostCenterVersionOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypePatchCostCenterVersionPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeParentsDepartmentOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeParentsDepartmentDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeParentsDepartmentPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeSearchDepartmentUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchDepartmentUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchDepartmentOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchDepartmentPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeSearchDepartmentOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeSearchDepartmentDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeSearchDepartmentPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeBatchGetEmployeeUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeBatchGetEmployeeUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeBatchGetEmployeeOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeBatchGetEmployeePeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeBatchGetEmployeeOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeBatchGetEmployeeDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeBatchGetEmployeePeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( EmploymentStatusHired = "hired" // 在职 EmploymentStatusTerminated = "terminated" // 离职 )
const ( UserIdTypeSearchEmployeeUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchEmployeeUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchEmployeeOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchEmployeePeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeSearchEmployeeOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeSearchEmployeeDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeSearchEmployeePeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeBatchGetEmployeesBpUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeBatchGetEmployeesBpUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeBatchGetEmployeesBpOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeBatchGetEmployeesBpPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( UserIdTypeBatchGetEmployeesJobDataUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeBatchGetEmployeesJobDataUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeBatchGetEmployeesJobDataOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeBatchGetEmployeesJobDataPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeBatchGetEmployeesJobDataOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeBatchGetEmployeesJobDataDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeBatchGetEmployeesJobDataPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeQueryEmployeesJobDataUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeQueryEmployeesJobDataUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeQueryEmployeesJobDataOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeQueryEmployeesJobDataPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeQueryEmployeesJobDataOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeQueryEmployeesJobDataDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeQueryEmployeesJobDataPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeSearchJobChangeUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchJobChangeUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchJobChangeOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchJobChangePeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeSearchJobChangeOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeSearchJobChangeDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeSearchJobChangePeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( ProbationStatusPending = "pending" // 审批中 ProbationStatusRejected = "rejected" // 已拒绝 ProbationStatusWaiting = "waiting" // 待发起转正 ProbationStatusApproved = "approved" // 审批通过 ProbationStatusConverted = "converted" // 已转正 ProbationStatusOffboarded = "offboarded" // 已离职 )
const ( FinalAssessmentResultApproved = "approved" // 通过 FinalAssessmentResultRejected = "rejected" // 不通过 )
const ( UserIdTypeSearchProbationUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeSearchProbationUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeSearchProbationOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeSearchProbationPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( DepartmentIdTypeSearchProbationOpenDepartmentId = "open_department_id" // 以 open_department_id 来标识部门 DepartmentIdTypeSearchProbationDepartmentId = "department_id" // 以 department_id 来标识部门 DepartmentIdTypeSearchProbationPeopleCorehrDepartmentId = "people_corehr_department_id" // 以 people_corehr_department_id 来标识部门 )
const ( UserIdTypeCreateProbationAssessmentUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeCreateProbationAssessmentUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeCreateProbationAssessmentOpenId = "open_id" // 以 open_id 来识别用户 UserIdTypeCreateProbationAssessmentPeopleCorehrId = "people_corehr_id" // 以飞书人事的 ID 来识别用户 )
const ( AssessmentStatusNotStarted = "not_started" // 未开始 AssessmentStatusInProcess = "in_process" // 进行中 AssessmentStatusCompleted = "completed" // 已完成 AssessmentStatusNoNeed = "no_need" // 无需考核 )
const ( AssessmentResultApproved = "approved" // 通过 AssessmentResultRejected = "rejected" // 不通过 )
const ( UserIdTypeGetProcessUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeGetProcessUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeGetProcessOpenId = "open_id" // 以 open_id 来识别用户 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbnormalReason ¶
type AbnormalReason struct { Id *string `json:"id,omitempty"` // 异常原因ID Type *int `json:"type,omitempty"` // 异常原因类型,1-系统异常,2-用户自定义异常; I18nElements []*AbnormalReasonI18nElement `json:"i18n_elements,omitempty"` // 异常原因列表 }
type AbnormalReasonBuilder ¶
type AbnormalReasonBuilder struct {
// contains filtered or unexported fields
}
func NewAbnormalReasonBuilder ¶
func NewAbnormalReasonBuilder() *AbnormalReasonBuilder
func (*AbnormalReasonBuilder) Build ¶
func (builder *AbnormalReasonBuilder) Build() *AbnormalReason
func (*AbnormalReasonBuilder) I18nElements ¶
func (builder *AbnormalReasonBuilder) I18nElements(i18nElements []*AbnormalReasonI18nElement) *AbnormalReasonBuilder
异常原因列表
示例值:
func (*AbnormalReasonBuilder) Id ¶
func (builder *AbnormalReasonBuilder) Id(id string) *AbnormalReasonBuilder
异常原因ID
示例值:6893014062142064135
func (*AbnormalReasonBuilder) Type ¶
func (builder *AbnormalReasonBuilder) Type(type_ int) *AbnormalReasonBuilder
异常原因类型,1-系统异常,2-用户自定义异常;
示例值:1
type AbnormalReasonElement ¶
type AbnormalReasonElementBuilder ¶
type AbnormalReasonElementBuilder struct {
// contains filtered or unexported fields
}
func NewAbnormalReasonElementBuilder ¶
func NewAbnormalReasonElementBuilder() *AbnormalReasonElementBuilder
func (*AbnormalReasonElementBuilder) Build ¶
func (builder *AbnormalReasonElementBuilder) Build() *AbnormalReasonElement
func (*AbnormalReasonElementBuilder) Href ¶
func (builder *AbnormalReasonElementBuilder) Href(href string) *AbnormalReasonElementBuilder
超链接
func (*AbnormalReasonElementBuilder) Tag ¶
func (builder *AbnormalReasonElementBuilder) Tag(tag string) *AbnormalReasonElementBuilder
组件类型
示例值:a,text
func (*AbnormalReasonElementBuilder) Text ¶
func (builder *AbnormalReasonElementBuilder) Text(text string) *AbnormalReasonElementBuilder
文本
示例值:这个是一个文本字段
type AbnormalReasonI18nElement ¶
type AbnormalReasonI18nElement struct { Lang *string `json:"lang,omitempty"` // 语言 Elements []*AbnormalReasonElement `json:"elements,omitempty"` // 异常原因列表 }
type AbnormalReasonI18nElementBuilder ¶
type AbnormalReasonI18nElementBuilder struct {
// contains filtered or unexported fields
}
func NewAbnormalReasonI18nElementBuilder ¶
func NewAbnormalReasonI18nElementBuilder() *AbnormalReasonI18nElementBuilder
func (*AbnormalReasonI18nElementBuilder) Build ¶
func (builder *AbnormalReasonI18nElementBuilder) Build() *AbnormalReasonI18nElement
func (*AbnormalReasonI18nElementBuilder) Elements ¶
func (builder *AbnormalReasonI18nElementBuilder) Elements(elements []*AbnormalReasonElement) *AbnormalReasonI18nElementBuilder
异常原因列表
示例值:
func (*AbnormalReasonI18nElementBuilder) Lang ¶
func (builder *AbnormalReasonI18nElementBuilder) Lang(lang string) *AbnormalReasonI18nElementBuilder
语言
示例值:zh-CN,en-US
type Address ¶
type Address struct { FullAddressLocalScript *string `json:"full_address_local_script,omitempty"` // 完整地址(本地文字) FullAddressWesternScript *string `json:"full_address_western_script,omitempty"` // 完整地址(西方文字) AddressId *string `json:"address_id,omitempty"` // 地址 ID CountryRegionId *string `json:"country_region_id,omitempty"` // 国家 / 地区 RegionId *string `json:"region_id,omitempty"` // 主要行政区 CityIdV2 *string `json:"city_id_v2,omitempty"` // 城市 DistrictIdV2 *string `json:"district_id_v2,omitempty"` // 区/县 LocalAddressLine1 *string `json:"local_address_line1,omitempty"` // 地址行 1(非拉丁语系的本地文字) LocalAddressLine2 *string `json:"local_address_line2,omitempty"` // 地址行 2(非拉丁语系的本地文字) LocalAddressLine3 *string `json:"local_address_line3,omitempty"` // 地址行 3(非拉丁语系的本地文字) LocalAddressLine4 *string `json:"local_address_line4,omitempty"` // 地址行 4(非拉丁语系的本地文字) LocalAddressLine5 *string `json:"local_address_line5,omitempty"` // 地址行 5(非拉丁语系的本地文字) LocalAddressLine6 *string `json:"local_address_line6,omitempty"` // 地址行 6(非拉丁语系的本地文字) LocalAddressLine7 *string `json:"local_address_line7,omitempty"` // 地址行 7(非拉丁语系的本地文字) LocalAddressLine8 *string `json:"local_address_line8,omitempty"` // 地址行 8(非拉丁语系的本地文字) LocalAddressLine9 *string `json:"local_address_line9,omitempty"` // 地址行 9(非拉丁语系的本地文字) PostalCode *string `json:"postal_code,omitempty"` // 邮政编码 AddressTypeList []*Enum `json:"address_type_list,omitempty"` // 地址类型 IsPrimary *bool `json:"is_primary,omitempty"` // 主要地址 IsPublic *bool `json:"is_public,omitempty"` // 公开地址 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type AddressBuilder ¶
type AddressBuilder struct {
// contains filtered or unexported fields
}
func NewAddressBuilder ¶
func NewAddressBuilder() *AddressBuilder
func (*AddressBuilder) AddressId ¶
func (builder *AddressBuilder) AddressId(addressId string) *AddressBuilder
地址 ID
示例值:6989822217869624863
func (*AddressBuilder) AddressTypeList ¶
func (builder *AddressBuilder) AddressTypeList(addressTypeList []*Enum) *AddressBuilder
地址类型
示例值:
func (*AddressBuilder) Build ¶
func (builder *AddressBuilder) Build() *Address
func (*AddressBuilder) CityIdV2 ¶ added in v3.1.2
func (builder *AddressBuilder) CityIdV2(cityIdV2 string) *AddressBuilder
城市
示例值:6863333254578046471
func (*AddressBuilder) CountryRegionId ¶
func (builder *AddressBuilder) CountryRegionId(countryRegionId string) *AddressBuilder
国家 / 地区
示例值:6862995757234914824
func (*AddressBuilder) CustomFields ¶
func (builder *AddressBuilder) CustomFields(customFields []*CustomFieldData) *AddressBuilder
自定义字段
示例值:
func (*AddressBuilder) DistrictIdV2 ¶ added in v3.1.2
func (builder *AddressBuilder) DistrictIdV2(districtIdV2 string) *AddressBuilder
区/县
示例值:6863333516579440141
func (*AddressBuilder) FullAddressLocalScript ¶
func (builder *AddressBuilder) FullAddressLocalScript(fullAddressLocalScript string) *AddressBuilder
完整地址(本地文字)
示例值:中国北京北京
func (*AddressBuilder) FullAddressWesternScript ¶
func (builder *AddressBuilder) FullAddressWesternScript(fullAddressWesternScript string) *AddressBuilder
完整地址(西方文字)
示例值:Beijing, Beijing, China,
func (*AddressBuilder) IsPrimary ¶
func (builder *AddressBuilder) IsPrimary(isPrimary bool) *AddressBuilder
主要地址
示例值:true
func (*AddressBuilder) IsPublic ¶
func (builder *AddressBuilder) IsPublic(isPublic bool) *AddressBuilder
公开地址
示例值:true
func (*AddressBuilder) LocalAddressLine1 ¶
func (builder *AddressBuilder) LocalAddressLine1(localAddressLine1 string) *AddressBuilder
地址行 1(非拉丁语系的本地文字)
示例值:丹佛测试地址-纽埃时区
func (*AddressBuilder) LocalAddressLine2 ¶
func (builder *AddressBuilder) LocalAddressLine2(localAddressLine2 string) *AddressBuilder
地址行 2(非拉丁语系的本地文字)
示例值:PoewH
func (*AddressBuilder) LocalAddressLine3 ¶
func (builder *AddressBuilder) LocalAddressLine3(localAddressLine3 string) *AddressBuilder
地址行 3(非拉丁语系的本地文字)
示例值:PoewH
func (*AddressBuilder) LocalAddressLine4 ¶
func (builder *AddressBuilder) LocalAddressLine4(localAddressLine4 string) *AddressBuilder
地址行 4(非拉丁语系的本地文字)
示例值:jmwJc
func (*AddressBuilder) LocalAddressLine5 ¶
func (builder *AddressBuilder) LocalAddressLine5(localAddressLine5 string) *AddressBuilder
地址行 5(非拉丁语系的本地文字)
示例值:jmwJc
func (*AddressBuilder) LocalAddressLine6 ¶
func (builder *AddressBuilder) LocalAddressLine6(localAddressLine6 string) *AddressBuilder
地址行 6(非拉丁语系的本地文字)
示例值:jmwJc
func (*AddressBuilder) LocalAddressLine7 ¶
func (builder *AddressBuilder) LocalAddressLine7(localAddressLine7 string) *AddressBuilder
地址行 7(非拉丁语系的本地文字)
示例值:jmwJc
func (*AddressBuilder) LocalAddressLine8 ¶
func (builder *AddressBuilder) LocalAddressLine8(localAddressLine8 string) *AddressBuilder
地址行 8(非拉丁语系的本地文字)
示例值:rafSu
func (*AddressBuilder) LocalAddressLine9 ¶
func (builder *AddressBuilder) LocalAddressLine9(localAddressLine9 string) *AddressBuilder
地址行 9(非拉丁语系的本地文字)
示例值:McPRG
func (*AddressBuilder) PostalCode ¶
func (builder *AddressBuilder) PostalCode(postalCode string) *AddressBuilder
邮政编码
示例值:611530
func (*AddressBuilder) RegionId ¶
func (builder *AddressBuilder) RegionId(regionId string) *AddressBuilder
主要行政区
示例值:6863326815667095047
type ApprovalGroup ¶
type ApprovalGroup struct { ApprovalGroupId *string `json:"approval_group_id,omitempty"` // 组织架构调整审批组 ID ProcessId *string `json:"process_id,omitempty"` // 组织架构调整流程 ID ApprovalGroupStatus *string `json:"approval_group_status,omitempty"` // 组织架构调整流程状态 Topic *string `json:"topic,omitempty"` // 调整主题 AdjustReason *string `json:"adjust_reason,omitempty"` // 调整原因 EffectiveDate *string `json:"effective_date,omitempty"` // 生效日期 CreatedBy *string `json:"created_by,omitempty"` // 发起人 DraftId *string `json:"draft_id,omitempty"` // 组织架构调整任务 ID DraftStatus *string `json:"draft_status,omitempty"` // 组织架构调整任务状态 DepartmentChanges []string `json:"department_changes,omitempty"` // 关联的部门调整记录 ID 列表 JobChanges []string `json:"job_changes,omitempty"` // 关联的人员调整记录 ID 列表 }
type ApprovalGroupBuilder ¶
type ApprovalGroupBuilder struct {
// contains filtered or unexported fields
}
func NewApprovalGroupBuilder ¶
func NewApprovalGroupBuilder() *ApprovalGroupBuilder
func (*ApprovalGroupBuilder) AdjustReason ¶
func (builder *ApprovalGroupBuilder) AdjustReason(adjustReason string) *ApprovalGroupBuilder
调整原因
示例值:测试
func (*ApprovalGroupBuilder) ApprovalGroupId ¶
func (builder *ApprovalGroupBuilder) ApprovalGroupId(approvalGroupId string) *ApprovalGroupBuilder
组织架构调整审批组 ID
示例值:6991776076699549697
func (*ApprovalGroupBuilder) ApprovalGroupStatus ¶
func (builder *ApprovalGroupBuilder) ApprovalGroupStatus(approvalGroupStatus string) *ApprovalGroupBuilder
组织架构调整流程状态
示例值:
func (*ApprovalGroupBuilder) Build ¶
func (builder *ApprovalGroupBuilder) Build() *ApprovalGroup
func (*ApprovalGroupBuilder) CreatedBy ¶
func (builder *ApprovalGroupBuilder) CreatedBy(createdBy string) *ApprovalGroupBuilder
发起人
示例值:6974641477444060708
func (*ApprovalGroupBuilder) DepartmentChanges ¶
func (builder *ApprovalGroupBuilder) DepartmentChanges(departmentChanges []string) *ApprovalGroupBuilder
关联的部门调整记录 ID 列表
示例值:
func (*ApprovalGroupBuilder) DraftId ¶
func (builder *ApprovalGroupBuilder) DraftId(draftId string) *ApprovalGroupBuilder
组织架构调整任务 ID
示例值:6991776076699549697
func (*ApprovalGroupBuilder) DraftStatus ¶
func (builder *ApprovalGroupBuilder) DraftStatus(draftStatus string) *ApprovalGroupBuilder
组织架构调整任务状态
示例值:
func (*ApprovalGroupBuilder) EffectiveDate ¶
func (builder *ApprovalGroupBuilder) EffectiveDate(effectiveDate string) *ApprovalGroupBuilder
生效日期
示例值:2022-03-01
func (*ApprovalGroupBuilder) JobChanges ¶
func (builder *ApprovalGroupBuilder) JobChanges(jobChanges []string) *ApprovalGroupBuilder
关联的人员调整记录 ID 列表
示例值:
func (*ApprovalGroupBuilder) ProcessId ¶
func (builder *ApprovalGroupBuilder) ProcessId(processId string) *ApprovalGroupBuilder
组织架构调整流程 ID
示例值:6991776076699549697
func (*ApprovalGroupBuilder) Topic ¶
func (builder *ApprovalGroupBuilder) Topic(topic string) *ApprovalGroupBuilder
调整主题
示例值:测试组织架构调整
type Assessment ¶
type Assessment struct { AssessmentId *string `json:"assessment_id,omitempty"` // 考核结果 ID AssessmentStatus *Enum `json:"assessment_status,omitempty"` // 考核状态 AssessmentResult *Enum `json:"assessment_result,omitempty"` // 试用期考核结果 AssessmentScore *float64 `json:"assessment_score,omitempty"` // 考核得分 AssessmentGrade *Enum `json:"assessment_grade,omitempty"` // 试用期考核等级 AssessmentComment *string `json:"assessment_comment,omitempty"` // 考核评语 AssessmentDetail *string `json:"assessment_detail,omitempty"` // 考核结果页面超链接 IsFinalAsssessment *bool `json:"is_final_asssessment,omitempty"` // 是否为最终考核结果 }
type AssessmentBuilder ¶
type AssessmentBuilder struct {
// contains filtered or unexported fields
}
func NewAssessmentBuilder ¶
func NewAssessmentBuilder() *AssessmentBuilder
func (*AssessmentBuilder) AssessmentComment ¶
func (builder *AssessmentBuilder) AssessmentComment(assessmentComment string) *AssessmentBuilder
考核评语
示例值:超出预期
func (*AssessmentBuilder) AssessmentDetail ¶
func (builder *AssessmentBuilder) AssessmentDetail(assessmentDetail string) *AssessmentBuilder
考核结果页面超链接
func (*AssessmentBuilder) AssessmentGrade ¶
func (builder *AssessmentBuilder) AssessmentGrade(assessmentGrade *Enum) *AssessmentBuilder
试用期考核等级
示例值:
func (*AssessmentBuilder) AssessmentId ¶
func (builder *AssessmentBuilder) AssessmentId(assessmentId string) *AssessmentBuilder
考核结果 ID
示例值:6893014061142064135
func (*AssessmentBuilder) AssessmentResult ¶
func (builder *AssessmentBuilder) AssessmentResult(assessmentResult *Enum) *AssessmentBuilder
试用期考核结果
示例值:
func (*AssessmentBuilder) AssessmentScore ¶
func (builder *AssessmentBuilder) AssessmentScore(assessmentScore float64) *AssessmentBuilder
考核得分
示例值:99.9
func (*AssessmentBuilder) AssessmentStatus ¶
func (builder *AssessmentBuilder) AssessmentStatus(assessmentStatus *Enum) *AssessmentBuilder
考核状态
示例值:
func (*AssessmentBuilder) Build ¶
func (builder *AssessmentBuilder) Build() *Assessment
func (*AssessmentBuilder) IsFinalAsssessment ¶
func (builder *AssessmentBuilder) IsFinalAsssessment(isFinalAsssessment bool) *AssessmentBuilder
是否为最终考核结果
示例值:false
type AssessmentForCreate ¶
type AssessmentForCreate struct { AssessmentStatus *string `json:"assessment_status,omitempty"` // 考核状态 AssessmentResult *string `json:"assessment_result,omitempty"` // 试用期考核结果 AssessmentScore *float64 `json:"assessment_score,omitempty"` // 考核得分 AssessmentGrade *string `json:"assessment_grade,omitempty"` // 试用期考核等级 AssessmentComment *string `json:"assessment_comment,omitempty"` // 考核评语 AssessmentDetail *string `json:"assessment_detail,omitempty"` // 考核结果页面超链接 IsFinalAsssessment *bool `json:"is_final_asssessment,omitempty"` // 是否为最终考核结果 }
type AssessmentForCreateBuilder ¶
type AssessmentForCreateBuilder struct {
// contains filtered or unexported fields
}
func NewAssessmentForCreateBuilder ¶
func NewAssessmentForCreateBuilder() *AssessmentForCreateBuilder
func (*AssessmentForCreateBuilder) AssessmentComment ¶
func (builder *AssessmentForCreateBuilder) AssessmentComment(assessmentComment string) *AssessmentForCreateBuilder
考核评语
示例值:超出预期
func (*AssessmentForCreateBuilder) AssessmentDetail ¶
func (builder *AssessmentForCreateBuilder) AssessmentDetail(assessmentDetail string) *AssessmentForCreateBuilder
考核结果页面超链接
示例值:暂无示例
func (*AssessmentForCreateBuilder) AssessmentGrade ¶
func (builder *AssessmentForCreateBuilder) AssessmentGrade(assessmentGrade string) *AssessmentForCreateBuilder
试用期考核等级
示例值:grade_a
func (*AssessmentForCreateBuilder) AssessmentResult ¶
func (builder *AssessmentForCreateBuilder) AssessmentResult(assessmentResult string) *AssessmentForCreateBuilder
试用期考核结果
示例值:approved
func (*AssessmentForCreateBuilder) AssessmentScore ¶
func (builder *AssessmentForCreateBuilder) AssessmentScore(assessmentScore float64) *AssessmentForCreateBuilder
考核得分
示例值:99.9
func (*AssessmentForCreateBuilder) AssessmentStatus ¶
func (builder *AssessmentForCreateBuilder) AssessmentStatus(assessmentStatus string) *AssessmentForCreateBuilder
考核状态
示例值:completed
func (*AssessmentForCreateBuilder) Build ¶
func (builder *AssessmentForCreateBuilder) Build() *AssessmentForCreate
func (*AssessmentForCreateBuilder) IsFinalAsssessment ¶
func (builder *AssessmentForCreateBuilder) IsFinalAsssessment(isFinalAsssessment bool) *AssessmentForCreateBuilder
是否为最终考核结果
示例值:false
type Bank ¶
type Bank struct { BankId *string `json:"bank_id,omitempty"` // 银行 ID BankName []*I18n `json:"bank_name,omitempty"` // 银行名称 BankCode *string `json:"bank_code,omitempty"` // 总行代码 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家 / 地区 ID ,可通过【查询单条国家/地区信息】 接口查询 Status *int `json:"status,omitempty"` // 状态 }
type BankAccount ¶
type BankAccount struct { BankName *string `json:"bank_name,omitempty"` // 银行名称 BankAccountNumber *string `json:"bank_account_number,omitempty"` // 银行账号 AccountHolder *string `json:"account_holder,omitempty"` // 开户人姓名 BranchName *string `json:"branch_name,omitempty"` // 支行名称 BankIdV2 *string `json:"bank_id_v2,omitempty"` // 银行 ID,详细信息可通过【查询银行信息】接口查询获得 BranchIdV2 *string `json:"branch_id_v2,omitempty"` // 支行 ID,要求必须为填入银行的支行,详细信息可通过【查询支行信息】接口查询获得 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得 BankAccountUsage []*Enum `json:"bank_account_usage,omitempty"` // 银行卡用途,枚举值可通过文档【飞书人事枚举常量】银行卡用途(Bank Account Usage)枚举定义部分获得 BankAccountType *Enum `json:"bank_account_type,omitempty"` // 银行卡类型,枚举值可通过文档【飞书人事枚举常量】银行卡类型(Bank Account Type)枚举定义部分获得 CurrencyId *string `json:"currency_id,omitempty"` // 货币id IBAN *string `json:"IBAN,omitempty"` // 国际银行账号 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type BankAccountBuilder ¶
type BankAccountBuilder struct {
// contains filtered or unexported fields
}
func NewBankAccountBuilder ¶
func NewBankAccountBuilder() *BankAccountBuilder
func (*BankAccountBuilder) AccountHolder ¶
func (builder *BankAccountBuilder) AccountHolder(accountHolder string) *BankAccountBuilder
开户人姓名
示例值:孟十五
func (*BankAccountBuilder) BankAccountNumber ¶
func (builder *BankAccountBuilder) BankAccountNumber(bankAccountNumber string) *BankAccountBuilder
银行账号
示例值:6231200000001223
func (*BankAccountBuilder) BankAccountType ¶
func (builder *BankAccountBuilder) BankAccountType(bankAccountType *Enum) *BankAccountBuilder
银行卡类型,枚举值可通过文档【飞书人事枚举常量】银行卡类型(Bank Account Type)枚举定义部分获得
示例值:
func (*BankAccountBuilder) BankAccountUsage ¶
func (builder *BankAccountBuilder) BankAccountUsage(bankAccountUsage []*Enum) *BankAccountBuilder
银行卡用途,枚举值可通过文档【飞书人事枚举常量】银行卡用途(Bank Account Usage)枚举定义部分获得
示例值:
func (*BankAccountBuilder) BankIdV2 ¶ added in v3.1.2
func (builder *BankAccountBuilder) BankIdV2(bankIdV2 string) *BankAccountBuilder
银行 ID,详细信息可通过【查询银行信息】接口查询获得
示例值:MDBH00000001
func (*BankAccountBuilder) BankName ¶
func (builder *BankAccountBuilder) BankName(bankName string) *BankAccountBuilder
银行名称
示例值:中国农业银行
func (*BankAccountBuilder) BranchIdV2 ¶ added in v3.1.2
func (builder *BankAccountBuilder) BranchIdV2(branchIdV2 string) *BankAccountBuilder
支行 ID,要求必须为填入银行的支行,详细信息可通过【查询支行信息】接口查询获得
示例值:MDBK00000017
func (*BankAccountBuilder) BranchName ¶
func (builder *BankAccountBuilder) BranchName(branchName string) *BankAccountBuilder
支行名称
示例值:中国农业银行支行
func (*BankAccountBuilder) Build ¶
func (builder *BankAccountBuilder) Build() *BankAccount
func (*BankAccountBuilder) CountryRegionId ¶
func (builder *BankAccountBuilder) CountryRegionId(countryRegionId string) *BankAccountBuilder
国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得
示例值:12
func (*BankAccountBuilder) CurrencyId ¶
func (builder *BankAccountBuilder) CurrencyId(currencyId string) *BankAccountBuilder
货币id
示例值:12QueryCountryRegionSubdivisionDataReq
func (*BankAccountBuilder) CustomFields ¶
func (builder *BankAccountBuilder) CustomFields(customFields []*CustomFieldData) *BankAccountBuilder
自定义字段
示例值:
func (*BankAccountBuilder) IBAN ¶
func (builder *BankAccountBuilder) IBAN(iBAN string) *BankAccountBuilder
国际银行账号
示例值:CH56 0483 5012 3456 7800 9
type BankBranch ¶
type BankBranch struct { BankBranchId *string `json:"bank_branch_id,omitempty"` // 支行 ID BankBranchName []*I18n `json:"bank_branch_name,omitempty"` // 支行名称 BankId *string `json:"bank_id,omitempty"` // 所属银行 ID,可通过【查询银行信息】接口查询 Code *string `json:"code,omitempty"` // 金融分支机构编码 SwiftCode *string `json:"swift_code,omitempty"` // 银行代码 Status *int `json:"status,omitempty"` // 状态 }
type BankBranchBuilder ¶
type BankBranchBuilder struct {
// contains filtered or unexported fields
}
func NewBankBranchBuilder ¶
func NewBankBranchBuilder() *BankBranchBuilder
func (*BankBranchBuilder) BankBranchId ¶
func (builder *BankBranchBuilder) BankBranchId(bankBranchId string) *BankBranchBuilder
支行 ID
示例值:6893014062142064111
func (*BankBranchBuilder) BankBranchName ¶
func (builder *BankBranchBuilder) BankBranchName(bankBranchName []*I18n) *BankBranchBuilder
支行名称
示例值:
func (*BankBranchBuilder) BankId ¶
func (builder *BankBranchBuilder) BankId(bankId string) *BankBranchBuilder
所属银行 ID,可通过【查询银行信息】接口查询
示例值:6893011062142064111
func (*BankBranchBuilder) Build ¶
func (builder *BankBranchBuilder) Build() *BankBranch
func (*BankBranchBuilder) Code ¶
func (builder *BankBranchBuilder) Code(code string) *BankBranchBuilder
金融分支机构编码
示例值:201
func (*BankBranchBuilder) Status ¶
func (builder *BankBranchBuilder) Status(status int) *BankBranchBuilder
状态
示例值:1
func (*BankBranchBuilder) SwiftCode ¶
func (builder *BankBranchBuilder) SwiftCode(swiftCode string) *BankBranchBuilder
银行代码
示例值:PBOCCNBJ
type BankBuilder ¶
type BankBuilder struct {
// contains filtered or unexported fields
}
func NewBankBuilder ¶
func NewBankBuilder() *BankBuilder
func (*BankBuilder) BankCode ¶
func (builder *BankBuilder) BankCode(bankCode string) *BankBuilder
总行代码
示例值:BKCH
func (*BankBuilder) BankId ¶
func (builder *BankBuilder) BankId(bankId string) *BankBuilder
银行 ID
示例值:6893014062142064135
func (*BankBuilder) BankName ¶
func (builder *BankBuilder) BankName(bankName []*I18n) *BankBuilder
银行名称
示例值:
func (*BankBuilder) Build ¶
func (builder *BankBuilder) Build() *Bank
func (*BankBuilder) CountryRegionId ¶
func (builder *BankBuilder) CountryRegionId(countryRegionId string) *BankBuilder
国家 / 地区 ID ,可通过【查询单条国家/地区信息】 接口查询
示例值:6893014062142064133
type BasicDepartment ¶
type BasicDepartmentBuilder ¶
type BasicDepartmentBuilder struct {
// contains filtered or unexported fields
}
func NewBasicDepartmentBuilder ¶
func NewBasicDepartmentBuilder() *BasicDepartmentBuilder
func (*BasicDepartmentBuilder) Build ¶
func (builder *BasicDepartmentBuilder) Build() *BasicDepartment
func (*BasicDepartmentBuilder) DepartmentName ¶
func (builder *BasicDepartmentBuilder) DepartmentName(departmentName []*I18n) *BasicDepartmentBuilder
部门名称
示例值:
func (*BasicDepartmentBuilder) Id ¶
func (builder *BasicDepartmentBuilder) Id(id string) *BasicDepartmentBuilder
部门 ID
示例值:4719456877659520852
type BasicEmployee ¶
type BasicEmployee struct { EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID EmployeeNumber *string `json:"employee_number,omitempty"` // 工号 EmailAddress *string `json:"email_address,omitempty"` // 邮箱地址 PersonInfo *BasicPersonInfo `json:"person_info,omitempty"` // 基本个人信息 }
type BasicEmployeeBuilder ¶
type BasicEmployeeBuilder struct {
// contains filtered or unexported fields
}
func NewBasicEmployeeBuilder ¶
func NewBasicEmployeeBuilder() *BasicEmployeeBuilder
func (*BasicEmployeeBuilder) Build ¶
func (builder *BasicEmployeeBuilder) Build() *BasicEmployee
func (*BasicEmployeeBuilder) EmailAddress ¶
func (builder *BasicEmployeeBuilder) EmailAddress(emailAddress string) *BasicEmployeeBuilder
邮箱地址
示例值:test@163.com
func (*BasicEmployeeBuilder) EmployeeNumber ¶
func (builder *BasicEmployeeBuilder) EmployeeNumber(employeeNumber string) *BasicEmployeeBuilder
工号
示例值:1000000
func (*BasicEmployeeBuilder) EmploymentId ¶
func (builder *BasicEmployeeBuilder) EmploymentId(employmentId string) *BasicEmployeeBuilder
雇佣 ID
示例值:6893014062142064135
func (*BasicEmployeeBuilder) PersonInfo ¶
func (builder *BasicEmployeeBuilder) PersonInfo(personInfo *BasicPersonInfo) *BasicEmployeeBuilder
基本个人信息
示例值:
type BasicInfo ¶
type BasicInfo struct { Name *Name `json:"name,omitempty"` // 描述 PhoneNumber *string `json:"phone_number,omitempty"` // 手机号 InternationalAreaCode *string `json:"international_area_code,omitempty"` // 区号 Email *string `json:"email,omitempty"` // 个人邮箱 DateOfBirth *string `json:"date_of_birth,omitempty"` // 生日 PersonalIdNumber *string `json:"personal_id_number,omitempty"` // 证件号 DateEnteredWorkforce *string `json:"date_entered_workforce,omitempty"` // 参加工作日期 GenderId *string `json:"gender_id,omitempty"` // 性别 NationalityId *string `json:"nationality_id,omitempty"` // 国籍 AdditionalNationalityIdList []string `json:"additional_nationality_id_list,omitempty"` // 其他国籍 CitizenshipStatusIdList []string `json:"citizenship_status_id_list,omitempty"` // 公民身份 HomeAddress *string `json:"home_address,omitempty"` // 家庭地址 WorkerId *string `json:"worker_id,omitempty"` // 人员编号 }
type BasicInfoBuilder ¶
type BasicInfoBuilder struct {
// contains filtered or unexported fields
}
func NewBasicInfoBuilder ¶
func NewBasicInfoBuilder() *BasicInfoBuilder
func (*BasicInfoBuilder) AdditionalNationalityIdList ¶ added in v3.2.0
func (builder *BasicInfoBuilder) AdditionalNationalityIdList(additionalNationalityIdList []string) *BasicInfoBuilder
其他国籍
示例值:[6862995757234914824]
func (*BasicInfoBuilder) Build ¶
func (builder *BasicInfoBuilder) Build() *BasicInfo
func (*BasicInfoBuilder) CitizenshipStatusIdList ¶ added in v3.2.0
func (builder *BasicInfoBuilder) CitizenshipStatusIdList(citizenshipStatusIdList []string) *BasicInfoBuilder
公民身份
示例值:[6862995757234914824]
func (*BasicInfoBuilder) DateEnteredWorkforce ¶
func (builder *BasicInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *BasicInfoBuilder
参加工作日期
示例值:2100-09-09
func (*BasicInfoBuilder) DateOfBirth ¶
func (builder *BasicInfoBuilder) DateOfBirth(dateOfBirth string) *BasicInfoBuilder
生日
示例值:2011-99-99
func (*BasicInfoBuilder) Email ¶
func (builder *BasicInfoBuilder) Email(email string) *BasicInfoBuilder
个人邮箱
示例值:xx@xx.com
func (*BasicInfoBuilder) GenderId ¶
func (builder *BasicInfoBuilder) GenderId(genderId string) *BasicInfoBuilder
性别
示例值:male
func (*BasicInfoBuilder) HomeAddress ¶
func (builder *BasicInfoBuilder) HomeAddress(homeAddress string) *BasicInfoBuilder
家庭地址
示例值:home addr
func (*BasicInfoBuilder) InternationalAreaCode ¶
func (builder *BasicInfoBuilder) InternationalAreaCode(internationalAreaCode string) *BasicInfoBuilder
区号
示例值:86_china
func (*BasicInfoBuilder) Name ¶
func (builder *BasicInfoBuilder) Name(name *Name) *BasicInfoBuilder
描述
示例值:
func (*BasicInfoBuilder) NationalityId ¶
func (builder *BasicInfoBuilder) NationalityId(nationalityId string) *BasicInfoBuilder
国籍
示例值:6862995757234914824
func (*BasicInfoBuilder) PersonalIdNumber ¶
func (builder *BasicInfoBuilder) PersonalIdNumber(personalIdNumber string) *BasicInfoBuilder
证件号
示例值:31123127
func (*BasicInfoBuilder) PhoneNumber ¶
func (builder *BasicInfoBuilder) PhoneNumber(phoneNumber string) *BasicInfoBuilder
手机号
示例值:31123127
func (*BasicInfoBuilder) WorkerId ¶
func (builder *BasicInfoBuilder) WorkerId(workerId string) *BasicInfoBuilder
人员编号
示例值:6862995757234914824
type BasicJobData ¶
type BasicJobDataBuilder ¶
type BasicJobDataBuilder struct {
// contains filtered or unexported fields
}
func NewBasicJobDataBuilder ¶
func NewBasicJobDataBuilder() *BasicJobDataBuilder
func (*BasicJobDataBuilder) Build ¶
func (builder *BasicJobDataBuilder) Build() *BasicJobData
func (*BasicJobDataBuilder) EmploymentId ¶
func (builder *BasicJobDataBuilder) EmploymentId(employmentId string) *BasicJobDataBuilder
雇佣 ID
示例值:6893014062142064135
func (*BasicJobDataBuilder) JobDataId ¶
func (builder *BasicJobDataBuilder) JobDataId(jobDataId string) *BasicJobDataBuilder
任职信息 ID
示例值:1000000
type BasicPersonInfo ¶
type BasicPersonInfo struct { PersonId *string `json:"person_id,omitempty"` // 个人信息 ID PreferredName *string `json:"preferred_name,omitempty"` // 常用名 PreferredLocalFullName *string `json:"preferred_local_full_name,omitempty"` // 常用本地全名 PreferredEnglishFullName *string `json:"preferred_english_full_name,omitempty"` // 常用英文全名 }
type BasicPersonInfoBuilder ¶
type BasicPersonInfoBuilder struct {
// contains filtered or unexported fields
}
func NewBasicPersonInfoBuilder ¶
func NewBasicPersonInfoBuilder() *BasicPersonInfoBuilder
func (*BasicPersonInfoBuilder) Build ¶
func (builder *BasicPersonInfoBuilder) Build() *BasicPersonInfo
func (*BasicPersonInfoBuilder) PersonId ¶
func (builder *BasicPersonInfoBuilder) PersonId(personId string) *BasicPersonInfoBuilder
个人信息 ID
示例值:6919733936050406926
func (*BasicPersonInfoBuilder) PreferredEnglishFullName ¶
func (builder *BasicPersonInfoBuilder) PreferredEnglishFullName(preferredEnglishFullName string) *BasicPersonInfoBuilder
常用英文全名
示例值:Henry
func (*BasicPersonInfoBuilder) PreferredLocalFullName ¶
func (builder *BasicPersonInfoBuilder) PreferredLocalFullName(preferredLocalFullName string) *BasicPersonInfoBuilder
常用本地全名
示例值:刘梓新
func (*BasicPersonInfoBuilder) PreferredName ¶
func (builder *BasicPersonInfoBuilder) PreferredName(preferredName string) *BasicPersonInfoBuilder
常用名
示例值:刘梓新
type BatchGetCompanyPathReqBodyBuilder ¶
type BatchGetCompanyPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetCompanyPathReqBodyBuilder ¶
func NewBatchGetCompanyPathReqBodyBuilder() *BatchGetCompanyPathReqBodyBuilder
func (*BatchGetCompanyPathReqBodyBuilder) Build ¶
func (builder *BatchGetCompanyPathReqBodyBuilder) Build() (*BatchGetCompanyReqBody, error)
func (*BatchGetCompanyPathReqBodyBuilder) CompanyIds ¶
func (builder *BatchGetCompanyPathReqBodyBuilder) CompanyIds(companyIds []string) *BatchGetCompanyPathReqBodyBuilder
公司 ID 列表
示例值:
type BatchGetCompanyReq ¶
type BatchGetCompanyReq struct { Body *BatchGetCompanyReqBody `body:""` // contains filtered or unexported fields }
type BatchGetCompanyReqBody ¶
type BatchGetCompanyReqBody struct {
CompanyIds []string `json:"company_ids,omitempty"` // 公司 ID 列表
}
type BatchGetCompanyReqBodyBuilder ¶
type BatchGetCompanyReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetCompanyReqBodyBuilder ¶
func NewBatchGetCompanyReqBodyBuilder() *BatchGetCompanyReqBodyBuilder
func (*BatchGetCompanyReqBodyBuilder) Build ¶
func (builder *BatchGetCompanyReqBodyBuilder) Build() *BatchGetCompanyReqBody
func (*BatchGetCompanyReqBodyBuilder) CompanyIds ¶
func (builder *BatchGetCompanyReqBodyBuilder) CompanyIds(companyIds []string) *BatchGetCompanyReqBodyBuilder
公司 ID 列表
示例值:
type BatchGetCompanyReqBuilder ¶
type BatchGetCompanyReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetCompanyReqBuilder ¶
func NewBatchGetCompanyReqBuilder() *BatchGetCompanyReqBuilder
func (*BatchGetCompanyReqBuilder) Body ¶
func (builder *BatchGetCompanyReqBuilder) Body(body *BatchGetCompanyReqBody) *BatchGetCompanyReqBuilder
通过公司 ID 批量获取公司信息
func (*BatchGetCompanyReqBuilder) Build ¶
func (builder *BatchGetCompanyReqBuilder) Build() *BatchGetCompanyReq
type BatchGetCompanyResp ¶
type BatchGetCompanyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetCompanyRespData `json:"data"` // 业务数据 }
func (*BatchGetCompanyResp) Success ¶
func (resp *BatchGetCompanyResp) Success() bool
type BatchGetCompanyRespData ¶
type BatchGetCompanyRespData struct {
Items []*Company `json:"items,omitempty"` // 查询的公司信息
}
type BatchGetEmployeePathReqBodyBuilder ¶
type BatchGetEmployeePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeePathReqBodyBuilder ¶
func NewBatchGetEmployeePathReqBodyBuilder() *BatchGetEmployeePathReqBodyBuilder
func (*BatchGetEmployeePathReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeePathReqBodyBuilder) Build() (*BatchGetEmployeeReqBody, error)
func (*BatchGetEmployeePathReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeePathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeePathReqBodyBuilder
雇佣 ID 列表
示例值:
func (*BatchGetEmployeePathReqBodyBuilder) Fields ¶
func (builder *BatchGetEmployeePathReqBodyBuilder) Fields(fields []string) *BatchGetEmployeePathReqBodyBuilder
返回数据的字段列表,填写方式:为空时默认仅返回 ID
示例值:
func (*BatchGetEmployeePathReqBodyBuilder) PersonIds ¶
func (builder *BatchGetEmployeePathReqBodyBuilder) PersonIds(personIds []string) *BatchGetEmployeePathReqBodyBuilder
个人信息 ID 列表,employment_ids参数有值时该参数不生效
示例值:
func (*BatchGetEmployeePathReqBodyBuilder) WorkEmails ¶
func (builder *BatchGetEmployeePathReqBodyBuilder) WorkEmails(workEmails []string) *BatchGetEmployeePathReqBodyBuilder
主工作邮箱列表
示例值:
type BatchGetEmployeeReq ¶
type BatchGetEmployeeReq struct { Body *BatchGetEmployeeReqBody `body:""` // contains filtered or unexported fields }
type BatchGetEmployeeReqBody ¶
type BatchGetEmployeeReqBody struct { Fields []string `json:"fields,omitempty"` // 返回数据的字段列表,填写方式:为空时默认仅返回 ID EmploymentIds []string `json:"employment_ids,omitempty"` // 雇佣 ID 列表 PersonIds []string `json:"person_ids,omitempty"` // 个人信息 ID 列表,employment_ids参数有值时该参数不生效 WorkEmails []string `json:"work_emails,omitempty"` // 主工作邮箱列表 }
type BatchGetEmployeeReqBodyBuilder ¶
type BatchGetEmployeeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeeReqBodyBuilder ¶
func NewBatchGetEmployeeReqBodyBuilder() *BatchGetEmployeeReqBodyBuilder
func (*BatchGetEmployeeReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeeReqBodyBuilder) Build() *BatchGetEmployeeReqBody
func (*BatchGetEmployeeReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeeReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeeReqBodyBuilder
雇佣 ID 列表
示例值:
func (*BatchGetEmployeeReqBodyBuilder) Fields ¶
func (builder *BatchGetEmployeeReqBodyBuilder) Fields(fields []string) *BatchGetEmployeeReqBodyBuilder
返回数据的字段列表,填写方式:为空时默认仅返回 ID
示例值:
func (*BatchGetEmployeeReqBodyBuilder) PersonIds ¶
func (builder *BatchGetEmployeeReqBodyBuilder) PersonIds(personIds []string) *BatchGetEmployeeReqBodyBuilder
个人信息 ID 列表,employment_ids参数有值时该参数不生效
示例值:
func (*BatchGetEmployeeReqBodyBuilder) WorkEmails ¶
func (builder *BatchGetEmployeeReqBodyBuilder) WorkEmails(workEmails []string) *BatchGetEmployeeReqBodyBuilder
主工作邮箱列表
示例值:
type BatchGetEmployeeReqBuilder ¶
type BatchGetEmployeeReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeeReqBuilder ¶
func NewBatchGetEmployeeReqBuilder() *BatchGetEmployeeReqBuilder
func (*BatchGetEmployeeReqBuilder) Body ¶
func (builder *BatchGetEmployeeReqBuilder) Body(body *BatchGetEmployeeReqBody) *BatchGetEmployeeReqBuilder
通过员工 ID 批量获取员工信息
func (*BatchGetEmployeeReqBuilder) Build ¶
func (builder *BatchGetEmployeeReqBuilder) Build() *BatchGetEmployeeReq
func (*BatchGetEmployeeReqBuilder) DepartmentIdType ¶
func (builder *BatchGetEmployeeReqBuilder) DepartmentIdType(departmentIdType string) *BatchGetEmployeeReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*BatchGetEmployeeReqBuilder) UserIdType ¶
func (builder *BatchGetEmployeeReqBuilder) UserIdType(userIdType string) *BatchGetEmployeeReqBuilder
用户 ID 类型
示例值:open_id
type BatchGetEmployeeResp ¶
type BatchGetEmployeeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetEmployeeRespData `json:"data"` // 业务数据 }
func (*BatchGetEmployeeResp) Success ¶
func (resp *BatchGetEmployeeResp) Success() bool
type BatchGetEmployeeRespData ¶
type BatchGetEmployeeRespData struct {
Items []*Employee `json:"items,omitempty"` // 查询的雇佣信息
}
type BatchGetEmployeesBpPathReqBodyBuilder ¶
type BatchGetEmployeesBpPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesBpPathReqBodyBuilder ¶
func NewBatchGetEmployeesBpPathReqBodyBuilder() *BatchGetEmployeesBpPathReqBodyBuilder
func (*BatchGetEmployeesBpPathReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeesBpPathReqBodyBuilder) Build() (*BatchGetEmployeesBpReqBody, error)
func (*BatchGetEmployeesBpPathReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeesBpPathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesBpPathReqBodyBuilder
员工雇佣 ID
示例值:
func (*BatchGetEmployeesBpPathReqBodyBuilder) GetAll ¶
func (builder *BatchGetEmployeesBpPathReqBodyBuilder) GetAll(getAll bool) *BatchGetEmployeesBpPathReqBodyBuilder
是否获取全部 BP,true 为获取员工所在部门及来自上级部门的全部 HRBP 和属地 BP,false 为仅获取员工的直属 HRBP 和属地 BP(当员工所在部门、属地无 BP 时,会上钻找到最近的 BP),默认为 false
示例值:true
type BatchGetEmployeesBpReq ¶
type BatchGetEmployeesBpReq struct { Body *BatchGetEmployeesBpReqBody `body:""` // contains filtered or unexported fields }
type BatchGetEmployeesBpReqBodyBuilder ¶
type BatchGetEmployeesBpReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesBpReqBodyBuilder ¶
func NewBatchGetEmployeesBpReqBodyBuilder() *BatchGetEmployeesBpReqBodyBuilder
func (*BatchGetEmployeesBpReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeesBpReqBodyBuilder) Build() *BatchGetEmployeesBpReqBody
func (*BatchGetEmployeesBpReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeesBpReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesBpReqBodyBuilder
员工雇佣 ID
示例值:
func (*BatchGetEmployeesBpReqBodyBuilder) GetAll ¶
func (builder *BatchGetEmployeesBpReqBodyBuilder) GetAll(getAll bool) *BatchGetEmployeesBpReqBodyBuilder
是否获取全部 BP,true 为获取员工所在部门及来自上级部门的全部 HRBP 和属地 BP,false 为仅获取员工的直属 HRBP 和属地 BP(当员工所在部门、属地无 BP 时,会上钻找到最近的 BP),默认为 false
示例值:true
type BatchGetEmployeesBpReqBuilder ¶
type BatchGetEmployeesBpReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesBpReqBuilder ¶
func NewBatchGetEmployeesBpReqBuilder() *BatchGetEmployeesBpReqBuilder
func (*BatchGetEmployeesBpReqBuilder) Body ¶
func (builder *BatchGetEmployeesBpReqBuilder) Body(body *BatchGetEmployeesBpReqBody) *BatchGetEmployeesBpReqBuilder
func (*BatchGetEmployeesBpReqBuilder) Build ¶
func (builder *BatchGetEmployeesBpReqBuilder) Build() *BatchGetEmployeesBpReq
func (*BatchGetEmployeesBpReqBuilder) UserIdType ¶
func (builder *BatchGetEmployeesBpReqBuilder) UserIdType(userIdType string) *BatchGetEmployeesBpReqBuilder
用户 ID 类型
示例值:open_id
type BatchGetEmployeesBpResp ¶
type BatchGetEmployeesBpResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetEmployeesBpRespData `json:"data"` // 业务数据 }
func (*BatchGetEmployeesBpResp) Success ¶
func (resp *BatchGetEmployeesBpResp) Success() bool
type BatchGetEmployeesBpRespData ¶
type BatchGetEmployeesBpRespData struct { EmploymentDirectBps []*EmploymentBp `json:"employment_direct_bps,omitempty"` // 员工直属 BP 信息,当员工所在部门、属地无 BP 时,会上钻找到最近的 BP EmploymentAllBps []*EmploymentBp `json:"employment_all_bps,omitempty"` // 员工全部 BP 信息 }
type BatchGetEmployeesJobDataPathReqBodyBuilder ¶
type BatchGetEmployeesJobDataPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesJobDataPathReqBodyBuilder ¶
func NewBatchGetEmployeesJobDataPathReqBodyBuilder() *BatchGetEmployeesJobDataPathReqBodyBuilder
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) Build() (*BatchGetEmployeesJobDataReqBody, error)
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) DataDate ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) DataDate(dataDate string) *BatchGetEmployeesJobDataPathReqBodyBuilder
查看数据日期,默认为今天
示例值:2020-01-01
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *BatchGetEmployeesJobDataPathReqBodyBuilder
生效日期 - 搜索范围结束
示例值:2020-01-01
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *BatchGetEmployeesJobDataPathReqBodyBuilder
生效日期 - 搜索范围开始
示例值:2020-01-01
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesJobDataPathReqBodyBuilder
员工雇佣 ID 列表
示例值:
func (*BatchGetEmployeesJobDataPathReqBodyBuilder) GetAllVersion ¶
func (builder *BatchGetEmployeesJobDataPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *BatchGetEmployeesJobDataPathReqBodyBuilder
是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false
示例值:false
type BatchGetEmployeesJobDataReq ¶
type BatchGetEmployeesJobDataReq struct { Body *BatchGetEmployeesJobDataReqBody `body:""` // contains filtered or unexported fields }
type BatchGetEmployeesJobDataReqBody ¶
type BatchGetEmployeesJobDataReqBody struct { EmploymentIds []string `json:"employment_ids,omitempty"` // 员工雇佣 ID 列表 GetAllVersion *bool `json:"get_all_version,omitempty"` // 是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false EffectiveDateStart *string `json:"effective_date_start,omitempty"` // 生效日期 - 搜索范围开始 EffectiveDateEnd *string `json:"effective_date_end,omitempty"` // 生效日期 - 搜索范围结束 DataDate *string `json:"data_date,omitempty"` // 查看数据日期,默认为今天 }
type BatchGetEmployeesJobDataReqBodyBuilder ¶
type BatchGetEmployeesJobDataReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesJobDataReqBodyBuilder ¶
func NewBatchGetEmployeesJobDataReqBodyBuilder() *BatchGetEmployeesJobDataReqBodyBuilder
func (*BatchGetEmployeesJobDataReqBodyBuilder) Build ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) Build() *BatchGetEmployeesJobDataReqBody
func (*BatchGetEmployeesJobDataReqBodyBuilder) DataDate ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) DataDate(dataDate string) *BatchGetEmployeesJobDataReqBodyBuilder
查看数据日期,默认为今天
示例值:2020-01-01
func (*BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateEnd ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *BatchGetEmployeesJobDataReqBodyBuilder
生效日期 - 搜索范围结束
示例值:2020-01-01
func (*BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateStart ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *BatchGetEmployeesJobDataReqBodyBuilder
生效日期 - 搜索范围开始
示例值:2020-01-01
func (*BatchGetEmployeesJobDataReqBodyBuilder) EmploymentIds ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) EmploymentIds(employmentIds []string) *BatchGetEmployeesJobDataReqBodyBuilder
员工雇佣 ID 列表
示例值:
func (*BatchGetEmployeesJobDataReqBodyBuilder) GetAllVersion ¶
func (builder *BatchGetEmployeesJobDataReqBodyBuilder) GetAllVersion(getAllVersion bool) *BatchGetEmployeesJobDataReqBodyBuilder
是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false
示例值:false
type BatchGetEmployeesJobDataReqBuilder ¶
type BatchGetEmployeesJobDataReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetEmployeesJobDataReqBuilder ¶
func NewBatchGetEmployeesJobDataReqBuilder() *BatchGetEmployeesJobDataReqBuilder
func (*BatchGetEmployeesJobDataReqBuilder) Body ¶
func (builder *BatchGetEmployeesJobDataReqBuilder) Body(body *BatchGetEmployeesJobDataReqBody) *BatchGetEmployeesJobDataReqBuilder
func (*BatchGetEmployeesJobDataReqBuilder) Build ¶
func (builder *BatchGetEmployeesJobDataReqBuilder) Build() *BatchGetEmployeesJobDataReq
func (*BatchGetEmployeesJobDataReqBuilder) DepartmentIdType ¶
func (builder *BatchGetEmployeesJobDataReqBuilder) DepartmentIdType(departmentIdType string) *BatchGetEmployeesJobDataReqBuilder
此次调用中使用的部门 ID 类型
示例值:people_corehr_department_id
func (*BatchGetEmployeesJobDataReqBuilder) UserIdType ¶
func (builder *BatchGetEmployeesJobDataReqBuilder) UserIdType(userIdType string) *BatchGetEmployeesJobDataReqBuilder
用户 ID 类型
示例值:open_id
type BatchGetEmployeesJobDataResp ¶
type BatchGetEmployeesJobDataResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetEmployeesJobDataRespData `json:"data"` // 业务数据 }
func (*BatchGetEmployeesJobDataResp) Success ¶
func (resp *BatchGetEmployeesJobDataResp) Success() bool
type BatchGetEmployeesJobDataRespData ¶
type BatchGetEmployeesJobDataRespData struct {
Items []*EmployeeJobData `json:"items,omitempty"` // 查询的雇佣信息
}
type BatchGetJobFamilyPathReqBodyBuilder ¶
type BatchGetJobFamilyPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobFamilyPathReqBodyBuilder ¶
func NewBatchGetJobFamilyPathReqBodyBuilder() *BatchGetJobFamilyPathReqBodyBuilder
func (*BatchGetJobFamilyPathReqBodyBuilder) Build ¶
func (builder *BatchGetJobFamilyPathReqBodyBuilder) Build() (*BatchGetJobFamilyReqBody, error)
func (*BatchGetJobFamilyPathReqBodyBuilder) JobFamilyIds ¶
func (builder *BatchGetJobFamilyPathReqBodyBuilder) JobFamilyIds(jobFamilyIds []string) *BatchGetJobFamilyPathReqBodyBuilder
序列 ID 列表
示例值:
type BatchGetJobFamilyReq ¶
type BatchGetJobFamilyReq struct { Body *BatchGetJobFamilyReqBody `body:""` // contains filtered or unexported fields }
type BatchGetJobFamilyReqBody ¶
type BatchGetJobFamilyReqBody struct {
JobFamilyIds []string `json:"job_family_ids,omitempty"` // 序列 ID 列表
}
type BatchGetJobFamilyReqBodyBuilder ¶
type BatchGetJobFamilyReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobFamilyReqBodyBuilder ¶
func NewBatchGetJobFamilyReqBodyBuilder() *BatchGetJobFamilyReqBodyBuilder
func (*BatchGetJobFamilyReqBodyBuilder) Build ¶
func (builder *BatchGetJobFamilyReqBodyBuilder) Build() *BatchGetJobFamilyReqBody
func (*BatchGetJobFamilyReqBodyBuilder) JobFamilyIds ¶
func (builder *BatchGetJobFamilyReqBodyBuilder) JobFamilyIds(jobFamilyIds []string) *BatchGetJobFamilyReqBodyBuilder
序列 ID 列表
示例值:
type BatchGetJobFamilyReqBuilder ¶
type BatchGetJobFamilyReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobFamilyReqBuilder ¶
func NewBatchGetJobFamilyReqBuilder() *BatchGetJobFamilyReqBuilder
func (*BatchGetJobFamilyReqBuilder) Body ¶
func (builder *BatchGetJobFamilyReqBuilder) Body(body *BatchGetJobFamilyReqBody) *BatchGetJobFamilyReqBuilder
通过序列 ID 批量获取序列信息
func (*BatchGetJobFamilyReqBuilder) Build ¶
func (builder *BatchGetJobFamilyReqBuilder) Build() *BatchGetJobFamilyReq
type BatchGetJobFamilyResp ¶
type BatchGetJobFamilyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetJobFamilyRespData `json:"data"` // 业务数据 }
func (*BatchGetJobFamilyResp) Success ¶
func (resp *BatchGetJobFamilyResp) Success() bool
type BatchGetJobFamilyRespData ¶
type BatchGetJobFamilyRespData struct {
Items []*JobFamily `json:"items,omitempty"` // 查询的序列信息
}
type BatchGetJobLevelPathReqBodyBuilder ¶
type BatchGetJobLevelPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobLevelPathReqBodyBuilder ¶
func NewBatchGetJobLevelPathReqBodyBuilder() *BatchGetJobLevelPathReqBodyBuilder
func (*BatchGetJobLevelPathReqBodyBuilder) Build ¶
func (builder *BatchGetJobLevelPathReqBodyBuilder) Build() (*BatchGetJobLevelReqBody, error)
func (*BatchGetJobLevelPathReqBodyBuilder) JobLevelIds ¶
func (builder *BatchGetJobLevelPathReqBodyBuilder) JobLevelIds(jobLevelIds []string) *BatchGetJobLevelPathReqBodyBuilder
职级 ID 列表
示例值:
type BatchGetJobLevelReq ¶
type BatchGetJobLevelReq struct { Body *BatchGetJobLevelReqBody `body:""` // contains filtered or unexported fields }
type BatchGetJobLevelReqBody ¶
type BatchGetJobLevelReqBody struct {
JobLevelIds []string `json:"job_level_ids,omitempty"` // 职级 ID 列表
}
type BatchGetJobLevelReqBodyBuilder ¶
type BatchGetJobLevelReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobLevelReqBodyBuilder ¶
func NewBatchGetJobLevelReqBodyBuilder() *BatchGetJobLevelReqBodyBuilder
func (*BatchGetJobLevelReqBodyBuilder) Build ¶
func (builder *BatchGetJobLevelReqBodyBuilder) Build() *BatchGetJobLevelReqBody
func (*BatchGetJobLevelReqBodyBuilder) JobLevelIds ¶
func (builder *BatchGetJobLevelReqBodyBuilder) JobLevelIds(jobLevelIds []string) *BatchGetJobLevelReqBodyBuilder
职级 ID 列表
示例值:
type BatchGetJobLevelReqBuilder ¶
type BatchGetJobLevelReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetJobLevelReqBuilder ¶
func NewBatchGetJobLevelReqBuilder() *BatchGetJobLevelReqBuilder
func (*BatchGetJobLevelReqBuilder) Body ¶
func (builder *BatchGetJobLevelReqBuilder) Body(body *BatchGetJobLevelReqBody) *BatchGetJobLevelReqBuilder
通过职级 ID 批量获取职级信息
func (*BatchGetJobLevelReqBuilder) Build ¶
func (builder *BatchGetJobLevelReqBuilder) Build() *BatchGetJobLevelReq
type BatchGetJobLevelResp ¶
type BatchGetJobLevelResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetJobLevelRespData `json:"data"` // 业务数据 }
func (*BatchGetJobLevelResp) Success ¶
func (resp *BatchGetJobLevelResp) Success() bool
type BatchGetJobLevelRespData ¶
type BatchGetJobLevelRespData struct {
Items []*JobLevel `json:"items,omitempty"` // 查询的职级信息
}
type BatchGetLocationPathReqBodyBuilder ¶
type BatchGetLocationPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetLocationPathReqBodyBuilder ¶
func NewBatchGetLocationPathReqBodyBuilder() *BatchGetLocationPathReqBodyBuilder
func (*BatchGetLocationPathReqBodyBuilder) Build ¶
func (builder *BatchGetLocationPathReqBodyBuilder) Build() (*BatchGetLocationReqBody, error)
func (*BatchGetLocationPathReqBodyBuilder) LocationIds ¶
func (builder *BatchGetLocationPathReqBodyBuilder) LocationIds(locationIds []string) *BatchGetLocationPathReqBodyBuilder
地点 ID 列表
示例值:
type BatchGetLocationReq ¶
type BatchGetLocationReq struct { Body *BatchGetLocationReqBody `body:""` // contains filtered or unexported fields }
type BatchGetLocationReqBody ¶
type BatchGetLocationReqBody struct {
LocationIds []string `json:"location_ids,omitempty"` // 地点 ID 列表
}
type BatchGetLocationReqBodyBuilder ¶
type BatchGetLocationReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetLocationReqBodyBuilder ¶
func NewBatchGetLocationReqBodyBuilder() *BatchGetLocationReqBodyBuilder
func (*BatchGetLocationReqBodyBuilder) Build ¶
func (builder *BatchGetLocationReqBodyBuilder) Build() *BatchGetLocationReqBody
func (*BatchGetLocationReqBodyBuilder) LocationIds ¶
func (builder *BatchGetLocationReqBodyBuilder) LocationIds(locationIds []string) *BatchGetLocationReqBodyBuilder
地点 ID 列表
示例值:
type BatchGetLocationReqBuilder ¶
type BatchGetLocationReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetLocationReqBuilder ¶
func NewBatchGetLocationReqBuilder() *BatchGetLocationReqBuilder
func (*BatchGetLocationReqBuilder) Body ¶
func (builder *BatchGetLocationReqBuilder) Body(body *BatchGetLocationReqBody) *BatchGetLocationReqBuilder
通过地点 ID 批量获取地点信息
func (*BatchGetLocationReqBuilder) Build ¶
func (builder *BatchGetLocationReqBuilder) Build() *BatchGetLocationReq
type BatchGetLocationResp ¶
type BatchGetLocationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetLocationRespData `json:"data"` // 业务数据 }
func (*BatchGetLocationResp) Success ¶
func (resp *BatchGetLocationResp) Success() bool
type BatchGetLocationRespData ¶
type BatchGetLocationRespData struct {
Items []*Location `json:"items,omitempty"` // 查询的地点信息
}
type BpBuilder ¶
type BpBuilder struct {
// contains filtered or unexported fields
}
func NewBpBuilder ¶
func NewBpBuilder() *BpBuilder
type BpmDataengineI18n ¶ added in v3.2.1
type BpmDataengineI18nBuilder ¶ added in v3.2.1
type BpmDataengineI18nBuilder struct {
// contains filtered or unexported fields
}
func NewBpmDataengineI18nBuilder ¶ added in v3.2.1
func NewBpmDataengineI18nBuilder() *BpmDataengineI18nBuilder
func (*BpmDataengineI18nBuilder) Build ¶ added in v3.2.1
func (builder *BpmDataengineI18nBuilder) Build() *BpmDataengineI18n
func (*BpmDataengineI18nBuilder) EnUs ¶ added in v3.2.1
func (builder *BpmDataengineI18nBuilder) EnUs(enUs string) *BpmDataengineI18nBuilder
i18n类型字段,英文值
示例值:en_us
func (*BpmDataengineI18nBuilder) ZhCn ¶ added in v3.2.1
func (builder *BpmDataengineI18nBuilder) ZhCn(zhCn string) *BpmDataengineI18nBuilder
i18n类型字段,中文值
示例值:zh_cn
type CalculateParam ¶
type CalculateParam struct { DepartmentId *string `json:"department_id,omitempty"` // 部门 ID EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 ID WorkLocationId *string `json:"work_location_id,omitempty"` // 工作地点 ID SocialSecurityCityId *string `json:"social_security_city_id,omitempty"` // 社保公积金缴纳地 ID JobFamilyId *string `json:"job_family_id,omitempty"` // 序列 ID JobLevelId *string `json:"job_level_id,omitempty"` // 职级 ID JobId *string `json:"job_id,omitempty"` // 职务 ID MatchingRuleDimension []*DimensionValue `json:"matching_rule_dimension,omitempty"` // 人员自定义字段 }
type CalculateParamBuilder ¶
type CalculateParamBuilder struct {
// contains filtered or unexported fields
}
func NewCalculateParamBuilder ¶
func NewCalculateParamBuilder() *CalculateParamBuilder
func (*CalculateParamBuilder) Build ¶
func (builder *CalculateParamBuilder) Build() *CalculateParam
func (*CalculateParamBuilder) DepartmentId ¶
func (builder *CalculateParamBuilder) DepartmentId(departmentId string) *CalculateParamBuilder
部门 ID
示例值:slnkdnaklsnda
func (*CalculateParamBuilder) EmployeeTypeId ¶
func (builder *CalculateParamBuilder) EmployeeTypeId(employeeTypeId string) *CalculateParamBuilder
人员类型 ID
示例值:kajsdnjasdn
func (*CalculateParamBuilder) JobFamilyId ¶
func (builder *CalculateParamBuilder) JobFamilyId(jobFamilyId string) *CalculateParamBuilder
序列 ID
示例值:bjlsadnas
func (*CalculateParamBuilder) JobId ¶
func (builder *CalculateParamBuilder) JobId(jobId string) *CalculateParamBuilder
职务 ID
示例值:dsandkjanjnda
func (*CalculateParamBuilder) JobLevelId ¶
func (builder *CalculateParamBuilder) JobLevelId(jobLevelId string) *CalculateParamBuilder
职级 ID
示例值:dsadamkdq
func (*CalculateParamBuilder) MatchingRuleDimension ¶
func (builder *CalculateParamBuilder) MatchingRuleDimension(matchingRuleDimension []*DimensionValue) *CalculateParamBuilder
人员自定义字段
示例值:
func (*CalculateParamBuilder) SocialSecurityCityId ¶
func (builder *CalculateParamBuilder) SocialSecurityCityId(socialSecurityCityId string) *CalculateParamBuilder
社保公积金缴纳地 ID
示例值:dsalndlnasl
func (*CalculateParamBuilder) WorkLocationId ¶
func (builder *CalculateParamBuilder) WorkLocationId(workLocationId string) *CalculateParamBuilder
工作地点 ID
示例值:asbjldasnjdlwa
type ChangeFieldPair ¶
type ChangeFieldPair struct { OriginValue *CustomFieldData `json:"origin_value,omitempty"` // 调整前 TargetValue *CustomFieldData `json:"target_value,omitempty"` // 调整后 }
type ChangeFieldPairBuilder ¶
type ChangeFieldPairBuilder struct {
// contains filtered or unexported fields
}
func NewChangeFieldPairBuilder ¶
func NewChangeFieldPairBuilder() *ChangeFieldPairBuilder
func (*ChangeFieldPairBuilder) Build ¶
func (builder *ChangeFieldPairBuilder) Build() *ChangeFieldPair
func (*ChangeFieldPairBuilder) OriginValue ¶
func (builder *ChangeFieldPairBuilder) OriginValue(originValue *CustomFieldData) *ChangeFieldPairBuilder
调整前
示例值:
func (*ChangeFieldPairBuilder) TargetValue ¶
func (builder *ChangeFieldPairBuilder) TargetValue(targetValue *CustomFieldData) *ChangeFieldPairBuilder
调整后
示例值:
type CitizenshipStatus ¶ added in v3.2.0
type CitizenshipStatus struct { Id *string `json:"id,omitempty"` // 公民身份id CountryRegionId *string `json:"country_region_id,omitempty"` // 国家/地区id Active *bool `json:"active,omitempty"` // 是否启用 Name []*I18n `json:"name,omitempty"` // 名称 CitizenshipStatus []*I18n `json:"citizenship_status,omitempty"` // 公民身份 ViewOrder *string `json:"view_order,omitempty"` // 排序 }
type CitizenshipStatusBuilder ¶ added in v3.2.0
type CitizenshipStatusBuilder struct {
// contains filtered or unexported fields
}
func NewCitizenshipStatusBuilder ¶ added in v3.2.0
func NewCitizenshipStatusBuilder() *CitizenshipStatusBuilder
func (*CitizenshipStatusBuilder) Active ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) Active(active bool) *CitizenshipStatusBuilder
是否启用
示例值:true
func (*CitizenshipStatusBuilder) Build ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) Build() *CitizenshipStatus
func (*CitizenshipStatusBuilder) CitizenshipStatus ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) CitizenshipStatus(citizenshipStatus []*I18n) *CitizenshipStatusBuilder
公民身份
示例值:
func (*CitizenshipStatusBuilder) CountryRegionId ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) CountryRegionId(countryRegionId string) *CitizenshipStatusBuilder
国家/地区id
示例值:6891251722631890445
func (*CitizenshipStatusBuilder) Id ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) Id(id string) *CitizenshipStatusBuilder
公民身份id
示例值:6891251722631890445
func (*CitizenshipStatusBuilder) Name ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) Name(name []*I18n) *CitizenshipStatusBuilder
名称
示例值:
func (*CitizenshipStatusBuilder) ViewOrder ¶ added in v3.2.0
func (builder *CitizenshipStatusBuilder) ViewOrder(viewOrder string) *CitizenshipStatusBuilder
排序
示例值:1
type City ¶
type City struct { CityId *string `json:"city_id,omitempty"` // 城市 ID Name []*I18n `json:"name,omitempty"` // 城市名称 CountryRegionSubdivisionId *string `json:"country_region_subdivision_id,omitempty"` // 所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得 Code *string `json:"code,omitempty"` // 城市三字码 Status *int `json:"status,omitempty"` // 状态 }
type CityBuilder ¶
type CityBuilder struct {
// contains filtered or unexported fields
}
func NewCityBuilder ¶
func NewCityBuilder() *CityBuilder
func (*CityBuilder) Build ¶
func (builder *CityBuilder) Build() *City
func (*CityBuilder) CityId ¶
func (builder *CityBuilder) CityId(cityId string) *CityBuilder
城市 ID
示例值:6822114662122064111
func (*CityBuilder) CountryRegionSubdivisionId ¶
func (builder *CityBuilder) CountryRegionSubdivisionId(countryRegionSubdivisionId string) *CityBuilder
所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得
示例值:6822114062133062211
type Company ¶
type Company struct { CompanyId *string `json:"company_id,omitempty"` // 公司 ID HiberarchyCommon *HiberarchyCommon `json:"hiberarchy_common,omitempty"` // 公司基本信息 Type *Enum `json:"type,omitempty"` // 性质 IndustryList []*Enum `json:"industry_list,omitempty"` // 行业 LegalRepresentative []*I18n `json:"legal_representative,omitempty"` // 法定代表人 PostCode *string `json:"post_code,omitempty"` // 邮编 TaxPayerId *string `json:"tax_payer_id,omitempty"` // 纳税人识别号 Confidential *bool `json:"confidential,omitempty"` // confidential SubTypeList []*Enum `json:"sub_type_list,omitempty"` // 主体类型 BranchCompany *bool `json:"branch_company,omitempty"` // 是否为分公司 PrimaryManager []*I18n `json:"primary_manager,omitempty"` // 主要负责人 Currency *Currency `json:"currency,omitempty"` // 默认币种 Phone *PhoneNumberAndAreaCode `json:"phone,omitempty"` // 电话 Fax *PhoneNumberAndAreaCode `json:"fax,omitempty"` // 传真 RegisteredOfficeAddress []*I18n `json:"registered_office_address,omitempty"` // 完整注册地址 OfficeAddress []*I18n `json:"office_address,omitempty"` // 完整办公地址 RegisteredOfficeAddressInfo *Address `json:"registered_office_address_info,omitempty"` // 注册地址 OfficeAddressInfo *Address `json:"office_address_info,omitempty"` // 办公地址 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type CompanyBuilder ¶
type CompanyBuilder struct {
// contains filtered or unexported fields
}
func NewCompanyBuilder ¶
func NewCompanyBuilder() *CompanyBuilder
func (*CompanyBuilder) BranchCompany ¶
func (builder *CompanyBuilder) BranchCompany(branchCompany bool) *CompanyBuilder
是否为分公司
示例值:true
func (*CompanyBuilder) Build ¶
func (builder *CompanyBuilder) Build() *Company
func (*CompanyBuilder) CompanyId ¶
func (builder *CompanyBuilder) CompanyId(companyId string) *CompanyBuilder
公司 ID
示例值:4692472714243080020
func (*CompanyBuilder) Confidential ¶
func (builder *CompanyBuilder) Confidential(confidential bool) *CompanyBuilder
confidential
示例值:true
func (*CompanyBuilder) Currency ¶
func (builder *CompanyBuilder) Currency(currency *Currency) *CompanyBuilder
默认币种
示例值:
func (*CompanyBuilder) CustomFields ¶
func (builder *CompanyBuilder) CustomFields(customFields []*CustomFieldData) *CompanyBuilder
自定义字段
示例值:
func (*CompanyBuilder) Fax ¶
func (builder *CompanyBuilder) Fax(fax *PhoneNumberAndAreaCode) *CompanyBuilder
传真
示例值:
func (*CompanyBuilder) HiberarchyCommon ¶
func (builder *CompanyBuilder) HiberarchyCommon(hiberarchyCommon *HiberarchyCommon) *CompanyBuilder
公司基本信息
示例值:
func (*CompanyBuilder) IndustryList ¶
func (builder *CompanyBuilder) IndustryList(industryList []*Enum) *CompanyBuilder
行业
示例值:
func (*CompanyBuilder) LegalRepresentative ¶
func (builder *CompanyBuilder) LegalRepresentative(legalRepresentative []*I18n) *CompanyBuilder
法定代表人
示例值:
func (*CompanyBuilder) OfficeAddress ¶
func (builder *CompanyBuilder) OfficeAddress(officeAddress []*I18n) *CompanyBuilder
完整办公地址
示例值:
func (*CompanyBuilder) OfficeAddressInfo ¶ added in v3.1.2
func (builder *CompanyBuilder) OfficeAddressInfo(officeAddressInfo *Address) *CompanyBuilder
办公地址
示例值:
func (*CompanyBuilder) Phone ¶
func (builder *CompanyBuilder) Phone(phone *PhoneNumberAndAreaCode) *CompanyBuilder
电话
示例值:
func (*CompanyBuilder) PostCode ¶
func (builder *CompanyBuilder) PostCode(postCode string) *CompanyBuilder
邮编
示例值:邮编
func (*CompanyBuilder) PrimaryManager ¶
func (builder *CompanyBuilder) PrimaryManager(primaryManager []*I18n) *CompanyBuilder
主要负责人
示例值:
func (*CompanyBuilder) RegisteredOfficeAddress ¶
func (builder *CompanyBuilder) RegisteredOfficeAddress(registeredOfficeAddress []*I18n) *CompanyBuilder
完整注册地址
示例值:
func (*CompanyBuilder) RegisteredOfficeAddressInfo ¶ added in v3.1.2
func (builder *CompanyBuilder) RegisteredOfficeAddressInfo(registeredOfficeAddressInfo *Address) *CompanyBuilder
注册地址
示例值:
func (*CompanyBuilder) SubTypeList ¶
func (builder *CompanyBuilder) SubTypeList(subTypeList []*Enum) *CompanyBuilder
主体类型
示例值:
func (*CompanyBuilder) TaxPayerId ¶
func (builder *CompanyBuilder) TaxPayerId(taxPayerId string) *CompanyBuilder
纳税人识别号
示例值:123456840
func (*CompanyBuilder) Type ¶
func (builder *CompanyBuilder) Type(type_ *Enum) *CompanyBuilder
性质
示例值:
type CompanyIdAndName ¶
type CompanyIdAndNameBuilder ¶
type CompanyIdAndNameBuilder struct {
// contains filtered or unexported fields
}
func NewCompanyIdAndNameBuilder ¶
func NewCompanyIdAndNameBuilder() *CompanyIdAndNameBuilder
func (*CompanyIdAndNameBuilder) Build ¶
func (builder *CompanyIdAndNameBuilder) Build() *CompanyIdAndName
func (*CompanyIdAndNameBuilder) CompanyId ¶
func (builder *CompanyIdAndNameBuilder) CompanyId(companyId string) *CompanyIdAndNameBuilder
所属公司的 ID
示例值:sadasdasda
func (*CompanyIdAndNameBuilder) CompanyName ¶
func (builder *CompanyIdAndNameBuilder) CompanyName(companyName []*I18n) *CompanyIdAndNameBuilder
所属公司的名称
示例值:
type Contract ¶
type Contract struct { Id *string `json:"id,omitempty"` // 合同ID EffectiveTime *string `json:"effective_time,omitempty"` // 合同开始日期 ContractEndDate *string `json:"contract_end_date,omitempty"` // 合同结束日期 ExpirationTime *string `json:"expiration_time,omitempty"` // 实际结束日期 EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID ContractType *Enum `json:"contract_type,omitempty"` // 合同类型,枚举值可通过文档【飞书人事枚举常量】合同类型(contract_type)枚举定义部分获得 FirstPartyCompanyId *string `json:"first_party_company_id,omitempty"` // 合同主体, 引用Company的ID,枚举值及详细信息可通过【批量查询公司】接口查询获得 PersonId *string `json:"person_id,omitempty"` // Person ID,枚举值及详细信息可通过【批量查询个人信息】接口查询获得 DurationType *Enum `json:"duration_type,omitempty"` // 期限类型,枚举值可通过文档【飞书人事枚举常量】合同期限类型(duration_type)枚举定义部分获得 ContractNumber *string `json:"contract_number,omitempty"` // 合同编号 SigningType *Enum `json:"signing_type,omitempty"` // 签订类型,枚举值可通过文档【飞书人事枚举常量】签订类型(signing_type)枚举定义部分获得 }
type ContractBuilder ¶
type ContractBuilder struct {
// contains filtered or unexported fields
}
func NewContractBuilder ¶
func NewContractBuilder() *ContractBuilder
func (*ContractBuilder) Build ¶
func (builder *ContractBuilder) Build() *Contract
func (*ContractBuilder) ContractEndDate ¶
func (builder *ContractBuilder) ContractEndDate(contractEndDate string) *ContractBuilder
合同结束日期
示例值:2024-01-01
func (*ContractBuilder) ContractNumber ¶
func (builder *ContractBuilder) ContractNumber(contractNumber string) *ContractBuilder
合同编号
示例值:0000011
func (*ContractBuilder) ContractType ¶
func (builder *ContractBuilder) ContractType(contractType *Enum) *ContractBuilder
合同类型,枚举值可通过文档【飞书人事枚举常量】合同类型(contract_type)枚举定义部分获得
示例值:
func (*ContractBuilder) DurationType ¶
func (builder *ContractBuilder) DurationType(durationType *Enum) *ContractBuilder
期限类型,枚举值可通过文档【飞书人事枚举常量】合同期限类型(duration_type)枚举定义部分获得
示例值:
func (*ContractBuilder) EffectiveTime ¶
func (builder *ContractBuilder) EffectiveTime(effectiveTime string) *ContractBuilder
合同开始日期
示例值:2023-01-01 00:00:00
func (*ContractBuilder) EmploymentId ¶
func (builder *ContractBuilder) EmploymentId(employmentId string) *ContractBuilder
雇佣 ID
示例值:6893014062142064135
func (*ContractBuilder) ExpirationTime ¶
func (builder *ContractBuilder) ExpirationTime(expirationTime string) *ContractBuilder
实际结束日期
示例值:2023-11-01 00:00:00
func (*ContractBuilder) FirstPartyCompanyId ¶
func (builder *ContractBuilder) FirstPartyCompanyId(firstPartyCompanyId string) *ContractBuilder
合同主体, 引用Company的ID,枚举值及详细信息可通过【批量查询公司】接口查询获得
示例值:7091599096804394540
func (*ContractBuilder) Id ¶
func (builder *ContractBuilder) Id(id string) *ContractBuilder
合同ID
示例值:7147527056140813828
func (*ContractBuilder) PersonId ¶
func (builder *ContractBuilder) PersonId(personId string) *ContractBuilder
Person ID,枚举值及详细信息可通过【批量查询个人信息】接口查询获得
示例值:7088589447189022252
func (*ContractBuilder) SigningType ¶
func (builder *ContractBuilder) SigningType(signingType *Enum) *ContractBuilder
签订类型,枚举值可通过文档【飞书人事枚举常量】签订类型(signing_type)枚举定义部分获得
示例值:
type CostCenter ¶
type CostCenter struct { CostCenterId *string `json:"cost_center_id,omitempty"` // 成本中心ID Name []*I18n `json:"name,omitempty"` // 成本中心名称 Code *string `json:"code,omitempty"` // 编码 ParentCostCenterId *string `json:"parent_cost_center_id,omitempty"` // 上级成本中心ID Managers []string `json:"managers,omitempty"` // 成本中心负责人ID 列表,可通过雇佣信息接口查询获得 Description []*I18n `json:"description,omitempty"` // 成本中心描述 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 过期时间 Active *bool `json:"active,omitempty"` // 当前实体是否启用 OperationReason *string `json:"operation_reason,omitempty"` // 操作原因 }
type CostCenterBuilder ¶
type CostCenterBuilder struct {
// contains filtered or unexported fields
}
func NewCostCenterBuilder ¶
func NewCostCenterBuilder() *CostCenterBuilder
func (*CostCenterBuilder) Active ¶
func (builder *CostCenterBuilder) Active(active bool) *CostCenterBuilder
当前实体是否启用
示例值:2020-01-01
func (*CostCenterBuilder) Build ¶
func (builder *CostCenterBuilder) Build() *CostCenter
func (*CostCenterBuilder) Code ¶
func (builder *CostCenterBuilder) Code(code string) *CostCenterBuilder
编码
示例值:MDPD00000023
func (*CostCenterBuilder) CostCenterId ¶
func (builder *CostCenterBuilder) CostCenterId(costCenterId string) *CostCenterBuilder
成本中心ID
示例值:6969828847121885087
func (*CostCenterBuilder) Description ¶
func (builder *CostCenterBuilder) Description(description []*I18n) *CostCenterBuilder
成本中心描述
示例值:
func (*CostCenterBuilder) EffectiveTime ¶
func (builder *CostCenterBuilder) EffectiveTime(effectiveTime string) *CostCenterBuilder
生效时间
示例值:2020-01-01
func (*CostCenterBuilder) ExpirationTime ¶
func (builder *CostCenterBuilder) ExpirationTime(expirationTime string) *CostCenterBuilder
过期时间
示例值:2020-01-01
func (*CostCenterBuilder) Managers ¶
func (builder *CostCenterBuilder) Managers(managers []string) *CostCenterBuilder
成本中心负责人ID 列表,可通过雇佣信息接口查询获得
示例值:
func (*CostCenterBuilder) Name ¶
func (builder *CostCenterBuilder) Name(name []*I18n) *CostCenterBuilder
成本中心名称
示例值:
func (*CostCenterBuilder) OperationReason ¶
func (builder *CostCenterBuilder) OperationReason(operationReason string) *CostCenterBuilder
操作原因
示例值:过期作废
func (*CostCenterBuilder) ParentCostCenterId ¶
func (builder *CostCenterBuilder) ParentCostCenterId(parentCostCenterId string) *CostCenterBuilder
上级成本中心ID
示例值:6862995757234914824
type CostCenterVersion ¶
type CostCenterVersion struct { CostCenterId *string `json:"cost_center_id,omitempty"` // 成本中心ID VersionId *string `json:"version_id,omitempty"` // 成本中心版本ID Name []*I18n `json:"name,omitempty"` // 成本中心名称 Code *string `json:"code,omitempty"` // 编码 ParentCostCenterId *string `json:"parent_cost_center_id,omitempty"` // 上级成本中心ID Managers []string `json:"managers,omitempty"` // 成本中心负责人ID 列表,可通过雇佣信息接口查询获得 Description []*I18n `json:"description,omitempty"` // 成本中心描述 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 过期时间 Active *bool `json:"active,omitempty"` // 当前实体是否启用 OperationReason *string `json:"operation_reason,omitempty"` // 操作原因 }
type CostCenterVersionBuilder ¶
type CostCenterVersionBuilder struct {
// contains filtered or unexported fields
}
func NewCostCenterVersionBuilder ¶
func NewCostCenterVersionBuilder() *CostCenterVersionBuilder
func (*CostCenterVersionBuilder) Active ¶
func (builder *CostCenterVersionBuilder) Active(active bool) *CostCenterVersionBuilder
当前实体是否启用
示例值:2020-01-01
func (*CostCenterVersionBuilder) Build ¶
func (builder *CostCenterVersionBuilder) Build() *CostCenterVersion
func (*CostCenterVersionBuilder) Code ¶
func (builder *CostCenterVersionBuilder) Code(code string) *CostCenterVersionBuilder
编码
示例值:MDPD00000023
func (*CostCenterVersionBuilder) CostCenterId ¶
func (builder *CostCenterVersionBuilder) CostCenterId(costCenterId string) *CostCenterVersionBuilder
成本中心ID
示例值:6969828847121885087
func (*CostCenterVersionBuilder) Description ¶
func (builder *CostCenterVersionBuilder) Description(description []*I18n) *CostCenterVersionBuilder
成本中心描述
示例值:
func (*CostCenterVersionBuilder) EffectiveTime ¶
func (builder *CostCenterVersionBuilder) EffectiveTime(effectiveTime string) *CostCenterVersionBuilder
生效时间
示例值:2020-01-01
func (*CostCenterVersionBuilder) ExpirationTime ¶
func (builder *CostCenterVersionBuilder) ExpirationTime(expirationTime string) *CostCenterVersionBuilder
过期时间
示例值:2020-01-01
func (*CostCenterVersionBuilder) Managers ¶
func (builder *CostCenterVersionBuilder) Managers(managers []string) *CostCenterVersionBuilder
成本中心负责人ID 列表,可通过雇佣信息接口查询获得
示例值:
func (*CostCenterVersionBuilder) Name ¶
func (builder *CostCenterVersionBuilder) Name(name []*I18n) *CostCenterVersionBuilder
成本中心名称
示例值:
func (*CostCenterVersionBuilder) OperationReason ¶
func (builder *CostCenterVersionBuilder) OperationReason(operationReason string) *CostCenterVersionBuilder
操作原因
示例值:过期作废
func (*CostCenterVersionBuilder) ParentCostCenterId ¶
func (builder *CostCenterVersionBuilder) ParentCostCenterId(parentCostCenterId string) *CostCenterVersionBuilder
上级成本中心ID
示例值:6862995757234914824
func (*CostCenterVersionBuilder) VersionId ¶
func (builder *CostCenterVersionBuilder) VersionId(versionId string) *CostCenterVersionBuilder
成本中心版本ID
示例值:6969828847121885087
type CountryRegion ¶
type CountryRegion struct { CountryRegionId *string `json:"country_region_id,omitempty"` // 国家/地区 ID Name []*I18n `json:"name,omitempty"` // 国家/地区名称 FullName []*I18n `json:"full_name,omitempty"` // 国家/地区全称 Alpha2Code *string `json:"alpha_2_code,omitempty"` // 国家地区二字码 Alpha3Code *string `json:"alpha_3_code,omitempty"` // 国家地区三字码 GlobalCode *string `json:"global_code,omitempty"` // 国际电话区号 Status *int `json:"status,omitempty"` // 状态 }
type CountryRegionBuilder ¶
type CountryRegionBuilder struct {
// contains filtered or unexported fields
}
func NewCountryRegionBuilder ¶
func NewCountryRegionBuilder() *CountryRegionBuilder
func (*CountryRegionBuilder) Alpha2Code ¶
func (builder *CountryRegionBuilder) Alpha2Code(alpha2Code string) *CountryRegionBuilder
国家地区二字码
示例值:CN
func (*CountryRegionBuilder) Alpha3Code ¶
func (builder *CountryRegionBuilder) Alpha3Code(alpha3Code string) *CountryRegionBuilder
国家地区三字码
示例值:CHN
func (*CountryRegionBuilder) Build ¶
func (builder *CountryRegionBuilder) Build() *CountryRegion
func (*CountryRegionBuilder) CountryRegionId ¶
func (builder *CountryRegionBuilder) CountryRegionId(countryRegionId string) *CountryRegionBuilder
国家/地区 ID
示例值:6893114062122064111
func (*CountryRegionBuilder) FullName ¶
func (builder *CountryRegionBuilder) FullName(fullName []*I18n) *CountryRegionBuilder
国家/地区全称
示例值:
func (*CountryRegionBuilder) GlobalCode ¶
func (builder *CountryRegionBuilder) GlobalCode(globalCode string) *CountryRegionBuilder
国际电话区号
示例值:+86
func (*CountryRegionBuilder) Name ¶
func (builder *CountryRegionBuilder) Name(name []*I18n) *CountryRegionBuilder
国家/地区名称
示例值:
func (*CountryRegionBuilder) Status ¶
func (builder *CountryRegionBuilder) Status(status int) *CountryRegionBuilder
状态
示例值:1
type CountryRegionSubdivision ¶
type CountryRegionSubdivision struct { CountryRegionSubdivisionId *string `json:"country_region_subdivision_id,omitempty"` // 省份/行政区 ID Name []*I18n `json:"name,omitempty"` // 省份/行政区名称 CountryRegionId *string `json:"country_region_id,omitempty"` // 所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得 SubdivisionType *Enum `json:"subdivision_type,omitempty"` // 行政区类型,枚举值可通过文档【飞书人事枚举常量】行政区类型(subdivision_type)枚举定义部分获得 IsoCode *string `json:"iso_code,omitempty"` // 省份/行政区三字码 Status *int `json:"status,omitempty"` // 状态 }
type CountryRegionSubdivisionBuilder ¶
type CountryRegionSubdivisionBuilder struct {
// contains filtered or unexported fields
}
func NewCountryRegionSubdivisionBuilder ¶
func NewCountryRegionSubdivisionBuilder() *CountryRegionSubdivisionBuilder
func (*CountryRegionSubdivisionBuilder) Build ¶
func (builder *CountryRegionSubdivisionBuilder) Build() *CountryRegionSubdivision
func (*CountryRegionSubdivisionBuilder) CountryRegionId ¶
func (builder *CountryRegionSubdivisionBuilder) CountryRegionId(countryRegionId string) *CountryRegionSubdivisionBuilder
所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得
示例值:6822114062122062211
func (*CountryRegionSubdivisionBuilder) CountryRegionSubdivisionId ¶
func (builder *CountryRegionSubdivisionBuilder) CountryRegionSubdivisionId(countryRegionSubdivisionId string) *CountryRegionSubdivisionBuilder
省份/行政区 ID
示例值:6822114062122064111
func (*CountryRegionSubdivisionBuilder) IsoCode ¶
func (builder *CountryRegionSubdivisionBuilder) IsoCode(isoCode string) *CountryRegionSubdivisionBuilder
省份/行政区三字码
示例值:PEK
func (*CountryRegionSubdivisionBuilder) Name ¶
func (builder *CountryRegionSubdivisionBuilder) Name(name []*I18n) *CountryRegionSubdivisionBuilder
省份/行政区名称
示例值:
func (*CountryRegionSubdivisionBuilder) Status ¶
func (builder *CountryRegionSubdivisionBuilder) Status(status int) *CountryRegionSubdivisionBuilder
状态
示例值:1
func (*CountryRegionSubdivisionBuilder) SubdivisionType ¶
func (builder *CountryRegionSubdivisionBuilder) SubdivisionType(subdivisionType *Enum) *CountryRegionSubdivisionBuilder
行政区类型,枚举值可通过文档【飞书人事枚举常量】行政区类型(subdivision_type)枚举定义部分获得
示例值:
type CreateCostCenterReq ¶ added in v3.1.2
type CreateCostCenterReq struct { CostCenter *CostCenter `body:""` // contains filtered or unexported fields }
type CreateCostCenterReqBuilder ¶ added in v3.1.2
type CreateCostCenterReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCostCenterReqBuilder ¶ added in v3.1.2
func NewCreateCostCenterReqBuilder() *CreateCostCenterReqBuilder
func (*CreateCostCenterReqBuilder) Build ¶ added in v3.1.2
func (builder *CreateCostCenterReqBuilder) Build() *CreateCostCenterReq
func (*CreateCostCenterReqBuilder) CostCenter ¶ added in v3.1.2
func (builder *CreateCostCenterReqBuilder) CostCenter(costCenter *CostCenter) *CreateCostCenterReqBuilder
创建成本中心
func (*CreateCostCenterReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *CreateCostCenterReqBuilder) UserIdType(userIdType string) *CreateCostCenterReqBuilder
用户 ID 类型
示例值:people_corehr_id
type CreateCostCenterResp ¶ added in v3.1.2
type CreateCostCenterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCostCenterRespData `json:"data"` // 业务数据 }
func (*CreateCostCenterResp) Success ¶ added in v3.1.2
func (resp *CreateCostCenterResp) Success() bool
type CreateCostCenterRespData ¶ added in v3.1.2
type CreateCostCenterRespData struct {
CostCenter *CostCenter `json:"cost_center,omitempty"` //
}
type CreateCostCenterVersionReq ¶ added in v3.1.2
type CreateCostCenterVersionReq struct { CostCenterVersion *CostCenterVersion `body:""` // contains filtered or unexported fields }
type CreateCostCenterVersionReqBuilder ¶ added in v3.1.2
type CreateCostCenterVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCostCenterVersionReqBuilder ¶ added in v3.1.2
func NewCreateCostCenterVersionReqBuilder() *CreateCostCenterVersionReqBuilder
func (*CreateCostCenterVersionReqBuilder) Build ¶ added in v3.1.2
func (builder *CreateCostCenterVersionReqBuilder) Build() *CreateCostCenterVersionReq
func (*CreateCostCenterVersionReqBuilder) CostCenterId ¶ added in v3.1.2
func (builder *CreateCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *CreateCostCenterVersionReqBuilder
成本中心ID
示例值:6862995757234914824
func (*CreateCostCenterVersionReqBuilder) CostCenterVersion ¶ added in v3.1.2
func (builder *CreateCostCenterVersionReqBuilder) CostCenterVersion(costCenterVersion *CostCenterVersion) *CreateCostCenterVersionReqBuilder
创建成本中心版本
func (*CreateCostCenterVersionReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *CreateCostCenterVersionReqBuilder) UserIdType(userIdType string) *CreateCostCenterVersionReqBuilder
用户 ID 类型
示例值:people_corehr_id
type CreateCostCenterVersionResp ¶ added in v3.1.2
type CreateCostCenterVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCostCenterVersionRespData `json:"data"` // 业务数据 }
func (*CreateCostCenterVersionResp) Success ¶ added in v3.1.2
func (resp *CreateCostCenterVersionResp) Success() bool
type CreateCostCenterVersionRespData ¶ added in v3.1.2
type CreateCostCenterVersionRespData struct {
Version *CostCenterVersion `json:"version,omitempty"` //
}
type CreatePersonReq ¶
type CreatePersonReq struct { PersonInfo *PersonInfo `body:""` // contains filtered or unexported fields }
type CreatePersonReqBuilder ¶
type CreatePersonReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreatePersonReqBuilder ¶
func NewCreatePersonReqBuilder() *CreatePersonReqBuilder
func (*CreatePersonReqBuilder) Build ¶
func (builder *CreatePersonReqBuilder) Build() *CreatePersonReq
func (*CreatePersonReqBuilder) ClientToken ¶
func (builder *CreatePersonReqBuilder) ClientToken(clientToken string) *CreatePersonReqBuilder
根据client_token是否一致来判断是否为同一请求
示例值:12454646
func (*CreatePersonReqBuilder) PersonInfo ¶
func (builder *CreatePersonReqBuilder) PersonInfo(personInfo *PersonInfo) *CreatePersonReqBuilder
创建个人信息数据
type CreatePersonResp ¶
type CreatePersonResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreatePersonRespData `json:"data"` // 业务数据 }
func (*CreatePersonResp) Success ¶
func (resp *CreatePersonResp) Success() bool
type CreatePersonRespData ¶
type CreatePersonRespData struct {
Person *PersonInfo `json:"person,omitempty"` //
}
type CreatePreHireReq ¶
type CreatePreHireReq struct { PrehireCreate *PrehireCreate `body:""` // contains filtered or unexported fields }
type CreatePreHireReqBuilder ¶
type CreatePreHireReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreatePreHireReqBuilder ¶
func NewCreatePreHireReqBuilder() *CreatePreHireReqBuilder
func (*CreatePreHireReqBuilder) Build ¶
func (builder *CreatePreHireReqBuilder) Build() *CreatePreHireReq
func (*CreatePreHireReqBuilder) PrehireCreate ¶
func (builder *CreatePreHireReqBuilder) PrehireCreate(prehireCreate *PrehireCreate) *CreatePreHireReqBuilder
创建待入职人员
type CreatePreHireResp ¶
type CreatePreHireResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreatePreHireRespData `json:"data"` // 业务数据 }
func (*CreatePreHireResp) Success ¶
func (resp *CreatePreHireResp) Success() bool
type CreatePreHireRespData ¶
type CreatePreHireRespData struct {
PreHireId *string `json:"pre_hire_id,omitempty"` // 待入职 ID
}
type CreateProbationAssessmentPathReqBodyBuilder ¶
type CreateProbationAssessmentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateProbationAssessmentPathReqBodyBuilder ¶
func NewCreateProbationAssessmentPathReqBodyBuilder() *CreateProbationAssessmentPathReqBodyBuilder
func (*CreateProbationAssessmentPathReqBodyBuilder) Assessments ¶
func (builder *CreateProbationAssessmentPathReqBodyBuilder) Assessments(assessments []*AssessmentForCreate) *CreateProbationAssessmentPathReqBodyBuilder
试用期考核结果列表
示例值:
func (*CreateProbationAssessmentPathReqBodyBuilder) Build ¶
func (builder *CreateProbationAssessmentPathReqBodyBuilder) Build() (*CreateProbationAssessmentReqBody, error)
func (*CreateProbationAssessmentPathReqBodyBuilder) EmploymentId ¶
func (builder *CreateProbationAssessmentPathReqBodyBuilder) EmploymentId(employmentId string) *CreateProbationAssessmentPathReqBodyBuilder
试用期人员的雇佣 ID
示例值:7140964208476371111
type CreateProbationAssessmentReq ¶
type CreateProbationAssessmentReq struct { Body *CreateProbationAssessmentReqBody `body:""` // contains filtered or unexported fields }
type CreateProbationAssessmentReqBody ¶
type CreateProbationAssessmentReqBody struct { EmploymentId *string `json:"employment_id,omitempty"` // 试用期人员的雇佣 ID Assessments []*AssessmentForCreate `json:"assessments,omitempty"` // 试用期考核结果列表 }
type CreateProbationAssessmentReqBodyBuilder ¶
type CreateProbationAssessmentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateProbationAssessmentReqBodyBuilder ¶
func NewCreateProbationAssessmentReqBodyBuilder() *CreateProbationAssessmentReqBodyBuilder
func (*CreateProbationAssessmentReqBodyBuilder) Assessments ¶
func (builder *CreateProbationAssessmentReqBodyBuilder) Assessments(assessments []*AssessmentForCreate) *CreateProbationAssessmentReqBodyBuilder
试用期考核结果列表
示例值:
func (*CreateProbationAssessmentReqBodyBuilder) Build ¶
func (builder *CreateProbationAssessmentReqBodyBuilder) Build() *CreateProbationAssessmentReqBody
func (*CreateProbationAssessmentReqBodyBuilder) EmploymentId ¶
func (builder *CreateProbationAssessmentReqBodyBuilder) EmploymentId(employmentId string) *CreateProbationAssessmentReqBodyBuilder
试用期人员的雇佣 ID
示例值:7140964208476371111
type CreateProbationAssessmentReqBuilder ¶
type CreateProbationAssessmentReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateProbationAssessmentReqBuilder ¶
func NewCreateProbationAssessmentReqBuilder() *CreateProbationAssessmentReqBuilder
func (*CreateProbationAssessmentReqBuilder) Body ¶
func (builder *CreateProbationAssessmentReqBuilder) Body(body *CreateProbationAssessmentReqBody) *CreateProbationAssessmentReqBuilder
func (*CreateProbationAssessmentReqBuilder) Build ¶
func (builder *CreateProbationAssessmentReqBuilder) Build() *CreateProbationAssessmentReq
func (*CreateProbationAssessmentReqBuilder) ClientToken ¶
func (builder *CreateProbationAssessmentReqBuilder) ClientToken(clientToken string) *CreateProbationAssessmentReqBuilder
根据 client_token 是否一致来判断是否为同一请求
示例值:6822122262122064111
func (*CreateProbationAssessmentReqBuilder) UserIdType ¶
func (builder *CreateProbationAssessmentReqBuilder) UserIdType(userIdType string) *CreateProbationAssessmentReqBuilder
用户 ID 类型
示例值:open_id
type CreateProbationAssessmentResp ¶
type CreateProbationAssessmentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateProbationAssessmentRespData `json:"data"` // 业务数据 }
func (*CreateProbationAssessmentResp) Success ¶
func (resp *CreateProbationAssessmentResp) Success() bool
type CreateProbationAssessmentRespData ¶
type CreateProbationAssessmentRespData struct {
AssessmentIds []string `json:"assessment_ids,omitempty"` // 创建的试用期考核记录 ID 列表,有序返回
}
type Currency ¶
type Currency struct { CurrencyId *string `json:"currency_id,omitempty"` // 货币 ID CountryRegionId *string `json:"country_region_id,omitempty"` // 货币所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得 CurrencyName []*I18n `json:"currency_name,omitempty"` // 货币名称 NumericCode *int `json:"numeric_code,omitempty"` // 数字代码 CurrencyAlpha3Code *string `json:"currency_alpha_3_code,omitempty"` // 三位字母代码 Status *int `json:"status,omitempty"` // 状态 }
type CurrencyBuilder ¶
type CurrencyBuilder struct {
// contains filtered or unexported fields
}
func NewCurrencyBuilder ¶
func NewCurrencyBuilder() *CurrencyBuilder
func (*CurrencyBuilder) Build ¶
func (builder *CurrencyBuilder) Build() *Currency
func (*CurrencyBuilder) CountryRegionId ¶
func (builder *CurrencyBuilder) CountryRegionId(countryRegionId string) *CurrencyBuilder
货币所属国家/地区 ID,详细信息可通过【查询国家/地区信息】接口查询获得
示例值:6893114162142064111
func (*CurrencyBuilder) CurrencyAlpha3Code ¶
func (builder *CurrencyBuilder) CurrencyAlpha3Code(currencyAlpha3Code string) *CurrencyBuilder
三位字母代码
示例值:CNY
func (*CurrencyBuilder) CurrencyId ¶
func (builder *CurrencyBuilder) CurrencyId(currencyId string) *CurrencyBuilder
货币 ID
示例值:6893114062142064111
func (*CurrencyBuilder) CurrencyName ¶
func (builder *CurrencyBuilder) CurrencyName(currencyName []*I18n) *CurrencyBuilder
货币名称
示例值:
func (*CurrencyBuilder) NumericCode ¶
func (builder *CurrencyBuilder) NumericCode(numericCode int) *CurrencyBuilder
数字代码
示例值:156
func (*CurrencyBuilder) Status ¶
func (builder *CurrencyBuilder) Status(status int) *CurrencyBuilder
状态
示例值:1
type CustomFieldData ¶
type CustomFieldData struct { CustomApiName *string `json:"custom_api_name,omitempty"` // 自定义字段 apiname,即自定义字段的唯一标识 Name *CustomName `json:"name,omitempty"` // 自定义字段名称 Type *int `json:"type,omitempty"` // 自定义字段类型 Value *string `json:"value,omitempty"` // 字段值,是 json 转义后的字符串,根据元数据定义不同,字段格式不同(如 123, 123.23, "true", ["id1","id2"], "2006-01-02 15:04:05") }
type CustomFieldDataBuilder ¶
type CustomFieldDataBuilder struct {
// contains filtered or unexported fields
}
func NewCustomFieldDataBuilder ¶
func NewCustomFieldDataBuilder() *CustomFieldDataBuilder
func (*CustomFieldDataBuilder) Build ¶
func (builder *CustomFieldDataBuilder) Build() *CustomFieldData
func (*CustomFieldDataBuilder) CustomApiName ¶
func (builder *CustomFieldDataBuilder) CustomApiName(customApiName string) *CustomFieldDataBuilder
自定义字段 apiname,即自定义字段的唯一标识
示例值:name
func (*CustomFieldDataBuilder) Name ¶
func (builder *CustomFieldDataBuilder) Name(name *CustomName) *CustomFieldDataBuilder
自定义字段名称
示例值:
func (*CustomFieldDataBuilder) Type ¶
func (builder *CustomFieldDataBuilder) Type(type_ int) *CustomFieldDataBuilder
自定义字段类型
示例值:1
func (*CustomFieldDataBuilder) Value ¶
func (builder *CustomFieldDataBuilder) Value(value string) *CustomFieldDataBuilder
字段值,是 json 转义后的字符串,根据元数据定义不同,字段格式不同(如 123, 123.23, "true", ["id1","id2"], "2006-01-02 15:04:05")
示例值:\"231\"
type CustomName ¶
type CustomNameBuilder ¶
type CustomNameBuilder struct {
// contains filtered or unexported fields
}
func NewCustomNameBuilder ¶
func NewCustomNameBuilder() *CustomNameBuilder
func (*CustomNameBuilder) Build ¶
func (builder *CustomNameBuilder) Build() *CustomName
func (*CustomNameBuilder) EnUs ¶
func (builder *CustomNameBuilder) EnUs(enUs string) *CustomNameBuilder
英文
示例值:Custom Name
func (*CustomNameBuilder) ZhCn ¶
func (builder *CustomNameBuilder) ZhCn(zhCn string) *CustomNameBuilder
中文
示例值:自定义姓名
type CustomValue ¶
type CustomValueBuilder ¶
type CustomValueBuilder struct {
// contains filtered or unexported fields
}
func NewCustomValueBuilder ¶
func NewCustomValueBuilder() *CustomValueBuilder
func (*CustomValueBuilder) Build ¶
func (builder *CustomValueBuilder) Build() *CustomValue
func (*CustomValueBuilder) ValueBoolean ¶
func (builder *CustomValueBuilder) ValueBoolean(valueBoolean bool) *CustomValueBuilder
布尔类型的字段值
示例值:false
func (*CustomValueBuilder) ValueEnumId ¶
func (builder *CustomValueBuilder) ValueEnumId(valueEnumId string) *CustomValueBuilder
枚举类型的字段的枚举值 ID
示例值:sadasdas
type DataengineI18n ¶
type DataengineI18nBuilder ¶
type DataengineI18nBuilder struct {
// contains filtered or unexported fields
}
func NewDataengineI18nBuilder ¶
func NewDataengineI18nBuilder() *DataengineI18nBuilder
func (*DataengineI18nBuilder) Build ¶
func (builder *DataengineI18nBuilder) Build() *DataengineI18n
func (*DataengineI18nBuilder) EnUs ¶
func (builder *DataengineI18nBuilder) EnUs(enUs string) *DataengineI18nBuilder
英文值
示例值:English
func (*DataengineI18nBuilder) ZhCn ¶
func (builder *DataengineI18nBuilder) ZhCn(zhCn string) *DataengineI18nBuilder
中文值
示例值:中文
type DeleteCostCenterPathReqBodyBuilder ¶ added in v3.1.2
type DeleteCostCenterPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterPathReqBodyBuilder ¶ added in v3.1.2
func NewDeleteCostCenterPathReqBodyBuilder() *DeleteCostCenterPathReqBodyBuilder
func (*DeleteCostCenterPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterPathReqBodyBuilder) Build() (*DeleteCostCenterReqBody, error)
func (*DeleteCostCenterPathReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *DeleteCostCenterPathReqBodyBuilder) OperationReason(operationReason string) *DeleteCostCenterPathReqBodyBuilder
操作原因
示例值:随着组织架构调整,该成本中心不再使用
type DeleteCostCenterReq ¶ added in v3.1.2
type DeleteCostCenterReq struct { Body *DeleteCostCenterReqBody `body:""` // contains filtered or unexported fields }
type DeleteCostCenterReqBody ¶ added in v3.1.2
type DeleteCostCenterReqBody struct {
OperationReason *string `json:"operation_reason,omitempty"` // 操作原因
}
type DeleteCostCenterReqBodyBuilder ¶ added in v3.1.2
type DeleteCostCenterReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterReqBodyBuilder ¶ added in v3.1.2
func NewDeleteCostCenterReqBodyBuilder() *DeleteCostCenterReqBodyBuilder
func (*DeleteCostCenterReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterReqBodyBuilder) Build() *DeleteCostCenterReqBody
func (*DeleteCostCenterReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *DeleteCostCenterReqBodyBuilder) OperationReason(operationReason string) *DeleteCostCenterReqBodyBuilder
操作原因
示例值:随着组织架构调整,该成本中心不再使用
type DeleteCostCenterReqBuilder ¶ added in v3.1.2
type DeleteCostCenterReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterReqBuilder ¶ added in v3.1.2
func NewDeleteCostCenterReqBuilder() *DeleteCostCenterReqBuilder
func (*DeleteCostCenterReqBuilder) Body ¶ added in v3.1.2
func (builder *DeleteCostCenterReqBuilder) Body(body *DeleteCostCenterReqBody) *DeleteCostCenterReqBuilder
func (*DeleteCostCenterReqBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterReqBuilder) Build() *DeleteCostCenterReq
func (*DeleteCostCenterReqBuilder) CostCenterId ¶ added in v3.1.2
func (builder *DeleteCostCenterReqBuilder) CostCenterId(costCenterId string) *DeleteCostCenterReqBuilder
成本中心ID
示例值:6862995757234914824
type DeleteCostCenterResp ¶ added in v3.1.2
type DeleteCostCenterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCostCenterResp) Success ¶ added in v3.1.2
func (resp *DeleteCostCenterResp) Success() bool
type DeleteCostCenterVersionPathReqBodyBuilder ¶ added in v3.1.2
type DeleteCostCenterVersionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterVersionPathReqBodyBuilder ¶ added in v3.1.2
func NewDeleteCostCenterVersionPathReqBodyBuilder() *DeleteCostCenterVersionPathReqBodyBuilder
func (*DeleteCostCenterVersionPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionPathReqBodyBuilder) Build() (*DeleteCostCenterVersionReqBody, error)
func (*DeleteCostCenterVersionPathReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionPathReqBodyBuilder) OperationReason(operationReason string) *DeleteCostCenterVersionPathReqBodyBuilder
操作原因
示例值:随着组织架构调整,该成本中心不再使用
type DeleteCostCenterVersionReq ¶ added in v3.1.2
type DeleteCostCenterVersionReq struct { Body *DeleteCostCenterVersionReqBody `body:""` // contains filtered or unexported fields }
type DeleteCostCenterVersionReqBody ¶ added in v3.1.2
type DeleteCostCenterVersionReqBody struct {
OperationReason *string `json:"operation_reason,omitempty"` // 操作原因
}
type DeleteCostCenterVersionReqBodyBuilder ¶ added in v3.1.2
type DeleteCostCenterVersionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterVersionReqBodyBuilder ¶ added in v3.1.2
func NewDeleteCostCenterVersionReqBodyBuilder() *DeleteCostCenterVersionReqBodyBuilder
func (*DeleteCostCenterVersionReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBodyBuilder) Build() *DeleteCostCenterVersionReqBody
func (*DeleteCostCenterVersionReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBodyBuilder) OperationReason(operationReason string) *DeleteCostCenterVersionReqBodyBuilder
操作原因
示例值:随着组织架构调整,该成本中心不再使用
type DeleteCostCenterVersionReqBuilder ¶ added in v3.1.2
type DeleteCostCenterVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCostCenterVersionReqBuilder ¶ added in v3.1.2
func NewDeleteCostCenterVersionReqBuilder() *DeleteCostCenterVersionReqBuilder
func (*DeleteCostCenterVersionReqBuilder) Body ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBuilder) Body(body *DeleteCostCenterVersionReqBody) *DeleteCostCenterVersionReqBuilder
撤销成本中心版本
func (*DeleteCostCenterVersionReqBuilder) Build ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBuilder) Build() *DeleteCostCenterVersionReq
func (*DeleteCostCenterVersionReqBuilder) CostCenterId ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *DeleteCostCenterVersionReqBuilder
成本中心ID
示例值:6862995757234914824
func (*DeleteCostCenterVersionReqBuilder) VersionId ¶ added in v3.1.2
func (builder *DeleteCostCenterVersionReqBuilder) VersionId(versionId string) *DeleteCostCenterVersionReqBuilder
版本ID
示例值:6862995757234914824
type DeleteCostCenterVersionResp ¶ added in v3.1.2
type DeleteCostCenterVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCostCenterVersionResp) Success ¶ added in v3.1.2
func (resp *DeleteCostCenterVersionResp) Success() bool
type DeleteProbationAssessmentReq ¶
type DeleteProbationAssessmentReq struct {
// contains filtered or unexported fields
}
type DeleteProbationAssessmentReqBuilder ¶
type DeleteProbationAssessmentReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteProbationAssessmentReqBuilder ¶
func NewDeleteProbationAssessmentReqBuilder() *DeleteProbationAssessmentReqBuilder
func (*DeleteProbationAssessmentReqBuilder) AssessmentId ¶
func (builder *DeleteProbationAssessmentReqBuilder) AssessmentId(assessmentId string) *DeleteProbationAssessmentReqBuilder
考核结果 ID
示例值:7140964208476371331
func (*DeleteProbationAssessmentReqBuilder) Build ¶
func (builder *DeleteProbationAssessmentReqBuilder) Build() *DeleteProbationAssessmentReq
type DeleteProbationAssessmentResp ¶
type DeleteProbationAssessmentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteProbationAssessmentResp) Success ¶
func (resp *DeleteProbationAssessmentResp) Success() bool
type Department ¶
type Department struct { Id *string `json:"id,omitempty"` // 部门 ID VersionId *string `json:"version_id,omitempty"` // 部门记录版本 ID DepartmentName []*I18n `json:"department_name,omitempty"` // 部门名称 SubType *Enum `json:"sub_type,omitempty"` // 部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得 ParentDepartmentId *string `json:"parent_department_id,omitempty"` // 上级部门 ID Manager *string `json:"manager,omitempty"` // 部门负责人雇佣 ID,枚举值及详细信息可通过【查询员工信息】接口查询获得 TreeOrder *string `json:"tree_order,omitempty"` // 树形排序,代表同层级的部门排序序号 ListOrder *string `json:"list_order,omitempty"` // 列表排序,代表所有部门的混排序号 Code *string `json:"code,omitempty"` // 编码 IsRoot *bool `json:"is_root,omitempty"` // 是否根部门 IsConfidential *bool `json:"is_confidential,omitempty"` // 是否保密 EffectiveDate *string `json:"effective_date,omitempty"` // 生效日期 ExpirationDate *string `json:"expiration_date,omitempty"` // 失效日期 Active *bool `json:"active,omitempty"` // 是否启用 Description []*I18n `json:"description,omitempty"` // 描述 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 StaffingModel *Enum `json:"staffing_model,omitempty"` // 是否使用职务 }
type DepartmentBuilder ¶
type DepartmentBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentBuilder ¶
func NewDepartmentBuilder() *DepartmentBuilder
func (*DepartmentBuilder) Active ¶
func (builder *DepartmentBuilder) Active(active bool) *DepartmentBuilder
是否启用
示例值:true
func (*DepartmentBuilder) Build ¶
func (builder *DepartmentBuilder) Build() *Department
func (*DepartmentBuilder) Code ¶
func (builder *DepartmentBuilder) Code(code string) *DepartmentBuilder
编码
示例值:D00000456
func (*DepartmentBuilder) CustomFields ¶
func (builder *DepartmentBuilder) CustomFields(customFields []*CustomFieldData) *DepartmentBuilder
自定义字段
示例值:
func (*DepartmentBuilder) DepartmentName ¶
func (builder *DepartmentBuilder) DepartmentName(departmentName []*I18n) *DepartmentBuilder
部门名称
示例值:
func (*DepartmentBuilder) Description ¶
func (builder *DepartmentBuilder) Description(description []*I18n) *DepartmentBuilder
描述
示例值:
func (*DepartmentBuilder) EffectiveDate ¶
func (builder *DepartmentBuilder) EffectiveDate(effectiveDate string) *DepartmentBuilder
生效日期
示例值:2020-05-01
func (*DepartmentBuilder) ExpirationDate ¶
func (builder *DepartmentBuilder) ExpirationDate(expirationDate string) *DepartmentBuilder
失效日期
示例值:2020-05-02
func (*DepartmentBuilder) Id ¶
func (builder *DepartmentBuilder) Id(id string) *DepartmentBuilder
部门 ID
示例值:4719456877659520852
func (*DepartmentBuilder) IsConfidential ¶
func (builder *DepartmentBuilder) IsConfidential(isConfidential bool) *DepartmentBuilder
是否保密
示例值:false
func (*DepartmentBuilder) IsRoot ¶
func (builder *DepartmentBuilder) IsRoot(isRoot bool) *DepartmentBuilder
是否根部门
示例值:false
func (*DepartmentBuilder) ListOrder ¶
func (builder *DepartmentBuilder) ListOrder(listOrder string) *DepartmentBuilder
列表排序,代表所有部门的混排序号
示例值:001000-001000
func (*DepartmentBuilder) Manager ¶
func (builder *DepartmentBuilder) Manager(manager string) *DepartmentBuilder
部门负责人雇佣 ID,枚举值及详细信息可通过【查询员工信息】接口查询获得
示例值:6893013238632416777
func (*DepartmentBuilder) ParentDepartmentId ¶
func (builder *DepartmentBuilder) ParentDepartmentId(parentDepartmentId string) *DepartmentBuilder
上级部门 ID
示例值:4719456877659520111
func (*DepartmentBuilder) StaffingModel ¶ added in v3.1.3
func (builder *DepartmentBuilder) StaffingModel(staffingModel *Enum) *DepartmentBuilder
是否使用职务
示例值:
func (*DepartmentBuilder) SubType ¶
func (builder *DepartmentBuilder) SubType(subType *Enum) *DepartmentBuilder
部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得
示例值:
func (*DepartmentBuilder) TreeOrder ¶
func (builder *DepartmentBuilder) TreeOrder(treeOrder string) *DepartmentBuilder
树形排序,代表同层级的部门排序序号
示例值:001000
func (*DepartmentBuilder) VersionId ¶
func (builder *DepartmentBuilder) VersionId(versionId string) *DepartmentBuilder
部门记录版本 ID
示例值:6890452208593372611
type DepartmentChange ¶
type DepartmentChange struct { DepartmentChangeId *string `json:"department_change_id,omitempty"` // 部门调整记录 ID DepartmentId *string `json:"department_id,omitempty"` // 部门 ID DepartmentChangeType *string `json:"department_change_type,omitempty"` // 调整类型 ReorganizationInfo *ReorganizationInfo `json:"reorganization_info,omitempty"` // 调整详细信息 }
type DepartmentChangeBuilder ¶
type DepartmentChangeBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentChangeBuilder ¶
func NewDepartmentChangeBuilder() *DepartmentChangeBuilder
func (*DepartmentChangeBuilder) Build ¶
func (builder *DepartmentChangeBuilder) Build() *DepartmentChange
func (*DepartmentChangeBuilder) DepartmentChangeId ¶
func (builder *DepartmentChangeBuilder) DepartmentChangeId(departmentChangeId string) *DepartmentChangeBuilder
部门调整记录 ID
示例值:6991776076699549697
func (*DepartmentChangeBuilder) DepartmentChangeType ¶
func (builder *DepartmentChangeBuilder) DepartmentChangeType(departmentChangeType string) *DepartmentChangeBuilder
调整类型
示例值:Create
func (*DepartmentChangeBuilder) DepartmentId ¶
func (builder *DepartmentChangeBuilder) DepartmentId(departmentId string) *DepartmentChangeBuilder
部门 ID
示例值:6966236933198579208
func (*DepartmentChangeBuilder) ReorganizationInfo ¶
func (builder *DepartmentChangeBuilder) ReorganizationInfo(reorganizationInfo *ReorganizationInfo) *DepartmentChangeBuilder
调整详细信息
示例值:
type DepartmentHrbp ¶
type DepartmentHrbpBuilder ¶
type DepartmentHrbpBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentHrbpBuilder ¶
func NewDepartmentHrbpBuilder() *DepartmentHrbpBuilder
func (*DepartmentHrbpBuilder) Build ¶
func (builder *DepartmentHrbpBuilder) Build() *DepartmentHrbp
func (*DepartmentHrbpBuilder) DepartmentId ¶
func (builder *DepartmentHrbpBuilder) DepartmentId(departmentId string) *DepartmentHrbpBuilder
部门 ID
示例值:4719456877659520852
func (*DepartmentHrbpBuilder) HrbpIds ¶
func (builder *DepartmentHrbpBuilder) HrbpIds(hrbpIds []string) *DepartmentHrbpBuilder
部门 HRBP 雇佣 ID
示例值:
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type DepartmentParentInfo ¶
type DepartmentParentInfo struct { DepartmentId *string `json:"department_id,omitempty"` // 部门 ID DepartmentName []*I18n `json:"department_name,omitempty"` // 部门名称 ParentDepartmentId *string `json:"parent_department_id,omitempty"` // 上级部门 ID Active *bool `json:"active,omitempty"` // 是否启用 IsRoot *bool `json:"is_root,omitempty"` // 是否根部门 }
type DepartmentParentInfoBuilder ¶
type DepartmentParentInfoBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentParentInfoBuilder ¶
func NewDepartmentParentInfoBuilder() *DepartmentParentInfoBuilder
func (*DepartmentParentInfoBuilder) Active ¶
func (builder *DepartmentParentInfoBuilder) Active(active bool) *DepartmentParentInfoBuilder
是否启用
示例值:true
func (*DepartmentParentInfoBuilder) Build ¶
func (builder *DepartmentParentInfoBuilder) Build() *DepartmentParentInfo
func (*DepartmentParentInfoBuilder) DepartmentId ¶
func (builder *DepartmentParentInfoBuilder) DepartmentId(departmentId string) *DepartmentParentInfoBuilder
部门 ID
示例值:4719456877659520852
func (*DepartmentParentInfoBuilder) DepartmentName ¶
func (builder *DepartmentParentInfoBuilder) DepartmentName(departmentName []*I18n) *DepartmentParentInfoBuilder
部门名称
示例值:
func (*DepartmentParentInfoBuilder) IsRoot ¶
func (builder *DepartmentParentInfoBuilder) IsRoot(isRoot bool) *DepartmentParentInfoBuilder
是否根部门
示例值:true
func (*DepartmentParentInfoBuilder) ParentDepartmentId ¶
func (builder *DepartmentParentInfoBuilder) ParentDepartmentId(parentDepartmentId string) *DepartmentParentInfoBuilder
上级部门 ID
示例值:4719456877659520111
type DepartmentParents ¶
type DepartmentParents struct { DepartmentId *string `json:"department_id,omitempty"` // 部门 ID ParentDepartmentList []*DepartmentParentInfo `json:"parent_department_list,omitempty"` // 父部门列表,部门按照至底向上的顺序返回 }
type DepartmentParentsBuilder ¶
type DepartmentParentsBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentParentsBuilder ¶
func NewDepartmentParentsBuilder() *DepartmentParentsBuilder
func (*DepartmentParentsBuilder) Build ¶
func (builder *DepartmentParentsBuilder) Build() *DepartmentParents
func (*DepartmentParentsBuilder) DepartmentId ¶
func (builder *DepartmentParentsBuilder) DepartmentId(departmentId string) *DepartmentParentsBuilder
部门 ID
示例值:6893014062142064111
func (*DepartmentParentsBuilder) ParentDepartmentList ¶
func (builder *DepartmentParentsBuilder) ParentDepartmentList(parentDepartmentList []*DepartmentParentInfo) *DepartmentParentsBuilder
父部门列表,部门按照至底向上的顺序返回
示例值:
type Dependent ¶
type Dependent struct { Name *PersonName `json:"name,omitempty"` // 姓名 Relationship *Enum `json:"relationship,omitempty"` // 关系 Gender *Enum `json:"gender,omitempty"` // 性别 DateOfBirth *string `json:"date_of_birth,omitempty"` // 生日 NationalityIdV2 *string `json:"nationality_id_v2,omitempty"` // 国籍 ID,可通过【查询国籍信息】接口查询 NationalIdList []*NationalId `json:"national_id_list,omitempty"` // 证件号码 SpousesWorkingStatus *Enum `json:"spouses_working_status,omitempty"` // 配偶工作状态 IsThisPersonCoveredByHealthInsurance *bool `json:"is_this_person_covered_by_health_insurance,omitempty"` // 包含家属医疗保险 IsThisPersonAllowedForTaxDeduction *bool `json:"is_this_person_allowed_for_tax_deduction,omitempty"` // 允许家属抵扣税款 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 DependentName *string `json:"dependent_name,omitempty"` // 家庭成员姓名 Employer *string `json:"employer,omitempty"` // 工作单位 Job *string `json:"job,omitempty"` // 岗位 Phone *Phone `json:"phone,omitempty"` // 电话 Address *Address `json:"address,omitempty"` // 联系地址 BirthCertificateOfChild []*File `json:"birth_certificate_of_child,omitempty"` // 出生证明 }
type DependentBuilder ¶
type DependentBuilder struct {
// contains filtered or unexported fields
}
func NewDependentBuilder ¶
func NewDependentBuilder() *DependentBuilder
func (*DependentBuilder) Address ¶
func (builder *DependentBuilder) Address(address *Address) *DependentBuilder
联系地址
示例值:
func (*DependentBuilder) BirthCertificateOfChild ¶
func (builder *DependentBuilder) BirthCertificateOfChild(birthCertificateOfChild []*File) *DependentBuilder
出生证明
示例值:
func (*DependentBuilder) Build ¶
func (builder *DependentBuilder) Build() *Dependent
func (*DependentBuilder) CustomFields ¶
func (builder *DependentBuilder) CustomFields(customFields []*CustomFieldData) *DependentBuilder
自定义字段
示例值:
func (*DependentBuilder) DateOfBirth ¶
func (builder *DependentBuilder) DateOfBirth(dateOfBirth string) *DependentBuilder
生日
示例值:2020-01-01
func (*DependentBuilder) DependentName ¶
func (builder *DependentBuilder) DependentName(dependentName string) *DependentBuilder
家庭成员姓名
示例值:张三
func (*DependentBuilder) Employer ¶
func (builder *DependentBuilder) Employer(employer string) *DependentBuilder
工作单位
示例值:海淀区交警大队
func (*DependentBuilder) Gender ¶
func (builder *DependentBuilder) Gender(gender *Enum) *DependentBuilder
性别
示例值:
func (*DependentBuilder) IsThisPersonAllowedForTaxDeduction ¶
func (builder *DependentBuilder) IsThisPersonAllowedForTaxDeduction(isThisPersonAllowedForTaxDeduction bool) *DependentBuilder
允许家属抵扣税款
示例值:false
func (*DependentBuilder) IsThisPersonCoveredByHealthInsurance ¶
func (builder *DependentBuilder) IsThisPersonCoveredByHealthInsurance(isThisPersonCoveredByHealthInsurance bool) *DependentBuilder
包含家属医疗保险
示例值:true
func (*DependentBuilder) Job ¶
func (builder *DependentBuilder) Job(job string) *DependentBuilder
岗位
示例值:保安
func (*DependentBuilder) Name ¶
func (builder *DependentBuilder) Name(name *PersonName) *DependentBuilder
姓名
示例值:
func (*DependentBuilder) NationalIdList ¶
func (builder *DependentBuilder) NationalIdList(nationalIdList []*NationalId) *DependentBuilder
证件号码
示例值:
func (*DependentBuilder) NationalityIdV2 ¶ added in v3.1.2
func (builder *DependentBuilder) NationalityIdV2(nationalityIdV2 string) *DependentBuilder
国籍 ID,可通过【查询国籍信息】接口查询
示例值:6862995745046267401
func (*DependentBuilder) Phone ¶
func (builder *DependentBuilder) Phone(phone *Phone) *DependentBuilder
电话
示例值:
func (*DependentBuilder) Relationship ¶
func (builder *DependentBuilder) Relationship(relationship *Enum) *DependentBuilder
关系
示例值:
func (*DependentBuilder) SpousesWorkingStatus ¶
func (builder *DependentBuilder) SpousesWorkingStatus(spousesWorkingStatus *Enum) *DependentBuilder
配偶工作状态
示例值:
type Dimension ¶
type Dimension struct { Name []*I18n `json:"name,omitempty"` // 维度的名称 ApiName *string `json:"api_name,omitempty"` // 维度的 api name FieldType *string `json:"field_type,omitempty"` // 维度的字段类型。enum 代表字段为枚举类型,lookup 代表字段为 lookup 类型,bool 代表字段为布尔类型 Required *bool `json:"required,omitempty"` // 维度是否为必填 EnumValue []*Enum `json:"enum_value,omitempty"` // 枚举类型的维度对应的枚举值列表 }
type DimensionBuilder ¶
type DimensionBuilder struct {
// contains filtered or unexported fields
}
func NewDimensionBuilder ¶
func NewDimensionBuilder() *DimensionBuilder
func (*DimensionBuilder) ApiName ¶
func (builder *DimensionBuilder) ApiName(apiName string) *DimensionBuilder
维度的 api name
示例值:department
func (*DimensionBuilder) Build ¶
func (builder *DimensionBuilder) Build() *Dimension
func (*DimensionBuilder) EnumValue ¶
func (builder *DimensionBuilder) EnumValue(enumValue []*Enum) *DimensionBuilder
枚举类型的维度对应的枚举值列表
示例值:
func (*DimensionBuilder) FieldType ¶
func (builder *DimensionBuilder) FieldType(fieldType string) *DimensionBuilder
维度的字段类型。enum 代表字段为枚举类型,lookup 代表字段为 lookup 类型,bool 代表字段为布尔类型
示例值:enum
func (*DimensionBuilder) Name ¶
func (builder *DimensionBuilder) Name(name []*I18n) *DimensionBuilder
维度的名称
示例值:
func (*DimensionBuilder) Required ¶
func (builder *DimensionBuilder) Required(required bool) *DimensionBuilder
维度是否为必填
示例值:true
type DimensionInfo ¶
type DimensionInfoBuilder ¶
type DimensionInfoBuilder struct {
// contains filtered or unexported fields
}
func NewDimensionInfoBuilder ¶
func NewDimensionInfoBuilder() *DimensionInfoBuilder
func (*DimensionInfoBuilder) Build ¶
func (builder *DimensionInfoBuilder) Build() *DimensionInfo
func (*DimensionInfoBuilder) Id ¶
func (builder *DimensionInfoBuilder) Id(id string) *DimensionInfoBuilder
维度id
示例值:“123456”
func (*DimensionInfoBuilder) Name ¶
func (builder *DimensionInfoBuilder) Name(name []*I18n) *DimensionInfoBuilder
维度名称
示例值:
type DimensionValue ¶
type DimensionValue struct { DimensionApiName *string `json:"dimension_api_name,omitempty"` // API name DimensionValue *CustomValue `json:"dimension_value,omitempty"` // 查询的维度值信息 }
type DimensionValueBuilder ¶
type DimensionValueBuilder struct {
// contains filtered or unexported fields
}
func NewDimensionValueBuilder ¶
func NewDimensionValueBuilder() *DimensionValueBuilder
func (*DimensionValueBuilder) Build ¶
func (builder *DimensionValueBuilder) Build() *DimensionValue
func (*DimensionValueBuilder) DimensionApiName ¶
func (builder *DimensionValueBuilder) DimensionApiName(dimensionApiName string) *DimensionValueBuilder
API name
示例值:asdasdsa
func (*DimensionValueBuilder) DimensionValue ¶
func (builder *DimensionValueBuilder) DimensionValue(dimensionValue *CustomValue) *DimensionValueBuilder
查询的维度值信息
示例值:
type DistrictBuilder ¶
type DistrictBuilder struct {
// contains filtered or unexported fields
}
func NewDistrictBuilder ¶
func NewDistrictBuilder() *DistrictBuilder
func (*DistrictBuilder) Build ¶
func (builder *DistrictBuilder) Build() *District
func (*DistrictBuilder) CityId ¶
func (builder *DistrictBuilder) CityId(cityId string) *DistrictBuilder
所属城市 ID
示例值:6822114062155062211
func (*DistrictBuilder) DistrictId ¶
func (builder *DistrictBuilder) DistrictId(districtId string) *DistrictBuilder
区/县 ID
示例值:6822114462122064111
func (*DistrictBuilder) Name ¶
func (builder *DistrictBuilder) Name(name []*I18n) *DistrictBuilder
名称
示例值:
func (*DistrictBuilder) Status ¶
func (builder *DistrictBuilder) Status(status int) *DistrictBuilder
状态
示例值:1
type Education ¶
type Education struct { School []*I18n `json:"school,omitempty"` // 学校 LevelOfEducation *Enum `json:"level_of_education,omitempty"` // 学历 StartDate *string `json:"start_date,omitempty"` // 开始日期 EndDate *string `json:"end_date,omitempty"` // 结束日期 FieldOfStudy []*I18n `json:"field_of_study,omitempty"` // 专业 Degree *Enum `json:"degree,omitempty"` // 学位 SchoolName *Enum `json:"school_name,omitempty"` // 学校名称 FieldOfStudyName *Enum `json:"field_of_study_name,omitempty"` // 专业名称 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家地区ID ExpectedEndDate *string `json:"expected_end_date,omitempty"` // 预期结束日期 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type EducationBuilder ¶
type EducationBuilder struct {
// contains filtered or unexported fields
}
func NewEducationBuilder ¶
func NewEducationBuilder() *EducationBuilder
func (*EducationBuilder) Build ¶
func (builder *EducationBuilder) Build() *Education
func (*EducationBuilder) CountryRegionId ¶
func (builder *EducationBuilder) CountryRegionId(countryRegionId string) *EducationBuilder
国家地区ID
示例值:1
func (*EducationBuilder) CustomFields ¶
func (builder *EducationBuilder) CustomFields(customFields []*CustomFieldData) *EducationBuilder
自定义字段
示例值:
func (*EducationBuilder) Degree ¶
func (builder *EducationBuilder) Degree(degree *Enum) *EducationBuilder
学位
示例值:
func (*EducationBuilder) EndDate ¶
func (builder *EducationBuilder) EndDate(endDate string) *EducationBuilder
结束日期
示例值:2015-06-30
func (*EducationBuilder) ExpectedEndDate ¶
func (builder *EducationBuilder) ExpectedEndDate(expectedEndDate string) *EducationBuilder
预期结束日期
示例值:2011-09-01
func (*EducationBuilder) FieldOfStudy ¶
func (builder *EducationBuilder) FieldOfStudy(fieldOfStudy []*I18n) *EducationBuilder
专业
示例值:
func (*EducationBuilder) FieldOfStudyName ¶
func (builder *EducationBuilder) FieldOfStudyName(fieldOfStudyName *Enum) *EducationBuilder
专业名称
示例值:
func (*EducationBuilder) LevelOfEducation ¶
func (builder *EducationBuilder) LevelOfEducation(levelOfEducation *Enum) *EducationBuilder
学历
示例值:
func (*EducationBuilder) School ¶
func (builder *EducationBuilder) School(school []*I18n) *EducationBuilder
学校
示例值:
func (*EducationBuilder) SchoolName ¶
func (builder *EducationBuilder) SchoolName(schoolName *Enum) *EducationBuilder
学校名称
示例值:
func (*EducationBuilder) StartDate ¶
func (builder *EducationBuilder) StartDate(startDate string) *EducationBuilder
开始日期
示例值:2011-09-01
type EducationInfo ¶
type EducationInfo struct { SchoolName *string `json:"school_name,omitempty"` // 学校名称 Education *string `json:"education,omitempty"` // 学历 StartTime *string `json:"start_time,omitempty"` // 开始时间 EndTime *string `json:"end_time,omitempty"` // 结束时间 FieldOfStudy *string `json:"field_of_study,omitempty"` // 专业 }
type EducationInfoBuilder ¶
type EducationInfoBuilder struct {
// contains filtered or unexported fields
}
func NewEducationInfoBuilder ¶
func NewEducationInfoBuilder() *EducationInfoBuilder
func (*EducationInfoBuilder) Build ¶
func (builder *EducationInfoBuilder) Build() *EducationInfo
func (*EducationInfoBuilder) Education ¶
func (builder *EducationInfoBuilder) Education(education string) *EducationInfoBuilder
学历
示例值:phd
func (*EducationInfoBuilder) EndTime ¶
func (builder *EducationInfoBuilder) EndTime(endTime string) *EducationInfoBuilder
结束时间
示例值:2018-04-01
func (*EducationInfoBuilder) FieldOfStudy ¶
func (builder *EducationInfoBuilder) FieldOfStudy(fieldOfStudy string) *EducationInfoBuilder
专业
示例值:医学影像技术
func (*EducationInfoBuilder) SchoolName ¶
func (builder *EducationInfoBuilder) SchoolName(schoolName string) *EducationInfoBuilder
学校名称
示例值:长安大学
func (*EducationInfoBuilder) StartTime ¶
func (builder *EducationInfoBuilder) StartTime(startTime string) *EducationInfoBuilder
开始时间
示例值:2017-04-01
type EmailBuilder ¶
type EmailBuilder struct {
// contains filtered or unexported fields
}
func NewEmailBuilder ¶
func NewEmailBuilder() *EmailBuilder
func (*EmailBuilder) Build ¶
func (builder *EmailBuilder) Build() *Email
func (*EmailBuilder) Email ¶
func (builder *EmailBuilder) Email(email string) *EmailBuilder
邮箱地址
示例值:1234567@bytedance.com
func (*EmailBuilder) EmailUsage ¶
func (builder *EmailBuilder) EmailUsage(emailUsage *Enum) *EmailBuilder
邮箱用途,枚举值可通过文档【飞书人事枚举常量】邮箱用途(email_usage)枚举定义获得
示例值:
func (*EmailBuilder) IsPrimary ¶
func (builder *EmailBuilder) IsPrimary(isPrimary bool) *EmailBuilder
是否为主要邮箱
示例值:true
func (*EmailBuilder) IsPublic ¶
func (builder *EmailBuilder) IsPublic(isPublic bool) *EmailBuilder
是否为公开邮箱
示例值:true
type EmergencyContact ¶
type EmergencyContact struct { Name *PersonName `json:"name,omitempty"` // 姓名 Relationship *Enum `json:"relationship,omitempty"` // 关系 PhoneIst []*Phone `json:"phone_ist,omitempty"` // 电话 PhoneList []*Phone `json:"phone_list,omitempty"` // 电话 LegalName *string `json:"legal_name,omitempty"` // 法定姓名 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 Address *Address `json:"address,omitempty"` // 联系地址 Email *Email `json:"email,omitempty"` // 邮箱 }
type EmergencyContactBuilder ¶
type EmergencyContactBuilder struct {
// contains filtered or unexported fields
}
func NewEmergencyContactBuilder ¶
func NewEmergencyContactBuilder() *EmergencyContactBuilder
func (*EmergencyContactBuilder) Address ¶ added in v3.1.3
func (builder *EmergencyContactBuilder) Address(address *Address) *EmergencyContactBuilder
联系地址
示例值:
func (*EmergencyContactBuilder) Build ¶
func (builder *EmergencyContactBuilder) Build() *EmergencyContact
func (*EmergencyContactBuilder) CustomFields ¶
func (builder *EmergencyContactBuilder) CustomFields(customFields []*CustomFieldData) *EmergencyContactBuilder
自定义字段
示例值:
func (*EmergencyContactBuilder) Email ¶ added in v3.1.3
func (builder *EmergencyContactBuilder) Email(email *Email) *EmergencyContactBuilder
邮箱
示例值:
func (*EmergencyContactBuilder) LegalName ¶
func (builder *EmergencyContactBuilder) LegalName(legalName string) *EmergencyContactBuilder
法定姓名
示例值:张三
func (*EmergencyContactBuilder) Name ¶
func (builder *EmergencyContactBuilder) Name(name *PersonName) *EmergencyContactBuilder
姓名
示例值:
func (*EmergencyContactBuilder) PhoneIst ¶
func (builder *EmergencyContactBuilder) PhoneIst(phoneIst []*Phone) *EmergencyContactBuilder
电话
示例值:
func (*EmergencyContactBuilder) PhoneList ¶
func (builder *EmergencyContactBuilder) PhoneList(phoneList []*Phone) *EmergencyContactBuilder
电话
示例值:
func (*EmergencyContactBuilder) Relationship ¶
func (builder *EmergencyContactBuilder) Relationship(relationship *Enum) *EmergencyContactBuilder
关系
示例值:
type Employee ¶
type Employee struct { EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID AtsApplicationId *string `json:"ats_application_id,omitempty"` // 招聘投递 ID ,详细信息可以通过【获取投递信息】接口查询获得 PrehireId *string `json:"prehire_id,omitempty"` // 待入职 ID EmployeeNumber *string `json:"employee_number,omitempty"` // 工号 EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 ID,详细信息可通过【查询单个人员类型】接口获得 DepartmentId *string `json:"department_id,omitempty"` // 部门 ID,详细信息可通过【查询单个部门】接口获得 JobLevelId *string `json:"job_level_id,omitempty"` // 职级 ID,详细信息可通过【查询单个职务级别】接口获得 JobGradeId *string `json:"job_grade_id,omitempty"` // 职等 ID WorkLocationId *string `json:"work_location_id,omitempty"` // 工作地点 ID,详细信息可通过【查询单个地点】接口获得 JobFamilyId *string `json:"job_family_id,omitempty"` // 序列 ID,详细信息可通过【查询单个职务序列】接口获得 JobId *string `json:"job_id,omitempty"` // 职务 ID,详细信息可通过【查询单个职务】接口获得 CompanyId *string `json:"company_id,omitempty"` // 所属公司 ID,详细信息可通过【查询单个公司】接口获得 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度 ID,详细信息可通过【查询单个工时制度】接口获得 Tenure *string `json:"tenure,omitempty"` // 司龄 SeniorityDate *string `json:"seniority_date,omitempty"` // 资历起算日期 EffectiveDate *string `json:"effective_date,omitempty"` // 当前雇佣记录的入职日期 PrimaryEmployment *bool `json:"primary_employment,omitempty"` // 是否是主雇佣信息 ProbationPeriod *int `json:"probation_period,omitempty"` // 试用期时长(月) OnProbation *bool `json:"on_probation,omitempty"` // 是否在试用期中 ProbationEndDate *string `json:"probation_end_date,omitempty"` // 试用期结束日期(实际结束日期) DirectManagerId *string `json:"direct_manager_id,omitempty"` // 直接上级的雇佣 ID DottedLineManagerId *string `json:"dotted_line_manager_id,omitempty"` // 虚线上级的雇佣 ID EmploymentType *Enum `json:"employment_type,omitempty"` // 雇佣类型,枚举值可通过文档【飞书人事枚举常量】雇佣类型(employment_type)枚举定义获得 EmploymentStatus *Enum `json:"employment_status,omitempty"` // 雇佣状态,枚举值可通过文档【飞书人事枚举常量】雇员状态(employment_status)枚举定义获得 ExpirationDate *string `json:"expiration_date,omitempty"` // 离职日期,即员工的最后一个工作日,最后一个工作日时员工的雇佣状态仍为“在职”,次日凌晨将更改为“离职” ReasonForOffboarding *Enum `json:"reason_for_offboarding,omitempty"` // 离职原因,枚举值可通过文档【飞书人事枚举常量】离职原因(reason_for_offboarding)枚举定义部分获得 EmailAddress *string `json:"email_address,omitempty"` // 邮箱地址 WorkEmailList []*WorkEmail `json:"work_email_list,omitempty"` // 工作邮箱列表,只有当邮箱满足下面所有条件时,才在个人信息页面可见 CostCenterList []*JobDataCostCenter `json:"cost_center_list,omitempty"` // 成本中心列表 Rehire *Enum `json:"rehire,omitempty"` // 是否离职重聘 RehireEmploymentId *string `json:"rehire_employment_id,omitempty"` // 历史雇佣信息 ID,可以通过【查询单个雇佣信息】查询详细信息 PersonInfo *PersonInfo `json:"person_info,omitempty"` // 基本个人信息 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 NoncompeteStatus *Enum `json:"noncompete_status,omitempty"` // 竞业状态,枚举值包括:1.竞业中;2.未竞业 PastOffboarding *bool `json:"past_offboarding,omitempty"` // 是否历史离职人员 RegularEmployeeStartDate *string `json:"regular_employee_start_date,omitempty"` // 转正式日期 ExternalId *string `json:"external_id,omitempty"` // 外部系统 ID , 可存储租户系统中的员工 ID TimesEmployed *int `json:"times_employed,omitempty"` // 入职次数 RecruitmentType *Enum `json:"recruitment_type,omitempty"` // 招聘来源,枚举值 api_name 可通过【获取自定义字段详情】接口查询 AvatarUrl *string `json:"avatar_url,omitempty"` // 员工头像 PrimaryContractId *string `json:"primary_contract_id,omitempty"` // 主合同 ID ContractStartDate *string `json:"contract_start_date,omitempty"` // 主合同开始日期 ContractEndDate *string `json:"contract_end_date,omitempty"` // 主合同到期日期 ContractExpectedEndDate *string `json:"contract_expected_end_date,omitempty"` // 主合同预计到期日期 PayGroupId *string `json:"pay_group_id,omitempty"` // 所属薪资组 ID InternationalAssignment *bool `json:"international_assignment,omitempty"` // 是否外派 WorkCalendarId *string `json:"work_calendar_id,omitempty"` // 工作日历 ID Department *BasicDepartment `json:"department,omitempty"` // 部门基本信息 DirectManager *BasicEmployee `json:"direct_manager,omitempty"` // 直接上级基本信息 DottedLineManager *BasicEmployee `json:"dotted_line_manager,omitempty"` // 虚线上级基本信息 TimeZone *string `json:"time_zone,omitempty"` // 时区 }
type EmployeeBuilder ¶
type EmployeeBuilder struct {
// contains filtered or unexported fields
}
func NewEmployeeBuilder ¶
func NewEmployeeBuilder() *EmployeeBuilder
func (*EmployeeBuilder) AtsApplicationId ¶
func (builder *EmployeeBuilder) AtsApplicationId(atsApplicationId string) *EmployeeBuilder
招聘投递 ID ,详细信息可以通过【获取投递信息】接口查询获得
示例值:6838119494196871234
func (*EmployeeBuilder) AvatarUrl ¶
func (builder *EmployeeBuilder) AvatarUrl(avatarUrl string) *EmployeeBuilder
员工头像
func (*EmployeeBuilder) Build ¶
func (builder *EmployeeBuilder) Build() *Employee
func (*EmployeeBuilder) CompanyId ¶
func (builder *EmployeeBuilder) CompanyId(companyId string) *EmployeeBuilder
所属公司 ID,详细信息可通过【查询单个公司】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) ContractEndDate ¶
func (builder *EmployeeBuilder) ContractEndDate(contractEndDate string) *EmployeeBuilder
主合同到期日期
示例值:2020-01-01
func (*EmployeeBuilder) ContractExpectedEndDate ¶
func (builder *EmployeeBuilder) ContractExpectedEndDate(contractExpectedEndDate string) *EmployeeBuilder
主合同预计到期日期
示例值:2020-01-01
func (*EmployeeBuilder) ContractStartDate ¶
func (builder *EmployeeBuilder) ContractStartDate(contractStartDate string) *EmployeeBuilder
主合同开始日期
示例值:2020-01-01
func (*EmployeeBuilder) CostCenterList ¶
func (builder *EmployeeBuilder) CostCenterList(costCenterList []*JobDataCostCenter) *EmployeeBuilder
成本中心列表
示例值:
func (*EmployeeBuilder) CustomFields ¶
func (builder *EmployeeBuilder) CustomFields(customFields []*CustomFieldData) *EmployeeBuilder
自定义字段
示例值:
func (*EmployeeBuilder) Department ¶
func (builder *EmployeeBuilder) Department(department *BasicDepartment) *EmployeeBuilder
部门基本信息
示例值:
func (*EmployeeBuilder) DepartmentId ¶
func (builder *EmployeeBuilder) DepartmentId(departmentId string) *EmployeeBuilder
部门 ID,详细信息可通过【查询单个部门】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) DirectManager ¶
func (builder *EmployeeBuilder) DirectManager(directManager *BasicEmployee) *EmployeeBuilder
直接上级基本信息
示例值:
func (*EmployeeBuilder) DirectManagerId ¶
func (builder *EmployeeBuilder) DirectManagerId(directManagerId string) *EmployeeBuilder
直接上级的雇佣 ID
示例值:7027024823985411287
func (*EmployeeBuilder) DottedLineManager ¶
func (builder *EmployeeBuilder) DottedLineManager(dottedLineManager *BasicEmployee) *EmployeeBuilder
虚线上级基本信息
示例值:
func (*EmployeeBuilder) DottedLineManagerId ¶
func (builder *EmployeeBuilder) DottedLineManagerId(dottedLineManagerId string) *EmployeeBuilder
虚线上级的雇佣 ID
示例值:7027024823985411782
func (*EmployeeBuilder) EffectiveDate ¶
func (builder *EmployeeBuilder) EffectiveDate(effectiveDate string) *EmployeeBuilder
当前雇佣记录的入职日期
示例值:2021-03-16
func (*EmployeeBuilder) EmailAddress ¶
func (builder *EmployeeBuilder) EmailAddress(emailAddress string) *EmployeeBuilder
邮箱地址
示例值:test@163.com
func (*EmployeeBuilder) EmployeeNumber ¶
func (builder *EmployeeBuilder) EmployeeNumber(employeeNumber string) *EmployeeBuilder
工号
示例值:1000000
func (*EmployeeBuilder) EmployeeTypeId ¶
func (builder *EmployeeBuilder) EmployeeTypeId(employeeTypeId string) *EmployeeBuilder
人员类型 ID,详细信息可通过【查询单个人员类型】接口获得
示例值:6971090097697521314
func (*EmployeeBuilder) EmploymentId ¶
func (builder *EmployeeBuilder) EmploymentId(employmentId string) *EmployeeBuilder
雇佣 ID
示例值:6893014062142064135
func (*EmployeeBuilder) EmploymentStatus ¶
func (builder *EmployeeBuilder) EmploymentStatus(employmentStatus *Enum) *EmployeeBuilder
雇佣状态,枚举值可通过文档【飞书人事枚举常量】雇员状态(employment_status)枚举定义获得
示例值:
func (*EmployeeBuilder) EmploymentType ¶
func (builder *EmployeeBuilder) EmploymentType(employmentType *Enum) *EmployeeBuilder
雇佣类型,枚举值可通过文档【飞书人事枚举常量】雇佣类型(employment_type)枚举定义获得
示例值:
func (*EmployeeBuilder) ExpirationDate ¶
func (builder *EmployeeBuilder) ExpirationDate(expirationDate string) *EmployeeBuilder
离职日期,即员工的最后一个工作日,最后一个工作日时员工的雇佣状态仍为“在职”,次日凌晨将更改为“离职”
示例值:2022-08-16
func (*EmployeeBuilder) ExternalId ¶
func (builder *EmployeeBuilder) ExternalId(externalId string) *EmployeeBuilder
外部系统 ID , 可存储租户系统中的员工 ID
示例值:10000000
func (*EmployeeBuilder) InternationalAssignment ¶
func (builder *EmployeeBuilder) InternationalAssignment(internationalAssignment bool) *EmployeeBuilder
是否外派
示例值:true
func (*EmployeeBuilder) JobFamilyId ¶
func (builder *EmployeeBuilder) JobFamilyId(jobFamilyId string) *EmployeeBuilder
序列 ID,详细信息可通过【查询单个职务序列】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) JobGradeId ¶
func (builder *EmployeeBuilder) JobGradeId(jobGradeId string) *EmployeeBuilder
职等 ID
示例值:6893014062142064135
func (*EmployeeBuilder) JobId ¶
func (builder *EmployeeBuilder) JobId(jobId string) *EmployeeBuilder
职务 ID,详细信息可通过【查询单个职务】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) JobLevelId ¶
func (builder *EmployeeBuilder) JobLevelId(jobLevelId string) *EmployeeBuilder
职级 ID,详细信息可通过【查询单个职务级别】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) NoncompeteStatus ¶
func (builder *EmployeeBuilder) NoncompeteStatus(noncompeteStatus *Enum) *EmployeeBuilder
竞业状态,枚举值包括:1.竞业中;2.未竞业
示例值:
func (*EmployeeBuilder) OnProbation ¶
func (builder *EmployeeBuilder) OnProbation(onProbation bool) *EmployeeBuilder
是否在试用期中
示例值:true
func (*EmployeeBuilder) PastOffboarding ¶
func (builder *EmployeeBuilder) PastOffboarding(pastOffboarding bool) *EmployeeBuilder
是否历史离职人员
示例值:true
func (*EmployeeBuilder) PayGroupId ¶
func (builder *EmployeeBuilder) PayGroupId(payGroupId string) *EmployeeBuilder
所属薪资组 ID
示例值:7164286667866966659
func (*EmployeeBuilder) PersonInfo ¶
func (builder *EmployeeBuilder) PersonInfo(personInfo *PersonInfo) *EmployeeBuilder
基本个人信息
示例值:
func (*EmployeeBuilder) PrehireId ¶
func (builder *EmployeeBuilder) PrehireId(prehireId string) *EmployeeBuilder
待入职 ID
示例值:7023239238976141133
func (*EmployeeBuilder) PrimaryContractId ¶
func (builder *EmployeeBuilder) PrimaryContractId(primaryContractId string) *EmployeeBuilder
主合同 ID
示例值:7164286667866966659
func (*EmployeeBuilder) PrimaryEmployment ¶
func (builder *EmployeeBuilder) PrimaryEmployment(primaryEmployment bool) *EmployeeBuilder
是否是主雇佣信息
示例值:true
func (*EmployeeBuilder) ProbationEndDate ¶
func (builder *EmployeeBuilder) ProbationEndDate(probationEndDate string) *EmployeeBuilder
试用期结束日期(实际结束日期)
示例值:2022-08-01
func (*EmployeeBuilder) ProbationPeriod ¶
func (builder *EmployeeBuilder) ProbationPeriod(probationPeriod int) *EmployeeBuilder
试用期时长(月)
示例值:16
func (*EmployeeBuilder) ReasonForOffboarding ¶
func (builder *EmployeeBuilder) ReasonForOffboarding(reasonForOffboarding *Enum) *EmployeeBuilder
离职原因,枚举值可通过文档【飞书人事枚举常量】离职原因(reason_for_offboarding)枚举定义部分获得
示例值:
func (*EmployeeBuilder) RecruitmentType ¶
func (builder *EmployeeBuilder) RecruitmentType(recruitmentType *Enum) *EmployeeBuilder
招聘来源,枚举值 api_name 可通过【获取自定义字段详情】接口查询
示例值:
func (*EmployeeBuilder) RegularEmployeeStartDate ¶
func (builder *EmployeeBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *EmployeeBuilder
转正式日期
示例值:2020-01-01
func (*EmployeeBuilder) Rehire ¶
func (builder *EmployeeBuilder) Rehire(rehire *Enum) *EmployeeBuilder
是否离职重聘
示例值:
func (*EmployeeBuilder) RehireEmploymentId ¶
func (builder *EmployeeBuilder) RehireEmploymentId(rehireEmploymentId string) *EmployeeBuilder
历史雇佣信息 ID,可以通过【查询单个雇佣信息】查询详细信息
示例值:7164286667866966659
func (*EmployeeBuilder) SeniorityDate ¶
func (builder *EmployeeBuilder) SeniorityDate(seniorityDate string) *EmployeeBuilder
资历起算日期
示例值:2021-03-16
func (*EmployeeBuilder) Tenure ¶
func (builder *EmployeeBuilder) Tenure(tenure string) *EmployeeBuilder
司龄
示例值:0.01
func (*EmployeeBuilder) TimeZone ¶
func (builder *EmployeeBuilder) TimeZone(timeZone string) *EmployeeBuilder
时区
示例值:Asia/Shanghai
func (*EmployeeBuilder) TimesEmployed ¶
func (builder *EmployeeBuilder) TimesEmployed(timesEmployed int) *EmployeeBuilder
入职次数
示例值:16
func (*EmployeeBuilder) WorkCalendarId ¶
func (builder *EmployeeBuilder) WorkCalendarId(workCalendarId string) *EmployeeBuilder
工作日历 ID
示例值:7164286667866966659
func (*EmployeeBuilder) WorkEmailList ¶
func (builder *EmployeeBuilder) WorkEmailList(workEmailList []*WorkEmail) *EmployeeBuilder
工作邮箱列表,只有当邮箱满足下面所有条件时,才在个人信息页面可见
示例值:
func (*EmployeeBuilder) WorkLocationId ¶
func (builder *EmployeeBuilder) WorkLocationId(workLocationId string) *EmployeeBuilder
工作地点 ID,详细信息可通过【查询单个地点】接口获得
示例值:6893014062142064135
func (*EmployeeBuilder) WorkingHoursTypeId ¶
func (builder *EmployeeBuilder) WorkingHoursTypeId(workingHoursTypeId string) *EmployeeBuilder
工时制度 ID,详细信息可通过【查询单个工时制度】接口获得
示例值:6893014062142064135
type EmployeeInternationalAssignment ¶
type EmployeeInternationalAssignment struct { EmploymentId *string `json:"employment_id,omitempty"` // Employment ID InternationalAssignments []*InternationalAssignmentV2 `json:"international_assignments,omitempty"` // 派驻信息列表 }
type EmployeeInternationalAssignmentBuilder ¶
type EmployeeInternationalAssignmentBuilder struct {
// contains filtered or unexported fields
}
func NewEmployeeInternationalAssignmentBuilder ¶
func NewEmployeeInternationalAssignmentBuilder() *EmployeeInternationalAssignmentBuilder
func (*EmployeeInternationalAssignmentBuilder) Build ¶
func (builder *EmployeeInternationalAssignmentBuilder) Build() *EmployeeInternationalAssignment
func (*EmployeeInternationalAssignmentBuilder) EmploymentId ¶
func (builder *EmployeeInternationalAssignmentBuilder) EmploymentId(employmentId string) *EmployeeInternationalAssignmentBuilder
Employment ID
示例值:6893014062142064135
func (*EmployeeInternationalAssignmentBuilder) InternationalAssignments ¶
func (builder *EmployeeInternationalAssignmentBuilder) InternationalAssignments(internationalAssignments []*InternationalAssignmentV2) *EmployeeInternationalAssignmentBuilder
派驻信息列表
示例值:
type EmployeeJobData ¶
type EmployeeJobDataBuilder ¶
type EmployeeJobDataBuilder struct {
// contains filtered or unexported fields
}
func NewEmployeeJobDataBuilder ¶
func NewEmployeeJobDataBuilder() *EmployeeJobDataBuilder
func (*EmployeeJobDataBuilder) Build ¶
func (builder *EmployeeJobDataBuilder) Build() *EmployeeJobData
func (*EmployeeJobDataBuilder) EmploymentId ¶
func (builder *EmployeeJobDataBuilder) EmploymentId(employmentId string) *EmployeeJobDataBuilder
Employment ID
示例值:6893014062142064135
func (*EmployeeJobDataBuilder) JobDatas ¶
func (builder *EmployeeJobDataBuilder) JobDatas(jobDatas []*JobData) *EmployeeJobDataBuilder
实体在 CoreHR 内部的唯一键
示例值:6890452208593372679
type Employment ¶
type Employment struct { PrehireId *string `json:"prehire_id,omitempty"` // 待入职 ID EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 Tenure *string `json:"tenure,omitempty"` // 司龄 DepartmentId *string `json:"department_id,omitempty"` // 部门 ID,枚举值及详细信息可通过【批量查询部门】接口查询获得 JobLevelId *string `json:"job_level_id,omitempty"` // 职级 ID,枚举值及详细信息可通过【批量查询职务级别】接口查询获得 WorkLocationId *string `json:"work_location_id,omitempty"` // 工作地点 ID,枚举值及详细信息可通过【批量查询地点】接口查询获得 JobFamilyId *string `json:"job_family_id,omitempty"` // 职务序列 ID,枚举值及详细信息可通过【批量查询职务序列】接口查询获得 JobId *string `json:"job_id,omitempty"` // 职务 ID,枚举值及详细信息可通过【批量查询职务】接口查询获得 CompanyId *string `json:"company_id,omitempty"` // 法人主体 ID,枚举值及详细信息可通过【批量查询公司】接口查询获得 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度 ID,枚举值及详细信息可通过【批量查询工时制度】接口查询获得 Id *string `json:"id,omitempty"` // 实体在飞书人事(企业版)内部的唯一键 SeniorityDate *string `json:"seniority_date,omitempty"` // 资历起算日期 EmployeeNumber *string `json:"employee_number,omitempty"` // 员工编号 EffectiveDate *string `json:"effective_date,omitempty"` // 当前雇佣记录的入职日期 ExpirationDate *string `json:"expiration_date,omitempty"` // 离职日期,即员工的最后一个工作日,最后一个工作日时员工的雇佣状态仍为“在职”,次日凌晨将更改为“离职” EmploymentType *Enum `json:"employment_type,omitempty"` // 雇佣类型 PersonId *string `json:"person_id,omitempty"` // 人员信息,引用 Person 的 ID ProbationPeriod *int `json:"probation_period,omitempty"` // 试用期时长(月),试用期结束日期 - 试用期开始日期后取月数 OnProbation *string `json:"on_probation,omitempty"` // 是否在试用期中 ProbationEndDate *string `json:"probation_end_date,omitempty"` // 试用期结束日期 PrimaryEmployment *bool `json:"primary_employment,omitempty"` // 是否是主雇佣信息 EmploymentStatus *Enum `json:"employment_status,omitempty"` // 雇员状态 WorkEmailList []*Email `json:"work_email_list,omitempty"` // 工作邮箱列表 EmailAddress *string `json:"email_address,omitempty"` // 邮箱 ReasonForOffboarding *Enum `json:"reason_for_offboarding,omitempty"` // 离职原因 CostCenterList []*JobDataCostCenter `json:"cost_center_list,omitempty"` // 成本中心列表 AtsApplicationId *string `json:"ats_application_id,omitempty"` // 招聘应用 ID CustomFields []*ObjectFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type EmploymentBp ¶
type EmploymentBpBuilder ¶
type EmploymentBpBuilder struct {
// contains filtered or unexported fields
}
func NewEmploymentBpBuilder ¶
func NewEmploymentBpBuilder() *EmploymentBpBuilder
func (*EmploymentBpBuilder) Build ¶
func (builder *EmploymentBpBuilder) Build() *EmploymentBp
func (*EmploymentBpBuilder) EmploymentId ¶
func (builder *EmploymentBpBuilder) EmploymentId(employmentId string) *EmploymentBpBuilder
员工雇佣 ID
示例值:6863326262618752123
func (*EmploymentBpBuilder) HrbpIds ¶
func (builder *EmploymentBpBuilder) HrbpIds(hrbpIds []string) *EmploymentBpBuilder
部门 hrbp 雇佣 ID 列表
示例值:
func (*EmploymentBpBuilder) LocationBpIds ¶
func (builder *EmploymentBpBuilder) LocationBpIds(locationBpIds []string) *EmploymentBpBuilder
属地 bp 雇佣 ID 列表
示例值:
type EmploymentBuilder ¶
type EmploymentBuilder struct {
// contains filtered or unexported fields
}
func NewEmploymentBuilder ¶
func NewEmploymentBuilder() *EmploymentBuilder
func (*EmploymentBuilder) AtsApplicationId ¶
func (builder *EmploymentBuilder) AtsApplicationId(atsApplicationId string) *EmploymentBuilder
招聘应用 ID
示例值:6838119494196871234
func (*EmploymentBuilder) Build ¶
func (builder *EmploymentBuilder) Build() *Employment
func (*EmploymentBuilder) CompanyId ¶
func (builder *EmploymentBuilder) CompanyId(companyId string) *EmploymentBuilder
法人主体 ID,枚举值及详细信息可通过【批量查询公司】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) CostCenterList ¶
func (builder *EmploymentBuilder) CostCenterList(costCenterList []*JobDataCostCenter) *EmploymentBuilder
成本中心列表
示例值:
func (*EmploymentBuilder) CustomFields ¶
func (builder *EmploymentBuilder) CustomFields(customFields []*ObjectFieldData) *EmploymentBuilder
自定义字段
示例值:
func (*EmploymentBuilder) DepartmentId ¶
func (builder *EmploymentBuilder) DepartmentId(departmentId string) *EmploymentBuilder
部门 ID,枚举值及详细信息可通过【批量查询部门】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) EffectiveDate ¶
func (builder *EmploymentBuilder) EffectiveDate(effectiveDate string) *EmploymentBuilder
当前雇佣记录的入职日期
示例值:2020-01-01
func (*EmploymentBuilder) EmailAddress ¶
func (builder *EmploymentBuilder) EmailAddress(emailAddress string) *EmploymentBuilder
邮箱
示例值:test@163.com
func (*EmploymentBuilder) EmployeeNumber ¶
func (builder *EmploymentBuilder) EmployeeNumber(employeeNumber string) *EmploymentBuilder
员工编号
示例值:1000000
func (*EmploymentBuilder) EmployeeTypeId ¶
func (builder *EmploymentBuilder) EmployeeTypeId(employeeTypeId string) *EmploymentBuilder
人员类型
示例值:1
func (*EmploymentBuilder) EmploymentStatus ¶
func (builder *EmploymentBuilder) EmploymentStatus(employmentStatus *Enum) *EmploymentBuilder
雇员状态
示例值:
func (*EmploymentBuilder) EmploymentType ¶
func (builder *EmploymentBuilder) EmploymentType(employmentType *Enum) *EmploymentBuilder
雇佣类型
示例值:
func (*EmploymentBuilder) ExpirationDate ¶
func (builder *EmploymentBuilder) ExpirationDate(expirationDate string) *EmploymentBuilder
离职日期,即员工的最后一个工作日,最后一个工作日时员工的雇佣状态仍为“在职”,次日凌晨将更改为“离职”
示例值:2021-01-01
func (*EmploymentBuilder) Id ¶
func (builder *EmploymentBuilder) Id(id string) *EmploymentBuilder
实体在飞书人事(企业版)内部的唯一键
示例值:6893014062142064135
func (*EmploymentBuilder) JobFamilyId ¶
func (builder *EmploymentBuilder) JobFamilyId(jobFamilyId string) *EmploymentBuilder
职务序列 ID,枚举值及详细信息可通过【批量查询职务序列】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) JobId ¶
func (builder *EmploymentBuilder) JobId(jobId string) *EmploymentBuilder
职务 ID,枚举值及详细信息可通过【批量查询职务】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) JobLevelId ¶
func (builder *EmploymentBuilder) JobLevelId(jobLevelId string) *EmploymentBuilder
职级 ID,枚举值及详细信息可通过【批量查询职务级别】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) OnProbation ¶
func (builder *EmploymentBuilder) OnProbation(onProbation string) *EmploymentBuilder
是否在试用期中
示例值:true
func (*EmploymentBuilder) PersonId ¶
func (builder *EmploymentBuilder) PersonId(personId string) *EmploymentBuilder
人员信息,引用 Person 的 ID
示例值:6919733936050406926
func (*EmploymentBuilder) PrehireId ¶
func (builder *EmploymentBuilder) PrehireId(prehireId string) *EmploymentBuilder
待入职 ID
示例值:1
func (*EmploymentBuilder) PrimaryEmployment ¶
func (builder *EmploymentBuilder) PrimaryEmployment(primaryEmployment bool) *EmploymentBuilder
是否是主雇佣信息
示例值:true
func (*EmploymentBuilder) ProbationEndDate ¶
func (builder *EmploymentBuilder) ProbationEndDate(probationEndDate string) *EmploymentBuilder
试用期结束日期
示例值:2022-01-01
func (*EmploymentBuilder) ProbationPeriod ¶
func (builder *EmploymentBuilder) ProbationPeriod(probationPeriod int) *EmploymentBuilder
试用期时长(月),试用期结束日期 - 试用期开始日期后取月数
示例值:9999
func (*EmploymentBuilder) ReasonForOffboarding ¶
func (builder *EmploymentBuilder) ReasonForOffboarding(reasonForOffboarding *Enum) *EmploymentBuilder
离职原因
示例值:
func (*EmploymentBuilder) SeniorityDate ¶
func (builder *EmploymentBuilder) SeniorityDate(seniorityDate string) *EmploymentBuilder
资历起算日期
示例值:2020-01-01
func (*EmploymentBuilder) Tenure ¶
func (builder *EmploymentBuilder) Tenure(tenure string) *EmploymentBuilder
司龄
示例值:1
func (*EmploymentBuilder) WorkEmailList ¶
func (builder *EmploymentBuilder) WorkEmailList(workEmailList []*Email) *EmploymentBuilder
工作邮箱列表
示例值:
func (*EmploymentBuilder) WorkLocationId ¶
func (builder *EmploymentBuilder) WorkLocationId(workLocationId string) *EmploymentBuilder
工作地点 ID,枚举值及详细信息可通过【批量查询地点】接口查询获得
示例值:6893014062142064135
func (*EmploymentBuilder) WorkingHoursTypeId ¶
func (builder *EmploymentBuilder) WorkingHoursTypeId(workingHoursTypeId string) *EmploymentBuilder
工时制度 ID,枚举值及详细信息可通过【批量查询工时制度】接口查询获得
示例值:6893014062142064135
type EnableDisableAssessmentProbationPathReqBodyBuilder ¶
type EnableDisableAssessmentProbationPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewEnableDisableAssessmentProbationPathReqBodyBuilder ¶
func NewEnableDisableAssessmentProbationPathReqBodyBuilder() *EnableDisableAssessmentProbationPathReqBodyBuilder
func (*EnableDisableAssessmentProbationPathReqBodyBuilder) Active ¶
func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) Active(active bool) *EnableDisableAssessmentProbationPathReqBodyBuilder
启用 / 停用状态。启用后可在试用期管理页面中可见试用期考核相关的字段。
示例值:true
func (*EnableDisableAssessmentProbationPathReqBodyBuilder) AppUrl ¶
func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) AppUrl(appUrl string) *EnableDisableAssessmentProbationPathReqBodyBuilder
试用期考核系统入口链接,当启用功能时该字段必填。
func (*EnableDisableAssessmentProbationPathReqBodyBuilder) Build ¶
func (builder *EnableDisableAssessmentProbationPathReqBodyBuilder) Build() (*EnableDisableAssessmentProbationReqBody, error)
type EnableDisableAssessmentProbationReq ¶
type EnableDisableAssessmentProbationReq struct { Body *EnableDisableAssessmentProbationReqBody `body:""` // contains filtered or unexported fields }
type EnableDisableAssessmentProbationReqBodyBuilder ¶
type EnableDisableAssessmentProbationReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewEnableDisableAssessmentProbationReqBodyBuilder ¶
func NewEnableDisableAssessmentProbationReqBodyBuilder() *EnableDisableAssessmentProbationReqBodyBuilder
func (*EnableDisableAssessmentProbationReqBodyBuilder) Active ¶
func (builder *EnableDisableAssessmentProbationReqBodyBuilder) Active(active bool) *EnableDisableAssessmentProbationReqBodyBuilder
启用 / 停用状态。启用后可在试用期管理页面中可见试用期考核相关的字段。
示例值:true
func (*EnableDisableAssessmentProbationReqBodyBuilder) AppUrl ¶
func (builder *EnableDisableAssessmentProbationReqBodyBuilder) AppUrl(appUrl string) *EnableDisableAssessmentProbationReqBodyBuilder
试用期考核系统入口链接,当启用功能时该字段必填。
func (*EnableDisableAssessmentProbationReqBodyBuilder) Build ¶
func (builder *EnableDisableAssessmentProbationReqBodyBuilder) Build() *EnableDisableAssessmentProbationReqBody
type EnableDisableAssessmentProbationReqBuilder ¶
type EnableDisableAssessmentProbationReqBuilder struct {
// contains filtered or unexported fields
}
func NewEnableDisableAssessmentProbationReqBuilder ¶
func NewEnableDisableAssessmentProbationReqBuilder() *EnableDisableAssessmentProbationReqBuilder
func (*EnableDisableAssessmentProbationReqBuilder) Body ¶
func (builder *EnableDisableAssessmentProbationReqBuilder) Body(body *EnableDisableAssessmentProbationReqBody) *EnableDisableAssessmentProbationReqBuilder
func (*EnableDisableAssessmentProbationReqBuilder) Build ¶
func (builder *EnableDisableAssessmentProbationReqBuilder) Build() *EnableDisableAssessmentProbationReq
type EnableDisableAssessmentProbationResp ¶
type EnableDisableAssessmentProbationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*EnableDisableAssessmentProbationResp) Success ¶
func (resp *EnableDisableAssessmentProbationResp) Success() bool
type EnumBuilder ¶
type EnumBuilder struct {
// contains filtered or unexported fields
}
func NewEnumBuilder ¶
func NewEnumBuilder() *EnumBuilder
func (*EnumBuilder) Build ¶
func (builder *EnumBuilder) Build() *Enum
func (*EnumBuilder) Display ¶
func (builder *EnumBuilder) Display(display []*I18n) *EnumBuilder
枚举多语展示
示例值:
func (*EnumBuilder) EnumName ¶
func (builder *EnumBuilder) EnumName(enumName string) *EnumBuilder
枚举值
示例值:phone_type
type FileBuilder ¶
type FileBuilder struct {
// contains filtered or unexported fields
}
func NewFileBuilder ¶
func NewFileBuilder() *FileBuilder
func (*FileBuilder) Build ¶
func (builder *FileBuilder) Build() *File
func (*FileBuilder) Id ¶
func (builder *FileBuilder) Id(id string) *FileBuilder
上传文件ID
示例值:150018109586e8ea745e47ae8feb3722dbe1d03a181336393633393133303431393831343930373235150200
type FormFieldVariableBoolValue ¶ added in v3.2.1
type FormFieldVariableBoolValue struct {
Value *bool `json:"value,omitempty"` // 布尔变量的值
}
type FormFieldVariableBoolValueBuilder ¶ added in v3.2.1
type FormFieldVariableBoolValueBuilder struct {
// contains filtered or unexported fields
}
func NewFormFieldVariableBoolValueBuilder ¶ added in v3.2.1
func NewFormFieldVariableBoolValueBuilder() *FormFieldVariableBoolValueBuilder
func (*FormFieldVariableBoolValueBuilder) Build ¶ added in v3.2.1
func (builder *FormFieldVariableBoolValueBuilder) Build() *FormFieldVariableBoolValue
func (*FormFieldVariableBoolValueBuilder) Value ¶ added in v3.2.1
func (builder *FormFieldVariableBoolValueBuilder) Value(value bool) *FormFieldVariableBoolValueBuilder
布尔变量的值
示例值:true
type FormFieldVariableI18nValue ¶ added in v3.2.1
type FormFieldVariableI18nValue struct {
Value *BpmDataengineI18n `json:"value,omitempty"` // 多语参数
}
type FormFieldVariableI18nValueBuilder ¶ added in v3.2.1
type FormFieldVariableI18nValueBuilder struct {
// contains filtered or unexported fields
}
func NewFormFieldVariableI18nValueBuilder ¶ added in v3.2.1
func NewFormFieldVariableI18nValueBuilder() *FormFieldVariableI18nValueBuilder
func (*FormFieldVariableI18nValueBuilder) Build ¶ added in v3.2.1
func (builder *FormFieldVariableI18nValueBuilder) Build() *FormFieldVariableI18nValue
func (*FormFieldVariableI18nValueBuilder) Value ¶ added in v3.2.1
func (builder *FormFieldVariableI18nValueBuilder) Value(value *BpmDataengineI18n) *FormFieldVariableI18nValueBuilder
多语参数
示例值:
type FormFieldVariableNullValue ¶ added in v3.2.1
type FormFieldVariableNullValue struct { }
type FormFieldVariableNumberValue ¶ added in v3.2.1
type FormFieldVariableNumberValue struct {
Value *int `json:"value,omitempty"` // 数值类型变量的值
}
type FormFieldVariableNumberValueBuilder ¶ added in v3.2.1
type FormFieldVariableNumberValueBuilder struct {
// contains filtered or unexported fields
}
func NewFormFieldVariableNumberValueBuilder ¶ added in v3.2.1
func NewFormFieldVariableNumberValueBuilder() *FormFieldVariableNumberValueBuilder
func (*FormFieldVariableNumberValueBuilder) Build ¶ added in v3.2.1
func (builder *FormFieldVariableNumberValueBuilder) Build() *FormFieldVariableNumberValue
func (*FormFieldVariableNumberValueBuilder) Value ¶ added in v3.2.1
func (builder *FormFieldVariableNumberValueBuilder) Value(value int) *FormFieldVariableNumberValueBuilder
数值类型变量的值
示例值:1
type FormFieldVariableStringValue ¶ added in v3.2.1
type FormFieldVariableStringValue struct {
Value *string `json:"value,omitempty"` // 文本类型变量的值
}
type FormFieldVariableStringValueBuilder ¶ added in v3.2.1
type FormFieldVariableStringValueBuilder struct {
// contains filtered or unexported fields
}
func NewFormFieldVariableStringValueBuilder ¶ added in v3.2.1
func NewFormFieldVariableStringValueBuilder() *FormFieldVariableStringValueBuilder
func (*FormFieldVariableStringValueBuilder) Build ¶ added in v3.2.1
func (builder *FormFieldVariableStringValueBuilder) Build() *FormFieldVariableStringValue
func (*FormFieldVariableStringValueBuilder) Value ¶ added in v3.2.1
func (builder *FormFieldVariableStringValueBuilder) Value(value string) *FormFieldVariableStringValueBuilder
文本类型变量的值
示例值:字符串
type FormVariableValueInfo ¶ added in v3.2.1
type FormVariableValueInfo struct { TextValue *FormFieldVariableStringValue `json:"text_value,omitempty"` // 文本变量对象 NumberValue *FormFieldVariableStringValue `json:"number_value,omitempty"` // 数值变量对象 DateValue *FormFieldVariableNumberValue `json:"date_value,omitempty"` // 日期变量对象 EmploymentValue *FormFieldVariableStringValue `json:"employment_value,omitempty"` // 员工变量对象 DateTimeValue *FormFieldVariableNumberValue `json:"date_time_value,omitempty"` // 日期时间变量对象 EnumValue *FormFieldVariableStringValue `json:"enum_value,omitempty"` // 枚举变量对象 NullValue *FormFieldVariableNullValue `json:"null_value,omitempty"` // 空变量对象 BoolValue *FormFieldVariableBoolValue `json:"bool_value,omitempty"` // 布尔变量对象 DepartmentValue *FormFieldVariableStringValue `json:"department_value,omitempty"` // 部门变量对象 I18nValue *FormFieldVariableI18nValue `json:"i18n_value,omitempty"` // i18n变量对象 ObjectValue *FormFieldVariableStringValue `json:"object_value,omitempty"` // 对象变量 }
type FormVariableValueInfoBuilder ¶ added in v3.2.1
type FormVariableValueInfoBuilder struct {
// contains filtered or unexported fields
}
func NewFormVariableValueInfoBuilder ¶ added in v3.2.1
func NewFormVariableValueInfoBuilder() *FormVariableValueInfoBuilder
func (*FormVariableValueInfoBuilder) BoolValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) BoolValue(boolValue *FormFieldVariableBoolValue) *FormVariableValueInfoBuilder
布尔变量对象
示例值:
func (*FormVariableValueInfoBuilder) Build ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) Build() *FormVariableValueInfo
func (*FormVariableValueInfoBuilder) DateTimeValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) DateTimeValue(dateTimeValue *FormFieldVariableNumberValue) *FormVariableValueInfoBuilder
日期时间变量对象
示例值:
func (*FormVariableValueInfoBuilder) DateValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) DateValue(dateValue *FormFieldVariableNumberValue) *FormVariableValueInfoBuilder
日期变量对象
示例值:
func (*FormVariableValueInfoBuilder) DepartmentValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) DepartmentValue(departmentValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
部门变量对象
示例值:
func (*FormVariableValueInfoBuilder) EmploymentValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) EmploymentValue(employmentValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
员工变量对象
示例值:
func (*FormVariableValueInfoBuilder) EnumValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) EnumValue(enumValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
枚举变量对象
示例值:
func (*FormVariableValueInfoBuilder) I18nValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) I18nValue(i18nValue *FormFieldVariableI18nValue) *FormVariableValueInfoBuilder
i18n变量对象
示例值:
func (*FormVariableValueInfoBuilder) NullValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) NullValue(nullValue *FormFieldVariableNullValue) *FormVariableValueInfoBuilder
空变量对象
示例值:
func (*FormVariableValueInfoBuilder) NumberValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) NumberValue(numberValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
数值变量对象
示例值:
func (*FormVariableValueInfoBuilder) ObjectValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) ObjectValue(objectValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
对象变量
示例值:
func (*FormVariableValueInfoBuilder) TextValue ¶ added in v3.2.1
func (builder *FormVariableValueInfoBuilder) TextValue(textValue *FormFieldVariableStringValue) *FormVariableValueInfoBuilder
文本变量对象
示例值:
type GetByDepartmentBpPathReqBodyBuilder ¶
type GetByDepartmentBpPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGetByDepartmentBpPathReqBodyBuilder ¶
func NewGetByDepartmentBpPathReqBodyBuilder() *GetByDepartmentBpPathReqBodyBuilder
func (*GetByDepartmentBpPathReqBodyBuilder) Build ¶
func (builder *GetByDepartmentBpPathReqBodyBuilder) Build() (*GetByDepartmentBpReqBody, error)
func (*GetByDepartmentBpPathReqBodyBuilder) DepartmentId ¶
func (builder *GetByDepartmentBpPathReqBodyBuilder) DepartmentId(departmentId string) *GetByDepartmentBpPathReqBodyBuilder
部门 ID
示例值:6893014062142064111
type GetByDepartmentBpReq ¶
type GetByDepartmentBpReq struct { Body *GetByDepartmentBpReqBody `body:""` // contains filtered or unexported fields }
type GetByDepartmentBpReqBody ¶
type GetByDepartmentBpReqBody struct {
DepartmentId *string `json:"department_id,omitempty"` // 部门 ID
}
type GetByDepartmentBpReqBodyBuilder ¶
type GetByDepartmentBpReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGetByDepartmentBpReqBodyBuilder ¶
func NewGetByDepartmentBpReqBodyBuilder() *GetByDepartmentBpReqBodyBuilder
func (*GetByDepartmentBpReqBodyBuilder) Build ¶
func (builder *GetByDepartmentBpReqBodyBuilder) Build() *GetByDepartmentBpReqBody
func (*GetByDepartmentBpReqBodyBuilder) DepartmentId ¶
func (builder *GetByDepartmentBpReqBodyBuilder) DepartmentId(departmentId string) *GetByDepartmentBpReqBodyBuilder
部门 ID
示例值:6893014062142064111
type GetByDepartmentBpReqBuilder ¶
type GetByDepartmentBpReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetByDepartmentBpReqBuilder ¶
func NewGetByDepartmentBpReqBuilder() *GetByDepartmentBpReqBuilder
func (*GetByDepartmentBpReqBuilder) Body ¶
func (builder *GetByDepartmentBpReqBuilder) Body(body *GetByDepartmentBpReqBody) *GetByDepartmentBpReqBuilder
func (*GetByDepartmentBpReqBuilder) Build ¶
func (builder *GetByDepartmentBpReqBuilder) Build() *GetByDepartmentBpReq
func (*GetByDepartmentBpReqBuilder) DepartmentIdType ¶
func (builder *GetByDepartmentBpReqBuilder) DepartmentIdType(departmentIdType string) *GetByDepartmentBpReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*GetByDepartmentBpReqBuilder) UserIdType ¶
func (builder *GetByDepartmentBpReqBuilder) UserIdType(userIdType string) *GetByDepartmentBpReqBuilder
用户 ID 类型
示例值:open_id
type GetByDepartmentBpResp ¶
type GetByDepartmentBpResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetByDepartmentBpRespData `json:"data"` // 业务数据 }
func (*GetByDepartmentBpResp) Success ¶
func (resp *GetByDepartmentBpResp) Success() bool
type GetByDepartmentBpRespData ¶
type GetByDepartmentBpRespData struct {
Items []*DepartmentHrbp `json:"items,omitempty"` // 部门 HRBP 信息,依次为部门及各层级上级部门
}
type GetJobReqBuilder ¶
type GetJobReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetJobReqBuilder ¶
func NewGetJobReqBuilder() *GetJobReqBuilder
func (*GetJobReqBuilder) Build ¶
func (builder *GetJobReqBuilder) Build() *GetJobReq
func (*GetJobReqBuilder) JobId ¶
func (builder *GetJobReqBuilder) JobId(jobId string) *GetJobReqBuilder
序列级别ID
示例值:151515
type GetJobResp ¶
type GetJobResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetJobRespData `json:"data"` // 业务数据 }
func (*GetJobResp) Success ¶
func (resp *GetJobResp) Success() bool
type GetJobRespData ¶
type GetJobRespData struct {
Job *Job `json:"job,omitempty"` // 职务信息
}
type GetProcessReq ¶
type GetProcessReq struct {
// contains filtered or unexported fields
}
type GetProcessReqBuilder ¶
type GetProcessReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetProcessReqBuilder ¶
func NewGetProcessReqBuilder() *GetProcessReqBuilder
func (*GetProcessReqBuilder) Build ¶
func (builder *GetProcessReqBuilder) Build() *GetProcessReq
func (*GetProcessReqBuilder) ProcessId ¶
func (builder *GetProcessReqBuilder) ProcessId(processId string) *GetProcessReqBuilder
流程ID
示例值:7278949005675988535
func (*GetProcessReqBuilder) UserIdType ¶
func (builder *GetProcessReqBuilder) UserIdType(userIdType string) *GetProcessReqBuilder
用户 ID 类型
示例值:open_id
type GetProcessResp ¶
type GetProcessResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetProcessRespData `json:"data"` // 业务数据 }
func (*GetProcessResp) Success ¶
func (resp *GetProcessResp) Success() bool
type GetProcessRespData ¶
type GetProcessRespData struct { ProcessId *string `json:"process_id,omitempty"` // 流程实例ID Status *int `json:"status,omitempty"` // 流程状态 FlowTemplateId *string `json:"flow_template_id,omitempty"` // 业务类型ID FlowTemplateName *DataengineI18n `json:"flow_template_name,omitempty"` // 业务类型名称 FlowDefinitionId *string `json:"flow_definition_id,omitempty"` // 流程定义ID FlowDefinitionName *DataengineI18n `json:"flow_definition_name,omitempty"` // 流程定义名称 InitiatorId *string `json:"initiator_id,omitempty"` // 流程发起人ID InitiatorName *DataengineI18n `json:"initiator_name,omitempty"` // 流程发起人姓名 CreateTime *string `json:"create_time,omitempty"` // 流程发起时间,Unix毫秒时间戳 CompleteTime *string `json:"complete_time,omitempty"` // 流程结束时间,Unix毫秒时间戳 StartLinks *ProcessLink `json:"start_links,omitempty"` // 发起单据地址 Abstracts []*ProcessAbstractItem `json:"abstracts,omitempty"` // 流程摘要,会随着流程流转发生变化 Todos []*ProcessTodoItem `json:"todos,omitempty"` // 待办列表 CcList []*ProcessCcItem `json:"cc_list,omitempty"` // 抄送列表 DoneList []*ProcessDoneItem `json:"done_list,omitempty"` // 已办列表 }
type HiberarchyCommon ¶
type HiberarchyCommon struct { ParentId *string `json:"parent_id,omitempty"` // 上级组织 Name []*I18n `json:"name,omitempty"` // 名称 Type *Enum `json:"type,omitempty"` // 组织类型 Active *bool `json:"active,omitempty"` // 启用 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 Code *string `json:"code,omitempty"` // 编码 Description []*I18n `json:"description,omitempty"` // 描述 TreeOrder *string `json:"tree_order,omitempty"` // 树形排序,代表同层级的部门排序序号 ListOrder *string `json:"list_order,omitempty"` // 列表排序,代表所有部门的混排序号 CustomFields []*ObjectFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type HiberarchyCommonBuilder ¶
type HiberarchyCommonBuilder struct {
// contains filtered or unexported fields
}
func NewHiberarchyCommonBuilder ¶
func NewHiberarchyCommonBuilder() *HiberarchyCommonBuilder
func (*HiberarchyCommonBuilder) Active ¶
func (builder *HiberarchyCommonBuilder) Active(active bool) *HiberarchyCommonBuilder
启用
示例值:true
func (*HiberarchyCommonBuilder) Build ¶
func (builder *HiberarchyCommonBuilder) Build() *HiberarchyCommon
func (*HiberarchyCommonBuilder) Code ¶
func (builder *HiberarchyCommonBuilder) Code(code string) *HiberarchyCommonBuilder
编码
示例值:12456
func (*HiberarchyCommonBuilder) CustomFields ¶
func (builder *HiberarchyCommonBuilder) CustomFields(customFields []*ObjectFieldData) *HiberarchyCommonBuilder
自定义字段
示例值:
func (*HiberarchyCommonBuilder) Description ¶
func (builder *HiberarchyCommonBuilder) Description(description []*I18n) *HiberarchyCommonBuilder
描述
示例值:
func (*HiberarchyCommonBuilder) EffectiveTime ¶
func (builder *HiberarchyCommonBuilder) EffectiveTime(effectiveTime string) *HiberarchyCommonBuilder
生效时间
示例值:2020-05-01 00:00:00
func (*HiberarchyCommonBuilder) ExpirationTime ¶
func (builder *HiberarchyCommonBuilder) ExpirationTime(expirationTime string) *HiberarchyCommonBuilder
失效时间
示例值:2020-05-02 00:00:00
func (*HiberarchyCommonBuilder) ListOrder ¶
func (builder *HiberarchyCommonBuilder) ListOrder(listOrder string) *HiberarchyCommonBuilder
列表排序,代表所有部门的混排序号
示例值:123
func (*HiberarchyCommonBuilder) Name ¶
func (builder *HiberarchyCommonBuilder) Name(name []*I18n) *HiberarchyCommonBuilder
名称
示例值:
func (*HiberarchyCommonBuilder) ParentId ¶
func (builder *HiberarchyCommonBuilder) ParentId(parentId string) *HiberarchyCommonBuilder
上级组织
示例值:4719168654814483759
func (*HiberarchyCommonBuilder) TreeOrder ¶
func (builder *HiberarchyCommonBuilder) TreeOrder(treeOrder string) *HiberarchyCommonBuilder
树形排序,代表同层级的部门排序序号
示例值:123
func (*HiberarchyCommonBuilder) Type ¶
func (builder *HiberarchyCommonBuilder) Type(type_ *Enum) *HiberarchyCommonBuilder
组织类型
示例值:
type I18nBuilder ¶
type I18nBuilder struct {
// contains filtered or unexported fields
}
func NewI18nBuilder ¶
func NewI18nBuilder() *I18nBuilder
func (*I18nBuilder) Build ¶
func (builder *I18nBuilder) Build() *I18n
type I18nV2Builder ¶
type I18nV2Builder struct {
// contains filtered or unexported fields
}
func NewI18nV2Builder ¶
func NewI18nV2Builder() *I18nV2Builder
func (*I18nV2Builder) Build ¶
func (builder *I18nV2Builder) Build() *I18nV2
func (*I18nV2Builder) EnUs ¶
func (builder *I18nV2Builder) EnUs(enUs string) *I18nV2Builder
en-US
示例值:Bob
func (*I18nV2Builder) ZhCn ¶
func (builder *I18nV2Builder) ZhCn(zhCn string) *I18nV2Builder
zh-CN
示例值:王冰
type InternationalAssignment ¶
type InternationalAssignment struct { Id *string `json:"id,omitempty"` // 当前生效的外派记录ID AssignmentCityId *string `json:"assignment_city_id,omitempty"` // 当前生效外派记录的外派城市(派驻地)ID AssignmentCompanyId *string `json:"assignment_company_id,omitempty"` // 当前生效外派记录的外派公司ID AssignmentCountryId *string `json:"assignment_country_id,omitempty"` // 当前生效外派记录的外派国家ID AssignmentReason *I18n `json:"assignment_reason,omitempty"` // 当前生效外派记录的外派原因 EffectiveTime *string `json:"effective_time,omitempty"` // 当前生效外派记录的生效时间 StartAssignmentProcessId *string `json:"start_assignment_process_id,omitempty"` // 当前生效外派记录的开始外派流程 ID EndAssignmentProcessId *string `json:"end_assignment_process_id,omitempty"` // 当前生效外派记录的结束外派流程 ID ExpirationTime *string `json:"expiration_time,omitempty"` // 当前生效外派记录的失效时间 InternationalAssignmentStatus *Enum `json:"international_assignment_status,omitempty"` // -| 当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment InternationalAssignmentType *Enum `json:"international_assignment_type,omitempty"` // -| 当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment }
type InternationalAssignmentBuilder ¶
type InternationalAssignmentBuilder struct {
// contains filtered or unexported fields
}
func NewInternationalAssignmentBuilder ¶
func NewInternationalAssignmentBuilder() *InternationalAssignmentBuilder
func (*InternationalAssignmentBuilder) AssignmentCityId ¶
func (builder *InternationalAssignmentBuilder) AssignmentCityId(assignmentCityId string) *InternationalAssignmentBuilder
当前生效外派记录的外派城市(派驻地)ID
示例值:7046599238679447084
func (*InternationalAssignmentBuilder) AssignmentCompanyId ¶
func (builder *InternationalAssignmentBuilder) AssignmentCompanyId(assignmentCompanyId string) *InternationalAssignmentBuilder
当前生效外派记录的外派公司ID
示例值:7046599238679447084
func (*InternationalAssignmentBuilder) AssignmentCountryId ¶
func (builder *InternationalAssignmentBuilder) AssignmentCountryId(assignmentCountryId string) *InternationalAssignmentBuilder
当前生效外派记录的外派国家ID
示例值:7046599238679447084
func (*InternationalAssignmentBuilder) AssignmentReason ¶
func (builder *InternationalAssignmentBuilder) AssignmentReason(assignmentReason *I18n) *InternationalAssignmentBuilder
当前生效外派记录的外派原因
示例值:
func (*InternationalAssignmentBuilder) Build ¶
func (builder *InternationalAssignmentBuilder) Build() *InternationalAssignment
func (*InternationalAssignmentBuilder) EffectiveTime ¶
func (builder *InternationalAssignmentBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentBuilder
当前生效外派记录的生效时间
示例值:2023-08-29
func (*InternationalAssignmentBuilder) EndAssignmentProcessId ¶
func (builder *InternationalAssignmentBuilder) EndAssignmentProcessId(endAssignmentProcessId string) *InternationalAssignmentBuilder
当前生效外派记录的结束外派流程 ID
示例值:1111111
func (*InternationalAssignmentBuilder) ExpirationTime ¶
func (builder *InternationalAssignmentBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentBuilder
当前生效外派记录的失效时间
示例值:2023-12-29
func (*InternationalAssignmentBuilder) Id ¶
func (builder *InternationalAssignmentBuilder) Id(id string) *InternationalAssignmentBuilder
当前生效的外派记录ID
示例值:7046599238679447000
func (*InternationalAssignmentBuilder) InternationalAssignmentStatus ¶
func (builder *InternationalAssignmentBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentBuilder
-| 当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentBuilder) InternationalAssignmentType ¶
func (builder *InternationalAssignmentBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentBuilder
-| 当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentBuilder) StartAssignmentProcessId ¶
func (builder *InternationalAssignmentBuilder) StartAssignmentProcessId(startAssignmentProcessId string) *InternationalAssignmentBuilder
当前生效外派记录的开始外派流程 ID
示例值:111111
type InternationalAssignmentV2 ¶
type InternationalAssignmentV2 struct { Id *string `json:"id,omitempty"` // 派驻信息ID EmploymentId *string `json:"employment_id,omitempty"` // Employment ID CreatedBy *string `json:"created_by,omitempty"` // 创建人 CreatedAt *string `json:"created_at,omitempty"` // 创建时间 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 InternationalAssignmentExpectedEndDate *string `json:"international_assignment_expected_end_date,omitempty"` // 预计结束日期 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 DeletedAt *string `json:"deleted_at,omitempty"` // 删除时间 UpdatedAt *string `json:"updated_at,omitempty"` // 更新时间 UpdatedBy *string `json:"updated_by,omitempty"` // 更新人 AssignmentCountry *string `json:"assignment_country,omitempty"` // 外派国家ID AssignmentCity *string `json:"assignment_city,omitempty"` // 外派城市ID AssignmentCompany *string `json:"assignment_company,omitempty"` // 外派公司ID InternationalAssignmentStatus *Enum `json:"international_assignment_status,omitempty"` // 当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment InternationalAssignmentType *Enum `json:"international_assignment_type,omitempty"` // 当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment InternationalAssignmentAllowance *bool `json:"international_assignment_allowance,omitempty"` // 是否享有派驻津贴 Accommodation *bool `json:"accommodation,omitempty"` // 是否提供住宿 Description *string `json:"description,omitempty"` // 描述 }
type InternationalAssignmentV2Builder ¶
type InternationalAssignmentV2Builder struct {
// contains filtered or unexported fields
}
func NewInternationalAssignmentV2Builder ¶
func NewInternationalAssignmentV2Builder() *InternationalAssignmentV2Builder
func (*InternationalAssignmentV2Builder) Accommodation ¶
func (builder *InternationalAssignmentV2Builder) Accommodation(accommodation bool) *InternationalAssignmentV2Builder
是否提供住宿
示例值:false
func (*InternationalAssignmentV2Builder) AssignmentCity ¶
func (builder *InternationalAssignmentV2Builder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2Builder
外派城市ID
示例值:7046599238679447084
func (*InternationalAssignmentV2Builder) AssignmentCompany ¶
func (builder *InternationalAssignmentV2Builder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2Builder
外派公司ID
示例值:7046599238679447084
func (*InternationalAssignmentV2Builder) AssignmentCountry ¶
func (builder *InternationalAssignmentV2Builder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2Builder
外派国家ID
示例值:7046599238679447084
func (*InternationalAssignmentV2Builder) Build ¶
func (builder *InternationalAssignmentV2Builder) Build() *InternationalAssignmentV2
func (*InternationalAssignmentV2Builder) CreatedAt ¶
func (builder *InternationalAssignmentV2Builder) CreatedAt(createdAt string) *InternationalAssignmentV2Builder
创建时间
示例值:2021-08-18 16:04:21
func (*InternationalAssignmentV2Builder) CreatedBy ¶
func (builder *InternationalAssignmentV2Builder) CreatedBy(createdBy string) *InternationalAssignmentV2Builder
创建人
示例值:7046599238679447000
func (*InternationalAssignmentV2Builder) DeletedAt ¶
func (builder *InternationalAssignmentV2Builder) DeletedAt(deletedAt string) *InternationalAssignmentV2Builder
删除时间
示例值:2021-08-18 16:04:21
func (*InternationalAssignmentV2Builder) Description ¶
func (builder *InternationalAssignmentV2Builder) Description(description string) *InternationalAssignmentV2Builder
描述
示例值:外派信息的描述
func (*InternationalAssignmentV2Builder) EffectiveTime ¶
func (builder *InternationalAssignmentV2Builder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2Builder
生效时间
示例值:2023-08-29
func (*InternationalAssignmentV2Builder) EmploymentId ¶
func (builder *InternationalAssignmentV2Builder) EmploymentId(employmentId string) *InternationalAssignmentV2Builder
Employment ID
示例值:7046599238679447000
func (*InternationalAssignmentV2Builder) ExpirationTime ¶
func (builder *InternationalAssignmentV2Builder) ExpirationTime(expirationTime string) *InternationalAssignmentV2Builder
失效时间
示例值:2023-12-29
func (*InternationalAssignmentV2Builder) Id ¶
func (builder *InternationalAssignmentV2Builder) Id(id string) *InternationalAssignmentV2Builder
派驻信息ID
示例值:7046599238679447000
func (*InternationalAssignmentV2Builder) InternationalAssignmentAllowance ¶
func (builder *InternationalAssignmentV2Builder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2Builder
是否享有派驻津贴
示例值:false
func (*InternationalAssignmentV2Builder) InternationalAssignmentExpectedEndDate ¶
func (builder *InternationalAssignmentV2Builder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2Builder
预计结束日期
示例值:2023-12-29
func (*InternationalAssignmentV2Builder) InternationalAssignmentStatus ¶
func (builder *InternationalAssignmentV2Builder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2Builder
当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentV2Builder) InternationalAssignmentType ¶
func (builder *InternationalAssignmentV2Builder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2Builder
当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentV2Builder) UpdatedAt ¶
func (builder *InternationalAssignmentV2Builder) UpdatedAt(updatedAt string) *InternationalAssignmentV2Builder
更新时间
示例值:2021-08-18 16:04:21
func (*InternationalAssignmentV2Builder) UpdatedBy ¶
func (builder *InternationalAssignmentV2Builder) UpdatedBy(updatedBy string) *InternationalAssignmentV2Builder
更新人
示例值:7046599238679447000
type InternationalAssignmentV2ForCreate ¶
type InternationalAssignmentV2ForCreate struct { EmploymentId *string `json:"employment_id,omitempty"` // Employment ID EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 InternationalAssignmentExpectedEndDate *string `json:"international_assignment_expected_end_date,omitempty"` // 预计结束日期 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 AssignmentCountry *string `json:"assignment_country,omitempty"` // 外派国家ID AssignmentCity *string `json:"assignment_city,omitempty"` // 外派城市ID AssignmentCompany *string `json:"assignment_company,omitempty"` // 外派公司ID InternationalAssignmentStatus *Enum `json:"international_assignment_status,omitempty"` // 当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment InternationalAssignmentType *Enum `json:"international_assignment_type,omitempty"` // 当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment InternationalAssignmentAllowance *bool `json:"international_assignment_allowance,omitempty"` // 是否享有派驻津贴 Accommodation *bool `json:"accommodation,omitempty"` // 是否提供住宿 Description *string `json:"description,omitempty"` // 描述 }
type InternationalAssignmentV2ForCreateBuilder ¶
type InternationalAssignmentV2ForCreateBuilder struct {
// contains filtered or unexported fields
}
func NewInternationalAssignmentV2ForCreateBuilder ¶
func NewInternationalAssignmentV2ForCreateBuilder() *InternationalAssignmentV2ForCreateBuilder
func (*InternationalAssignmentV2ForCreateBuilder) Accommodation ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) Accommodation(accommodation bool) *InternationalAssignmentV2ForCreateBuilder
是否提供住宿
示例值:true
func (*InternationalAssignmentV2ForCreateBuilder) AssignmentCity ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2ForCreateBuilder
外派城市ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForCreateBuilder) AssignmentCompany ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2ForCreateBuilder
外派公司ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForCreateBuilder) AssignmentCountry ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2ForCreateBuilder
外派国家ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForCreateBuilder) Build ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) Build() *InternationalAssignmentV2ForCreate
func (*InternationalAssignmentV2ForCreateBuilder) Description ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) Description(description string) *InternationalAssignmentV2ForCreateBuilder
描述
示例值:外派信息的描述
func (*InternationalAssignmentV2ForCreateBuilder) EffectiveTime ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2ForCreateBuilder
生效时间
示例值:2023-08-29
func (*InternationalAssignmentV2ForCreateBuilder) EmploymentId ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) EmploymentId(employmentId string) *InternationalAssignmentV2ForCreateBuilder
Employment ID
示例值:7046599238679447000
func (*InternationalAssignmentV2ForCreateBuilder) ExpirationTime ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentV2ForCreateBuilder
失效时间
示例值:2023-12-29
func (*InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentAllowance ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2ForCreateBuilder
是否享有派驻津贴
示例值:true
func (*InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentExpectedEndDate ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2ForCreateBuilder
预计结束日期
示例值:2023-12-29
func (*InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentStatus ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2ForCreateBuilder
当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentType ¶
func (builder *InternationalAssignmentV2ForCreateBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2ForCreateBuilder
当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment
示例值:
type InternationalAssignmentV2ForPatch ¶
type InternationalAssignmentV2ForPatch struct { EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 InternationalAssignmentExpectedEndDate *string `json:"international_assignment_expected_end_date,omitempty"` // 预计结束日期 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 AssignmentCountry *string `json:"assignment_country,omitempty"` // 外派国家ID AssignmentCity *string `json:"assignment_city,omitempty"` // 外派城市ID AssignmentCompany *string `json:"assignment_company,omitempty"` // 外派公司ID InternationalAssignmentStatus *Enum `json:"international_assignment_status,omitempty"` // 当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment InternationalAssignmentType *Enum `json:"international_assignment_type,omitempty"` // 当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment InternationalAssignmentAllowance *bool `json:"international_assignment_allowance,omitempty"` // 是否享有派驻津贴 Accommodation *bool `json:"accommodation,omitempty"` // 是否提供住宿 Description *string `json:"description,omitempty"` // 描述 }
type InternationalAssignmentV2ForPatchBuilder ¶
type InternationalAssignmentV2ForPatchBuilder struct {
// contains filtered or unexported fields
}
func NewInternationalAssignmentV2ForPatchBuilder ¶
func NewInternationalAssignmentV2ForPatchBuilder() *InternationalAssignmentV2ForPatchBuilder
func (*InternationalAssignmentV2ForPatchBuilder) Accommodation ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) Accommodation(accommodation bool) *InternationalAssignmentV2ForPatchBuilder
是否提供住宿
示例值:true
func (*InternationalAssignmentV2ForPatchBuilder) AssignmentCity ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCity(assignmentCity string) *InternationalAssignmentV2ForPatchBuilder
外派城市ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForPatchBuilder) AssignmentCompany ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCompany(assignmentCompany string) *InternationalAssignmentV2ForPatchBuilder
外派公司ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForPatchBuilder) AssignmentCountry ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) AssignmentCountry(assignmentCountry string) *InternationalAssignmentV2ForPatchBuilder
外派国家ID
示例值:7046599238679447084
func (*InternationalAssignmentV2ForPatchBuilder) Build ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) Build() *InternationalAssignmentV2ForPatch
func (*InternationalAssignmentV2ForPatchBuilder) Description ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) Description(description string) *InternationalAssignmentV2ForPatchBuilder
描述
示例值:外派信息的描述
func (*InternationalAssignmentV2ForPatchBuilder) EffectiveTime ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) EffectiveTime(effectiveTime string) *InternationalAssignmentV2ForPatchBuilder
生效时间
示例值:2023-08-29
func (*InternationalAssignmentV2ForPatchBuilder) ExpirationTime ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) ExpirationTime(expirationTime string) *InternationalAssignmentV2ForPatchBuilder
失效时间
示例值:2023-12-29
func (*InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentAllowance ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentAllowance(internationalAssignmentAllowance bool) *InternationalAssignmentV2ForPatchBuilder
是否享有派驻津贴
示例值:true
func (*InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentExpectedEndDate ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentExpectedEndDate(internationalAssignmentExpectedEndDate string) *InternationalAssignmentV2ForPatchBuilder
预计结束日期
示例值:2023-12-29
func (*InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentStatus ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentStatus(internationalAssignmentStatus *Enum) *InternationalAssignmentV2ForPatchBuilder
当前生效外派记录的外派状态 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_status - object_api_name:international_assignment
示例值:
func (*InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentType ¶
func (builder *InternationalAssignmentV2ForPatchBuilder) InternationalAssignmentType(internationalAssignmentType *Enum) *InternationalAssignmentV2ForPatchBuilder
当前生效外派记录的外派类型 - 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:international_assignment_type - object_api_name:international_assignment
示例值:
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` // 实体在CoreHR内部的唯一键 Code *string `json:"code,omitempty"` // 编码 Name []*I18n `json:"name,omitempty"` // 名称 Description []*I18n `json:"description,omitempty"` // 描述 Active *bool `json:"active,omitempty"` // 启用 JobTitle []*I18n `json:"job_title,omitempty"` // 职务头衔 JobFamilyIdList []string `json:"job_family_id_list,omitempty"` // 序列 JobLevelIdList []string `json:"job_level_id_list,omitempty"` // 职级 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度,引用WorkingHoursType的ID EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 CustomFields []*ObjectFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type JobBuilder ¶
type JobBuilder struct {
// contains filtered or unexported fields
}
func NewJobBuilder ¶
func NewJobBuilder() *JobBuilder
func (*JobBuilder) Build ¶
func (builder *JobBuilder) Build() *Job
func (*JobBuilder) CustomFields ¶
func (builder *JobBuilder) CustomFields(customFields []*ObjectFieldData) *JobBuilder
自定义字段
示例值:
func (*JobBuilder) Description ¶
func (builder *JobBuilder) Description(description []*I18n) *JobBuilder
描述
示例值:
func (*JobBuilder) EffectiveTime ¶
func (builder *JobBuilder) EffectiveTime(effectiveTime string) *JobBuilder
生效时间
示例值:2020-01-01 00:00:00
func (*JobBuilder) ExpirationTime ¶
func (builder *JobBuilder) ExpirationTime(expirationTime string) *JobBuilder
失效时间
示例值:2021-01-01 00:00:00
func (*JobBuilder) Id ¶
func (builder *JobBuilder) Id(id string) *JobBuilder
实体在CoreHR内部的唯一键
示例值:4698040628992333549
func (*JobBuilder) JobFamilyIdList ¶
func (builder *JobBuilder) JobFamilyIdList(jobFamilyIdList []string) *JobBuilder
序列
示例值:
func (*JobBuilder) JobLevelIdList ¶
func (builder *JobBuilder) JobLevelIdList(jobLevelIdList []string) *JobBuilder
职级
示例值:
func (*JobBuilder) JobTitle ¶
func (builder *JobBuilder) JobTitle(jobTitle []*I18n) *JobBuilder
职务头衔
示例值:
func (*JobBuilder) WorkingHoursTypeId ¶
func (builder *JobBuilder) WorkingHoursTypeId(workingHoursTypeId string) *JobBuilder
工时制度,引用WorkingHoursType的ID
示例值:6890452208593372679
type JobChange ¶
type JobChange struct { JobChangeId *string `json:"job_change_id,omitempty"` // 异动记录 id EmploymentId *string `json:"employment_id,omitempty"` // 雇员 id Status *string `json:"status,omitempty"` // 异动状态 TransferTypeUniqueIdentifier *string `json:"transfer_type_unique_identifier,omitempty"` // 异动类型 TransferReasonUniqueIdentifier *string `json:"transfer_reason_unique_identifier,omitempty"` // 异动原因 ProcessId *string `json:"process_id,omitempty"` // 异动流程 id EffectiveDate *string `json:"effective_date,omitempty"` // 生效时间 CreatedTime *string `json:"created_time,omitempty"` // 创建时间 UpdatedTime *string `json:"updated_time,omitempty"` // 更新时间 TransferInfo *TransferInfo `json:"transfer_info,omitempty"` // 异动详细信息 }
type JobChangeBuilder ¶
type JobChangeBuilder struct {
// contains filtered or unexported fields
}
func NewJobChangeBuilder ¶
func NewJobChangeBuilder() *JobChangeBuilder
func (*JobChangeBuilder) Build ¶
func (builder *JobChangeBuilder) Build() *JobChange
func (*JobChangeBuilder) CreatedTime ¶
func (builder *JobChangeBuilder) CreatedTime(createdTime string) *JobChangeBuilder
创建时间
示例值:1627899724000
func (*JobChangeBuilder) EffectiveDate ¶
func (builder *JobChangeBuilder) EffectiveDate(effectiveDate string) *JobChangeBuilder
生效时间
示例值:2022-03-01
func (*JobChangeBuilder) EmploymentId ¶
func (builder *JobChangeBuilder) EmploymentId(employmentId string) *JobChangeBuilder
雇员 id
示例值:ou_a294793e8fa21529f2a60e3e9de45520
func (*JobChangeBuilder) JobChangeId ¶
func (builder *JobChangeBuilder) JobChangeId(jobChangeId string) *JobChangeBuilder
异动记录 id
示例值:6991776076699549697
func (*JobChangeBuilder) ProcessId ¶
func (builder *JobChangeBuilder) ProcessId(processId string) *JobChangeBuilder
异动流程 id
示例值:6991776078461142564
func (*JobChangeBuilder) Status ¶
func (builder *JobChangeBuilder) Status(status string) *JobChangeBuilder
异动状态
示例值:Approved
func (*JobChangeBuilder) TransferInfo ¶
func (builder *JobChangeBuilder) TransferInfo(transferInfo *TransferInfo) *JobChangeBuilder
异动详细信息
示例值:
func (*JobChangeBuilder) TransferReasonUniqueIdentifier ¶
func (builder *JobChangeBuilder) TransferReasonUniqueIdentifier(transferReasonUniqueIdentifier string) *JobChangeBuilder
异动原因
示例值:involuntary_transfer
func (*JobChangeBuilder) TransferTypeUniqueIdentifier ¶
func (builder *JobChangeBuilder) TransferTypeUniqueIdentifier(transferTypeUniqueIdentifier string) *JobChangeBuilder
异动类型
示例值:direct_leader_change
func (*JobChangeBuilder) UpdatedTime ¶
func (builder *JobChangeBuilder) UpdatedTime(updatedTime string) *JobChangeBuilder
更新时间
示例值:1647434443000
type JobData ¶
type JobData struct { JobDataId *string `json:"job_data_id,omitempty"` // 任职信息 ID VersionId *string `json:"version_id,omitempty"` // 任职记录版本 ID EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 ID,枚举值及详细信息可通过【查询单个人员类型】接口查询获得 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度 ID,枚举值及详细信息可通过【查询单个工时制度】接口查询获得 WorkLocationId *string `json:"work_location_id,omitempty"` // 工作地点 ID,枚举值及详细信息可通过【查询单个地点】接口查询获得 DepartmentId *string `json:"department_id,omitempty"` // 部门 ID,枚举值及详细信息可通过【查询单个部门】接口查询获得 JobId *string `json:"job_id,omitempty"` // 职务 ID,枚举值及详细信息可通过【查询单个职务】接口查询获得 JobLevelId *string `json:"job_level_id,omitempty"` // 职务级别 ID,枚举值及详细信息可通过【查询单个职务级别】接口查询获得 JobGradeId *string `json:"job_grade_id,omitempty"` // 职等 ID JobFamilyId *string `json:"job_family_id,omitempty"` // 职务序列 ID,枚举值及详细信息可通过【查询单个职务序列】接口查询获得 ProbationStartDate *string `json:"probation_start_date,omitempty"` // 试用期开始日期 ProbationEndDate *string `json:"probation_end_date,omitempty"` // 试用期结束日期(实际结束日期) PrimaryJobData *bool `json:"primary_job_data,omitempty"` // 是否为主任职 EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 AssignmentStartReason *Enum `json:"assignment_start_reason,omitempty"` // 任职原因,枚举值可通过文档【飞书人事枚举常量】任职原因(assignment_start_reason)枚举定义部分获得 ProbationExpectedEndDate *string `json:"probation_expected_end_date,omitempty"` // 预计试用期结束日期 ProbationOutcome *Enum `json:"probation_outcome,omitempty"` // 试用期结果,枚举值可通过文档【飞书人事枚举常量】试用期结果(probation_outcome)枚举定义部分获得 DirectManager *BasicJobData `json:"direct_manager,omitempty"` // 直属上级 DottedLineManagers []*BasicJobData `json:"dotted_line_managers,omitempty"` // 虚线上级 SecondDirectManager *BasicJobData `json:"second_direct_manager,omitempty"` // 第二实线主管 CostCenterRates []*JobDataCostCenter `json:"cost_center_rates,omitempty"` // 成本中心分摊信息 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type JobDataBuilder ¶
type JobDataBuilder struct {
// contains filtered or unexported fields
}
func NewJobDataBuilder ¶
func NewJobDataBuilder() *JobDataBuilder
func (*JobDataBuilder) AssignmentStartReason ¶
func (builder *JobDataBuilder) AssignmentStartReason(assignmentStartReason *Enum) *JobDataBuilder
任职原因,枚举值可通过文档【飞书人事枚举常量】任职原因(assignment_start_reason)枚举定义部分获得
示例值:onboarding
func (*JobDataBuilder) Build ¶
func (builder *JobDataBuilder) Build() *JobData
func (*JobDataBuilder) CostCenterRates ¶
func (builder *JobDataBuilder) CostCenterRates(costCenterRates []*JobDataCostCenter) *JobDataBuilder
成本中心分摊信息
示例值:
func (*JobDataBuilder) CustomFields ¶
func (builder *JobDataBuilder) CustomFields(customFields []*CustomFieldData) *JobDataBuilder
自定义字段
示例值:
func (*JobDataBuilder) DepartmentId ¶
func (builder *JobDataBuilder) DepartmentId(departmentId string) *JobDataBuilder
部门 ID,枚举值及详细信息可通过【查询单个部门】接口查询获得
示例值:6890452208593372679
func (*JobDataBuilder) DirectManager ¶
func (builder *JobDataBuilder) DirectManager(directManager *BasicJobData) *JobDataBuilder
直属上级
示例值:
func (*JobDataBuilder) DottedLineManagers ¶
func (builder *JobDataBuilder) DottedLineManagers(dottedLineManagers []*BasicJobData) *JobDataBuilder
虚线上级
示例值:
func (*JobDataBuilder) EffectiveTime ¶
func (builder *JobDataBuilder) EffectiveTime(effectiveTime string) *JobDataBuilder
生效时间
示例值:2020-05-01 00:00:00
func (*JobDataBuilder) EmployeeTypeId ¶
func (builder *JobDataBuilder) EmployeeTypeId(employeeTypeId string) *JobDataBuilder
人员类型 ID,枚举值及详细信息可通过【查询单个人员类型】接口查询获得
示例值:6890452208593372679
func (*JobDataBuilder) EmploymentId ¶
func (builder *JobDataBuilder) EmploymentId(employmentId string) *JobDataBuilder
雇佣 ID
示例值:6893014062142064135
func (*JobDataBuilder) ExpirationTime ¶
func (builder *JobDataBuilder) ExpirationTime(expirationTime string) *JobDataBuilder
失效时间
示例值:2020-05-02 00:00:00
func (*JobDataBuilder) JobDataId ¶
func (builder *JobDataBuilder) JobDataId(jobDataId string) *JobDataBuilder
任职信息 ID
示例值:6890452208593372679
func (*JobDataBuilder) JobFamilyId ¶
func (builder *JobDataBuilder) JobFamilyId(jobFamilyId string) *JobDataBuilder
职务序列 ID,枚举值及详细信息可通过【查询单个职务序列】接口查询获得
示例值:1245678
func (*JobDataBuilder) JobGradeId ¶
func (builder *JobDataBuilder) JobGradeId(jobGradeId string) *JobDataBuilder
职等 ID
示例值:6890452208593372679
func (*JobDataBuilder) JobId ¶
func (builder *JobDataBuilder) JobId(jobId string) *JobDataBuilder
职务 ID,枚举值及详细信息可通过【查询单个职务】接口查询获得
示例值:6890452208593372679
func (*JobDataBuilder) JobLevelId ¶
func (builder *JobDataBuilder) JobLevelId(jobLevelId string) *JobDataBuilder
职务级别 ID,枚举值及详细信息可通过【查询单个职务级别】接口查询获得
示例值:6890452208593372679
func (*JobDataBuilder) PrimaryJobData ¶
func (builder *JobDataBuilder) PrimaryJobData(primaryJobData bool) *JobDataBuilder
是否为主任职
示例值:true
func (*JobDataBuilder) ProbationEndDate ¶
func (builder *JobDataBuilder) ProbationEndDate(probationEndDate string) *JobDataBuilder
试用期结束日期(实际结束日期)
示例值:2019-05-24T00:00:00
func (*JobDataBuilder) ProbationExpectedEndDate ¶
func (builder *JobDataBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *JobDataBuilder
预计试用期结束日期
示例值:2006-01-02
func (*JobDataBuilder) ProbationOutcome ¶
func (builder *JobDataBuilder) ProbationOutcome(probationOutcome *Enum) *JobDataBuilder
试用期结果,枚举值可通过文档【飞书人事枚举常量】试用期结果(probation_outcome)枚举定义部分获得
示例值:passed
func (*JobDataBuilder) ProbationStartDate ¶
func (builder *JobDataBuilder) ProbationStartDate(probationStartDate string) *JobDataBuilder
试用期开始日期
示例值:2018-03-16T00:00:00
func (*JobDataBuilder) SecondDirectManager ¶
func (builder *JobDataBuilder) SecondDirectManager(secondDirectManager *BasicJobData) *JobDataBuilder
第二实线主管
示例值:6890452208593372679
func (*JobDataBuilder) VersionId ¶
func (builder *JobDataBuilder) VersionId(versionId string) *JobDataBuilder
任职记录版本 ID
示例值:6890452208593372697
func (*JobDataBuilder) WorkLocationId ¶
func (builder *JobDataBuilder) WorkLocationId(workLocationId string) *JobDataBuilder
工作地点 ID,枚举值及详细信息可通过【查询单个地点】接口查询获得
示例值:6890452208593372679
func (*JobDataBuilder) WorkingHoursTypeId ¶
func (builder *JobDataBuilder) WorkingHoursTypeId(workingHoursTypeId string) *JobDataBuilder
工时制度 ID,枚举值及详细信息可通过【查询单个工时制度】接口查询获得
示例值:6890452208593372679
type JobDataCostCenter ¶
type JobDataCostCenterBuilder ¶
type JobDataCostCenterBuilder struct {
// contains filtered or unexported fields
}
func NewJobDataCostCenterBuilder ¶
func NewJobDataCostCenterBuilder() *JobDataCostCenterBuilder
func (*JobDataCostCenterBuilder) Build ¶
func (builder *JobDataCostCenterBuilder) Build() *JobDataCostCenter
func (*JobDataCostCenterBuilder) CostCenterId ¶
func (builder *JobDataCostCenterBuilder) CostCenterId(costCenterId string) *JobDataCostCenterBuilder
成本中心 ID,可以通过【查询单个成本中心信息】接口获取对应的成本中心信息
示例值:6950635856373745165
func (*JobDataCostCenterBuilder) Rate ¶
func (builder *JobDataCostCenterBuilder) Rate(rate int) *JobDataCostCenterBuilder
分摊比例
示例值:100
type JobFamily ¶
type JobFamily struct { JobFamilyId *string `json:"job_family_id,omitempty"` // 序列 ID Name []*I18n `json:"name,omitempty"` // 名称 Active *bool `json:"active,omitempty"` // 启用 ParentId *string `json:"parent_id,omitempty"` // 上级序列 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 Code *string `json:"code,omitempty"` // 编码 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type JobFamilyBuilder ¶
type JobFamilyBuilder struct {
// contains filtered or unexported fields
}
func NewJobFamilyBuilder ¶
func NewJobFamilyBuilder() *JobFamilyBuilder
func (*JobFamilyBuilder) Active ¶
func (builder *JobFamilyBuilder) Active(active bool) *JobFamilyBuilder
启用
示例值:true
func (*JobFamilyBuilder) Build ¶
func (builder *JobFamilyBuilder) Build() *JobFamily
func (*JobFamilyBuilder) Code ¶
func (builder *JobFamilyBuilder) Code(code string) *JobFamilyBuilder
编码
示例值:123456
func (*JobFamilyBuilder) CustomFields ¶
func (builder *JobFamilyBuilder) CustomFields(customFields []*CustomFieldData) *JobFamilyBuilder
自定义字段
示例值:
func (*JobFamilyBuilder) EffectiveTime ¶
func (builder *JobFamilyBuilder) EffectiveTime(effectiveTime string) *JobFamilyBuilder
生效时间
示例值:2020-05-01 00:00:00
func (*JobFamilyBuilder) ExpirationTime ¶
func (builder *JobFamilyBuilder) ExpirationTime(expirationTime string) *JobFamilyBuilder
失效时间
示例值:2020-05-02 00:00:00
func (*JobFamilyBuilder) JobFamilyId ¶
func (builder *JobFamilyBuilder) JobFamilyId(jobFamilyId string) *JobFamilyBuilder
序列 ID
示例值:4698019107896524633
func (*JobFamilyBuilder) Name ¶
func (builder *JobFamilyBuilder) Name(name []*I18n) *JobFamilyBuilder
名称
示例值:
func (*JobFamilyBuilder) ParentId ¶
func (builder *JobFamilyBuilder) ParentId(parentId string) *JobFamilyBuilder
上级序列
示例值:4698020757495316313
type JobLevel ¶
type JobLevel struct { JobLevelId *string `json:"job_level_id,omitempty"` // 职级 ID LevelOrder *int `json:"level_order,omitempty"` // 职级数值 Code *string `json:"code,omitempty"` // 编码 Name []*I18n `json:"name,omitempty"` // 名称 Description []*I18n `json:"description,omitempty"` // 描述 Active *bool `json:"active,omitempty"` // 启用 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type JobLevelBuilder ¶
type JobLevelBuilder struct {
// contains filtered or unexported fields
}
func NewJobLevelBuilder ¶
func NewJobLevelBuilder() *JobLevelBuilder
func (*JobLevelBuilder) Active ¶
func (builder *JobLevelBuilder) Active(active bool) *JobLevelBuilder
启用
示例值:true
func (*JobLevelBuilder) Build ¶
func (builder *JobLevelBuilder) Build() *JobLevel
func (*JobLevelBuilder) Code ¶
func (builder *JobLevelBuilder) Code(code string) *JobLevelBuilder
编码
示例值:VQzo/BSonp8l6PmcZ+VlDhkd2595LMkhyBAGX6HAlCY=
func (*JobLevelBuilder) CustomFields ¶
func (builder *JobLevelBuilder) CustomFields(customFields []*CustomFieldData) *JobLevelBuilder
自定义字段
示例值:
func (*JobLevelBuilder) Description ¶
func (builder *JobLevelBuilder) Description(description []*I18n) *JobLevelBuilder
描述
示例值:
func (*JobLevelBuilder) JobLevelId ¶
func (builder *JobLevelBuilder) JobLevelId(jobLevelId string) *JobLevelBuilder
职级 ID
示例值:4692446793125560154
func (*JobLevelBuilder) LevelOrder ¶
func (builder *JobLevelBuilder) LevelOrder(levelOrder int) *JobLevelBuilder
职级数值
示例值:9999
func (*JobLevelBuilder) Name ¶
func (builder *JobLevelBuilder) Name(name []*I18n) *JobLevelBuilder
名称
示例值:
type ListBpIterator ¶
type ListBpIterator struct {
// contains filtered or unexported fields
}
func (*ListBpIterator) NextPageToken ¶
func (iterator *ListBpIterator) NextPageToken() *string
type ListBpReq ¶
type ListBpReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListBpReqBuilder ¶
type ListBpReqBuilder struct {
// contains filtered or unexported fields
}
func NewListBpReqBuilder ¶
func NewListBpReqBuilder() *ListBpReqBuilder
func (*ListBpReqBuilder) Build ¶
func (builder *ListBpReqBuilder) Build() *ListBpReq
func (*ListBpReqBuilder) DepartmentIdType ¶
func (builder *ListBpReqBuilder) DepartmentIdType(departmentIdType string) *ListBpReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*ListBpReqBuilder) Limit ¶
func (builder *ListBpReqBuilder) Limit(limit int) *ListBpReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListBpReqBuilder) PageSize ¶
func (builder *ListBpReqBuilder) PageSize(pageSize int) *ListBpReqBuilder
分页大小,最大 500
示例值:500
func (*ListBpReqBuilder) PageToken ¶
func (builder *ListBpReqBuilder) PageToken(pageToken string) *ListBpReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*ListBpReqBuilder) UserIdType ¶
func (builder *ListBpReqBuilder) UserIdType(userIdType string) *ListBpReqBuilder
用户 ID 类型
示例值:open_id
type ListBpResp ¶
type ListBpResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListBpRespData `json:"data"` // 业务数据 }
func (*ListBpResp) Success ¶
func (resp *ListBpResp) Success() bool
type ListBpRespData ¶
type ListJobReq ¶
type ListJobReq struct {
// contains filtered or unexported fields
}
type ListJobReqBuilder ¶
type ListJobReqBuilder struct {
// contains filtered or unexported fields
}
func NewListJobReqBuilder ¶
func NewListJobReqBuilder() *ListJobReqBuilder
func (*ListJobReqBuilder) Build ¶
func (builder *ListJobReqBuilder) Build() *ListJobReq
func (*ListJobReqBuilder) Name ¶
func (builder *ListJobReqBuilder) Name(name string) *ListJobReqBuilder
名称
示例值:keyword
func (*ListJobReqBuilder) PageSize ¶
func (builder *ListJobReqBuilder) PageSize(pageSize string) *ListJobReqBuilder
每页获取记录数量,最大100
示例值:100
func (*ListJobReqBuilder) PageToken ¶
func (builder *ListJobReqBuilder) PageToken(pageToken string) *ListJobReqBuilder
页码标识,获取第一页传空,每次查询会返回下一页的page_token
示例值:1231231987
func (*ListJobReqBuilder) QueryLanguage ¶
func (builder *ListJobReqBuilder) QueryLanguage(queryLanguage string) *ListJobReqBuilder
语言
示例值:zh
type ListJobResp ¶
type ListJobResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListJobRespData `json:"data"` // 业务数据 }
func (*ListJobResp) Success ¶
func (resp *ListJobResp) Success() bool
type ListJobRespData ¶
type ListProcessIterator ¶
type ListProcessIterator struct {
// contains filtered or unexported fields
}
func (*ListProcessIterator) Next ¶
func (iterator *ListProcessIterator) Next() (bool, string, error)
func (*ListProcessIterator) NextPageToken ¶
func (iterator *ListProcessIterator) NextPageToken() *string
type ListProcessReq ¶
type ListProcessReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListProcessReqBuilder ¶
type ListProcessReqBuilder struct {
// contains filtered or unexported fields
}
func NewListProcessReqBuilder ¶
func NewListProcessReqBuilder() *ListProcessReqBuilder
func (*ListProcessReqBuilder) Build ¶
func (builder *ListProcessReqBuilder) Build() *ListProcessReq
func (*ListProcessReqBuilder) FlowDefinitionId ¶
func (builder *ListProcessReqBuilder) FlowDefinitionId(flowDefinitionId string) *ListProcessReqBuilder
流程定义ID
示例值:people_6961286846093788680_7081951411982077732
func (*ListProcessReqBuilder) Limit ¶
func (builder *ListProcessReqBuilder) Limit(limit int) *ListProcessReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListProcessReqBuilder) ModifyTimeFrom ¶
func (builder *ListProcessReqBuilder) ModifyTimeFrom(modifyTimeFrom string) *ListProcessReqBuilder
查询开始时间(unix毫秒时间戳),闭区间,开始时间和结束时间跨度不能超过31天
示例值:1547654251506
func (*ListProcessReqBuilder) ModifyTimeTo ¶
func (builder *ListProcessReqBuilder) ModifyTimeTo(modifyTimeTo string) *ListProcessReqBuilder
任务查询结束时间 (unix毫秒时间戳),闭区间,开始时间和结束时间跨度不能超过31天
示例值:1547654251506
func (*ListProcessReqBuilder) PageSize ¶
func (builder *ListProcessReqBuilder) PageSize(pageSize int) *ListProcessReqBuilder
分页大小
示例值:100
func (*ListProcessReqBuilder) PageToken ¶
func (builder *ListProcessReqBuilder) PageToken(pageToken string) *ListProcessReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:7278949005675988535
func (*ListProcessReqBuilder) Statuses ¶
func (builder *ListProcessReqBuilder) Statuses(statuses []int) *ListProcessReqBuilder
查询状态列表
示例值:
type ListProcessResp ¶
type ListProcessResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListProcessRespData `json:"data"` // 业务数据 }
func (*ListProcessResp) Success ¶
func (resp *ListProcessResp) Success() bool
type ListProcessRespData ¶
type Location ¶
type Location struct { LocationId *string `json:"location_id,omitempty"` // 地点 ID HiberarchyCommon *HiberarchyCommon `json:"hiberarchy_common,omitempty"` // 地点基本信息 LocationUsageList []*Enum `json:"location_usage_list,omitempty"` // 地点用途 Address []*Address `json:"address,omitempty"` // 地址 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 Locale *Enum `json:"locale,omitempty"` // 区域设置 TimeZoneId *string `json:"time_zone_id,omitempty"` // 时区 DisplayLanguageId *string `json:"display_language_id,omitempty"` // 默认显示语言 }
type LocationBuilder ¶
type LocationBuilder struct {
// contains filtered or unexported fields
}
func NewLocationBuilder ¶
func NewLocationBuilder() *LocationBuilder
func (*LocationBuilder) Address ¶
func (builder *LocationBuilder) Address(address []*Address) *LocationBuilder
地址
示例值:
func (*LocationBuilder) Build ¶
func (builder *LocationBuilder) Build() *Location
func (*LocationBuilder) CustomFields ¶
func (builder *LocationBuilder) CustomFields(customFields []*CustomFieldData) *LocationBuilder
自定义字段
示例值:
func (*LocationBuilder) DisplayLanguageId ¶
func (builder *LocationBuilder) DisplayLanguageId(displayLanguageId string) *LocationBuilder
默认显示语言
示例值:123456789
func (*LocationBuilder) EffectiveTime ¶
func (builder *LocationBuilder) EffectiveTime(effectiveTime string) *LocationBuilder
生效时间
示例值:2020-05-01 00:00:00
func (*LocationBuilder) ExpirationTime ¶
func (builder *LocationBuilder) ExpirationTime(expirationTime string) *LocationBuilder
失效时间
示例值:2020-05-02 00:00:00
func (*LocationBuilder) HiberarchyCommon ¶
func (builder *LocationBuilder) HiberarchyCommon(hiberarchyCommon *HiberarchyCommon) *LocationBuilder
地点基本信息
示例值:
func (*LocationBuilder) Locale ¶
func (builder *LocationBuilder) Locale(locale *Enum) *LocationBuilder
区域设置
示例值:zh_cn
func (*LocationBuilder) LocationId ¶
func (builder *LocationBuilder) LocationId(locationId string) *LocationBuilder
地点 ID
示例值:4718803945687580505
func (*LocationBuilder) LocationUsageList ¶
func (builder *LocationBuilder) LocationUsageList(locationUsageList []*Enum) *LocationBuilder
地点用途
示例值:
func (*LocationBuilder) TimeZoneId ¶
func (builder *LocationBuilder) TimeZoneId(timeZoneId string) *LocationBuilder
时区
示例值:123456789
func (*LocationBuilder) WorkingHoursTypeId ¶
func (builder *LocationBuilder) WorkingHoursTypeId(workingHoursTypeId string) *LocationBuilder
工时制度
示例值:4690238309151997779
type LocationV2 ¶
type LocationV2 struct { LocationId *string `json:"location_id,omitempty"` // 地点 ID ParentLocationId *string `json:"parent_location_id,omitempty"` // 上级地点ID Names []*I18n `json:"names,omitempty"` // 名称 Code *string `json:"code,omitempty"` // 编码 Active *bool `json:"active,omitempty"` // 启用状态 LocationUsages []*Enum `json:"location_usages,omitempty"` // 地点用途 Addresses []*Address `json:"addresses,omitempty"` // 地址 WorkingHoursTypeId *string `json:"working_hours_type_id,omitempty"` // 工时制度 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 ExpirationTime *string `json:"expiration_time,omitempty"` // 失效时间 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 Locale *Enum `json:"locale,omitempty"` // 区域设置 TimeZoneId *string `json:"time_zone_id,omitempty"` // 时区 DisplayLanguageId *string `json:"display_language_id,omitempty"` // 默认显示语言 }
type LocationV2Builder ¶
type LocationV2Builder struct {
// contains filtered or unexported fields
}
func NewLocationV2Builder ¶
func NewLocationV2Builder() *LocationV2Builder
func (*LocationV2Builder) Active ¶
func (builder *LocationV2Builder) Active(active bool) *LocationV2Builder
启用状态
示例值:true
func (*LocationV2Builder) Addresses ¶
func (builder *LocationV2Builder) Addresses(addresses []*Address) *LocationV2Builder
地址
示例值:
func (*LocationV2Builder) Build ¶
func (builder *LocationV2Builder) Build() *LocationV2
func (*LocationV2Builder) Code ¶
func (builder *LocationV2Builder) Code(code string) *LocationV2Builder
编码
示例值:LO_CountryRegion_CHN
func (*LocationV2Builder) CustomFields ¶
func (builder *LocationV2Builder) CustomFields(customFields []*CustomFieldData) *LocationV2Builder
自定义字段
示例值:
func (*LocationV2Builder) DisplayLanguageId ¶
func (builder *LocationV2Builder) DisplayLanguageId(displayLanguageId string) *LocationV2Builder
默认显示语言
示例值:123456789
func (*LocationV2Builder) EffectiveTime ¶
func (builder *LocationV2Builder) EffectiveTime(effectiveTime string) *LocationV2Builder
生效时间
示例值:2020-05-01 00:00:00
func (*LocationV2Builder) ExpirationTime ¶
func (builder *LocationV2Builder) ExpirationTime(expirationTime string) *LocationV2Builder
失效时间
示例值:2020-05-02 00:00:00
func (*LocationV2Builder) Locale ¶
func (builder *LocationV2Builder) Locale(locale *Enum) *LocationV2Builder
区域设置
示例值:zh_cn
func (*LocationV2Builder) LocationId ¶
func (builder *LocationV2Builder) LocationId(locationId string) *LocationV2Builder
地点 ID
示例值:4718803945687580505
func (*LocationV2Builder) LocationUsages ¶
func (builder *LocationV2Builder) LocationUsages(locationUsages []*Enum) *LocationV2Builder
地点用途
示例值:
func (*LocationV2Builder) Names ¶
func (builder *LocationV2Builder) Names(names []*I18n) *LocationV2Builder
名称
示例值:
func (*LocationV2Builder) ParentLocationId ¶
func (builder *LocationV2Builder) ParentLocationId(parentLocationId string) *LocationV2Builder
上级地点ID
示例值:4719168654814483759
func (*LocationV2Builder) TimeZoneId ¶
func (builder *LocationV2Builder) TimeZoneId(timeZoneId string) *LocationV2Builder
时区
示例值:123456789
func (*LocationV2Builder) WorkingHoursTypeId ¶
func (builder *LocationV2Builder) WorkingHoursTypeId(workingHoursTypeId string) *LocationV2Builder
工时制度
示例值:4690238309151997779
type Name ¶
type Name struct { FullName *string `json:"full_name,omitempty"` // 全名 FirstName *string `json:"first_name,omitempty"` // 名 MiddleName *string `json:"middle_name,omitempty"` // 中间名 NamePrimary *string `json:"name_primary,omitempty"` // 姓 LocalFirstName *string `json:"local_first_name,omitempty"` // 名 - 本地文字 LocalMiddleName *string `json:"local_middle_name,omitempty"` // 本地中间名 LocalPrimary *string `json:"local_primary,omitempty"` // 姓 - 本地文字 }
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Build ¶
func (builder *NameBuilder) Build() *Name
func (*NameBuilder) FirstName ¶
func (builder *NameBuilder) FirstName(firstName string) *NameBuilder
名
示例值:一
func (*NameBuilder) FullName ¶
func (builder *NameBuilder) FullName(fullName string) *NameBuilder
全名
示例值:李一一
func (*NameBuilder) LocalFirstName ¶
func (builder *NameBuilder) LocalFirstName(localFirstName string) *NameBuilder
名 - 本地文字
示例值:一
func (*NameBuilder) LocalMiddleName ¶
func (builder *NameBuilder) LocalMiddleName(localMiddleName string) *NameBuilder
本地中间名
示例值:一
func (*NameBuilder) LocalPrimary ¶
func (builder *NameBuilder) LocalPrimary(localPrimary string) *NameBuilder
姓 - 本地文字
示例值:李
func (*NameBuilder) MiddleName ¶
func (builder *NameBuilder) MiddleName(middleName string) *NameBuilder
中间名
示例值:一
func (*NameBuilder) NamePrimary ¶
func (builder *NameBuilder) NamePrimary(namePrimary string) *NameBuilder
姓
示例值:李
type NationalId ¶
type NationalId struct { NationalIdTypeId *string `json:"national_id_type_id,omitempty"` // 国家证件类型 NationalIdNumber *string `json:"national_id_number,omitempty"` // 证件号码 IssueDate *string `json:"issue_date,omitempty"` // 证件签发日期 ExpirationDate *string `json:"expiration_date,omitempty"` // 证件到期日期 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家 / 地区 IssuedBy *string `json:"issued_by,omitempty"` // 证件签发机构 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type NationalIdBuilder ¶
type NationalIdBuilder struct {
// contains filtered or unexported fields
}
func NewNationalIdBuilder ¶
func NewNationalIdBuilder() *NationalIdBuilder
func (*NationalIdBuilder) Build ¶
func (builder *NationalIdBuilder) Build() *NationalId
func (*NationalIdBuilder) CountryRegionId ¶
func (builder *NationalIdBuilder) CountryRegionId(countryRegionId string) *NationalIdBuilder
国家 / 地区
示例值:6862995757234914824
func (*NationalIdBuilder) CustomFields ¶
func (builder *NationalIdBuilder) CustomFields(customFields []*CustomFieldData) *NationalIdBuilder
自定义字段
示例值:
func (*NationalIdBuilder) ExpirationDate ¶
func (builder *NationalIdBuilder) ExpirationDate(expirationDate string) *NationalIdBuilder
证件到期日期
示例值:2020-05-21
func (*NationalIdBuilder) IssueDate ¶
func (builder *NationalIdBuilder) IssueDate(issueDate string) *NationalIdBuilder
证件签发日期
示例值:2020-04-01
func (*NationalIdBuilder) IssuedBy ¶
func (builder *NationalIdBuilder) IssuedBy(issuedBy string) *NationalIdBuilder
证件签发机构
示例值:北京市公安局
func (*NationalIdBuilder) NationalIdNumber ¶
func (builder *NationalIdBuilder) NationalIdNumber(nationalIdNumber string) *NationalIdBuilder
证件号码
示例值:1231131333
func (*NationalIdBuilder) NationalIdTypeId ¶
func (builder *NationalIdBuilder) NationalIdTypeId(nationalIdTypeId string) *NationalIdBuilder
国家证件类型
示例值:6863330041896371725
type Nationality ¶
type Nationality struct { NationalityId *string `json:"nationality_id,omitempty"` // 国籍 ID(对应其他查询结果的 nationality_id_v2 字段) Name []*I18n `json:"name,omitempty"` // 名称 Alpha2Code *string `json:"alpha_2_code,omitempty"` // 二字码 Alpha3Code *string `json:"alpha_3_code,omitempty"` // 三字码 NumericCode *int `json:"numeric_code,omitempty"` // 数字代码 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家 / 地区 ID ,可通过【查询单条国家/地区信息】 接口查询 Status *int `json:"status,omitempty"` // 状态 }
type NationalityBuilder ¶
type NationalityBuilder struct {
// contains filtered or unexported fields
}
func NewNationalityBuilder ¶
func NewNationalityBuilder() *NationalityBuilder
func (*NationalityBuilder) Alpha2Code ¶
func (builder *NationalityBuilder) Alpha2Code(alpha2Code string) *NationalityBuilder
二字码
示例值:CN
func (*NationalityBuilder) Alpha3Code ¶
func (builder *NationalityBuilder) Alpha3Code(alpha3Code string) *NationalityBuilder
三字码
示例值:CHN
func (*NationalityBuilder) Build ¶
func (builder *NationalityBuilder) Build() *Nationality
func (*NationalityBuilder) CountryRegionId ¶
func (builder *NationalityBuilder) CountryRegionId(countryRegionId string) *NationalityBuilder
国家 / 地区 ID ,可通过【查询单条国家/地区信息】 接口查询
示例值:6893014061142064135
func (*NationalityBuilder) Name ¶
func (builder *NationalityBuilder) Name(name []*I18n) *NationalityBuilder
名称
示例值:
func (*NationalityBuilder) NationalityId ¶
func (builder *NationalityBuilder) NationalityId(nationalityId string) *NationalityBuilder
国籍 ID(对应其他查询结果的 nationality_id_v2 字段)
示例值:6893014062142064135
func (*NationalityBuilder) NumericCode ¶
func (builder *NationalityBuilder) NumericCode(numericCode int) *NationalityBuilder
数字代码
示例值:156
func (*NationalityBuilder) Status ¶
func (builder *NationalityBuilder) Status(status int) *NationalityBuilder
状态
示例值:1
type ObjectFieldData ¶
type ObjectFieldDataBuilder ¶
type ObjectFieldDataBuilder struct {
// contains filtered or unexported fields
}
func NewObjectFieldDataBuilder ¶
func NewObjectFieldDataBuilder() *ObjectFieldDataBuilder
func (*ObjectFieldDataBuilder) Build ¶
func (builder *ObjectFieldDataBuilder) Build() *ObjectFieldData
func (*ObjectFieldDataBuilder) FieldName ¶
func (builder *ObjectFieldDataBuilder) FieldName(fieldName string) *ObjectFieldDataBuilder
字段名
示例值:name
func (*ObjectFieldDataBuilder) Value ¶
func (builder *ObjectFieldDataBuilder) Value(value string) *ObjectFieldDataBuilder
字段值,是json转义后的字符串,根据元数据定义不同,字段格式不同(123, 123.23, true, [\"id1\",\"id2\], 2006-01-02 15:04:05])
示例值:Sandy
type OfferInfo ¶
type OfferInfo struct { OfferId *string `json:"offer_id,omitempty"` // Offer id OfferHrId *string `json:"offer_hr_id,omitempty"` // Offer hr id DepartmentId *string `json:"department_id,omitempty"` // 部门 id DirectLeaderId *string `json:"direct_leader_id,omitempty"` // 直属领导id JobId *string `json:"job_id,omitempty"` // 职务id JobFamilyId *string `json:"job_family_id,omitempty"` // 序列id JobLevelId *string `json:"job_level_id,omitempty"` // 级别id JobTitle *string `json:"job_title,omitempty"` // 职务头衔id ProbationStartDate *string `json:"probation_start_date,omitempty"` // 试用期开始日期 ProbationEndDate *string `json:"probation_end_date,omitempty"` // 试用期结束日期 ContractStartDate *string `json:"contract_start_date,omitempty"` // 合同开始日期 ContractEndDate *string `json:"contract_end_date,omitempty"` // 合同结束日期 DurationPeriod *float64 `json:"duration_period,omitempty"` // 合同期限时长 DurationUnit *string `json:"duration_unit,omitempty"` // 合同期限单位 OnboardingDate *string `json:"onboarding_date,omitempty"` // 入职日期 OnboardingLocationId *string `json:"onboarding_location_id,omitempty"` // 入职地点id OfficeLocationId *string `json:"office_location_id,omitempty"` // 办公地点id RecruitmentTypeId *string `json:"recruitment_type_id,omitempty"` // 招聘来源id ProbationPeriod *string `json:"probation_period,omitempty"` // 试用期时长 EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型id EmploymentTypeId *string `json:"employment_type_id,omitempty"` // 雇佣类型id WorkEmail *string `json:"work_email,omitempty"` // 工作邮箱 DurationTypeId *string `json:"duration_type_id,omitempty"` // 期限类型id SigningTypeId *string `json:"signing_type_id,omitempty"` // 签订类型id EntryMode *string `json:"entry_mode,omitempty"` // 入职方式 SocialSecurityCityId *string `json:"social_security_city_id,omitempty"` // 社保城市id ContractType *string `json:"contract_type,omitempty"` // 合同类型 Company *string `json:"company,omitempty"` // 公司 CostCenterRate []*JobDataCostCenter `json:"cost_center_rate,omitempty"` // 成本中心分摊信息 JobGradeId *string `json:"job_grade_id,omitempty"` // 职等ID CustomFields []*ObjectFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type OfferInfoBuilder ¶
type OfferInfoBuilder struct {
// contains filtered or unexported fields
}
func NewOfferInfoBuilder ¶
func NewOfferInfoBuilder() *OfferInfoBuilder
func (*OfferInfoBuilder) Build ¶
func (builder *OfferInfoBuilder) Build() *OfferInfo
func (*OfferInfoBuilder) Company ¶
func (builder *OfferInfoBuilder) Company(company string) *OfferInfoBuilder
公司
示例值:6738317738688661772
func (*OfferInfoBuilder) ContractEndDate ¶
func (builder *OfferInfoBuilder) ContractEndDate(contractEndDate string) *OfferInfoBuilder
合同结束日期
示例值:2025-10-07
func (*OfferInfoBuilder) ContractStartDate ¶
func (builder *OfferInfoBuilder) ContractStartDate(contractStartDate string) *OfferInfoBuilder
合同开始日期
示例值:2022-10-08
func (*OfferInfoBuilder) ContractType ¶
func (builder *OfferInfoBuilder) ContractType(contractType string) *OfferInfoBuilder
合同类型
示例值:6738317738688661772
func (*OfferInfoBuilder) CostCenterRate ¶
func (builder *OfferInfoBuilder) CostCenterRate(costCenterRate []*JobDataCostCenter) *OfferInfoBuilder
成本中心分摊信息
示例值:
func (*OfferInfoBuilder) CustomFields ¶
func (builder *OfferInfoBuilder) CustomFields(customFields []*ObjectFieldData) *OfferInfoBuilder
自定义字段
示例值:
func (*OfferInfoBuilder) DepartmentId ¶
func (builder *OfferInfoBuilder) DepartmentId(departmentId string) *OfferInfoBuilder
部门 id
示例值:7147562782945478177
func (*OfferInfoBuilder) DirectLeaderId ¶
func (builder *OfferInfoBuilder) DirectLeaderId(directLeaderId string) *OfferInfoBuilder
直属领导id
示例值:7032210902531327521
func (*OfferInfoBuilder) DurationPeriod ¶ added in v3.2.0
func (builder *OfferInfoBuilder) DurationPeriod(durationPeriod float64) *OfferInfoBuilder
合同期限时长
示例值:3
func (*OfferInfoBuilder) DurationTypeId ¶
func (builder *OfferInfoBuilder) DurationTypeId(durationTypeId string) *OfferInfoBuilder
期限类型id
示例值:6977973225846343171
func (*OfferInfoBuilder) DurationUnit ¶ added in v3.2.0
func (builder *OfferInfoBuilder) DurationUnit(durationUnit string) *OfferInfoBuilder
合同期限单位
示例值:年
func (*OfferInfoBuilder) EmployeeTypeId ¶
func (builder *OfferInfoBuilder) EmployeeTypeId(employeeTypeId string) *OfferInfoBuilder
人员类型id
示例值:6977973225846343171
func (*OfferInfoBuilder) EmploymentTypeId ¶
func (builder *OfferInfoBuilder) EmploymentTypeId(employmentTypeId string) *OfferInfoBuilder
雇佣类型id
示例值:6977973225846343171
func (*OfferInfoBuilder) EntryMode ¶
func (builder *OfferInfoBuilder) EntryMode(entryMode string) *OfferInfoBuilder
入职方式
示例值:1
func (*OfferInfoBuilder) JobFamilyId ¶
func (builder *OfferInfoBuilder) JobFamilyId(jobFamilyId string) *OfferInfoBuilder
序列id
示例值:6977972856625939999
func (*OfferInfoBuilder) JobGradeId ¶
func (builder *OfferInfoBuilder) JobGradeId(jobGradeId string) *OfferInfoBuilder
职等ID
示例值:6738317738688661772
func (*OfferInfoBuilder) JobId ¶
func (builder *OfferInfoBuilder) JobId(jobId string) *OfferInfoBuilder
职务id
示例值:6977976735715378724
func (*OfferInfoBuilder) JobLevelId ¶
func (builder *OfferInfoBuilder) JobLevelId(jobLevelId string) *OfferInfoBuilder
级别id
示例值:6977971894960145950
func (*OfferInfoBuilder) JobTitle ¶
func (builder *OfferInfoBuilder) JobTitle(jobTitle string) *OfferInfoBuilder
职务头衔id
示例值:java
func (*OfferInfoBuilder) OfferHrId ¶
func (builder *OfferInfoBuilder) OfferHrId(offerHrId string) *OfferInfoBuilder
Offer hr id
示例值:7032210902531327521
func (*OfferInfoBuilder) OfferId ¶
func (builder *OfferInfoBuilder) OfferId(offerId string) *OfferInfoBuilder
Offer id
示例值:7032210902531327521
func (*OfferInfoBuilder) OfficeLocationId ¶
func (builder *OfferInfoBuilder) OfficeLocationId(officeLocationId string) *OfferInfoBuilder
办公地点id
示例值:6977976687350924832
func (*OfferInfoBuilder) OnboardingDate ¶
func (builder *OfferInfoBuilder) OnboardingDate(onboardingDate string) *OfferInfoBuilder
入职日期
示例值:2022-10-08
func (*OfferInfoBuilder) OnboardingLocationId ¶
func (builder *OfferInfoBuilder) OnboardingLocationId(onboardingLocationId string) *OfferInfoBuilder
入职地点id
示例值:6977976687350924832
func (*OfferInfoBuilder) ProbationEndDate ¶
func (builder *OfferInfoBuilder) ProbationEndDate(probationEndDate string) *OfferInfoBuilder
试用期结束日期
示例值:2023-04-07
func (*OfferInfoBuilder) ProbationPeriod ¶
func (builder *OfferInfoBuilder) ProbationPeriod(probationPeriod string) *OfferInfoBuilder
试用期时长
示例值:6
func (*OfferInfoBuilder) ProbationStartDate ¶
func (builder *OfferInfoBuilder) ProbationStartDate(probationStartDate string) *OfferInfoBuilder
试用期开始日期
示例值:2022-07-29
func (*OfferInfoBuilder) RecruitmentTypeId ¶
func (builder *OfferInfoBuilder) RecruitmentTypeId(recruitmentTypeId string) *OfferInfoBuilder
招聘来源id
示例值:experienced_professionals
func (*OfferInfoBuilder) SigningTypeId ¶
func (builder *OfferInfoBuilder) SigningTypeId(signingTypeId string) *OfferInfoBuilder
签订类型id
示例值:6738317738688661772
func (*OfferInfoBuilder) SocialSecurityCityId ¶
func (builder *OfferInfoBuilder) SocialSecurityCityId(socialSecurityCityId string) *OfferInfoBuilder
社保城市id
示例值:xxx
func (*OfferInfoBuilder) WorkEmail ¶
func (builder *OfferInfoBuilder) WorkEmail(workEmail string) *OfferInfoBuilder
工作邮箱
示例值:joshua@bytedance.com
type OnboardingTask ¶
type OnboardingTaskBuilder ¶
type OnboardingTaskBuilder struct {
// contains filtered or unexported fields
}
func NewOnboardingTaskBuilder ¶
func NewOnboardingTaskBuilder() *OnboardingTaskBuilder
func (*OnboardingTaskBuilder) Build ¶
func (builder *OnboardingTaskBuilder) Build() *OnboardingTask
func (*OnboardingTaskBuilder) OperatorId ¶
func (builder *OnboardingTaskBuilder) OperatorId(operatorId string) *OnboardingTaskBuilder
当前操作人雇佣 ID
示例值:7032210902531327521
func (*OnboardingTaskBuilder) TaskCode ¶ added in v3.1.2
func (builder *OnboardingTaskBuilder) TaskCode(taskCode string) *OnboardingTaskBuilder
任务code
示例值:task_11
func (*OnboardingTaskBuilder) TaskName ¶
func (builder *OnboardingTaskBuilder) TaskName(taskName string) *OnboardingTaskBuilder
任务名称
示例值:task_1
func (*OnboardingTaskBuilder) TaskStatus ¶
func (builder *OnboardingTaskBuilder) TaskStatus(taskStatus string) *OnboardingTaskBuilder
任务名称
示例值:
type P2ProbationUpdatedV2 ¶
type P2ProbationUpdatedV2 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ProbationUpdatedV2Data `json:"event"` // 事件内容 }
func (*P2ProbationUpdatedV2) RawReq ¶
func (m *P2ProbationUpdatedV2) RawReq(req *larkevent.EventReq)
type P2ProbationUpdatedV2Handler ¶
type P2ProbationUpdatedV2Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ProbationUpdatedV2Handler ¶
func NewP2ProbationUpdatedV2Handler(handler func(context.Context, *P2ProbationUpdatedV2) error) *P2ProbationUpdatedV2Handler
func (*P2ProbationUpdatedV2Handler) Event ¶
func (h *P2ProbationUpdatedV2Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ProcessApproverUpdatedV2 ¶
type P2ProcessApproverUpdatedV2 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ProcessApproverUpdatedV2Data `json:"event"` // 事件内容 }
func (*P2ProcessApproverUpdatedV2) RawReq ¶
func (m *P2ProcessApproverUpdatedV2) RawReq(req *larkevent.EventReq)
type P2ProcessApproverUpdatedV2Data ¶
type P2ProcessApproverUpdatedV2Data struct { ProcessId *string `json:"process_id,omitempty"` // 流程实例ID ApproverId *string `json:"approver_id,omitempty"` // 单据ID Type *int `json:"type,omitempty"` // 单据类型 Status *int `json:"status,omitempty"` // 单据状态 BizType *string `json:"biz_type,omitempty"` // 业务类型 }
type P2ProcessApproverUpdatedV2Handler ¶
type P2ProcessApproverUpdatedV2Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ProcessApproverUpdatedV2Handler ¶
func NewP2ProcessApproverUpdatedV2Handler(handler func(context.Context, *P2ProcessApproverUpdatedV2) error) *P2ProcessApproverUpdatedV2Handler
func (*P2ProcessApproverUpdatedV2Handler) Event ¶
func (h *P2ProcessApproverUpdatedV2Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ProcessCcUpdatedV2 ¶
type P2ProcessCcUpdatedV2 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ProcessCcUpdatedV2Data `json:"event"` // 事件内容 }
func (*P2ProcessCcUpdatedV2) RawReq ¶
func (m *P2ProcessCcUpdatedV2) RawReq(req *larkevent.EventReq)
type P2ProcessCcUpdatedV2Handler ¶
type P2ProcessCcUpdatedV2Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ProcessCcUpdatedV2Handler ¶
func NewP2ProcessCcUpdatedV2Handler(handler func(context.Context, *P2ProcessCcUpdatedV2) error) *P2ProcessCcUpdatedV2Handler
func (*P2ProcessCcUpdatedV2Handler) Event ¶
func (h *P2ProcessCcUpdatedV2Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ProcessUpdatedV2 ¶
type P2ProcessUpdatedV2 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ProcessUpdatedV2Data `json:"event"` // 事件内容 }
func (*P2ProcessUpdatedV2) RawReq ¶
func (m *P2ProcessUpdatedV2) RawReq(req *larkevent.EventReq)
type P2ProcessUpdatedV2Data ¶
type P2ProcessUpdatedV2Handler ¶
type P2ProcessUpdatedV2Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ProcessUpdatedV2Handler ¶
func NewP2ProcessUpdatedV2Handler(handler func(context.Context, *P2ProcessUpdatedV2) error) *P2ProcessUpdatedV2Handler
func (*P2ProcessUpdatedV2Handler) Event ¶
func (h *P2ProcessUpdatedV2Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type ParentsDepartmentPathReqBodyBuilder ¶
type ParentsDepartmentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewParentsDepartmentPathReqBodyBuilder ¶
func NewParentsDepartmentPathReqBodyBuilder() *ParentsDepartmentPathReqBodyBuilder
func (*ParentsDepartmentPathReqBodyBuilder) Build ¶
func (builder *ParentsDepartmentPathReqBodyBuilder) Build() (*ParentsDepartmentReqBody, error)
func (*ParentsDepartmentPathReqBodyBuilder) DepartmentIdList ¶
func (builder *ParentsDepartmentPathReqBodyBuilder) DepartmentIdList(departmentIdList []string) *ParentsDepartmentPathReqBodyBuilder
部门 ID 列表,一次性最多传入 100 个部门 ID
示例值:
type ParentsDepartmentReq ¶
type ParentsDepartmentReq struct { Body *ParentsDepartmentReqBody `body:""` // contains filtered or unexported fields }
type ParentsDepartmentReqBody ¶
type ParentsDepartmentReqBody struct {
DepartmentIdList []string `json:"department_id_list,omitempty"` // 部门 ID 列表,一次性最多传入 100 个部门 ID
}
type ParentsDepartmentReqBodyBuilder ¶
type ParentsDepartmentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewParentsDepartmentReqBodyBuilder ¶
func NewParentsDepartmentReqBodyBuilder() *ParentsDepartmentReqBodyBuilder
func (*ParentsDepartmentReqBodyBuilder) Build ¶
func (builder *ParentsDepartmentReqBodyBuilder) Build() *ParentsDepartmentReqBody
func (*ParentsDepartmentReqBodyBuilder) DepartmentIdList ¶
func (builder *ParentsDepartmentReqBodyBuilder) DepartmentIdList(departmentIdList []string) *ParentsDepartmentReqBodyBuilder
部门 ID 列表,一次性最多传入 100 个部门 ID
示例值:
type ParentsDepartmentReqBuilder ¶
type ParentsDepartmentReqBuilder struct {
// contains filtered or unexported fields
}
func NewParentsDepartmentReqBuilder ¶
func NewParentsDepartmentReqBuilder() *ParentsDepartmentReqBuilder
func (*ParentsDepartmentReqBuilder) Body ¶
func (builder *ParentsDepartmentReqBuilder) Body(body *ParentsDepartmentReqBody) *ParentsDepartmentReqBuilder
func (*ParentsDepartmentReqBuilder) Build ¶
func (builder *ParentsDepartmentReqBuilder) Build() *ParentsDepartmentReq
func (*ParentsDepartmentReqBuilder) DepartmentIdType ¶
func (builder *ParentsDepartmentReqBuilder) DepartmentIdType(departmentIdType string) *ParentsDepartmentReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
type ParentsDepartmentResp ¶
type ParentsDepartmentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ParentsDepartmentRespData `json:"data"` // 业务数据 }
func (*ParentsDepartmentResp) Success ¶
func (resp *ParentsDepartmentResp) Success() bool
type ParentsDepartmentRespData ¶
type ParentsDepartmentRespData struct {
Items []*DepartmentParents `json:"items,omitempty"` // 父部门查询结果
}
type PatchCostCenterPathReqBodyBuilder ¶ added in v3.1.2
type PatchCostCenterPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterPathReqBodyBuilder ¶ added in v3.1.2
func NewPatchCostCenterPathReqBodyBuilder() *PatchCostCenterPathReqBodyBuilder
func (*PatchCostCenterPathReqBodyBuilder) Active ¶ added in v3.1.2
func (builder *PatchCostCenterPathReqBodyBuilder) Active(active bool) *PatchCostCenterPathReqBodyBuilder
启用停用状态
示例值:true
func (*PatchCostCenterPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterPathReqBodyBuilder) Build() (*PatchCostCenterReqBody, error)
func (*PatchCostCenterPathReqBodyBuilder) EffectiveTime ¶ added in v3.1.2
func (builder *PatchCostCenterPathReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterPathReqBodyBuilder
生效时间
示例值:2020-01-01
func (*PatchCostCenterPathReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *PatchCostCenterPathReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterPathReqBodyBuilder
操作原因
示例值:强行操作
type PatchCostCenterReq ¶ added in v3.1.2
type PatchCostCenterReq struct { Body *PatchCostCenterReqBody `body:""` // contains filtered or unexported fields }
type PatchCostCenterReqBody ¶ added in v3.1.2
type PatchCostCenterReqBodyBuilder ¶ added in v3.1.2
type PatchCostCenterReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterReqBodyBuilder ¶ added in v3.1.2
func NewPatchCostCenterReqBodyBuilder() *PatchCostCenterReqBodyBuilder
func (*PatchCostCenterReqBodyBuilder) Active ¶ added in v3.1.2
func (builder *PatchCostCenterReqBodyBuilder) Active(active bool) *PatchCostCenterReqBodyBuilder
启用停用状态
示例值:true
func (*PatchCostCenterReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterReqBodyBuilder) Build() *PatchCostCenterReqBody
func (*PatchCostCenterReqBodyBuilder) EffectiveTime ¶ added in v3.1.2
func (builder *PatchCostCenterReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterReqBodyBuilder
生效时间
示例值:2020-01-01
func (*PatchCostCenterReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *PatchCostCenterReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterReqBodyBuilder
操作原因
示例值:强行操作
type PatchCostCenterReqBuilder ¶ added in v3.1.2
type PatchCostCenterReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterReqBuilder ¶ added in v3.1.2
func NewPatchCostCenterReqBuilder() *PatchCostCenterReqBuilder
func (*PatchCostCenterReqBuilder) Body ¶ added in v3.1.2
func (builder *PatchCostCenterReqBuilder) Body(body *PatchCostCenterReqBody) *PatchCostCenterReqBuilder
创建成本中心版本
func (*PatchCostCenterReqBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterReqBuilder) Build() *PatchCostCenterReq
func (*PatchCostCenterReqBuilder) CostCenterId ¶ added in v3.1.2
func (builder *PatchCostCenterReqBuilder) CostCenterId(costCenterId string) *PatchCostCenterReqBuilder
成本中心ID
示例值:6862995757234914824
func (*PatchCostCenterReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *PatchCostCenterReqBuilder) UserIdType(userIdType string) *PatchCostCenterReqBuilder
用户 ID 类型
示例值:people_corehr_id
type PatchCostCenterResp ¶ added in v3.1.2
type PatchCostCenterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchCostCenterRespData `json:"data"` // 业务数据 }
func (*PatchCostCenterResp) Success ¶ added in v3.1.2
func (resp *PatchCostCenterResp) Success() bool
type PatchCostCenterRespData ¶ added in v3.1.2
type PatchCostCenterRespData struct {
CostCenter *CostCenter `json:"cost_center,omitempty"` //
}
type PatchCostCenterVersionPathReqBodyBuilder ¶ added in v3.1.2
type PatchCostCenterVersionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterVersionPathReqBodyBuilder ¶ added in v3.1.2
func NewPatchCostCenterVersionPathReqBodyBuilder() *PatchCostCenterVersionPathReqBodyBuilder
func (*PatchCostCenterVersionPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) Build() (*PatchCostCenterVersionReqBody, error)
func (*PatchCostCenterVersionPathReqBodyBuilder) Description ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) Description(description []*I18n) *PatchCostCenterVersionPathReqBodyBuilder
成本中心描述
示例值:
func (*PatchCostCenterVersionPathReqBodyBuilder) EffectiveTime ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterVersionPathReqBodyBuilder
生效时间
示例值:2020-01-01
func (*PatchCostCenterVersionPathReqBodyBuilder) Managers ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) Managers(managers []string) *PatchCostCenterVersionPathReqBodyBuilder
成本中心负责人ID 列表,可通过雇佣信息接口查询获得
示例值:
func (*PatchCostCenterVersionPathReqBodyBuilder) Name ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) Name(name []*I18n) *PatchCostCenterVersionPathReqBodyBuilder
成本中心名称
示例值:
func (*PatchCostCenterVersionPathReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterVersionPathReqBodyBuilder
操作原因
示例值:强行操作
func (*PatchCostCenterVersionPathReqBodyBuilder) ParentCostCenterId ¶ added in v3.1.2
func (builder *PatchCostCenterVersionPathReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *PatchCostCenterVersionPathReqBodyBuilder
上级成本中心ID
示例值:6862995757234914824
type PatchCostCenterVersionReq ¶ added in v3.1.2
type PatchCostCenterVersionReq struct { Body *PatchCostCenterVersionReqBody `body:""` // contains filtered or unexported fields }
type PatchCostCenterVersionReqBody ¶ added in v3.1.2
type PatchCostCenterVersionReqBody struct { Name []*I18n `json:"name,omitempty"` // 成本中心名称 ParentCostCenterId *string `json:"parent_cost_center_id,omitempty"` // 上级成本中心ID Managers []string `json:"managers,omitempty"` // 成本中心负责人ID 列表,可通过雇佣信息接口查询获得 Description []*I18n `json:"description,omitempty"` // 成本中心描述 EffectiveTime *string `json:"effective_time,omitempty"` // 生效时间 OperationReason *string `json:"operation_reason,omitempty"` // 操作原因 }
type PatchCostCenterVersionReqBodyBuilder ¶ added in v3.1.2
type PatchCostCenterVersionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterVersionReqBodyBuilder ¶ added in v3.1.2
func NewPatchCostCenterVersionReqBodyBuilder() *PatchCostCenterVersionReqBodyBuilder
func (*PatchCostCenterVersionReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) Build() *PatchCostCenterVersionReqBody
func (*PatchCostCenterVersionReqBodyBuilder) Description ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) Description(description []*I18n) *PatchCostCenterVersionReqBodyBuilder
成本中心描述
示例值:
func (*PatchCostCenterVersionReqBodyBuilder) EffectiveTime ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) EffectiveTime(effectiveTime string) *PatchCostCenterVersionReqBodyBuilder
生效时间
示例值:2020-01-01
func (*PatchCostCenterVersionReqBodyBuilder) Managers ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) Managers(managers []string) *PatchCostCenterVersionReqBodyBuilder
成本中心负责人ID 列表,可通过雇佣信息接口查询获得
示例值:
func (*PatchCostCenterVersionReqBodyBuilder) Name ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) Name(name []*I18n) *PatchCostCenterVersionReqBodyBuilder
成本中心名称
示例值:
func (*PatchCostCenterVersionReqBodyBuilder) OperationReason ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) OperationReason(operationReason string) *PatchCostCenterVersionReqBodyBuilder
操作原因
示例值:强行操作
func (*PatchCostCenterVersionReqBodyBuilder) ParentCostCenterId ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *PatchCostCenterVersionReqBodyBuilder
上级成本中心ID
示例值:6862995757234914824
type PatchCostCenterVersionReqBuilder ¶ added in v3.1.2
type PatchCostCenterVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCostCenterVersionReqBuilder ¶ added in v3.1.2
func NewPatchCostCenterVersionReqBuilder() *PatchCostCenterVersionReqBuilder
func (*PatchCostCenterVersionReqBuilder) Body ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBuilder) Body(body *PatchCostCenterVersionReqBody) *PatchCostCenterVersionReqBuilder
创建成本中心版本
func (*PatchCostCenterVersionReqBuilder) Build ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBuilder) Build() *PatchCostCenterVersionReq
func (*PatchCostCenterVersionReqBuilder) CostCenterId ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBuilder) CostCenterId(costCenterId string) *PatchCostCenterVersionReqBuilder
成本中心ID
示例值:6862995757234914824
func (*PatchCostCenterVersionReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBuilder) UserIdType(userIdType string) *PatchCostCenterVersionReqBuilder
用户 ID 类型
示例值:people_corehr_id
func (*PatchCostCenterVersionReqBuilder) VersionId ¶ added in v3.1.2
func (builder *PatchCostCenterVersionReqBuilder) VersionId(versionId string) *PatchCostCenterVersionReqBuilder
版本ID
示例值:6862995757234914824
type PatchCostCenterVersionResp ¶ added in v3.1.2
type PatchCostCenterVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchCostCenterVersionRespData `json:"data"` // 业务数据 }
func (*PatchCostCenterVersionResp) Success ¶ added in v3.1.2
func (resp *PatchCostCenterVersionResp) Success() bool
type PatchCostCenterVersionRespData ¶ added in v3.1.2
type PatchCostCenterVersionRespData struct {
Version *CostCenterVersion `json:"version,omitempty"` //
}
type PatchPersonReq ¶
type PatchPersonReq struct { PersonInfo *PersonInfo `body:""` // contains filtered or unexported fields }
type PatchPersonReqBuilder ¶
type PatchPersonReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchPersonReqBuilder ¶
func NewPatchPersonReqBuilder() *PatchPersonReqBuilder
func (*PatchPersonReqBuilder) Build ¶
func (builder *PatchPersonReqBuilder) Build() *PatchPersonReq
func (*PatchPersonReqBuilder) ClientToken ¶
func (builder *PatchPersonReqBuilder) ClientToken(clientToken string) *PatchPersonReqBuilder
根据client_token是否一致来判断是否为同一请求
示例值:12454646
func (*PatchPersonReqBuilder) NoNeedQuery ¶ added in v3.2.0
func (builder *PatchPersonReqBuilder) NoNeedQuery(noNeedQuery bool) *PatchPersonReqBuilder
根据no_need_query判断更新后是否做查询请求并返回个人信息
示例值:false
func (*PatchPersonReqBuilder) PersonId ¶
func (builder *PatchPersonReqBuilder) PersonId(personId string) *PatchPersonReqBuilder
person的ID
示例值:12454646
func (*PatchPersonReqBuilder) PersonInfo ¶
func (builder *PatchPersonReqBuilder) PersonInfo(personInfo *PersonInfo) *PatchPersonReqBuilder
type PatchPersonResp ¶
type PatchPersonResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchPersonRespData `json:"data"` // 业务数据 }
func (*PatchPersonResp) Success ¶
func (resp *PatchPersonResp) Success() bool
type PatchPersonRespData ¶
type PatchPersonRespData struct {
Person *PersonInfo `json:"person,omitempty"` //
}
type PatchProbationAssessmentReq ¶
type PatchProbationAssessmentReq struct { AssessmentForCreate *AssessmentForCreate `body:""` // contains filtered or unexported fields }
type PatchProbationAssessmentReqBuilder ¶
type PatchProbationAssessmentReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchProbationAssessmentReqBuilder ¶
func NewPatchProbationAssessmentReqBuilder() *PatchProbationAssessmentReqBuilder
func (*PatchProbationAssessmentReqBuilder) AssessmentForCreate ¶
func (builder *PatchProbationAssessmentReqBuilder) AssessmentForCreate(assessmentForCreate *AssessmentForCreate) *PatchProbationAssessmentReqBuilder
func (*PatchProbationAssessmentReqBuilder) AssessmentId ¶
func (builder *PatchProbationAssessmentReqBuilder) AssessmentId(assessmentId string) *PatchProbationAssessmentReqBuilder
考核结果 ID
示例值:7140964208476371331
func (*PatchProbationAssessmentReqBuilder) Build ¶
func (builder *PatchProbationAssessmentReqBuilder) Build() *PatchProbationAssessmentReq
func (*PatchProbationAssessmentReqBuilder) ClientToken ¶
func (builder *PatchProbationAssessmentReqBuilder) ClientToken(clientToken string) *PatchProbationAssessmentReqBuilder
根据 client_token 是否一致来判断是否为同一请求
示例值:6822122262122064111
type PatchProbationAssessmentResp ¶
type PatchProbationAssessmentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchProbationAssessmentResp) Success ¶
func (resp *PatchProbationAssessmentResp) Success() bool
type PersonInfo ¶
type PersonInfo struct { PersonId *string `json:"person_id,omitempty"` // 个人信息 ID PhoneNumber *string `json:"phone_number,omitempty"` // 个人电话 LegalName *string `json:"legal_name,omitempty"` // 法定姓名 PreferredName *string `json:"preferred_name,omitempty"` // 常用名 PreferredLocalFullName *string `json:"preferred_local_full_name,omitempty"` // 常用本地全名 PreferredEnglishFullName *string `json:"preferred_english_full_name,omitempty"` // 常用英文全名 NameList []*PersonName `json:"name_list,omitempty"` // 姓名列表 Gender *Enum `json:"gender,omitempty"` // -| 性别,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:gender - object_api_name:person DateOfBirth *string `json:"date_of_birth,omitempty"` // 出生日期 NationalityIdV2 *string `json:"nationality_id_v2,omitempty"` // 国籍 ID,可通过【查询国籍信息】接口查询 Race *Enum `json:"race,omitempty"` // -| 民族 / 种族,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:ethnicity_race - object_api_name:person MaritalStatus *Enum `json:"marital_status,omitempty"` // -| 婚姻状况,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:marital_status - object_api_name:person PhoneList []*Phone `json:"phone_list,omitempty"` // 电话列表,只有当满足下面所有条件时,电话在个人信息页才可见 AddressList []*Address `json:"address_list,omitempty"` // 地址列表 EmailList []*Email `json:"email_list,omitempty"` // 邮箱列表 WorkExperienceList []*WorkExperienceInfo `json:"work_experience_list,omitempty"` // 工作经历列表 EducationList []*Education `json:"education_list,omitempty"` // 教育经历列表 BankAccountList []*BankAccount `json:"bank_account_list,omitempty"` // 银行账户 NationalIdList []*NationalId `json:"national_id_list,omitempty"` // 证件 DependentList []*Dependent `json:"dependent_list,omitempty"` // 家庭成员列表 EmergencyContactList []*EmergencyContact `json:"emergency_contact_list,omitempty"` // 紧急联系人列表 DateEnteredWorkforce *string `json:"date_entered_workforce,omitempty"` // 参加工作日期 WorkingYears *int `json:"working_years,omitempty"` // 工龄 ProfileImageId *string `json:"profile_image_id,omitempty"` // 头像资源的 ID EmailAddress *string `json:"email_address,omitempty"` // 邮箱地址 Age *int `json:"age,omitempty"` // 年龄 HighestLevelOfEducation *Education `json:"highest_level_of_education,omitempty"` // 最高学历教育经历 HighestDegreeOfEducation *Education `json:"highest_degree_of_education,omitempty"` // 最高学位教育经历 PersonalProfile []*PersonalProfile `json:"personal_profile,omitempty"` // 个人资料附件 NativeRegion *string `json:"native_region,omitempty"` // 籍贯 ID HukouType *Enum `json:"hukou_type,omitempty"` // 户口类型,枚举值可通过文档【飞书人事枚举常量】户口类型(hukou_type)枚举定义部分获得 HukouLocation *string `json:"hukou_location,omitempty"` // 户口所在地 TalentId *string `json:"talent_id,omitempty"` // 人才 ID CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 NationalIdNumber *string `json:"national_id_number,omitempty"` // 居民身份证件号码 FamilyAddress *string `json:"family_address,omitempty"` // 家庭地址 PersonInfoChns []*PersonInfoChn `json:"person_info_chns,omitempty"` // 个人附加信息 BornCountryRegion *string `json:"born_country_region,omitempty"` // 出生国家/地区 IsDisabled *bool `json:"is_disabled,omitempty"` // 是否残疾 DisableCardNumber *string `json:"disable_card_number,omitempty"` // 残疾证号 IsMartyrFamily *bool `json:"is_martyr_family,omitempty"` // 是否烈属 MartyrCardNumber *string `json:"martyr_card_number,omitempty"` // 烈属证号 IsOldAlone *bool `json:"is_old_alone,omitempty"` // 是否孤老 ResidentTaxes []*ResidentTax `json:"resident_taxes,omitempty"` // 居民身份信息 FirstEntryTime *string `json:"first_entry_time,omitempty"` // 首次入境日期 LeaveTime *string `json:"leave_time,omitempty"` // 预计离境日期 Religion *Enum `json:"religion,omitempty"` // -| 宗教信仰,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name:person - custom_api_name:religion }
type PersonInfoBuilder ¶
type PersonInfoBuilder struct {
// contains filtered or unexported fields
}
func NewPersonInfoBuilder ¶
func NewPersonInfoBuilder() *PersonInfoBuilder
func (*PersonInfoBuilder) AddressList ¶
func (builder *PersonInfoBuilder) AddressList(addressList []*Address) *PersonInfoBuilder
地址列表
示例值:
func (*PersonInfoBuilder) Age ¶
func (builder *PersonInfoBuilder) Age(age int) *PersonInfoBuilder
年龄
示例值:22
func (*PersonInfoBuilder) BankAccountList ¶
func (builder *PersonInfoBuilder) BankAccountList(bankAccountList []*BankAccount) *PersonInfoBuilder
银行账户
示例值:
func (*PersonInfoBuilder) BornCountryRegion ¶
func (builder *PersonInfoBuilder) BornCountryRegion(bornCountryRegion string) *PersonInfoBuilder
出生国家/地区
示例值:中国
func (*PersonInfoBuilder) Build ¶
func (builder *PersonInfoBuilder) Build() *PersonInfo
func (*PersonInfoBuilder) CustomFields ¶
func (builder *PersonInfoBuilder) CustomFields(customFields []*CustomFieldData) *PersonInfoBuilder
自定义字段
示例值:
func (*PersonInfoBuilder) DateEnteredWorkforce ¶
func (builder *PersonInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *PersonInfoBuilder
参加工作日期
示例值:2020-10-01
func (*PersonInfoBuilder) DateOfBirth ¶
func (builder *PersonInfoBuilder) DateOfBirth(dateOfBirth string) *PersonInfoBuilder
出生日期
示例值:2020-01-01
func (*PersonInfoBuilder) DependentList ¶
func (builder *PersonInfoBuilder) DependentList(dependentList []*Dependent) *PersonInfoBuilder
家庭成员列表
示例值:
func (*PersonInfoBuilder) DisableCardNumber ¶
func (builder *PersonInfoBuilder) DisableCardNumber(disableCardNumber string) *PersonInfoBuilder
残疾证号
示例值:1110000
func (*PersonInfoBuilder) EducationList ¶
func (builder *PersonInfoBuilder) EducationList(educationList []*Education) *PersonInfoBuilder
教育经历列表
示例值:
func (*PersonInfoBuilder) EmailAddress ¶
func (builder *PersonInfoBuilder) EmailAddress(emailAddress string) *PersonInfoBuilder
邮箱地址
示例值:test@163.com
func (*PersonInfoBuilder) EmailList ¶
func (builder *PersonInfoBuilder) EmailList(emailList []*Email) *PersonInfoBuilder
邮箱列表
示例值:
func (*PersonInfoBuilder) EmergencyContactList ¶
func (builder *PersonInfoBuilder) EmergencyContactList(emergencyContactList []*EmergencyContact) *PersonInfoBuilder
紧急联系人列表
示例值:
func (*PersonInfoBuilder) FamilyAddress ¶
func (builder *PersonInfoBuilder) FamilyAddress(familyAddress string) *PersonInfoBuilder
家庭地址
示例值:6863326262618752123
func (*PersonInfoBuilder) FirstEntryTime ¶
func (builder *PersonInfoBuilder) FirstEntryTime(firstEntryTime string) *PersonInfoBuilder
首次入境日期
示例值:2021-01-02
func (*PersonInfoBuilder) Gender ¶
func (builder *PersonInfoBuilder) Gender(gender *Enum) *PersonInfoBuilder
-| 性别,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:gender - object_api_name:person
示例值:
func (*PersonInfoBuilder) HighestDegreeOfEducation ¶
func (builder *PersonInfoBuilder) HighestDegreeOfEducation(highestDegreeOfEducation *Education) *PersonInfoBuilder
最高学位教育经历
示例值:
func (*PersonInfoBuilder) HighestLevelOfEducation ¶
func (builder *PersonInfoBuilder) HighestLevelOfEducation(highestLevelOfEducation *Education) *PersonInfoBuilder
最高学历教育经历
示例值:
func (*PersonInfoBuilder) HukouLocation ¶
func (builder *PersonInfoBuilder) HukouLocation(hukouLocation string) *PersonInfoBuilder
户口所在地
示例值:山东省平阴县
func (*PersonInfoBuilder) HukouType ¶
func (builder *PersonInfoBuilder) HukouType(hukouType *Enum) *PersonInfoBuilder
户口类型,枚举值可通过文档【飞书人事枚举常量】户口类型(hukou_type)枚举定义部分获得
示例值:
func (*PersonInfoBuilder) IsDisabled ¶
func (builder *PersonInfoBuilder) IsDisabled(isDisabled bool) *PersonInfoBuilder
是否残疾
示例值:true
func (*PersonInfoBuilder) IsMartyrFamily ¶
func (builder *PersonInfoBuilder) IsMartyrFamily(isMartyrFamily bool) *PersonInfoBuilder
是否烈属
示例值:true
func (*PersonInfoBuilder) IsOldAlone ¶
func (builder *PersonInfoBuilder) IsOldAlone(isOldAlone bool) *PersonInfoBuilder
是否孤老
示例值:true
func (*PersonInfoBuilder) LeaveTime ¶
func (builder *PersonInfoBuilder) LeaveTime(leaveTime string) *PersonInfoBuilder
预计离境日期
示例值:2022-01-02
func (*PersonInfoBuilder) LegalName ¶
func (builder *PersonInfoBuilder) LegalName(legalName string) *PersonInfoBuilder
法定姓名
示例值:张三
func (*PersonInfoBuilder) MaritalStatus ¶
func (builder *PersonInfoBuilder) MaritalStatus(maritalStatus *Enum) *PersonInfoBuilder
-| 婚姻状况,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:marital_status - object_api_name:person
示例值:
func (*PersonInfoBuilder) MartyrCardNumber ¶
func (builder *PersonInfoBuilder) MartyrCardNumber(martyrCardNumber string) *PersonInfoBuilder
烈属证号
示例值:1110000
func (*PersonInfoBuilder) NameList ¶
func (builder *PersonInfoBuilder) NameList(nameList []*PersonName) *PersonInfoBuilder
姓名列表
示例值:
func (*PersonInfoBuilder) NationalIdList ¶
func (builder *PersonInfoBuilder) NationalIdList(nationalIdList []*NationalId) *PersonInfoBuilder
证件
示例值:
func (*PersonInfoBuilder) NationalIdNumber ¶
func (builder *PersonInfoBuilder) NationalIdNumber(nationalIdNumber string) *PersonInfoBuilder
居民身份证件号码
示例值:11010000000000
func (*PersonInfoBuilder) NationalityIdV2 ¶ added in v3.1.2
func (builder *PersonInfoBuilder) NationalityIdV2(nationalityIdV2 string) *PersonInfoBuilder
国籍 ID,可通过【查询国籍信息】接口查询
示例值:6862995757234914821
func (*PersonInfoBuilder) NativeRegion ¶
func (builder *PersonInfoBuilder) NativeRegion(nativeRegion string) *PersonInfoBuilder
籍贯 ID
示例值:6863326262618752111
func (*PersonInfoBuilder) PersonId ¶
func (builder *PersonInfoBuilder) PersonId(personId string) *PersonInfoBuilder
个人信息 ID
示例值:6919733936050406926
func (*PersonInfoBuilder) PersonInfoChns ¶
func (builder *PersonInfoBuilder) PersonInfoChns(personInfoChns []*PersonInfoChn) *PersonInfoBuilder
个人附加信息
示例值:6863326262618752123
func (*PersonInfoBuilder) PersonalProfile ¶
func (builder *PersonInfoBuilder) PersonalProfile(personalProfile []*PersonalProfile) *PersonInfoBuilder
个人资料附件
示例值:
func (*PersonInfoBuilder) PhoneList ¶
func (builder *PersonInfoBuilder) PhoneList(phoneList []*Phone) *PersonInfoBuilder
电话列表,只有当满足下面所有条件时,电话在个人信息页才可见
示例值:
func (*PersonInfoBuilder) PhoneNumber ¶
func (builder *PersonInfoBuilder) PhoneNumber(phoneNumber string) *PersonInfoBuilder
个人电话
示例值:13649211111
func (*PersonInfoBuilder) PreferredEnglishFullName ¶
func (builder *PersonInfoBuilder) PreferredEnglishFullName(preferredEnglishFullName string) *PersonInfoBuilder
常用英文全名
示例值:Henry
func (*PersonInfoBuilder) PreferredLocalFullName ¶
func (builder *PersonInfoBuilder) PreferredLocalFullName(preferredLocalFullName string) *PersonInfoBuilder
常用本地全名
示例值:刘梓新
func (*PersonInfoBuilder) PreferredName ¶
func (builder *PersonInfoBuilder) PreferredName(preferredName string) *PersonInfoBuilder
常用名
示例值:刘梓新(Henry)
func (*PersonInfoBuilder) ProfileImageId ¶
func (builder *PersonInfoBuilder) ProfileImageId(profileImageId string) *PersonInfoBuilder
头像资源的 ID
示例值:dfysuc8x76dsfsw
func (*PersonInfoBuilder) Race ¶
func (builder *PersonInfoBuilder) Race(race *Enum) *PersonInfoBuilder
-| 民族 / 种族,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:ethnicity_race - object_api_name:person
示例值:
func (*PersonInfoBuilder) Religion ¶
func (builder *PersonInfoBuilder) Religion(religion *Enum) *PersonInfoBuilder
-| 宗教信仰,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name:person - custom_api_name:religion
示例值:
func (*PersonInfoBuilder) ResidentTaxes ¶
func (builder *PersonInfoBuilder) ResidentTaxes(residentTaxes []*ResidentTax) *PersonInfoBuilder
居民身份信息
示例值:6863326262618752123
func (*PersonInfoBuilder) TalentId ¶
func (builder *PersonInfoBuilder) TalentId(talentId string) *PersonInfoBuilder
人才 ID
示例值:6863326262618752123
func (*PersonInfoBuilder) WorkExperienceList ¶
func (builder *PersonInfoBuilder) WorkExperienceList(workExperienceList []*WorkExperienceInfo) *PersonInfoBuilder
工作经历列表
示例值:
func (*PersonInfoBuilder) WorkingYears ¶
func (builder *PersonInfoBuilder) WorkingYears(workingYears int) *PersonInfoBuilder
工龄
示例值:2
type PersonInfoChn ¶
type PersonInfoChn struct { NativeRegion *string `json:"native_region,omitempty"` // 籍贯 ID HukouType *Enum `json:"hukou_type,omitempty"` // -| 户口类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:hukou_type - object_api_name:person_info_chn HukouLocation *string `json:"hukou_location,omitempty"` // 户口所在地 FirstEntryTime *string `json:"first_entry_time,omitempty"` // 首次入境日期 LeaveTime *string `json:"leave_time,omitempty"` // 预计离境日期 }
type PersonInfoChnBuilder ¶
type PersonInfoChnBuilder struct {
// contains filtered or unexported fields
}
func NewPersonInfoChnBuilder ¶
func NewPersonInfoChnBuilder() *PersonInfoChnBuilder
func (*PersonInfoChnBuilder) Build ¶
func (builder *PersonInfoChnBuilder) Build() *PersonInfoChn
func (*PersonInfoChnBuilder) FirstEntryTime ¶
func (builder *PersonInfoChnBuilder) FirstEntryTime(firstEntryTime string) *PersonInfoChnBuilder
首次入境日期
示例值:2023-07-09
func (*PersonInfoChnBuilder) HukouLocation ¶
func (builder *PersonInfoChnBuilder) HukouLocation(hukouLocation string) *PersonInfoChnBuilder
户口所在地
示例值:山东省平阴县
func (*PersonInfoChnBuilder) HukouType ¶
func (builder *PersonInfoChnBuilder) HukouType(hukouType *Enum) *PersonInfoChnBuilder
-| 户口类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:hukou_type - object_api_name:person_info_chn
示例值:
func (*PersonInfoChnBuilder) LeaveTime ¶
func (builder *PersonInfoChnBuilder) LeaveTime(leaveTime string) *PersonInfoChnBuilder
预计离境日期
示例值:2023-07-09
func (*PersonInfoChnBuilder) NativeRegion ¶
func (builder *PersonInfoChnBuilder) NativeRegion(nativeRegion string) *PersonInfoChnBuilder
籍贯 ID
示例值:6863326262618752111
type PersonName ¶
type PersonName struct { LocalPrimary *string `json:"local_primary,omitempty"` // 姓 - 本地文字 LocalFirstName *string `json:"local_first_name,omitempty"` // 名 - 本地文字 CountryRegionId *string `json:"country_region_id,omitempty"` // 国家 / 地区 NameType *Enum `json:"name_type,omitempty"` // 姓名类型 LocalFirstName2 *string `json:"local_first_name_2,omitempty"` // 名 - 第二本地文字 LocalPrimary2 *string `json:"local_primary_2,omitempty"` // 姓 - 第二本地文字 AdditionalNameType *Enum `json:"additional_name_type,omitempty"` // 补充姓名类型 FirstName *string `json:"first_name,omitempty"` // 名 FullName *string `json:"full_name,omitempty"` // 全名 Hereditary *string `json:"hereditary,omitempty"` // 姓氏称谓 CustomName *string `json:"custom_name,omitempty"` // 自定义姓名(未传入时,姓名将默认根据所属国家 / 地区规则对相关姓、名字段拼接) CustomLocalName *string `json:"custom_local_name,omitempty"` // 本地文字的自定义姓名(未传入时,本地文字的姓名将默认根据所属国家 / 地区规则对本地文字的相关姓、名字段拼接) MiddleName *string `json:"middle_name,omitempty"` // 中间名 NamePrimary *string `json:"name_primary,omitempty"` // 姓 Secondary *string `json:"secondary,omitempty"` // 第二姓氏 Social *Enum `json:"social,omitempty"` // 尊称 Tertiary *string `json:"tertiary,omitempty"` // 婚后姓氏 Title *Enum `json:"title,omitempty"` // 头衔 LocalMiddleName *string `json:"local_middle_name,omitempty"` // 本地中间名 LocalSecondary *string `json:"local_secondary,omitempty"` // 第二姓氏 - 本地文字 DisplayNameLocalAndWesternScript *string `json:"display_name_local_and_western_script,omitempty"` // 展示姓名(本地和西方文字) DisplayNameLocalScript *string `json:"display_name_local_script,omitempty"` // 展示姓名(本地文字) DisplayNameWesternScript *string `json:"display_name_western_script,omitempty"` // 展示姓名(西方文字) }
type PersonNameBuilder ¶
type PersonNameBuilder struct {
// contains filtered or unexported fields
}
func NewPersonNameBuilder ¶
func NewPersonNameBuilder() *PersonNameBuilder
func (*PersonNameBuilder) AdditionalNameType ¶
func (builder *PersonNameBuilder) AdditionalNameType(additionalNameType *Enum) *PersonNameBuilder
补充姓名类型
示例值:
func (*PersonNameBuilder) Build ¶
func (builder *PersonNameBuilder) Build() *PersonName
func (*PersonNameBuilder) CountryRegionId ¶
func (builder *PersonNameBuilder) CountryRegionId(countryRegionId string) *PersonNameBuilder
国家 / 地区
示例值:6862995757234914824
func (*PersonNameBuilder) CustomLocalName ¶
func (builder *PersonNameBuilder) CustomLocalName(customLocalName string) *PersonNameBuilder
本地文字的自定义姓名(未传入时,本地文字的姓名将默认根据所属国家 / 地区规则对本地文字的相关姓、名字段拼接)
示例值:王大帅
func (*PersonNameBuilder) CustomName ¶
func (builder *PersonNameBuilder) CustomName(customName string) *PersonNameBuilder
自定义姓名(未传入时,姓名将默认根据所属国家 / 地区规则对相关姓、名字段拼接)
示例值:王大帅
func (*PersonNameBuilder) DisplayNameLocalAndWesternScript ¶
func (builder *PersonNameBuilder) DisplayNameLocalAndWesternScript(displayNameLocalAndWesternScript string) *PersonNameBuilder
展示姓名(本地和西方文字)
示例值:王大帅
func (*PersonNameBuilder) DisplayNameLocalScript ¶
func (builder *PersonNameBuilder) DisplayNameLocalScript(displayNameLocalScript string) *PersonNameBuilder
展示姓名(本地文字)
示例值:王大帅
func (*PersonNameBuilder) DisplayNameWesternScript ¶
func (builder *PersonNameBuilder) DisplayNameWesternScript(displayNameWesternScript string) *PersonNameBuilder
展示姓名(西方文字)
示例值:王大帅
func (*PersonNameBuilder) FirstName ¶
func (builder *PersonNameBuilder) FirstName(firstName string) *PersonNameBuilder
名
示例值:帅
func (*PersonNameBuilder) FullName ¶
func (builder *PersonNameBuilder) FullName(fullName string) *PersonNameBuilder
全名
示例值:王大帅
func (*PersonNameBuilder) Hereditary ¶
func (builder *PersonNameBuilder) Hereditary(hereditary string) *PersonNameBuilder
姓氏称谓
示例值:王
func (*PersonNameBuilder) LocalFirstName ¶
func (builder *PersonNameBuilder) LocalFirstName(localFirstName string) *PersonNameBuilder
名 - 本地文字
示例值:四
func (*PersonNameBuilder) LocalFirstName2 ¶
func (builder *PersonNameBuilder) LocalFirstName2(localFirstName2 string) *PersonNameBuilder
名 - 第二本地文字
示例值:五
func (*PersonNameBuilder) LocalMiddleName ¶
func (builder *PersonNameBuilder) LocalMiddleName(localMiddleName string) *PersonNameBuilder
本地中间名
示例值:大
func (*PersonNameBuilder) LocalPrimary ¶
func (builder *PersonNameBuilder) LocalPrimary(localPrimary string) *PersonNameBuilder
姓 - 本地文字
示例值:黄
func (*PersonNameBuilder) LocalPrimary2 ¶
func (builder *PersonNameBuilder) LocalPrimary2(localPrimary2 string) *PersonNameBuilder
姓 - 第二本地文字
示例值:王
func (*PersonNameBuilder) LocalSecondary ¶
func (builder *PersonNameBuilder) LocalSecondary(localSecondary string) *PersonNameBuilder
第二姓氏 - 本地文字
示例值:王
func (*PersonNameBuilder) MiddleName ¶
func (builder *PersonNameBuilder) MiddleName(middleName string) *PersonNameBuilder
中间名
示例值:大
func (*PersonNameBuilder) NamePrimary ¶
func (builder *PersonNameBuilder) NamePrimary(namePrimary string) *PersonNameBuilder
姓
示例值:王
func (*PersonNameBuilder) NameType ¶
func (builder *PersonNameBuilder) NameType(nameType *Enum) *PersonNameBuilder
姓名类型
示例值:
func (*PersonNameBuilder) Secondary ¶
func (builder *PersonNameBuilder) Secondary(secondary string) *PersonNameBuilder
第二姓氏
示例值:王
func (*PersonNameBuilder) Social ¶
func (builder *PersonNameBuilder) Social(social *Enum) *PersonNameBuilder
尊称
示例值:王大帅
func (*PersonNameBuilder) Tertiary ¶
func (builder *PersonNameBuilder) Tertiary(tertiary string) *PersonNameBuilder
婚后姓氏
示例值:王
func (*PersonNameBuilder) Title ¶
func (builder *PersonNameBuilder) Title(title *Enum) *PersonNameBuilder
头衔
示例值:王
type PersonalProfile ¶
type PersonalProfileBuilder ¶
type PersonalProfileBuilder struct {
// contains filtered or unexported fields
}
func NewPersonalProfileBuilder ¶
func NewPersonalProfileBuilder() *PersonalProfileBuilder
func (*PersonalProfileBuilder) Build ¶
func (builder *PersonalProfileBuilder) Build() *PersonalProfile
func (*PersonalProfileBuilder) Files ¶
func (builder *PersonalProfileBuilder) Files(files []*File) *PersonalProfileBuilder
上传文件列表
示例值:
func (*PersonalProfileBuilder) PersonalProfileId ¶
func (builder *PersonalProfileBuilder) PersonalProfileId(personalProfileId string) *PersonalProfileBuilder
个人资料 ID
示例值:150018109586e8ea745e47ae8feb3722dbe1d03a181336393633393133303431393831343930373235150200
func (*PersonalProfileBuilder) PersonalProfileType ¶
func (builder *PersonalProfileBuilder) PersonalProfileType(personalProfileType *Enum) *PersonalProfileBuilder
资料类型
示例值:
type Phone ¶
type Phone struct { InternationalAreaCode *Enum `json:"international_area_code,omitempty"` // 国家区号 PhoneNumber *string `json:"phone_number,omitempty"` // 电话号码 FormattedPhoneNumber *string `json:"formatted_phone_number,omitempty"` // 完整电话号码 DeviceType *Enum `json:"device_type,omitempty"` // 设备类型 PhoneUsage *Enum `json:"phone_usage,omitempty"` // 电话用途 IsPrimary *bool `json:"is_primary,omitempty"` // 主要电话 IsPublic *bool `json:"is_public,omitempty"` // 公开电话 }
type PhoneBuilder ¶
type PhoneBuilder struct {
// contains filtered or unexported fields
}
func NewPhoneBuilder ¶
func NewPhoneBuilder() *PhoneBuilder
func (*PhoneBuilder) Build ¶
func (builder *PhoneBuilder) Build() *Phone
func (*PhoneBuilder) DeviceType ¶
func (builder *PhoneBuilder) DeviceType(deviceType *Enum) *PhoneBuilder
设备类型
示例值:
func (*PhoneBuilder) FormattedPhoneNumber ¶
func (builder *PhoneBuilder) FormattedPhoneNumber(formattedPhoneNumber string) *PhoneBuilder
完整电话号码
示例值:+86 010-12345678
func (*PhoneBuilder) InternationalAreaCode ¶
func (builder *PhoneBuilder) InternationalAreaCode(internationalAreaCode *Enum) *PhoneBuilder
国家区号
示例值:
func (*PhoneBuilder) IsPrimary ¶
func (builder *PhoneBuilder) IsPrimary(isPrimary bool) *PhoneBuilder
主要电话
示例值:true
func (*PhoneBuilder) IsPublic ¶
func (builder *PhoneBuilder) IsPublic(isPublic bool) *PhoneBuilder
公开电话
示例值:true
func (*PhoneBuilder) PhoneNumber ¶
func (builder *PhoneBuilder) PhoneNumber(phoneNumber string) *PhoneBuilder
电话号码
示例值:010-12345678
func (*PhoneBuilder) PhoneUsage ¶
func (builder *PhoneBuilder) PhoneUsage(phoneUsage *Enum) *PhoneBuilder
电话用途
示例值:
type PhoneNumberAndAreaCode ¶
type PhoneNumberAndAreaCodeBuilder ¶
type PhoneNumberAndAreaCodeBuilder struct {
// contains filtered or unexported fields
}
func NewPhoneNumberAndAreaCodeBuilder ¶
func NewPhoneNumberAndAreaCodeBuilder() *PhoneNumberAndAreaCodeBuilder
func (*PhoneNumberAndAreaCodeBuilder) AreaCode ¶
func (builder *PhoneNumberAndAreaCodeBuilder) AreaCode(areaCode *Enum) *PhoneNumberAndAreaCodeBuilder
区号
示例值:123123
func (*PhoneNumberAndAreaCodeBuilder) Build ¶
func (builder *PhoneNumberAndAreaCodeBuilder) Build() *PhoneNumberAndAreaCode
func (*PhoneNumberAndAreaCodeBuilder) PhoneNumber ¶
func (builder *PhoneNumberAndAreaCodeBuilder) PhoneNumber(phoneNumber string) *PhoneNumberAndAreaCodeBuilder
号码
示例值:213213
type PreHire ¶
type PreHire struct { PersonInfo *PersonInfo `json:"person_info,omitempty"` // 个人信息 EmploymentInfo *PreHireEmploymentInfo `json:"employment_info,omitempty"` // 工作信息 OnboardingInfo *PreHireOnboardingInfo `json:"onboarding_info,omitempty"` // 入职信息 ProbationInfo *PreHireProbationInfo `json:"probation_info,omitempty"` // 试用期信息 ContractInfo *PreHireContractInfo `json:"contract_info,omitempty"` // 合同信息 PreHireId *string `json:"pre_hire_id,omitempty"` // 待入职 id }
type PreHireBuilder ¶
type PreHireBuilder struct {
// contains filtered or unexported fields
}
func NewPreHireBuilder ¶
func NewPreHireBuilder() *PreHireBuilder
func (*PreHireBuilder) Build ¶
func (builder *PreHireBuilder) Build() *PreHire
func (*PreHireBuilder) ContractInfo ¶
func (builder *PreHireBuilder) ContractInfo(contractInfo *PreHireContractInfo) *PreHireBuilder
合同信息
示例值:
func (*PreHireBuilder) EmploymentInfo ¶
func (builder *PreHireBuilder) EmploymentInfo(employmentInfo *PreHireEmploymentInfo) *PreHireBuilder
工作信息
示例值:
func (*PreHireBuilder) OnboardingInfo ¶
func (builder *PreHireBuilder) OnboardingInfo(onboardingInfo *PreHireOnboardingInfo) *PreHireBuilder
入职信息
示例值:
func (*PreHireBuilder) PersonInfo ¶
func (builder *PreHireBuilder) PersonInfo(personInfo *PersonInfo) *PreHireBuilder
个人信息
示例值:
func (*PreHireBuilder) PreHireId ¶
func (builder *PreHireBuilder) PreHireId(preHireId string) *PreHireBuilder
待入职 id
示例值:7032210902531327521
func (*PreHireBuilder) ProbationInfo ¶
func (builder *PreHireBuilder) ProbationInfo(probationInfo *PreHireProbationInfo) *PreHireBuilder
试用期信息
示例值:
type PreHireContractInfo ¶
type PreHireContractInfo struct { ContractStartDate *string `json:"contract_start_date,omitempty"` // 合同开始日期 ContractEndDate *string `json:"contract_end_date,omitempty"` // 合同结束日期 ContractType *string `json:"contract_type,omitempty"` // -| 合同类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "contract_type" DurationType *string `json:"duration_type,omitempty"` // -| 期限类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "duration_type" SigningType *string `json:"signing_type,omitempty"` // -| 签订类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "duration_type" }
type PreHireContractInfoBuilder ¶
type PreHireContractInfoBuilder struct {
// contains filtered or unexported fields
}
func NewPreHireContractInfoBuilder ¶
func NewPreHireContractInfoBuilder() *PreHireContractInfoBuilder
func (*PreHireContractInfoBuilder) Build ¶
func (builder *PreHireContractInfoBuilder) Build() *PreHireContractInfo
func (*PreHireContractInfoBuilder) ContractEndDate ¶
func (builder *PreHireContractInfoBuilder) ContractEndDate(contractEndDate string) *PreHireContractInfoBuilder
合同结束日期
示例值:2025-10-07
func (*PreHireContractInfoBuilder) ContractStartDate ¶
func (builder *PreHireContractInfoBuilder) ContractStartDate(contractStartDate string) *PreHireContractInfoBuilder
合同开始日期
示例值:2022-10-08
func (*PreHireContractInfoBuilder) ContractType ¶
func (builder *PreHireContractInfoBuilder) ContractType(contractType string) *PreHireContractInfoBuilder
-| 合同类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "contract_type"
示例值:labor_contract
func (*PreHireContractInfoBuilder) DurationType ¶
func (builder *PreHireContractInfoBuilder) DurationType(durationType string) *PreHireContractInfoBuilder
-| 期限类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "duration_type"
示例值:fixed_term
func (*PreHireContractInfoBuilder) SigningType ¶
func (builder *PreHireContractInfoBuilder) SigningType(signingType string) *PreHireContractInfoBuilder
-| 签订类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "duration_type"
示例值:renewed
type PreHireEmploymentInfo ¶
type PreHireEmploymentInfo struct { DepartmentId *string `json:"department_id,omitempty"` // 部门 ID ,可以通过【搜索部门信息】接口获取 CostCenterRates []*JobDataCostCenter `json:"cost_center_rates,omitempty"` // 成本中心分摊信息 OfficeLocationId *string `json:"office_location_id,omitempty"` // 办公地点id ,详细信息可通过【批量查询地点】接口获得 WorkLocationId *string `json:"work_location_id,omitempty"` // 工作地点id ,详细信息可通过【批量查询地点】接口获得 WorkStation *string `json:"work_station,omitempty"` // 工位 WorkerId *string `json:"worker_id,omitempty"` // 工号 CompensationType *Enum `json:"compensation_type,omitempty"` // -| 薪资类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:compensation_type - object_api_name:pre_hire DirectLeaderId *string `json:"direct_leader_id,omitempty"` // 直属上级雇佣 ID , 可以通过【搜索员工信息】接口获取 JobId *string `json:"job_id,omitempty"` // 职务 ID ,可以通过【批量查询职务】接口获取 JobFamilyId *string `json:"job_family_id,omitempty"` // 序列 ID,可以通过【批量查询职务序列】接口获取 JobLevelId *string `json:"job_level_id,omitempty"` // 职级 ID,可以通过【批量查询职务级别】接口获取 JobGradeId *string `json:"job_grade_id,omitempty"` // 职等 ID JobTitle *string `json:"job_title,omitempty"` // 职务头衔 EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 ID ,可以通过招聘【批量查询人员类型】接口获取 EmploymentType *string `json:"employment_type,omitempty"` // -| 雇佣类型, 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "employment_type" WorkEmail *string `json:"work_email,omitempty"` // 工作邮箱 CompanyId *string `json:"company_id,omitempty"` // 公司 ID , 详细信息可通过【批量查询公司】接口获得 SocialSecurityCityId *string `json:"social_security_city_id,omitempty"` // 社保城市 ID ,详细信息可通过【批量查询地点】接口获得 NonCompeteCovenant *bool `json:"non_compete_covenant,omitempty"` // 是否包含竞业条款 WeeklyWorkingHours *int `json:"weekly_working_hours,omitempty"` // 周工作时长(单位:小时) Rehire *string `json:"rehire,omitempty"` // 是否离职重聘 RehireEmploymentId *string `json:"rehire_employment_id,omitempty"` // -| 历史雇佣信息 ID ,雇佣信息详细信息可以通过「查询单个雇佣信息」API 获得,系统会检验当前雇佣信息的合法性,要求: - 雇佣信息为该人员最后一次雇佣记录 - 雇佣信息的雇员状态 = "terminated" - 该人员不存在其他待入职记录 WorkingHoursType *string `json:"working_hours_type,omitempty"` // -| 工时制度 ID ,可通过【查询单个工时制度】接口获取 WeeklyWorkingHoursV2 *float64 `json:"weekly_working_hours_v2,omitempty"` // 周工作时长v2(单位:小时) OfficeAddress *Address `json:"office_address,omitempty"` // 办公地址 WorkingCalendarId *string `json:"working_calendar_id,omitempty"` // 工作日历 UpdatedAt *string `json:"updated_at,omitempty"` // 更新时间 SuspectedRehiring *bool `json:"suspected_rehiring,omitempty"` // 是否疑似重聘 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type PreHireEmploymentInfoBuilder ¶
type PreHireEmploymentInfoBuilder struct {
// contains filtered or unexported fields
}
func NewPreHireEmploymentInfoBuilder ¶
func NewPreHireEmploymentInfoBuilder() *PreHireEmploymentInfoBuilder
func (*PreHireEmploymentInfoBuilder) Build ¶
func (builder *PreHireEmploymentInfoBuilder) Build() *PreHireEmploymentInfo
func (*PreHireEmploymentInfoBuilder) CompanyId ¶
func (builder *PreHireEmploymentInfoBuilder) CompanyId(companyId string) *PreHireEmploymentInfoBuilder
公司 ID , 详细信息可通过【批量查询公司】接口获得
示例值:6738317738688661772
func (*PreHireEmploymentInfoBuilder) CompensationType ¶
func (builder *PreHireEmploymentInfoBuilder) CompensationType(compensationType *Enum) *PreHireEmploymentInfoBuilder
-| 薪资类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:compensation_type - object_api_name:pre_hire
示例值:
func (*PreHireEmploymentInfoBuilder) CostCenterRates ¶
func (builder *PreHireEmploymentInfoBuilder) CostCenterRates(costCenterRates []*JobDataCostCenter) *PreHireEmploymentInfoBuilder
成本中心分摊信息
示例值:
func (*PreHireEmploymentInfoBuilder) CustomFields ¶ added in v3.1.3
func (builder *PreHireEmploymentInfoBuilder) CustomFields(customFields []*CustomFieldData) *PreHireEmploymentInfoBuilder
自定义字段
示例值:
func (*PreHireEmploymentInfoBuilder) DepartmentId ¶
func (builder *PreHireEmploymentInfoBuilder) DepartmentId(departmentId string) *PreHireEmploymentInfoBuilder
部门 ID ,可以通过【搜索部门信息】接口获取
示例值:7147562782945478177
func (*PreHireEmploymentInfoBuilder) DirectLeaderId ¶
func (builder *PreHireEmploymentInfoBuilder) DirectLeaderId(directLeaderId string) *PreHireEmploymentInfoBuilder
直属上级雇佣 ID , 可以通过【搜索员工信息】接口获取
示例值:7032210902531327521
func (*PreHireEmploymentInfoBuilder) EmployeeTypeId ¶
func (builder *PreHireEmploymentInfoBuilder) EmployeeTypeId(employeeTypeId string) *PreHireEmploymentInfoBuilder
人员类型 ID ,可以通过招聘【批量查询人员类型】接口获取
示例值:6977973225846343171
func (*PreHireEmploymentInfoBuilder) EmploymentType ¶
func (builder *PreHireEmploymentInfoBuilder) EmploymentType(employmentType string) *PreHireEmploymentInfoBuilder
-| 雇佣类型, 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "employment_type"
示例值:employee
func (*PreHireEmploymentInfoBuilder) JobFamilyId ¶
func (builder *PreHireEmploymentInfoBuilder) JobFamilyId(jobFamilyId string) *PreHireEmploymentInfoBuilder
序列 ID,可以通过【批量查询职务序列】接口获取
示例值:6977972856625939999
func (*PreHireEmploymentInfoBuilder) JobGradeId ¶
func (builder *PreHireEmploymentInfoBuilder) JobGradeId(jobGradeId string) *PreHireEmploymentInfoBuilder
职等 ID
示例值:6977971894960145950
func (*PreHireEmploymentInfoBuilder) JobId ¶
func (builder *PreHireEmploymentInfoBuilder) JobId(jobId string) *PreHireEmploymentInfoBuilder
职务 ID ,可以通过【批量查询职务】接口获取
示例值:6977976735715378724
func (*PreHireEmploymentInfoBuilder) JobLevelId ¶
func (builder *PreHireEmploymentInfoBuilder) JobLevelId(jobLevelId string) *PreHireEmploymentInfoBuilder
职级 ID,可以通过【批量查询职务级别】接口获取
示例值:6977971894960145950
func (*PreHireEmploymentInfoBuilder) JobTitle ¶
func (builder *PreHireEmploymentInfoBuilder) JobTitle(jobTitle string) *PreHireEmploymentInfoBuilder
职务头衔
示例值:java
func (*PreHireEmploymentInfoBuilder) NonCompeteCovenant ¶
func (builder *PreHireEmploymentInfoBuilder) NonCompeteCovenant(nonCompeteCovenant bool) *PreHireEmploymentInfoBuilder
是否包含竞业条款
示例值:true
func (*PreHireEmploymentInfoBuilder) OfficeAddress ¶ added in v3.1.3
func (builder *PreHireEmploymentInfoBuilder) OfficeAddress(officeAddress *Address) *PreHireEmploymentInfoBuilder
办公地址
示例值:
func (*PreHireEmploymentInfoBuilder) OfficeLocationId ¶
func (builder *PreHireEmploymentInfoBuilder) OfficeLocationId(officeLocationId string) *PreHireEmploymentInfoBuilder
办公地点id ,详细信息可通过【批量查询地点】接口获得
示例值:6977976687350924832
func (*PreHireEmploymentInfoBuilder) Rehire ¶
func (builder *PreHireEmploymentInfoBuilder) Rehire(rehire string) *PreHireEmploymentInfoBuilder
是否离职重聘
示例值:
func (*PreHireEmploymentInfoBuilder) RehireEmploymentId ¶
func (builder *PreHireEmploymentInfoBuilder) RehireEmploymentId(rehireEmploymentId string) *PreHireEmploymentInfoBuilder
-| 历史雇佣信息 ID ,雇佣信息详细信息可以通过「查询单个雇佣信息」API 获得,系统会检验当前雇佣信息的合法性,要求: - 雇佣信息为该人员最后一次雇佣记录 - 雇佣信息的雇员状态 = "terminated" - 该人员不存在其他待入职记录
示例值:6977973225846343172
func (*PreHireEmploymentInfoBuilder) SocialSecurityCityId ¶
func (builder *PreHireEmploymentInfoBuilder) SocialSecurityCityId(socialSecurityCityId string) *PreHireEmploymentInfoBuilder
社保城市 ID ,详细信息可通过【批量查询地点】接口获得
示例值:6977973225846343171
func (*PreHireEmploymentInfoBuilder) SuspectedRehiring ¶ added in v3.1.3
func (builder *PreHireEmploymentInfoBuilder) SuspectedRehiring(suspectedRehiring bool) *PreHireEmploymentInfoBuilder
是否疑似重聘
示例值:false
func (*PreHireEmploymentInfoBuilder) UpdatedAt ¶ added in v3.1.3
func (builder *PreHireEmploymentInfoBuilder) UpdatedAt(updatedAt string) *PreHireEmploymentInfoBuilder
更新时间
示例值:2023-01-10 10:29
func (*PreHireEmploymentInfoBuilder) WeeklyWorkingHours ¶
func (builder *PreHireEmploymentInfoBuilder) WeeklyWorkingHours(weeklyWorkingHours int) *PreHireEmploymentInfoBuilder
周工作时长(单位:小时)
示例值:8
func (*PreHireEmploymentInfoBuilder) WeeklyWorkingHoursV2 ¶
func (builder *PreHireEmploymentInfoBuilder) WeeklyWorkingHoursV2(weeklyWorkingHoursV2 float64) *PreHireEmploymentInfoBuilder
周工作时长v2(单位:小时)
示例值:8.5
func (*PreHireEmploymentInfoBuilder) WorkEmail ¶
func (builder *PreHireEmploymentInfoBuilder) WorkEmail(workEmail string) *PreHireEmploymentInfoBuilder
工作邮箱
示例值:joshua@bytedance.com
func (*PreHireEmploymentInfoBuilder) WorkLocationId ¶
func (builder *PreHireEmploymentInfoBuilder) WorkLocationId(workLocationId string) *PreHireEmploymentInfoBuilder
工作地点id ,详细信息可通过【批量查询地点】接口获得
示例值:6977976687350924832
func (*PreHireEmploymentInfoBuilder) WorkStation ¶
func (builder *PreHireEmploymentInfoBuilder) WorkStation(workStation string) *PreHireEmploymentInfoBuilder
工位
示例值:ABC123
func (*PreHireEmploymentInfoBuilder) WorkerId ¶
func (builder *PreHireEmploymentInfoBuilder) WorkerId(workerId string) *PreHireEmploymentInfoBuilder
工号
示例值:1234567
func (*PreHireEmploymentInfoBuilder) WorkingCalendarId ¶ added in v3.1.3
func (builder *PreHireEmploymentInfoBuilder) WorkingCalendarId(workingCalendarId string) *PreHireEmploymentInfoBuilder
工作日历
示例值:6977973225846343173
func (*PreHireEmploymentInfoBuilder) WorkingHoursType ¶
func (builder *PreHireEmploymentInfoBuilder) WorkingHoursType(workingHoursType string) *PreHireEmploymentInfoBuilder
-| 工时制度 ID ,可通过【查询单个工时制度】接口获取
示例值:6977973225846343171
type PreHireOnboardingInfo ¶
type PreHireOnboardingInfo struct { OfferId *string `json:"offer_id,omitempty"` // Offer id , 可以通过招聘【获取 Offer 列表】接口获取 OfferHrId *string `json:"offer_hr_id,omitempty"` // Offer hr 的 雇佣 ID EntryMode *string `json:"entry_mode,omitempty"` // -| 入职方式,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "onboarding_method" OnboardingDate *string `json:"onboarding_date,omitempty"` // 入职日期 AtsApplicationId *string `json:"ats_application_id,omitempty"` // 招聘投递 ID ,详细信息可以通过招聘【获取投递信息】接口查询获得 RecruitmentType *string `json:"recruitment_type,omitempty"` // -| 招聘来源 ,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "recruitment_type" OnboardingLocationId *string `json:"onboarding_location_id,omitempty"` // -| 入职地点id , 详细信息可通过【批量查询地点】接口获得 CompanySponsoredVisa *bool `json:"company_sponsored_visa,omitempty"` // -| 需要公司办理签证 OnboardingStatus *string `json:"onboarding_status,omitempty"` // -| 入职状态 OnboardingTaskList []*OnboardingTask `json:"onboarding_task_list,omitempty"` // 入职任务列表 OnboardingAddress *Address `json:"onboarding_address,omitempty"` // 入职地址 FlowName []*I18n `json:"flow_name,omitempty"` // 入职流程 }
type PreHireOnboardingInfoBuilder ¶
type PreHireOnboardingInfoBuilder struct {
// contains filtered or unexported fields
}
func NewPreHireOnboardingInfoBuilder ¶
func NewPreHireOnboardingInfoBuilder() *PreHireOnboardingInfoBuilder
func (*PreHireOnboardingInfoBuilder) AtsApplicationId ¶
func (builder *PreHireOnboardingInfoBuilder) AtsApplicationId(atsApplicationId string) *PreHireOnboardingInfoBuilder
招聘投递 ID ,详细信息可以通过招聘【获取投递信息】接口查询获得
示例值:7140946969586010376
func (*PreHireOnboardingInfoBuilder) Build ¶
func (builder *PreHireOnboardingInfoBuilder) Build() *PreHireOnboardingInfo
func (*PreHireOnboardingInfoBuilder) CompanySponsoredVisa ¶
func (builder *PreHireOnboardingInfoBuilder) CompanySponsoredVisa(companySponsoredVisa bool) *PreHireOnboardingInfoBuilder
-| 需要公司办理签证
示例值:true
func (*PreHireOnboardingInfoBuilder) EntryMode ¶
func (builder *PreHireOnboardingInfoBuilder) EntryMode(entryMode string) *PreHireOnboardingInfoBuilder
-| 入职方式,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "onboarding_method"
示例值:onsite
func (*PreHireOnboardingInfoBuilder) FlowName ¶ added in v3.1.3
func (builder *PreHireOnboardingInfoBuilder) FlowName(flowName []*I18n) *PreHireOnboardingInfoBuilder
入职流程
示例值:
func (*PreHireOnboardingInfoBuilder) OfferHrId ¶
func (builder *PreHireOnboardingInfoBuilder) OfferHrId(offerHrId string) *PreHireOnboardingInfoBuilder
Offer hr 的 雇佣 ID
示例值:7032210902531327521
func (*PreHireOnboardingInfoBuilder) OfferId ¶
func (builder *PreHireOnboardingInfoBuilder) OfferId(offerId string) *PreHireOnboardingInfoBuilder
Offer id , 可以通过招聘【获取 Offer 列表】接口获取
示例值:7032210902531327521
func (*PreHireOnboardingInfoBuilder) OnboardingAddress ¶ added in v3.1.3
func (builder *PreHireOnboardingInfoBuilder) OnboardingAddress(onboardingAddress *Address) *PreHireOnboardingInfoBuilder
入职地址
示例值:
func (*PreHireOnboardingInfoBuilder) OnboardingDate ¶
func (builder *PreHireOnboardingInfoBuilder) OnboardingDate(onboardingDate string) *PreHireOnboardingInfoBuilder
入职日期
示例值:2022-10-08
func (*PreHireOnboardingInfoBuilder) OnboardingLocationId ¶
func (builder *PreHireOnboardingInfoBuilder) OnboardingLocationId(onboardingLocationId string) *PreHireOnboardingInfoBuilder
-| 入职地点id , 详细信息可通过【批量查询地点】接口获得
示例值:6977976687350924832
func (*PreHireOnboardingInfoBuilder) OnboardingStatus ¶
func (builder *PreHireOnboardingInfoBuilder) OnboardingStatus(onboardingStatus string) *PreHireOnboardingInfoBuilder
-| 入职状态
示例值:
func (*PreHireOnboardingInfoBuilder) OnboardingTaskList ¶
func (builder *PreHireOnboardingInfoBuilder) OnboardingTaskList(onboardingTaskList []*OnboardingTask) *PreHireOnboardingInfoBuilder
入职任务列表
示例值:
func (*PreHireOnboardingInfoBuilder) RecruitmentType ¶
func (builder *PreHireOnboardingInfoBuilder) RecruitmentType(recruitmentType string) *PreHireOnboardingInfoBuilder
-| 招聘来源 ,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "recruitment_type"
示例值:recent_graduates
type PreHireProbationInfo ¶
type PreHireProbationInfoBuilder ¶
type PreHireProbationInfoBuilder struct {
// contains filtered or unexported fields
}
func NewPreHireProbationInfoBuilder ¶
func NewPreHireProbationInfoBuilder() *PreHireProbationInfoBuilder
func (*PreHireProbationInfoBuilder) Build ¶
func (builder *PreHireProbationInfoBuilder) Build() *PreHireProbationInfo
func (*PreHireProbationInfoBuilder) ProbationEndDate ¶
func (builder *PreHireProbationInfoBuilder) ProbationEndDate(probationEndDate string) *PreHireProbationInfoBuilder
试用期结束日期
示例值:2023-04-07
func (*PreHireProbationInfoBuilder) ProbationPeriod ¶
func (builder *PreHireProbationInfoBuilder) ProbationPeriod(probationPeriod int) *PreHireProbationInfoBuilder
试用期时长(单位:天)
示例值:6
func (*PreHireProbationInfoBuilder) ProbationStartDate ¶
func (builder *PreHireProbationInfoBuilder) ProbationStartDate(probationStartDate string) *PreHireProbationInfoBuilder
试用期开始日期
示例值:2022-07-29
type PrehireCreate ¶
type PrehireCreate struct { BasicInfo *BasicInfo `json:"basic_info,omitempty"` // 个人信息 OfferInfo *OfferInfo `json:"offer_info,omitempty"` // 职位信息 EducationInfo []*EducationInfo `json:"education_info,omitempty"` // 教育经历 WorkExperience []*WorkExperience `json:"work_experience,omitempty"` // 工作经历 AtsApplicationId *string `json:"ats_application_id,omitempty"` // 招聘应用ID }
type PrehireCreateBuilder ¶
type PrehireCreateBuilder struct {
// contains filtered or unexported fields
}
func NewPrehireCreateBuilder ¶
func NewPrehireCreateBuilder() *PrehireCreateBuilder
func (*PrehireCreateBuilder) AtsApplicationId ¶
func (builder *PrehireCreateBuilder) AtsApplicationId(atsApplicationId string) *PrehireCreateBuilder
招聘应用ID
示例值:7140946969586010376
func (*PrehireCreateBuilder) BasicInfo ¶
func (builder *PrehireCreateBuilder) BasicInfo(basicInfo *BasicInfo) *PrehireCreateBuilder
个人信息
示例值:
func (*PrehireCreateBuilder) Build ¶
func (builder *PrehireCreateBuilder) Build() *PrehireCreate
func (*PrehireCreateBuilder) EducationInfo ¶
func (builder *PrehireCreateBuilder) EducationInfo(educationInfo []*EducationInfo) *PrehireCreateBuilder
教育经历
示例值:
func (*PrehireCreateBuilder) OfferInfo ¶
func (builder *PrehireCreateBuilder) OfferInfo(offerInfo *OfferInfo) *PrehireCreateBuilder
职位信息
示例值:
func (*PrehireCreateBuilder) WorkExperience ¶
func (builder *PrehireCreateBuilder) WorkExperience(workExperience []*WorkExperience) *PrehireCreateBuilder
工作经历
示例值:
type ProbationInfo ¶
type ProbationInfo struct { EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID ProbationId *string `json:"probation_id,omitempty"` // 试用期信息 ID ProbationStartDate *string `json:"probation_start_date,omitempty"` // 试用期开始日期 ProbationExpectedEndDate *string `json:"probation_expected_end_date,omitempty"` // 试用期预计结束日期 ActualProbationEndDate *string `json:"actual_probation_end_date,omitempty"` // 试用期实际结束日期 InitiatingTime *string `json:"initiating_time,omitempty"` // 转正发起日期 SubmissionType *Enum `json:"submission_type,omitempty"` // 发起方 InitiatorId *string `json:"initiator_id,omitempty"` // 转正发起人的雇佣 ID,当系统发起转正时该字段为空 ProbationStatus *Enum `json:"probation_status,omitempty"` // 试用期状态 SelfReview *string `json:"self_review,omitempty"` // 员工自评 Notes *string `json:"notes,omitempty"` // 备注 ProcessId *string `json:"process_id,omitempty"` // 流程实例 ID ConvertedViaBpm *bool `json:"converted_via_bpm,omitempty"` // 是否通过 BPM 转正 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 FinalAssessmentStatus *Enum `json:"final_assessment_status,omitempty"` // 试用期考核最终状态 FinalAssessmentResult *Enum `json:"final_assessment_result,omitempty"` // 试用期考核最终结果 FinalAssessmentScore *float64 `json:"final_assessment_score,omitempty"` // 试用期考核最终得分 FinalAssessmentGrade *Enum `json:"final_assessment_grade,omitempty"` // 试用期考核最终等级 FinalAssessmentComment *string `json:"final_assessment_comment,omitempty"` // 试用期考核最终评语 FinalAssessmentDetail *string `json:"final_assessment_detail,omitempty"` // 最终考核结果页面超链接 Assessments []*Assessment `json:"assessments,omitempty"` // 试用期考核结果列表 }
type ProbationInfoBuilder ¶
type ProbationInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProbationInfoBuilder ¶
func NewProbationInfoBuilder() *ProbationInfoBuilder
func (*ProbationInfoBuilder) ActualProbationEndDate ¶
func (builder *ProbationInfoBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProbationInfoBuilder
试用期实际结束日期
示例值:2022-06-28
func (*ProbationInfoBuilder) Assessments ¶
func (builder *ProbationInfoBuilder) Assessments(assessments []*Assessment) *ProbationInfoBuilder
试用期考核结果列表
示例值:
func (*ProbationInfoBuilder) Build ¶
func (builder *ProbationInfoBuilder) Build() *ProbationInfo
func (*ProbationInfoBuilder) ConvertedViaBpm ¶
func (builder *ProbationInfoBuilder) ConvertedViaBpm(convertedViaBpm bool) *ProbationInfoBuilder
是否通过 BPM 转正
示例值:false
func (*ProbationInfoBuilder) CustomFields ¶
func (builder *ProbationInfoBuilder) CustomFields(customFields []*CustomFieldData) *ProbationInfoBuilder
自定义字段
示例值:
func (*ProbationInfoBuilder) EmploymentId ¶
func (builder *ProbationInfoBuilder) EmploymentId(employmentId string) *ProbationInfoBuilder
雇佣 ID
示例值:6893014062142064135
func (*ProbationInfoBuilder) FinalAssessmentComment ¶
func (builder *ProbationInfoBuilder) FinalAssessmentComment(finalAssessmentComment string) *ProbationInfoBuilder
试用期考核最终评语
示例值:超出预期
func (*ProbationInfoBuilder) FinalAssessmentDetail ¶
func (builder *ProbationInfoBuilder) FinalAssessmentDetail(finalAssessmentDetail string) *ProbationInfoBuilder
最终考核结果页面超链接
func (*ProbationInfoBuilder) FinalAssessmentGrade ¶
func (builder *ProbationInfoBuilder) FinalAssessmentGrade(finalAssessmentGrade *Enum) *ProbationInfoBuilder
试用期考核最终等级
示例值:grade_a
func (*ProbationInfoBuilder) FinalAssessmentResult ¶
func (builder *ProbationInfoBuilder) FinalAssessmentResult(finalAssessmentResult *Enum) *ProbationInfoBuilder
试用期考核最终结果
示例值:approved
func (*ProbationInfoBuilder) FinalAssessmentScore ¶
func (builder *ProbationInfoBuilder) FinalAssessmentScore(finalAssessmentScore float64) *ProbationInfoBuilder
试用期考核最终得分
示例值:99.9
func (*ProbationInfoBuilder) FinalAssessmentStatus ¶
func (builder *ProbationInfoBuilder) FinalAssessmentStatus(finalAssessmentStatus *Enum) *ProbationInfoBuilder
试用期考核最终状态
示例值:completed
func (*ProbationInfoBuilder) InitiatingTime ¶
func (builder *ProbationInfoBuilder) InitiatingTime(initiatingTime string) *ProbationInfoBuilder
转正发起日期
示例值:2022-07-28
func (*ProbationInfoBuilder) InitiatorId ¶
func (builder *ProbationInfoBuilder) InitiatorId(initiatorId string) *ProbationInfoBuilder
转正发起人的雇佣 ID,当系统发起转正时该字段为空
示例值:6893014062142061135
func (*ProbationInfoBuilder) Notes ¶
func (builder *ProbationInfoBuilder) Notes(notes string) *ProbationInfoBuilder
备注
示例值:高潜
func (*ProbationInfoBuilder) ProbationExpectedEndDate ¶
func (builder *ProbationInfoBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProbationInfoBuilder
试用期预计结束日期
示例值:2022-05-28
func (*ProbationInfoBuilder) ProbationId ¶
func (builder *ProbationInfoBuilder) ProbationId(probationId string) *ProbationInfoBuilder
试用期信息 ID
示例值:6893014062142064132
func (*ProbationInfoBuilder) ProbationStartDate ¶
func (builder *ProbationInfoBuilder) ProbationStartDate(probationStartDate string) *ProbationInfoBuilder
试用期开始日期
示例值:2022-05-20
func (*ProbationInfoBuilder) ProbationStatus ¶
func (builder *ProbationInfoBuilder) ProbationStatus(probationStatus *Enum) *ProbationInfoBuilder
试用期状态
示例值:converted
func (*ProbationInfoBuilder) ProcessId ¶
func (builder *ProbationInfoBuilder) ProcessId(processId string) *ProbationInfoBuilder
流程实例 ID
示例值:6893014062142164135
func (*ProbationInfoBuilder) SelfReview ¶
func (builder *ProbationInfoBuilder) SelfReview(selfReview string) *ProbationInfoBuilder
员工自评
示例值:符合预期
func (*ProbationInfoBuilder) SubmissionType ¶
func (builder *ProbationInfoBuilder) SubmissionType(submissionType *Enum) *ProbationInfoBuilder
发起方
示例值:hr_submission
type ProbationInfoForSubmit ¶
type ProbationInfoForSubmit struct { EmploymentId *string `json:"employment_id,omitempty"` // 雇佣 ID ProbationId *string `json:"probation_id,omitempty"` // 试用期信息 ID ProbationStartDate *string `json:"probation_start_date,omitempty"` // 试用期开始日期 ProbationExpectedEndDate *string `json:"probation_expected_end_date,omitempty"` // 试用期预计结束日期 ActualProbationEndDate *string `json:"actual_probation_end_date,omitempty"` // 试用期实际结束日期 InitiatingTime *string `json:"initiating_time,omitempty"` // 转正发起日期 SubmissionType *Enum `json:"submission_type,omitempty"` // 发起方 InitiatorId *string `json:"initiator_id,omitempty"` // 转正发起人的雇佣 ID,当系统发起转正时该字段为空 ProbationStatus *Enum `json:"probation_status,omitempty"` // 试用期状态 SelfReview *string `json:"self_review,omitempty"` // 员工自评 Notes *string `json:"notes,omitempty"` // 备注 ProcessId *string `json:"process_id,omitempty"` // 流程实例 ID ConvertedViaBpm *bool `json:"converted_via_bpm,omitempty"` // 是否通过 BPM 转正 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 FinalAssessmentStatus *Enum `json:"final_assessment_status,omitempty"` // 试用期考核最终状态 FinalAssessmentResult *Enum `json:"final_assessment_result,omitempty"` // 试用期考核最终结果 FinalAssessmentScore *float64 `json:"final_assessment_score,omitempty"` // 试用期考核最终得分 FinalAssessmentGrade *Enum `json:"final_assessment_grade,omitempty"` // 试用期考核最终等级 FinalAssessmentComment *string `json:"final_assessment_comment,omitempty"` // 试用期考核最终评语 FinalAssessmentDetail *string `json:"final_assessment_detail,omitempty"` // 最终考核结果页面超链接 }
type ProbationInfoForSubmitBuilder ¶
type ProbationInfoForSubmitBuilder struct {
// contains filtered or unexported fields
}
func NewProbationInfoForSubmitBuilder ¶
func NewProbationInfoForSubmitBuilder() *ProbationInfoForSubmitBuilder
func (*ProbationInfoForSubmitBuilder) ActualProbationEndDate ¶
func (builder *ProbationInfoForSubmitBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProbationInfoForSubmitBuilder
试用期实际结束日期
示例值:2022-06-28
func (*ProbationInfoForSubmitBuilder) Build ¶
func (builder *ProbationInfoForSubmitBuilder) Build() *ProbationInfoForSubmit
func (*ProbationInfoForSubmitBuilder) ConvertedViaBpm ¶
func (builder *ProbationInfoForSubmitBuilder) ConvertedViaBpm(convertedViaBpm bool) *ProbationInfoForSubmitBuilder
是否通过 BPM 转正
示例值:false
func (*ProbationInfoForSubmitBuilder) CustomFields ¶
func (builder *ProbationInfoForSubmitBuilder) CustomFields(customFields []*CustomFieldData) *ProbationInfoForSubmitBuilder
自定义字段
示例值:
func (*ProbationInfoForSubmitBuilder) EmploymentId ¶
func (builder *ProbationInfoForSubmitBuilder) EmploymentId(employmentId string) *ProbationInfoForSubmitBuilder
雇佣 ID
示例值:6893014062142064135
func (*ProbationInfoForSubmitBuilder) FinalAssessmentComment ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentComment(finalAssessmentComment string) *ProbationInfoForSubmitBuilder
试用期考核最终评语
示例值:超出预期
func (*ProbationInfoForSubmitBuilder) FinalAssessmentDetail ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentDetail(finalAssessmentDetail string) *ProbationInfoForSubmitBuilder
最终考核结果页面超链接
示例值:暂无示例
func (*ProbationInfoForSubmitBuilder) FinalAssessmentGrade ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentGrade(finalAssessmentGrade *Enum) *ProbationInfoForSubmitBuilder
试用期考核最终等级
示例值:grade_a
func (*ProbationInfoForSubmitBuilder) FinalAssessmentResult ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentResult(finalAssessmentResult *Enum) *ProbationInfoForSubmitBuilder
试用期考核最终结果
示例值:approved
func (*ProbationInfoForSubmitBuilder) FinalAssessmentScore ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentScore(finalAssessmentScore float64) *ProbationInfoForSubmitBuilder
试用期考核最终得分
示例值:99.9
func (*ProbationInfoForSubmitBuilder) FinalAssessmentStatus ¶
func (builder *ProbationInfoForSubmitBuilder) FinalAssessmentStatus(finalAssessmentStatus *Enum) *ProbationInfoForSubmitBuilder
试用期考核最终状态
示例值:completed
func (*ProbationInfoForSubmitBuilder) InitiatingTime ¶
func (builder *ProbationInfoForSubmitBuilder) InitiatingTime(initiatingTime string) *ProbationInfoForSubmitBuilder
转正发起日期
示例值:2022-07-28
func (*ProbationInfoForSubmitBuilder) InitiatorId ¶
func (builder *ProbationInfoForSubmitBuilder) InitiatorId(initiatorId string) *ProbationInfoForSubmitBuilder
转正发起人的雇佣 ID,当系统发起转正时该字段为空
示例值:6893014062142061135
func (*ProbationInfoForSubmitBuilder) Notes ¶
func (builder *ProbationInfoForSubmitBuilder) Notes(notes string) *ProbationInfoForSubmitBuilder
备注
示例值:高潜
func (*ProbationInfoForSubmitBuilder) ProbationExpectedEndDate ¶
func (builder *ProbationInfoForSubmitBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProbationInfoForSubmitBuilder
试用期预计结束日期
示例值:2022-05-28
func (*ProbationInfoForSubmitBuilder) ProbationId ¶
func (builder *ProbationInfoForSubmitBuilder) ProbationId(probationId string) *ProbationInfoForSubmitBuilder
试用期信息 ID
示例值:6893014062142064132
func (*ProbationInfoForSubmitBuilder) ProbationStartDate ¶
func (builder *ProbationInfoForSubmitBuilder) ProbationStartDate(probationStartDate string) *ProbationInfoForSubmitBuilder
试用期开始日期
示例值:2022-05-20
func (*ProbationInfoForSubmitBuilder) ProbationStatus ¶
func (builder *ProbationInfoForSubmitBuilder) ProbationStatus(probationStatus *Enum) *ProbationInfoForSubmitBuilder
试用期状态
示例值:converted
func (*ProbationInfoForSubmitBuilder) ProcessId ¶
func (builder *ProbationInfoForSubmitBuilder) ProcessId(processId string) *ProbationInfoForSubmitBuilder
流程实例 ID
示例值:6893014062142164135
func (*ProbationInfoForSubmitBuilder) SelfReview ¶
func (builder *ProbationInfoForSubmitBuilder) SelfReview(selfReview string) *ProbationInfoForSubmitBuilder
员工自评
示例值:符合预期
func (*ProbationInfoForSubmitBuilder) SubmissionType ¶
func (builder *ProbationInfoForSubmitBuilder) SubmissionType(submissionType *Enum) *ProbationInfoForSubmitBuilder
发起方
示例值:hr_submission
type ProcessAbstractItem ¶
type ProcessAbstractItem struct { Name *DataengineI18n `json:"name,omitempty"` // 摘要标题 Value *DataengineI18n `json:"value,omitempty"` // 摘要值 }
type ProcessAbstractItemBuilder ¶
type ProcessAbstractItemBuilder struct {
// contains filtered or unexported fields
}
func NewProcessAbstractItemBuilder ¶
func NewProcessAbstractItemBuilder() *ProcessAbstractItemBuilder
func (*ProcessAbstractItemBuilder) Build ¶
func (builder *ProcessAbstractItemBuilder) Build() *ProcessAbstractItem
func (*ProcessAbstractItemBuilder) Name ¶
func (builder *ProcessAbstractItemBuilder) Name(name *DataengineI18n) *ProcessAbstractItemBuilder
摘要标题
示例值:
func (*ProcessAbstractItemBuilder) Value ¶
func (builder *ProcessAbstractItemBuilder) Value(value *DataengineI18n) *ProcessAbstractItemBuilder
摘要值
示例值:
type ProcessApprover ¶ added in v3.2.1
type ProcessApprover struct { Status *int `json:"status,omitempty"` // 将审批任务修改为同意/拒绝 UserId *string `json:"user_id,omitempty"` // 按user_id_type类型传递。如果system_approval为false,则必填。否则非必填。 SystemApproval *bool `json:"system_approval,omitempty"` // true - 使用系统身份审批 Reason *string `json:"reason,omitempty"` // 通过原因,长度限制为500 FieldValues []*ProcessFormVariable `json:"field_values,omitempty"` // 表单字段值 }
type ProcessApproverBuilder ¶ added in v3.2.1
type ProcessApproverBuilder struct {
// contains filtered or unexported fields
}
func NewProcessApproverBuilder ¶ added in v3.2.1
func NewProcessApproverBuilder() *ProcessApproverBuilder
func (*ProcessApproverBuilder) Build ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) Build() *ProcessApprover
func (*ProcessApproverBuilder) FieldValues ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) FieldValues(fieldValues []*ProcessFormVariable) *ProcessApproverBuilder
表单字段值
示例值:原因自定义字符串
func (*ProcessApproverBuilder) Reason ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) Reason(reason string) *ProcessApproverBuilder
通过原因,长度限制为500
示例值:原因自定义字符串
func (*ProcessApproverBuilder) Status ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) Status(status int) *ProcessApproverBuilder
将审批任务修改为同意/拒绝
示例值:2
func (*ProcessApproverBuilder) SystemApproval ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) SystemApproval(systemApproval bool) *ProcessApproverBuilder
true - 使用系统身份审批
示例值:true
func (*ProcessApproverBuilder) UserId ¶ added in v3.2.1
func (builder *ProcessApproverBuilder) UserId(userId string) *ProcessApproverBuilder
按user_id_type类型传递。如果system_approval为false,则必填。否则非必填。
示例值:ou_91791271921729102012
type ProcessCcItem ¶
type ProcessCcItem struct { ApproverId *string `json:"approver_id,omitempty"` // 单据ID Links *ProcessLink `json:"links,omitempty"` // 单据地址 OperatorId *string `json:"operator_id,omitempty"` // 抄送人ID OperatorName *DataengineI18n `json:"operator_name,omitempty"` // 抄送人姓名 NodeName *DataengineI18n `json:"node_name,omitempty"` // 节点名称 CreateTime *string `json:"create_time,omitempty"` // 抄送时间,Unix毫秒时间戳 NodeDefinitionId *string `json:"node_definition_id,omitempty"` // 节点定义ID(注:在回退场景,同一个节点会对应多个节点实例) }
type ProcessCcItemBuilder ¶
type ProcessCcItemBuilder struct {
// contains filtered or unexported fields
}
func NewProcessCcItemBuilder ¶
func NewProcessCcItemBuilder() *ProcessCcItemBuilder
func (*ProcessCcItemBuilder) ApproverId ¶
func (builder *ProcessCcItemBuilder) ApproverId(approverId string) *ProcessCcItemBuilder
单据ID
示例值:7278949005675988535
func (*ProcessCcItemBuilder) Build ¶
func (builder *ProcessCcItemBuilder) Build() *ProcessCcItem
func (*ProcessCcItemBuilder) CreateTime ¶
func (builder *ProcessCcItemBuilder) CreateTime(createTime string) *ProcessCcItemBuilder
抄送时间,Unix毫秒时间戳
示例值:1694769814036
func (*ProcessCcItemBuilder) Links ¶
func (builder *ProcessCcItemBuilder) Links(links *ProcessLink) *ProcessCcItemBuilder
单据地址
示例值:
func (*ProcessCcItemBuilder) NodeDefinitionId ¶ added in v3.2.1
func (builder *ProcessCcItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessCcItemBuilder
节点定义ID(注:在回退场景,同一个节点会对应多个节点实例)
示例值:approval_d25b5eddfef
func (*ProcessCcItemBuilder) NodeName ¶
func (builder *ProcessCcItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessCcItemBuilder
节点名称
示例值:
func (*ProcessCcItemBuilder) OperatorId ¶
func (builder *ProcessCcItemBuilder) OperatorId(operatorId string) *ProcessCcItemBuilder
抄送人ID
示例值:7124991993901827628
func (*ProcessCcItemBuilder) OperatorName ¶
func (builder *ProcessCcItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessCcItemBuilder
抄送人姓名
示例值:
type ProcessDoneItem ¶
type ProcessDoneItem struct { ApproverId *string `json:"approver_id,omitempty"` // 单据ID Type *int `json:"type,omitempty"` // 单据类型 Status *int `json:"status,omitempty"` // 单据状态 Links *ProcessLink `json:"links,omitempty"` // 单据地址 OperatorId *string `json:"operator_id,omitempty"` // 操作人ID OperatorName *DataengineI18n `json:"operator_name,omitempty"` // 操作人姓名 NodeName *DataengineI18n `json:"node_name,omitempty"` // 节点名称 CreateTime *string `json:"create_time,omitempty"` // 创建时间,Unix毫秒时间戳 CompleteTime *string `json:"complete_time,omitempty"` // 完成时间,Unix毫秒时间戳 NodeDefinitionId *string `json:"node_definition_id,omitempty"` // 节点定义ID(注:在回退场景,同一个节点会对应多个节点实例) }
type ProcessDoneItemBuilder ¶
type ProcessDoneItemBuilder struct {
// contains filtered or unexported fields
}
func NewProcessDoneItemBuilder ¶
func NewProcessDoneItemBuilder() *ProcessDoneItemBuilder
func (*ProcessDoneItemBuilder) ApproverId ¶
func (builder *ProcessDoneItemBuilder) ApproverId(approverId string) *ProcessDoneItemBuilder
单据ID
示例值:7278949005675988535
func (*ProcessDoneItemBuilder) Build ¶
func (builder *ProcessDoneItemBuilder) Build() *ProcessDoneItem
func (*ProcessDoneItemBuilder) CompleteTime ¶
func (builder *ProcessDoneItemBuilder) CompleteTime(completeTime string) *ProcessDoneItemBuilder
完成时间,Unix毫秒时间戳
示例值:1694769814036
func (*ProcessDoneItemBuilder) CreateTime ¶
func (builder *ProcessDoneItemBuilder) CreateTime(createTime string) *ProcessDoneItemBuilder
创建时间,Unix毫秒时间戳
示例值:1694769814036
func (*ProcessDoneItemBuilder) Links ¶
func (builder *ProcessDoneItemBuilder) Links(links *ProcessLink) *ProcessDoneItemBuilder
单据地址
示例值:
func (*ProcessDoneItemBuilder) NodeDefinitionId ¶ added in v3.2.1
func (builder *ProcessDoneItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessDoneItemBuilder
节点定义ID(注:在回退场景,同一个节点会对应多个节点实例)
示例值:approval_d25b5eddfef
func (*ProcessDoneItemBuilder) NodeName ¶
func (builder *ProcessDoneItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessDoneItemBuilder
节点名称
示例值:
func (*ProcessDoneItemBuilder) OperatorId ¶
func (builder *ProcessDoneItemBuilder) OperatorId(operatorId string) *ProcessDoneItemBuilder
操作人ID
示例值:7124991993901827628
func (*ProcessDoneItemBuilder) OperatorName ¶
func (builder *ProcessDoneItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessDoneItemBuilder
操作人姓名
示例值:
func (*ProcessDoneItemBuilder) Status ¶
func (builder *ProcessDoneItemBuilder) Status(status int) *ProcessDoneItemBuilder
单据状态
示例值:3
func (*ProcessDoneItemBuilder) Type ¶
func (builder *ProcessDoneItemBuilder) Type(type_ int) *ProcessDoneItemBuilder
单据类型
示例值:1
type ProcessFormVariable ¶ added in v3.2.1
type ProcessFormVariable struct { VariableApiName *string `json:"variable_api_name,omitempty"` // 变量的apiName VariableValue *FormVariableValueInfo `json:"variable_value,omitempty"` // 变量值 }
type ProcessFormVariableBuilder ¶ added in v3.2.1
type ProcessFormVariableBuilder struct {
// contains filtered or unexported fields
}
func NewProcessFormVariableBuilder ¶ added in v3.2.1
func NewProcessFormVariableBuilder() *ProcessFormVariableBuilder
func (*ProcessFormVariableBuilder) Build ¶ added in v3.2.1
func (builder *ProcessFormVariableBuilder) Build() *ProcessFormVariable
func (*ProcessFormVariableBuilder) VariableApiName ¶ added in v3.2.1
func (builder *ProcessFormVariableBuilder) VariableApiName(variableApiName string) *ProcessFormVariableBuilder
变量的apiName
示例值:custom590dbafb84a
func (*ProcessFormVariableBuilder) VariableValue ¶ added in v3.2.1
func (builder *ProcessFormVariableBuilder) VariableValue(variableValue *FormVariableValueInfo) *ProcessFormVariableBuilder
变量值
示例值:
type ProcessLink ¶
type ProcessLinkBuilder ¶
type ProcessLinkBuilder struct {
// contains filtered or unexported fields
}
func NewProcessLinkBuilder ¶
func NewProcessLinkBuilder() *ProcessLinkBuilder
func (*ProcessLinkBuilder) Build ¶
func (builder *ProcessLinkBuilder) Build() *ProcessLink
func (*ProcessLinkBuilder) MobileLink ¶
func (builder *ProcessLinkBuilder) MobileLink(mobileLink string) *ProcessLinkBuilder
飞书移动端单据详情页地址
示例值:https://applink.feishu.cn/client/mini_program/open?appId=xxx
func (*ProcessLinkBuilder) PcLink ¶
func (builder *ProcessLinkBuilder) PcLink(pcLink string) *ProcessLinkBuilder
飞书pc端单据详情页地址
示例值:https://applink.feishu.cn/client/mini_program/open?appId=xxx
func (*ProcessLinkBuilder) WebLink ¶
func (builder *ProcessLinkBuilder) WebLink(webLink string) *ProcessLinkBuilder
web端单据详情页地址
type ProcessTodoItem ¶
type ProcessTodoItem struct { ApproverId *string `json:"approver_id,omitempty"` // 单据ID Type *int `json:"type,omitempty"` // 单据类型 Links *ProcessLink `json:"links,omitempty"` // 单据地址 OperatorId *string `json:"operator_id,omitempty"` // 操作人ID OperatorName *DataengineI18n `json:"operator_name,omitempty"` // 操作人姓名 NodeName *DataengineI18n `json:"node_name,omitempty"` // 节点名称 CreateTime *string `json:"create_time,omitempty"` // 创建时间,Unix毫秒时间戳 NodeDefinitionId *string `json:"node_definition_id,omitempty"` // 节点定义ID(注:在回退场景,同一个节点会对应多个节点实例) }
type ProcessTodoItemBuilder ¶
type ProcessTodoItemBuilder struct {
// contains filtered or unexported fields
}
func NewProcessTodoItemBuilder ¶
func NewProcessTodoItemBuilder() *ProcessTodoItemBuilder
func (*ProcessTodoItemBuilder) ApproverId ¶
func (builder *ProcessTodoItemBuilder) ApproverId(approverId string) *ProcessTodoItemBuilder
单据ID
示例值:7278949005675988535
func (*ProcessTodoItemBuilder) Build ¶
func (builder *ProcessTodoItemBuilder) Build() *ProcessTodoItem
func (*ProcessTodoItemBuilder) CreateTime ¶
func (builder *ProcessTodoItemBuilder) CreateTime(createTime string) *ProcessTodoItemBuilder
创建时间,Unix毫秒时间戳
示例值:1694769814036
func (*ProcessTodoItemBuilder) Links ¶
func (builder *ProcessTodoItemBuilder) Links(links *ProcessLink) *ProcessTodoItemBuilder
单据地址
示例值:
func (*ProcessTodoItemBuilder) NodeDefinitionId ¶ added in v3.2.1
func (builder *ProcessTodoItemBuilder) NodeDefinitionId(nodeDefinitionId string) *ProcessTodoItemBuilder
节点定义ID(注:在回退场景,同一个节点会对应多个节点实例)
示例值:approval_d25b5eddfef
func (*ProcessTodoItemBuilder) NodeName ¶
func (builder *ProcessTodoItemBuilder) NodeName(nodeName *DataengineI18n) *ProcessTodoItemBuilder
节点名称
示例值:
func (*ProcessTodoItemBuilder) OperatorId ¶
func (builder *ProcessTodoItemBuilder) OperatorId(operatorId string) *ProcessTodoItemBuilder
操作人ID
示例值:7124991993901827628
func (*ProcessTodoItemBuilder) OperatorName ¶
func (builder *ProcessTodoItemBuilder) OperatorName(operatorName *DataengineI18n) *ProcessTodoItemBuilder
操作人姓名
示例值:
func (*ProcessTodoItemBuilder) Type ¶
func (builder *ProcessTodoItemBuilder) Type(type_ int) *ProcessTodoItemBuilder
单据类型
示例值:1
type ProfileSettingAddress ¶ added in v3.2.1
type ProfileSettingAddress struct { AddressType *string `json:"address_type,omitempty"` // 地址类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "address" custom_api_name = "address_type" CountryRegion *string `json:"country_region,omitempty"` // 国家 / 地区ID Region *string `json:"region,omitempty"` // 主要行政区ID RegionSubdivision1 *string `json:"region_subdivision_1,omitempty"` // 主要行政区往下细分 1 层的行政区 RegionSubdivision2 *string `json:"region_subdivision_2,omitempty"` // 主要行政区往下细分 2 层的行政区 CityV2 *string `json:"city_v2,omitempty"` // 城市V2 ID CityText *string `json:"city_text,omitempty"` // 城市(文本) LocalCityText *string `json:"local_city_text,omitempty"` // 城市(仅文本,非拉丁语系的本地文字) CitySubdivision1 *string `json:"city_subdivision_1,omitempty"` // 城市往下细分 1 层的行政区 CitySubdivision2 *string `json:"city_subdivision_2,omitempty"` // 城市往下细分 2 层的行政区 DistrictV2 *string `json:"district_v2,omitempty"` // 区/县V2 ID PostalCode *string `json:"postal_code,omitempty"` // 邮政编码 AddressLine1 *string `json:"address_line_1,omitempty"` // 地址行 1 LocalAddressLine1 *string `json:"local_address_line_1,omitempty"` // 地址行 1(非拉丁语系的本地文字) AddressLine2 *string `json:"address_line_2,omitempty"` // 地址行 2 LocalAddressLine2 *string `json:"local_address_line_2,omitempty"` // 地址行 2(非拉丁语系的本地文字) AddressLine3 *string `json:"address_line_3,omitempty"` // 地址行 3 LocalAddressLine3 *string `json:"local_address_line_3,omitempty"` // 地址行 3(非拉丁语系的本地文字) AddressLine4 *string `json:"address_line_4,omitempty"` // 地址行 4 LocalAddressLine5 *string `json:"local_address_line_5,omitempty"` // 地址行 5(非拉丁语系的本地文字) AddressLine6 *string `json:"address_line_6,omitempty"` // 地址行 6 LocalAddressLine6 *string `json:"local_address_line_6,omitempty"` // 地址行 6(非拉丁语系的本地文字) AddressLine7 *string `json:"address_line_7,omitempty"` // 地址行 7 LocalAddressLine7 *string `json:"local_address_line_7,omitempty"` // 地址行 7(非拉丁语系的本地文字) AddressLine8 *string `json:"address_line_8,omitempty"` // 地址行 8 LocalAddressLine8 *string `json:"local_address_line_8,omitempty"` // 地址行 8(非拉丁语系的本地文字) AddressLine9 *string `json:"address_line_9,omitempty"` // 地址行 9 LocalAddressLine9 *string `json:"local_address_line_9,omitempty"` // 地址行 9(非拉丁语系的本地文字) LocalAddressLine4 *string `json:"local_address_line_4,omitempty"` // 地址行 4(非拉丁语系的本地文字) AddressLine5 *string `json:"address_line_5,omitempty"` // 地址行 5 }
type ProfileSettingAddressBuilder ¶ added in v3.2.1
type ProfileSettingAddressBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingAddressBuilder ¶ added in v3.2.1
func NewProfileSettingAddressBuilder() *ProfileSettingAddressBuilder
func (*ProfileSettingAddressBuilder) AddressLine1 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine1(addressLine1 string) *ProfileSettingAddressBuilder
地址行 1
示例值:丹佛测试地址-纽埃时区
func (*ProfileSettingAddressBuilder) AddressLine2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine2(addressLine2 string) *ProfileSettingAddressBuilder
地址行 2
示例值:PoewH
func (*ProfileSettingAddressBuilder) AddressLine3 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine3(addressLine3 string) *ProfileSettingAddressBuilder
地址行 3
示例值:PoewH
func (*ProfileSettingAddressBuilder) AddressLine4 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine4(addressLine4 string) *ProfileSettingAddressBuilder
地址行 4
示例值:jmwJc
func (*ProfileSettingAddressBuilder) AddressLine5 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine5(addressLine5 string) *ProfileSettingAddressBuilder
地址行 5
示例值:jmwJc
func (*ProfileSettingAddressBuilder) AddressLine6 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine6(addressLine6 string) *ProfileSettingAddressBuilder
地址行 6
示例值:jmwJc
func (*ProfileSettingAddressBuilder) AddressLine7 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine7(addressLine7 string) *ProfileSettingAddressBuilder
地址行 7
示例值:jmwJc
func (*ProfileSettingAddressBuilder) AddressLine8 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine8(addressLine8 string) *ProfileSettingAddressBuilder
地址行 8
示例值:jmwJc
func (*ProfileSettingAddressBuilder) AddressLine9 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressLine9(addressLine9 string) *ProfileSettingAddressBuilder
地址行 9
示例值:McPRG
func (*ProfileSettingAddressBuilder) AddressType ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) AddressType(addressType string) *ProfileSettingAddressBuilder
地址类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "address" custom_api_name = "address_type"
示例值:home_address
func (*ProfileSettingAddressBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) Build() *ProfileSettingAddress
func (*ProfileSettingAddressBuilder) CitySubdivision1 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) CitySubdivision1(citySubdivision1 string) *ProfileSettingAddressBuilder
城市往下细分 1 层的行政区
示例值:行政区1
func (*ProfileSettingAddressBuilder) CitySubdivision2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) CitySubdivision2(citySubdivision2 string) *ProfileSettingAddressBuilder
城市往下细分 2 层的行政区
示例值:行政区2
func (*ProfileSettingAddressBuilder) CityText ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) CityText(cityText string) *ProfileSettingAddressBuilder
城市(文本)
示例值:北京市
func (*ProfileSettingAddressBuilder) CityV2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) CityV2(cityV2 string) *ProfileSettingAddressBuilder
城市V2 ID
示例值:6862995757234914829
func (*ProfileSettingAddressBuilder) CountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) CountryRegion(countryRegion string) *ProfileSettingAddressBuilder
国家 / 地区ID
示例值:6862995757234914824
func (*ProfileSettingAddressBuilder) DistrictV2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) DistrictV2(districtV2 string) *ProfileSettingAddressBuilder
区/县V2 ID
示例值:6862995757234914831
func (*ProfileSettingAddressBuilder) LocalAddressLine1 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine1(localAddressLine1 string) *ProfileSettingAddressBuilder
地址行 1(非拉丁语系的本地文字)
示例值:丹佛测试地址-纽埃时区
func (*ProfileSettingAddressBuilder) LocalAddressLine2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine2(localAddressLine2 string) *ProfileSettingAddressBuilder
地址行 2(非拉丁语系的本地文字)
示例值:PoewH
func (*ProfileSettingAddressBuilder) LocalAddressLine3 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine3(localAddressLine3 string) *ProfileSettingAddressBuilder
地址行 3(非拉丁语系的本地文字)
示例值:PoewH
func (*ProfileSettingAddressBuilder) LocalAddressLine4 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine4(localAddressLine4 string) *ProfileSettingAddressBuilder
地址行 4(非拉丁语系的本地文字)
示例值:jmwJc
func (*ProfileSettingAddressBuilder) LocalAddressLine5 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine5(localAddressLine5 string) *ProfileSettingAddressBuilder
地址行 5(非拉丁语系的本地文字)
示例值:jmwJc
func (*ProfileSettingAddressBuilder) LocalAddressLine6 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine6(localAddressLine6 string) *ProfileSettingAddressBuilder
地址行 6(非拉丁语系的本地文字)
示例值:jmwJc
func (*ProfileSettingAddressBuilder) LocalAddressLine7 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine7(localAddressLine7 string) *ProfileSettingAddressBuilder
地址行 7(非拉丁语系的本地文字)
示例值:jmwJc
func (*ProfileSettingAddressBuilder) LocalAddressLine8 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine8(localAddressLine8 string) *ProfileSettingAddressBuilder
地址行 8(非拉丁语系的本地文字)
示例值:rafSu
func (*ProfileSettingAddressBuilder) LocalAddressLine9 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalAddressLine9(localAddressLine9 string) *ProfileSettingAddressBuilder
地址行 9(非拉丁语系的本地文字)
示例值:McPRG
func (*ProfileSettingAddressBuilder) LocalCityText ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) LocalCityText(localCityText string) *ProfileSettingAddressBuilder
城市(仅文本,非拉丁语系的本地文字)
示例值:北京市
func (*ProfileSettingAddressBuilder) PostalCode ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) PostalCode(postalCode string) *ProfileSettingAddressBuilder
邮政编码
示例值:611530
func (*ProfileSettingAddressBuilder) Region ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) Region(region string) *ProfileSettingAddressBuilder
主要行政区ID
示例值:6863326815667095047
func (*ProfileSettingAddressBuilder) RegionSubdivision1 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) RegionSubdivision1(regionSubdivision1 string) *ProfileSettingAddressBuilder
主要行政区往下细分 1 层的行政区
示例值:行政区1
func (*ProfileSettingAddressBuilder) RegionSubdivision2 ¶ added in v3.2.1
func (builder *ProfileSettingAddressBuilder) RegionSubdivision2(regionSubdivision2 string) *ProfileSettingAddressBuilder
主要行政区往下细分 2 层的行政区
示例值:行政区2
type ProfileSettingBankAccount ¶ added in v3.2.1
type ProfileSettingBankAccount struct { CountryRegion *string `json:"country_region,omitempty"` // 国家 / 地区ID BankName *string `json:"bank_name,omitempty"` // 银行名称 BranchName *string `json:"branch_name,omitempty"` // 支行名称 AccountHolder *string `json:"account_holder,omitempty"` // 开户人姓名 BankAccountNumber *string `json:"bank_account_number,omitempty"` // 银行账号 BankAccountUsages []string `json:"bank_account_usages,omitempty"` // 银行卡用途,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "bank_account" custom_api_name = "bank_account_usage" BankAccountType *string `json:"bank_account_type,omitempty"` // 银行卡类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "bank_account" custom_api_name = "bank_account_type" BankId *string `json:"bank_id,omitempty"` // 银行ID BranchId *string `json:"branch_id,omitempty"` // 银行支行ID }
type ProfileSettingBankAccountBuilder ¶ added in v3.2.1
type ProfileSettingBankAccountBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingBankAccountBuilder ¶ added in v3.2.1
func NewProfileSettingBankAccountBuilder() *ProfileSettingBankAccountBuilder
func (*ProfileSettingBankAccountBuilder) AccountHolder ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) AccountHolder(accountHolder string) *ProfileSettingBankAccountBuilder
开户人姓名
示例值:孟十五
func (*ProfileSettingBankAccountBuilder) BankAccountNumber ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BankAccountNumber(bankAccountNumber string) *ProfileSettingBankAccountBuilder
银行账号
示例值:6231200000001223
func (*ProfileSettingBankAccountBuilder) BankAccountType ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BankAccountType(bankAccountType string) *ProfileSettingBankAccountBuilder
银行卡类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "bank_account" custom_api_name = "bank_account_type"
示例值:savings
func (*ProfileSettingBankAccountBuilder) BankAccountUsages ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BankAccountUsages(bankAccountUsages []string) *ProfileSettingBankAccountBuilder
银行卡用途,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "bank_account" custom_api_name = "bank_account_usage"
示例值:payment
func (*ProfileSettingBankAccountBuilder) BankId ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BankId(bankId string) *ProfileSettingBankAccountBuilder
银行ID
示例值:6862995757234914832
func (*ProfileSettingBankAccountBuilder) BankName ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BankName(bankName string) *ProfileSettingBankAccountBuilder
银行名称
示例值:中国农业银行
func (*ProfileSettingBankAccountBuilder) BranchId ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BranchId(branchId string) *ProfileSettingBankAccountBuilder
银行支行ID
示例值:6862995757234914833
func (*ProfileSettingBankAccountBuilder) BranchName ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) BranchName(branchName string) *ProfileSettingBankAccountBuilder
支行名称
示例值:中国农业银行支行
func (*ProfileSettingBankAccountBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) Build() *ProfileSettingBankAccount
func (*ProfileSettingBankAccountBuilder) CountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingBankAccountBuilder) CountryRegion(countryRegion string) *ProfileSettingBankAccountBuilder
国家 / 地区ID
示例值:6862995757234914824
type ProfileSettingCareer ¶ added in v3.2.1
type ProfileSettingCareer struct { Educations []*ProfileSettingEducation `json:"educations,omitempty"` // 教育经历 WorkExperiences []*ProfileSettingWorkExperience `json:"work_experiences,omitempty"` // 工作经历 CustomGroups []*ProfileSettingCustomGroup `json:"custom_groups,omitempty"` // 自定义分组 }
type ProfileSettingCareerBuilder ¶ added in v3.2.1
type ProfileSettingCareerBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingCareerBuilder ¶ added in v3.2.1
func NewProfileSettingCareerBuilder() *ProfileSettingCareerBuilder
func (*ProfileSettingCareerBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingCareerBuilder) Build() *ProfileSettingCareer
func (*ProfileSettingCareerBuilder) CustomGroups ¶ added in v3.2.1
func (builder *ProfileSettingCareerBuilder) CustomGroups(customGroups []*ProfileSettingCustomGroup) *ProfileSettingCareerBuilder
自定义分组
示例值:
func (*ProfileSettingCareerBuilder) Educations ¶ added in v3.2.1
func (builder *ProfileSettingCareerBuilder) Educations(educations []*ProfileSettingEducation) *ProfileSettingCareerBuilder
教育经历
示例值:
func (*ProfileSettingCareerBuilder) WorkExperiences ¶ added in v3.2.1
func (builder *ProfileSettingCareerBuilder) WorkExperiences(workExperiences []*ProfileSettingWorkExperience) *ProfileSettingCareerBuilder
工作经历
示例值:
type ProfileSettingCostCenter ¶ added in v3.2.1
type ProfileSettingCostCenterBuilder ¶ added in v3.2.1
type ProfileSettingCostCenterBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingCostCenterBuilder ¶ added in v3.2.1
func NewProfileSettingCostCenterBuilder() *ProfileSettingCostCenterBuilder
func (*ProfileSettingCostCenterBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingCostCenterBuilder) Build() *ProfileSettingCostCenter
func (*ProfileSettingCostCenterBuilder) Id ¶ added in v3.2.1
func (builder *ProfileSettingCostCenterBuilder) Id(id string) *ProfileSettingCostCenterBuilder
100
示例值:6950635856373745165
func (*ProfileSettingCostCenterBuilder) Rate ¶ added in v3.2.1
func (builder *ProfileSettingCostCenterBuilder) Rate(rate int) *ProfileSettingCostCenterBuilder
分摊比例
示例值:100
type ProfileSettingCustomField ¶ added in v3.2.1
type ProfileSettingCustomFieldBuilder ¶ added in v3.2.1
type ProfileSettingCustomFieldBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingCustomFieldBuilder ¶ added in v3.2.1
func NewProfileSettingCustomFieldBuilder() *ProfileSettingCustomFieldBuilder
func (*ProfileSettingCustomFieldBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingCustomFieldBuilder) Build() *ProfileSettingCustomField
func (*ProfileSettingCustomFieldBuilder) FieldName ¶ added in v3.2.1
func (builder *ProfileSettingCustomFieldBuilder) FieldName(fieldName string) *ProfileSettingCustomFieldBuilder
字段名
示例值:custom_field_1__c
func (*ProfileSettingCustomFieldBuilder) Value ¶ added in v3.2.1
func (builder *ProfileSettingCustomFieldBuilder) Value(value string) *ProfileSettingCustomFieldBuilder
字段值, 是 json 转义后的字符串,根据元数据定义不同,字段格式不同。使用方式可参考【操作手册】如何通过 OpenAPI 维护自定义字段
示例值:["custom_enum_0__c"]
type ProfileSettingCustomGroup ¶ added in v3.2.1
type ProfileSettingCustomGroup struct { GroupName *string `json:"group_name,omitempty"` // 分组名 Items []*ProfileSettingCustomGroupItem `json:"items,omitempty"` // 分组数据 }
type ProfileSettingCustomGroupBuilder ¶ added in v3.2.1
type ProfileSettingCustomGroupBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingCustomGroupBuilder ¶ added in v3.2.1
func NewProfileSettingCustomGroupBuilder() *ProfileSettingCustomGroupBuilder
func (*ProfileSettingCustomGroupBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingCustomGroupBuilder) Build() *ProfileSettingCustomGroup
func (*ProfileSettingCustomGroupBuilder) GroupName ¶ added in v3.2.1
func (builder *ProfileSettingCustomGroupBuilder) GroupName(groupName string) *ProfileSettingCustomGroupBuilder
分组名
示例值:custom_obj__c
func (*ProfileSettingCustomGroupBuilder) Items ¶ added in v3.2.1
func (builder *ProfileSettingCustomGroupBuilder) Items(items []*ProfileSettingCustomGroupItem) *ProfileSettingCustomGroupBuilder
分组数据
示例值:
type ProfileSettingCustomGroupItem ¶ added in v3.2.1
type ProfileSettingCustomGroupItem struct {
CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段
}
type ProfileSettingCustomGroupItemBuilder ¶ added in v3.2.1
type ProfileSettingCustomGroupItemBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingCustomGroupItemBuilder ¶ added in v3.2.1
func NewProfileSettingCustomGroupItemBuilder() *ProfileSettingCustomGroupItemBuilder
func (*ProfileSettingCustomGroupItemBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingCustomGroupItemBuilder) Build() *ProfileSettingCustomGroupItem
func (*ProfileSettingCustomGroupItemBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingCustomGroupItemBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingCustomGroupItemBuilder
自定义字段
示例值:
type ProfileSettingDataAttachment ¶ added in v3.2.1
type ProfileSettingDataAttachment struct {
PersonalRecords []*ProfileSettingPersonalRecord `json:"personal_records,omitempty"` // 资料附件记录
}
type ProfileSettingDataAttachmentBuilder ¶ added in v3.2.1
type ProfileSettingDataAttachmentBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingDataAttachmentBuilder ¶ added in v3.2.1
func NewProfileSettingDataAttachmentBuilder() *ProfileSettingDataAttachmentBuilder
func (*ProfileSettingDataAttachmentBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingDataAttachmentBuilder) Build() *ProfileSettingDataAttachment
func (*ProfileSettingDataAttachmentBuilder) PersonalRecords ¶ added in v3.2.1
func (builder *ProfileSettingDataAttachmentBuilder) PersonalRecords(personalRecords []*ProfileSettingPersonalRecord) *ProfileSettingDataAttachmentBuilder
资料附件记录
示例值:
type ProfileSettingDependent ¶ added in v3.2.1
type ProfileSettingDependent struct { LegalName *string `json:"legal_name,omitempty"` // 姓名 DateOfBirth *string `json:"date_of_birth,omitempty"` // 生日 RelationshipWithDependent *string `json:"relationship_with_dependent,omitempty"` // 关系,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "dependent" custom_api_name ="relationship_with_dependent" Gender *string `json:"gender,omitempty"` // 性别,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "dependent" custom_api_name = "gender" Phone *ProfileSettingPhone `json:"phone,omitempty"` // 电话 Job *string `json:"job,omitempty"` // 岗位 ChildBirthCertificates []*ProfileSettingFile `json:"child_birth_certificates,omitempty"` // 出生证明 Employer *string `json:"employer,omitempty"` // 工作单位 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 Address *ProfileSettingAddress `json:"address,omitempty"` // 联系地址 }
type ProfileSettingDependentBuilder ¶ added in v3.2.1
type ProfileSettingDependentBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingDependentBuilder ¶ added in v3.2.1
func NewProfileSettingDependentBuilder() *ProfileSettingDependentBuilder
func (*ProfileSettingDependentBuilder) Address ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Address(address *ProfileSettingAddress) *ProfileSettingDependentBuilder
联系地址
示例值:
func (*ProfileSettingDependentBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Build() *ProfileSettingDependent
func (*ProfileSettingDependentBuilder) ChildBirthCertificates ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) ChildBirthCertificates(childBirthCertificates []*ProfileSettingFile) *ProfileSettingDependentBuilder
出生证明
示例值:
func (*ProfileSettingDependentBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingDependentBuilder
自定义字段
示例值:
func (*ProfileSettingDependentBuilder) DateOfBirth ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) DateOfBirth(dateOfBirth string) *ProfileSettingDependentBuilder
生日
示例值:2006-01-02
func (*ProfileSettingDependentBuilder) Employer ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Employer(employer string) *ProfileSettingDependentBuilder
工作单位
示例值:飞书
func (*ProfileSettingDependentBuilder) Gender ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Gender(gender string) *ProfileSettingDependentBuilder
性别,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "dependent" custom_api_name = "gender"
示例值:female
func (*ProfileSettingDependentBuilder) Job ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Job(job string) *ProfileSettingDependentBuilder
岗位
示例值:岗位
func (*ProfileSettingDependentBuilder) LegalName ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) LegalName(legalName string) *ProfileSettingDependentBuilder
姓名
示例值:王大帅
func (*ProfileSettingDependentBuilder) Phone ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingDependentBuilder
电话
示例值:
func (*ProfileSettingDependentBuilder) RelationshipWithDependent ¶ added in v3.2.1
func (builder *ProfileSettingDependentBuilder) RelationshipWithDependent(relationshipWithDependent string) *ProfileSettingDependentBuilder
关系,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "dependent" custom_api_name ="relationship_with_dependent"
示例值:parent
type ProfileSettingEducation ¶ added in v3.2.1
type ProfileSettingEducation struct { School *string `json:"school,omitempty"` // 学校 SchoolEnum *string `json:"school_enum,omitempty"` // "学校, 枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = ""education"" custom_api_name = ""school_name""" StartDate *string `json:"start_date,omitempty"` // 开始日期 EndDate *string `json:"end_date,omitempty"` // 结束日期 LevelOfEducation *string `json:"level_of_education,omitempty"` // 学历, 枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "education" custom_api_name = "level_of_education" FieldOfStudy *string `json:"field_of_study,omitempty"` // 专业 Degree *string `json:"degree,omitempty"` // 学位,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "education" custom_api_name = "degree" FieldOfStudyEnum *string `json:"field_of_study_enum,omitempty"` // "专业,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = ""education"" custom_api_name = ""field_of_study_name""" CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingEducationBuilder ¶ added in v3.2.1
type ProfileSettingEducationBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEducationBuilder ¶ added in v3.2.1
func NewProfileSettingEducationBuilder() *ProfileSettingEducationBuilder
func (*ProfileSettingEducationBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) Build() *ProfileSettingEducation
func (*ProfileSettingEducationBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEducationBuilder
自定义字段
示例值:
func (*ProfileSettingEducationBuilder) Degree ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) Degree(degree string) *ProfileSettingEducationBuilder
学位,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "education" custom_api_name = "degree"
示例值:bachelors_degree
func (*ProfileSettingEducationBuilder) EndDate ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) EndDate(endDate string) *ProfileSettingEducationBuilder
结束日期
示例值:2015-06-30
func (*ProfileSettingEducationBuilder) FieldOfStudy ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) FieldOfStudy(fieldOfStudy string) *ProfileSettingEducationBuilder
专业
示例值:软件工程
func (*ProfileSettingEducationBuilder) FieldOfStudyEnum ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) FieldOfStudyEnum(fieldOfStudyEnum string) *ProfileSettingEducationBuilder
"专业,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = ""education"" custom_api_name = ""field_of_study_name"""
示例值:field_of_study-2
func (*ProfileSettingEducationBuilder) LevelOfEducation ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) LevelOfEducation(levelOfEducation string) *ProfileSettingEducationBuilder
学历, 枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "education" custom_api_name = "level_of_education"
示例值:masters_degree
func (*ProfileSettingEducationBuilder) School ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) School(school string) *ProfileSettingEducationBuilder
学校
示例值:北京大学
func (*ProfileSettingEducationBuilder) SchoolEnum ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) SchoolEnum(schoolEnum string) *ProfileSettingEducationBuilder
"学校, 枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = ""education"" custom_api_name = ""school_name"""
示例值:school-177
func (*ProfileSettingEducationBuilder) StartDate ¶ added in v3.2.1
func (builder *ProfileSettingEducationBuilder) StartDate(startDate string) *ProfileSettingEducationBuilder
开始日期
示例值:2011-09-01
type ProfileSettingEmergencyContact ¶ added in v3.2.1
type ProfileSettingEmergencyContact struct { LegalName *string `json:"legal_name,omitempty"` // 姓名 Relationship *string `json:"relationship,omitempty"` // 关系,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "emergency_contract" custom_api_name = "relationship" IsPrimary *bool `json:"is_primary,omitempty"` // 主要联系人 Phone *ProfileSettingPhone `json:"phone,omitempty"` // 电话 Email *string `json:"email,omitempty"` // 邮箱 Address *ProfileSettingAddress `json:"address,omitempty"` // 地址 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingEmergencyContactBuilder ¶ added in v3.2.1
type ProfileSettingEmergencyContactBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmergencyContactBuilder ¶ added in v3.2.1
func NewProfileSettingEmergencyContactBuilder() *ProfileSettingEmergencyContactBuilder
func (*ProfileSettingEmergencyContactBuilder) Address ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) Address(address *ProfileSettingAddress) *ProfileSettingEmergencyContactBuilder
地址
示例值:
func (*ProfileSettingEmergencyContactBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) Build() *ProfileSettingEmergencyContact
func (*ProfileSettingEmergencyContactBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmergencyContactBuilder
自定义字段
示例值:
func (*ProfileSettingEmergencyContactBuilder) Email ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) Email(email string) *ProfileSettingEmergencyContactBuilder
邮箱
示例值:1234567@example.feishu.cn
func (*ProfileSettingEmergencyContactBuilder) IsPrimary ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) IsPrimary(isPrimary bool) *ProfileSettingEmergencyContactBuilder
主要联系人
示例值:true
func (*ProfileSettingEmergencyContactBuilder) LegalName ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) LegalName(legalName string) *ProfileSettingEmergencyContactBuilder
姓名
示例值:王大帅
func (*ProfileSettingEmergencyContactBuilder) Phone ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmergencyContactBuilder
电话
示例值:
func (*ProfileSettingEmergencyContactBuilder) Relationship ¶ added in v3.2.1
func (builder *ProfileSettingEmergencyContactBuilder) Relationship(relationship string) *ProfileSettingEmergencyContactBuilder
关系,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "emergency_contract" custom_api_name = "relationship"
示例值:parent
type ProfileSettingEmpBasicInfoForUpdate ¶ added in v3.2.1
type ProfileSettingEmpBasicInfoForUpdate struct { EmployeeNumber *string `json:"employee_number,omitempty"` // 员工工号 RegularEmployeeStartDate *string `json:"regular_employee_start_date,omitempty"` // 转正式员工日期 SeniorityDate *string `json:"seniority_date,omitempty"` // 资历起算日期 WorkEmail *string `json:"work_email,omitempty"` // 工作邮箱 Phone *ProfileSettingPhone `json:"phone,omitempty"` // 工作电话 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingEmpBasicInfoForUpdateBuilder ¶ added in v3.2.1
type ProfileSettingEmpBasicInfoForUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmpBasicInfoForUpdateBuilder ¶ added in v3.2.1
func NewProfileSettingEmpBasicInfoForUpdateBuilder() *ProfileSettingEmpBasicInfoForUpdateBuilder
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) Build() *ProfileSettingEmpBasicInfoForUpdate
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmpBasicInfoForUpdateBuilder
自定义字段
示例值:
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) EmployeeNumber ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) EmployeeNumber(employeeNumber string) *ProfileSettingEmpBasicInfoForUpdateBuilder
员工工号
示例值:1000000
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) Phone ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmpBasicInfoForUpdateBuilder
工作电话
示例值:
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) RegularEmployeeStartDate ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *ProfileSettingEmpBasicInfoForUpdateBuilder
转正式员工日期
示例值:2021-02-01
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) SeniorityDate ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) SeniorityDate(seniorityDate string) *ProfileSettingEmpBasicInfoForUpdateBuilder
资历起算日期
示例值:2021-02-01
func (*ProfileSettingEmpBasicInfoForUpdateBuilder) WorkEmail ¶ added in v3.2.1
func (builder *ProfileSettingEmpBasicInfoForUpdateBuilder) WorkEmail(workEmail string) *ProfileSettingEmpBasicInfoForUpdateBuilder
工作邮箱
示例值:12456@test.com
type ProfileSettingEmpContractRecord ¶ added in v3.2.1
type ProfileSettingEmpContractRecord struct { ContractNumber *string `json:"contract_number,omitempty"` // 合同协议编号 ContractType *string `json:"contract_type,omitempty"` // 合同类型,枚举值可选项 可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "contract" custom_api_name = "contract_type" FirstParty *string `json:"first_party,omitempty"` // 甲方公司 ID, 引用Company的ID,详细信息可通过【查询单个公司】接口查询获得 EffectiveTime *string `json:"effective_time,omitempty"` // 合同开始日期 DurationType *string `json:"duration_type,omitempty"` // 期限类型,枚举值可选项 可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "contract" custom_api_name = "duration_type" ContractEndDate *string `json:"contract_end_date,omitempty"` // 合同结束日期 }
type ProfileSettingEmpContractRecordBuilder ¶ added in v3.2.1
type ProfileSettingEmpContractRecordBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmpContractRecordBuilder ¶ added in v3.2.1
func NewProfileSettingEmpContractRecordBuilder() *ProfileSettingEmpContractRecordBuilder
func (*ProfileSettingEmpContractRecordBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) Build() *ProfileSettingEmpContractRecord
func (*ProfileSettingEmpContractRecordBuilder) ContractEndDate ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) ContractEndDate(contractEndDate string) *ProfileSettingEmpContractRecordBuilder
合同结束日期
示例值:2050-01-01
func (*ProfileSettingEmpContractRecordBuilder) ContractNumber ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) ContractNumber(contractNumber string) *ProfileSettingEmpContractRecordBuilder
合同协议编号
示例值:6919737965274990093
func (*ProfileSettingEmpContractRecordBuilder) ContractType ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) ContractType(contractType string) *ProfileSettingEmpContractRecordBuilder
合同类型,枚举值可选项 可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "contract" custom_api_name = "contract_type"
示例值:labor_contract
func (*ProfileSettingEmpContractRecordBuilder) DurationType ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) DurationType(durationType string) *ProfileSettingEmpContractRecordBuilder
期限类型,枚举值可选项 可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "contract" custom_api_name = "duration_type"
示例值:fixed_term
func (*ProfileSettingEmpContractRecordBuilder) EffectiveTime ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) EffectiveTime(effectiveTime string) *ProfileSettingEmpContractRecordBuilder
合同开始日期
示例值:2006-01-02
func (*ProfileSettingEmpContractRecordBuilder) FirstParty ¶ added in v3.2.1
func (builder *ProfileSettingEmpContractRecordBuilder) FirstParty(firstParty string) *ProfileSettingEmpContractRecordBuilder
甲方公司 ID, 引用Company的ID,详细信息可通过【查询单个公司】接口查询获得
示例值:6892686614112241165
type ProfileSettingEmpInfoForUpdate ¶ added in v3.2.1
type ProfileSettingEmpInfoForUpdate struct { BasicInfo *ProfileSettingEmpBasicInfoForUpdate `json:"basic_info,omitempty"` // 基本信息 ProbationInfo *ProfileSettingProbationInfo `json:"probation_info,omitempty"` // 试用期信息 }
type ProfileSettingEmpInfoForUpdateBuilder ¶ added in v3.2.1
type ProfileSettingEmpInfoForUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmpInfoForUpdateBuilder ¶ added in v3.2.1
func NewProfileSettingEmpInfoForUpdateBuilder() *ProfileSettingEmpInfoForUpdateBuilder
func (*ProfileSettingEmpInfoForUpdateBuilder) BasicInfo ¶ added in v3.2.1
func (builder *ProfileSettingEmpInfoForUpdateBuilder) BasicInfo(basicInfo *ProfileSettingEmpBasicInfoForUpdate) *ProfileSettingEmpInfoForUpdateBuilder
基本信息
示例值:
func (*ProfileSettingEmpInfoForUpdateBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmpInfoForUpdateBuilder) Build() *ProfileSettingEmpInfoForUpdate
func (*ProfileSettingEmpInfoForUpdateBuilder) ProbationInfo ¶ added in v3.2.1
func (builder *ProfileSettingEmpInfoForUpdateBuilder) ProbationInfo(probationInfo *ProfileSettingProbationInfo) *ProfileSettingEmpInfoForUpdateBuilder
试用期信息
示例值:
type ProfileSettingEmploymentBasicInfo ¶ added in v3.2.1
type ProfileSettingEmploymentBasicInfo struct { EmployeeNumber *string `json:"employee_number,omitempty"` // 员工编号 EffectiveTime *string `json:"effective_time,omitempty"` // 入职日期 RegularEmployeeStartDate *string `json:"regular_employee_start_date,omitempty"` // 转正式员工日期 SeniorityDate *string `json:"seniority_date,omitempty"` // 资历起算日期 WorkEmail *string `json:"work_email,omitempty"` // 工作邮箱 Phone *ProfileSettingPhone `json:"phone,omitempty"` // 工作电话 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingEmploymentBasicInfoBuilder ¶ added in v3.2.1
type ProfileSettingEmploymentBasicInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmploymentBasicInfoBuilder ¶ added in v3.2.1
func NewProfileSettingEmploymentBasicInfoBuilder() *ProfileSettingEmploymentBasicInfoBuilder
func (*ProfileSettingEmploymentBasicInfoBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) Build() *ProfileSettingEmploymentBasicInfo
func (*ProfileSettingEmploymentBasicInfoBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingEmploymentBasicInfoBuilder
自定义字段
示例值:
func (*ProfileSettingEmploymentBasicInfoBuilder) EffectiveTime ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) EffectiveTime(effectiveTime string) *ProfileSettingEmploymentBasicInfoBuilder
入职日期
示例值:2021-01-01
func (*ProfileSettingEmploymentBasicInfoBuilder) EmployeeNumber ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) EmployeeNumber(employeeNumber string) *ProfileSettingEmploymentBasicInfoBuilder
员工编号
示例值:1000000
func (*ProfileSettingEmploymentBasicInfoBuilder) Phone ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingEmploymentBasicInfoBuilder
工作电话
示例值:
func (*ProfileSettingEmploymentBasicInfoBuilder) RegularEmployeeStartDate ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *ProfileSettingEmploymentBasicInfoBuilder
转正式员工日期
示例值:2021-02-01
func (*ProfileSettingEmploymentBasicInfoBuilder) SeniorityDate ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) SeniorityDate(seniorityDate string) *ProfileSettingEmploymentBasicInfoBuilder
资历起算日期
示例值:2020-01-01
func (*ProfileSettingEmploymentBasicInfoBuilder) WorkEmail ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentBasicInfoBuilder) WorkEmail(workEmail string) *ProfileSettingEmploymentBasicInfoBuilder
工作邮箱
示例值:12456@test.com
type ProfileSettingEmploymentInfo ¶ added in v3.2.1
type ProfileSettingEmploymentInfo struct { BasicInfo *ProfileSettingEmploymentBasicInfo `json:"basic_info,omitempty"` // 基本信息 ProbationInfo *ProfileSettingProbationInfo `json:"probation_info,omitempty"` // 试用期信息 EmploymentRecord *ProfileSettingEmploymentRecord `json:"employment_record,omitempty"` // 任职记录 EmpContractRecord *ProfileSettingEmpContractRecord `json:"emp_contract_record,omitempty"` // 合同记录 }
type ProfileSettingEmploymentInfoBuilder ¶ added in v3.2.1
type ProfileSettingEmploymentInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmploymentInfoBuilder ¶ added in v3.2.1
func NewProfileSettingEmploymentInfoBuilder() *ProfileSettingEmploymentInfoBuilder
func (*ProfileSettingEmploymentInfoBuilder) BasicInfo ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentInfoBuilder) BasicInfo(basicInfo *ProfileSettingEmploymentBasicInfo) *ProfileSettingEmploymentInfoBuilder
基本信息
示例值:
func (*ProfileSettingEmploymentInfoBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentInfoBuilder) Build() *ProfileSettingEmploymentInfo
func (*ProfileSettingEmploymentInfoBuilder) EmpContractRecord ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentInfoBuilder) EmpContractRecord(empContractRecord *ProfileSettingEmpContractRecord) *ProfileSettingEmploymentInfoBuilder
合同记录
示例值:
func (*ProfileSettingEmploymentInfoBuilder) EmploymentRecord ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentInfoBuilder) EmploymentRecord(employmentRecord *ProfileSettingEmploymentRecord) *ProfileSettingEmploymentInfoBuilder
任职记录
示例值:
func (*ProfileSettingEmploymentInfoBuilder) ProbationInfo ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentInfoBuilder) ProbationInfo(probationInfo *ProfileSettingProbationInfo) *ProfileSettingEmploymentInfoBuilder
试用期信息
示例值:
type ProfileSettingEmploymentRecord ¶ added in v3.2.1
type ProfileSettingEmploymentRecord struct { EmployeeType *string `json:"employee_type,omitempty"` // 人员类型 ID Department *string `json:"department,omitempty"` // 部门 ID DirectManager *string `json:"direct_manager,omitempty"` // 实线主管雇佣ID WorkingHoursType *string `json:"working_hours_type,omitempty"` // 工时制度 ID CostCenters []*ProfileSettingCostCenter `json:"cost_centers,omitempty"` // 成本中心分摊信息 DirectManagerEffectiveTime *string `json:"direct_manager_effective_time,omitempty"` // 实线主管入职日期 DottedLineManager *string `json:"dotted_line_manager,omitempty"` // 虚线主管雇佣ID DottedLineManagerEffectiveTime *string `json:"dotted_line_manager_effective_time,omitempty"` // 虚线主管入职日期 Job *string `json:"job,omitempty"` // 职务 ID JobFamily *string `json:"job_family,omitempty"` // 职务序列 ID JobLevel *string `json:"job_level,omitempty"` // 职务级别 ID JobGrade *string `json:"job_grade,omitempty"` // 职等 ID WorkLocation *string `json:"work_location,omitempty"` // 工作地点 ID WeeklyWorkingHours *int `json:"weekly_working_hours,omitempty"` // 周工作时长 }
type ProfileSettingEmploymentRecordBuilder ¶ added in v3.2.1
type ProfileSettingEmploymentRecordBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingEmploymentRecordBuilder ¶ added in v3.2.1
func NewProfileSettingEmploymentRecordBuilder() *ProfileSettingEmploymentRecordBuilder
func (*ProfileSettingEmploymentRecordBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) Build() *ProfileSettingEmploymentRecord
func (*ProfileSettingEmploymentRecordBuilder) CostCenters ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) CostCenters(costCenters []*ProfileSettingCostCenter) *ProfileSettingEmploymentRecordBuilder
成本中心分摊信息
示例值:
func (*ProfileSettingEmploymentRecordBuilder) Department ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) Department(department string) *ProfileSettingEmploymentRecordBuilder
部门 ID
示例值:6890452208593372679
func (*ProfileSettingEmploymentRecordBuilder) DirectManager ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) DirectManager(directManager string) *ProfileSettingEmploymentRecordBuilder
实线主管雇佣ID
示例值:6893014062142064135
func (*ProfileSettingEmploymentRecordBuilder) DirectManagerEffectiveTime ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) DirectManagerEffectiveTime(directManagerEffectiveTime string) *ProfileSettingEmploymentRecordBuilder
实线主管入职日期
示例值:2020-01-01
func (*ProfileSettingEmploymentRecordBuilder) DottedLineManager ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) DottedLineManager(dottedLineManager string) *ProfileSettingEmploymentRecordBuilder
虚线主管雇佣ID
示例值:6893014062142064136
func (*ProfileSettingEmploymentRecordBuilder) DottedLineManagerEffectiveTime ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) DottedLineManagerEffectiveTime(dottedLineManagerEffectiveTime string) *ProfileSettingEmploymentRecordBuilder
虚线主管入职日期
示例值:2020-01-01
func (*ProfileSettingEmploymentRecordBuilder) EmployeeType ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) EmployeeType(employeeType string) *ProfileSettingEmploymentRecordBuilder
人员类型 ID
示例值:6890452208593372679
func (*ProfileSettingEmploymentRecordBuilder) Job ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) Job(job string) *ProfileSettingEmploymentRecordBuilder
职务 ID
示例值:6890452208593372679
func (*ProfileSettingEmploymentRecordBuilder) JobFamily ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) JobFamily(jobFamily string) *ProfileSettingEmploymentRecordBuilder
职务序列 ID
示例值:6890452208593372680
func (*ProfileSettingEmploymentRecordBuilder) JobGrade ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) JobGrade(jobGrade string) *ProfileSettingEmploymentRecordBuilder
职等 ID
示例值:6890452208593372682
func (*ProfileSettingEmploymentRecordBuilder) JobLevel ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) JobLevel(jobLevel string) *ProfileSettingEmploymentRecordBuilder
职务级别 ID
示例值:6890452208593372681
func (*ProfileSettingEmploymentRecordBuilder) WeeklyWorkingHours ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) WeeklyWorkingHours(weeklyWorkingHours int) *ProfileSettingEmploymentRecordBuilder
周工作时长
示例值:100
func (*ProfileSettingEmploymentRecordBuilder) WorkLocation ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) WorkLocation(workLocation string) *ProfileSettingEmploymentRecordBuilder
工作地点 ID
示例值:6890452208593372683
func (*ProfileSettingEmploymentRecordBuilder) WorkingHoursType ¶ added in v3.2.1
func (builder *ProfileSettingEmploymentRecordBuilder) WorkingHoursType(workingHoursType string) *ProfileSettingEmploymentRecordBuilder
工时制度 ID
示例值:6890452208593372600
type ProfileSettingFieldError ¶ added in v3.2.1
type ProfileSettingFieldErrorBuilder ¶ added in v3.2.1
type ProfileSettingFieldErrorBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingFieldErrorBuilder ¶ added in v3.2.1
func NewProfileSettingFieldErrorBuilder() *ProfileSettingFieldErrorBuilder
func (*ProfileSettingFieldErrorBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingFieldErrorBuilder) Build() *ProfileSettingFieldError
func (*ProfileSettingFieldErrorBuilder) ErrorMsg ¶ added in v3.2.1
func (builder *ProfileSettingFieldErrorBuilder) ErrorMsg(errorMsg string) *ProfileSettingFieldErrorBuilder
报错信息
示例值:填写过程中新增以下必填信息 effective_time 等,请填写后重试
func (*ProfileSettingFieldErrorBuilder) FieldName ¶ added in v3.2.1
func (builder *ProfileSettingFieldErrorBuilder) FieldName(fieldName string) *ProfileSettingFieldErrorBuilder
字段路径
示例值:emp_contract_record.0.effective_time
type ProfileSettingFile ¶ added in v3.2.1
type ProfileSettingFileBuilder ¶ added in v3.2.1
type ProfileSettingFileBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingFileBuilder ¶ added in v3.2.1
func NewProfileSettingFileBuilder() *ProfileSettingFileBuilder
func (*ProfileSettingFileBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) Build() *ProfileSettingFile
func (*ProfileSettingFileBuilder) FileId ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) FileId(fileId string) *ProfileSettingFileBuilder
文件ID
示例值:150018109586e8ea745e47ae8feb3722dbe1d03a181336393633393133303431393831343930373235150200
func (*ProfileSettingFileBuilder) MimeType ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) MimeType(mimeType string) *ProfileSettingFileBuilder
文件MIME类型
示例值:zip
func (*ProfileSettingFileBuilder) Name ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) Name(name string) *ProfileSettingFileBuilder
文件名
示例值:附件.zip
func (*ProfileSettingFileBuilder) Size ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) Size(size string) *ProfileSettingFileBuilder
文件大小(KB)
示例值:1000
func (*ProfileSettingFileBuilder) Token ¶ added in v3.2.1
func (builder *ProfileSettingFileBuilder) Token(token string) *ProfileSettingFileBuilder
文件token
示例值:0a423bc7ea7c4a439d066bf070616782
type ProfileSettingHukou ¶ added in v3.2.1
type ProfileSettingHukou struct { HukouType *string `json:"hukou_type,omitempty"` // 户口类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person_info_chn" custom_api_name = "hukou_type" HukouLocation *string `json:"hukou_location,omitempty"` // 户口所在地 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingHukouBuilder ¶ added in v3.2.1
type ProfileSettingHukouBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingHukouBuilder ¶ added in v3.2.1
func NewProfileSettingHukouBuilder() *ProfileSettingHukouBuilder
func (*ProfileSettingHukouBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingHukouBuilder) Build() *ProfileSettingHukou
func (*ProfileSettingHukouBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingHukouBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingHukouBuilder
自定义字段
示例值:
func (*ProfileSettingHukouBuilder) HukouLocation ¶ added in v3.2.1
func (builder *ProfileSettingHukouBuilder) HukouLocation(hukouLocation string) *ProfileSettingHukouBuilder
户口所在地
示例值:北京
func (*ProfileSettingHukouBuilder) HukouType ¶ added in v3.2.1
func (builder *ProfileSettingHukouBuilder) HukouType(hukouType string) *ProfileSettingHukouBuilder
户口类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person_info_chn" custom_api_name = "hukou_type"
示例值:local_urban_residence
type ProfileSettingI18n ¶ added in v3.2.1
type ProfileSettingI18nBuilder ¶ added in v3.2.1
type ProfileSettingI18nBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingI18nBuilder ¶ added in v3.2.1
func NewProfileSettingI18nBuilder() *ProfileSettingI18nBuilder
func (*ProfileSettingI18nBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingI18nBuilder) Build() *ProfileSettingI18n
func (*ProfileSettingI18nBuilder) EnUs ¶ added in v3.2.1
func (builder *ProfileSettingI18nBuilder) EnUs(enUs string) *ProfileSettingI18nBuilder
英文
示例值:english name
func (*ProfileSettingI18nBuilder) ZhCn ¶ added in v3.2.1
func (builder *ProfileSettingI18nBuilder) ZhCn(zhCn string) *ProfileSettingI18nBuilder
中文
示例值:中文名
type ProfileSettingName ¶ added in v3.2.1
type ProfileSettingName struct { AdditionalNameType *string `json:"additional_name_type,omitempty"` // 补充姓名类型, 枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "additional_name_type" CountryRegion *string `json:"country_region,omitempty"` // 国家 / 地区 ID FullName *string `json:"full_name,omitempty"` // 全名 Hereditary *string `json:"hereditary,omitempty"` // 姓氏称谓 MiddleName *string `json:"middle_name,omitempty"` // 中间名 Secondary *string `json:"secondary,omitempty"` // 第二姓氏 Social *string `json:"social,omitempty"` // 尊称,枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "social" Tertiary *string `json:"tertiary,omitempty"` // 婚后姓氏 LocalFirstName2 *string `json:"local_first_name_2,omitempty"` // 名 - 第二本地文字 LocalMiddleName *string `json:"local_middle_name,omitempty"` // 本地中间名 LocalPrimary *string `json:"local_primary,omitempty"` // 姓 - 本地文字 LocalPrimary2 *string `json:"local_primary_2,omitempty"` // 姓 - 第二本地文字 LocalSecondary *string `json:"local_secondary,omitempty"` // 第二姓氏 - 本地文字 Title *string `json:"title,omitempty"` // 头衔, 枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "title" LocalFirstName *string `json:"local_first_name,omitempty"` // 名 - 本地文字 CustomLocalName *string `json:"custom_local_name,omitempty"` // 自定义姓名(本地文字) CustomWesternName *string `json:"custom_western_name,omitempty"` // 自定义姓名(西方文字) NameType *string `json:"name_type,omitempty"` // 姓名类型 FirstName *string `json:"first_name,omitempty"` // 名 NamePrimary *string `json:"name_primary,omitempty"` // 姓 }
type ProfileSettingNameBuilder ¶ added in v3.2.1
type ProfileSettingNameBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingNameBuilder ¶ added in v3.2.1
func NewProfileSettingNameBuilder() *ProfileSettingNameBuilder
func (*ProfileSettingNameBuilder) AdditionalNameType ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) AdditionalNameType(additionalNameType string) *ProfileSettingNameBuilder
补充姓名类型, 枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "additional_name_type"
示例值:emergency_contact_name
func (*ProfileSettingNameBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Build() *ProfileSettingName
func (*ProfileSettingNameBuilder) CountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) CountryRegion(countryRegion string) *ProfileSettingNameBuilder
国家 / 地区 ID
示例值:6862995757234914824
func (*ProfileSettingNameBuilder) CustomLocalName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) CustomLocalName(customLocalName string) *ProfileSettingNameBuilder
自定义姓名(本地文字)
示例值:王大帅
func (*ProfileSettingNameBuilder) CustomWesternName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) CustomWesternName(customWesternName string) *ProfileSettingNameBuilder
自定义姓名(西方文字)
示例值:王大帅
func (*ProfileSettingNameBuilder) FirstName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) FirstName(firstName string) *ProfileSettingNameBuilder
名
示例值:帅
func (*ProfileSettingNameBuilder) FullName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) FullName(fullName string) *ProfileSettingNameBuilder
全名
示例值:王大帅
func (*ProfileSettingNameBuilder) Hereditary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Hereditary(hereditary string) *ProfileSettingNameBuilder
姓氏称谓
示例值:王
func (*ProfileSettingNameBuilder) LocalFirstName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalFirstName(localFirstName string) *ProfileSettingNameBuilder
名 - 本地文字
示例值:四
func (*ProfileSettingNameBuilder) LocalFirstName2 ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalFirstName2(localFirstName2 string) *ProfileSettingNameBuilder
名 - 第二本地文字
示例值:五
func (*ProfileSettingNameBuilder) LocalMiddleName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalMiddleName(localMiddleName string) *ProfileSettingNameBuilder
本地中间名
示例值:大
func (*ProfileSettingNameBuilder) LocalPrimary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalPrimary(localPrimary string) *ProfileSettingNameBuilder
姓 - 本地文字
示例值:黄
func (*ProfileSettingNameBuilder) LocalPrimary2 ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalPrimary2(localPrimary2 string) *ProfileSettingNameBuilder
姓 - 第二本地文字
示例值:王
func (*ProfileSettingNameBuilder) LocalSecondary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) LocalSecondary(localSecondary string) *ProfileSettingNameBuilder
第二姓氏 - 本地文字
示例值:王
func (*ProfileSettingNameBuilder) MiddleName ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) MiddleName(middleName string) *ProfileSettingNameBuilder
中间名
示例值:大
func (*ProfileSettingNameBuilder) NamePrimary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) NamePrimary(namePrimary string) *ProfileSettingNameBuilder
姓
示例值:王
func (*ProfileSettingNameBuilder) NameType ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) NameType(nameType string) *ProfileSettingNameBuilder
姓名类型
示例值:legal_name
func (*ProfileSettingNameBuilder) Secondary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Secondary(secondary string) *ProfileSettingNameBuilder
第二姓氏
示例值:王
func (*ProfileSettingNameBuilder) Social ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Social(social string) *ProfileSettingNameBuilder
尊称,枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "social"
示例值:ii
func (*ProfileSettingNameBuilder) Tertiary ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Tertiary(tertiary string) *ProfileSettingNameBuilder
婚后姓氏
示例值:王
func (*ProfileSettingNameBuilder) Title ¶ added in v3.2.1
func (builder *ProfileSettingNameBuilder) Title(title string) *ProfileSettingNameBuilder
头衔, 枚举值。可选项可以通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "person_name" - custom_api_name = "title"
示例值:mr
type ProfileSettingNational ¶ added in v3.2.1
type ProfileSettingNational struct { CountryRegion *string `json:"country_region,omitempty"` // 国家/地区ID NationalIdType *string `json:"national_id_type,omitempty"` // 国家证件类型ID NationalIdNumber *string `json:"national_id_number,omitempty"` // 证件号码 IssuedDate *string `json:"issued_date,omitempty"` // 证件签发日期 IssuedBy *string `json:"issued_by,omitempty"` // 证件签发机构 ExpirationDate *string `json:"expiration_date,omitempty"` // 证件到期日期 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingNationalBuilder ¶ added in v3.2.1
type ProfileSettingNationalBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingNationalBuilder ¶ added in v3.2.1
func NewProfileSettingNationalBuilder() *ProfileSettingNationalBuilder
func (*ProfileSettingNationalBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) Build() *ProfileSettingNational
func (*ProfileSettingNationalBuilder) CountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) CountryRegion(countryRegion string) *ProfileSettingNationalBuilder
国家/地区ID
示例值:6862995757234914824
func (*ProfileSettingNationalBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingNationalBuilder
自定义字段
示例值:
func (*ProfileSettingNationalBuilder) ExpirationDate ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) ExpirationDate(expirationDate string) *ProfileSettingNationalBuilder
证件到期日期
示例值:2020-05-21
func (*ProfileSettingNationalBuilder) IssuedBy ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) IssuedBy(issuedBy string) *ProfileSettingNationalBuilder
证件签发机构
示例值:北京市公安局
func (*ProfileSettingNationalBuilder) IssuedDate ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) IssuedDate(issuedDate string) *ProfileSettingNationalBuilder
证件签发日期
示例值:2020-04-01
func (*ProfileSettingNationalBuilder) NationalIdNumber ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) NationalIdNumber(nationalIdNumber string) *ProfileSettingNationalBuilder
证件号码
示例值:1231131333
func (*ProfileSettingNationalBuilder) NationalIdType ¶ added in v3.2.1
func (builder *ProfileSettingNationalBuilder) NationalIdType(nationalIdType string) *ProfileSettingNationalBuilder
国家证件类型ID
示例值:6863330041896371725
type ProfileSettingPersonalBasicInfo ¶ added in v3.2.1
type ProfileSettingPersonalBasicInfo struct { LegalName *ProfileSettingName `json:"legal_name,omitempty"` // 法定姓名 PreferredName *ProfileSettingName `json:"preferred_name,omitempty"` // 常用姓名 Gender *string `json:"gender,omitempty"` // 性别,枚举值 。可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "gender" NationalityV2 *string `json:"nationality_v2,omitempty"` // 国籍ID EthnicityRace *string `json:"ethnicity_race,omitempty"` // 民族 / 种族,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "ethnicity_race" Phone *ProfileSettingPhone `json:"phone,omitempty"` // 个人电话 Email *string `json:"email,omitempty"` // 个人邮箱 DateOfBirth *string `json:"date_of_birth,omitempty"` // 出生日期 MaritalStatus *string `json:"marital_status,omitempty"` // 婚姻状况,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "marital_status" IsDisabled *bool `json:"is_disabled,omitempty"` // 是否残疾 DisableCardNumber *string `json:"disable_card_number,omitempty"` // 残疾证号,is_disabled 为 true 时必填 IsMartyrFamily *bool `json:"is_martyr_family,omitempty"` // 是否为烈属 MartyrCardNumber *string `json:"martyr_card_number,omitempty"` // 烈属证号,is_martyr_family 为 true 时必填 IsOldAlone *bool `json:"is_old_alone,omitempty"` // 是否为孤老 BornCountryRegion *string `json:"born_country_region,omitempty"` // 出生国家/地区 PoliticalAffiliation *string `json:"political_affiliation,omitempty"` // 政治面貌,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person_info_chn" custom_api_name = "political_affiliation" NativeRegion *string `json:"native_region,omitempty"` // 籍贯(省份/行政区ID) DateEnteredWorkforce *string `json:"date_entered_workforce,omitempty"` // 参加工作日期 FirstEntryTime *string `json:"first_entry_time,omitempty"` // 首次入境日期 LeaveTime *string `json:"leave_time,omitempty"` // 预计离境日期 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingPersonalBasicInfoBuilder ¶ added in v3.2.1
type ProfileSettingPersonalBasicInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingPersonalBasicInfoBuilder ¶ added in v3.2.1
func NewProfileSettingPersonalBasicInfoBuilder() *ProfileSettingPersonalBasicInfoBuilder
func (*ProfileSettingPersonalBasicInfoBuilder) BornCountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) BornCountryRegion(bornCountryRegion string) *ProfileSettingPersonalBasicInfoBuilder
出生国家/地区
示例值:6862995757234914825
func (*ProfileSettingPersonalBasicInfoBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) Build() *ProfileSettingPersonalBasicInfo
func (*ProfileSettingPersonalBasicInfoBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingPersonalBasicInfoBuilder
自定义字段
示例值:
func (*ProfileSettingPersonalBasicInfoBuilder) DateEnteredWorkforce ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) DateEnteredWorkforce(dateEnteredWorkforce string) *ProfileSettingPersonalBasicInfoBuilder
参加工作日期
示例值:2006-01-02
func (*ProfileSettingPersonalBasicInfoBuilder) DateOfBirth ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) DateOfBirth(dateOfBirth string) *ProfileSettingPersonalBasicInfoBuilder
出生日期
示例值:2006-01-02
func (*ProfileSettingPersonalBasicInfoBuilder) DisableCardNumber ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) DisableCardNumber(disableCardNumber string) *ProfileSettingPersonalBasicInfoBuilder
残疾证号,is_disabled 为 true 时必填
示例值:92838277746172888312
func (*ProfileSettingPersonalBasicInfoBuilder) Email ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) Email(email string) *ProfileSettingPersonalBasicInfoBuilder
个人邮箱
示例值:1234567@example.feishu.cn
func (*ProfileSettingPersonalBasicInfoBuilder) EthnicityRace ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) EthnicityRace(ethnicityRace string) *ProfileSettingPersonalBasicInfoBuilder
民族 / 种族,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "ethnicity_race"
示例值:han
func (*ProfileSettingPersonalBasicInfoBuilder) FirstEntryTime ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) FirstEntryTime(firstEntryTime string) *ProfileSettingPersonalBasicInfoBuilder
首次入境日期
示例值:2006-01-02
func (*ProfileSettingPersonalBasicInfoBuilder) Gender ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) Gender(gender string) *ProfileSettingPersonalBasicInfoBuilder
性别,枚举值 。可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "gender"
示例值:female
func (*ProfileSettingPersonalBasicInfoBuilder) IsDisabled ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) IsDisabled(isDisabled bool) *ProfileSettingPersonalBasicInfoBuilder
是否残疾
示例值:false
func (*ProfileSettingPersonalBasicInfoBuilder) IsMartyrFamily ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) IsMartyrFamily(isMartyrFamily bool) *ProfileSettingPersonalBasicInfoBuilder
是否为烈属
示例值:false
func (*ProfileSettingPersonalBasicInfoBuilder) IsOldAlone ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) IsOldAlone(isOldAlone bool) *ProfileSettingPersonalBasicInfoBuilder
是否为孤老
示例值:false
func (*ProfileSettingPersonalBasicInfoBuilder) LeaveTime ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) LeaveTime(leaveTime string) *ProfileSettingPersonalBasicInfoBuilder
预计离境日期
示例值:2006-01-02
func (*ProfileSettingPersonalBasicInfoBuilder) LegalName ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) LegalName(legalName *ProfileSettingName) *ProfileSettingPersonalBasicInfoBuilder
法定姓名
示例值:
func (*ProfileSettingPersonalBasicInfoBuilder) MaritalStatus ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) MaritalStatus(maritalStatus string) *ProfileSettingPersonalBasicInfoBuilder
婚姻状况,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person" custom_api_name = "marital_status"
示例值:married
func (*ProfileSettingPersonalBasicInfoBuilder) MartyrCardNumber ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) MartyrCardNumber(martyrCardNumber string) *ProfileSettingPersonalBasicInfoBuilder
烈属证号,is_martyr_family 为 true 时必填
示例值:00001
func (*ProfileSettingPersonalBasicInfoBuilder) NationalityV2 ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) NationalityV2(nationalityV2 string) *ProfileSettingPersonalBasicInfoBuilder
国籍ID
示例值:6862995757234914826
func (*ProfileSettingPersonalBasicInfoBuilder) NativeRegion ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) NativeRegion(nativeRegion string) *ProfileSettingPersonalBasicInfoBuilder
籍贯(省份/行政区ID)
示例值:6862995757234914827
func (*ProfileSettingPersonalBasicInfoBuilder) Phone ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) Phone(phone *ProfileSettingPhone) *ProfileSettingPersonalBasicInfoBuilder
个人电话
示例值:
func (*ProfileSettingPersonalBasicInfoBuilder) PoliticalAffiliation ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) PoliticalAffiliation(politicalAffiliation string) *ProfileSettingPersonalBasicInfoBuilder
政治面貌,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "person_info_chn" custom_api_name = "political_affiliation"
示例值:other
func (*ProfileSettingPersonalBasicInfoBuilder) PreferredName ¶ added in v3.2.1
func (builder *ProfileSettingPersonalBasicInfoBuilder) PreferredName(preferredName *ProfileSettingName) *ProfileSettingPersonalBasicInfoBuilder
常用姓名
示例值:
type ProfileSettingPersonalInfo ¶ added in v3.2.1
type ProfileSettingPersonalInfo struct { PersonalBasicInfo *ProfileSettingPersonalBasicInfo `json:"personal_basic_info,omitempty"` // 基本信息 EmergencyContacts []*ProfileSettingEmergencyContact `json:"emergency_contacts,omitempty"` // 紧急联系人 BankAccounts []*ProfileSettingBankAccount `json:"bank_accounts,omitempty"` // 银行账户 Nationals []*ProfileSettingNational `json:"nationals,omitempty"` // 证件 ResidentTaxes []*ProfileSettingResidentTax `json:"resident_taxes,omitempty"` // 居民身份信息 Dependents []*ProfileSettingDependent `json:"dependents,omitempty"` // 家庭成员 Hukou *ProfileSettingHukou `json:"hukou,omitempty"` // 户口 ContactAddresses []*ProfileSettingAddress `json:"contact_addresses,omitempty"` // 联系地址 CustomGroups []*ProfileSettingCustomGroup `json:"custom_groups,omitempty"` // 自定义分组 }
type ProfileSettingPersonalInfoBuilder ¶ added in v3.2.1
type ProfileSettingPersonalInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingPersonalInfoBuilder ¶ added in v3.2.1
func NewProfileSettingPersonalInfoBuilder() *ProfileSettingPersonalInfoBuilder
func (*ProfileSettingPersonalInfoBuilder) BankAccounts ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) BankAccounts(bankAccounts []*ProfileSettingBankAccount) *ProfileSettingPersonalInfoBuilder
银行账户
示例值:
func (*ProfileSettingPersonalInfoBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) Build() *ProfileSettingPersonalInfo
func (*ProfileSettingPersonalInfoBuilder) ContactAddresses ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) ContactAddresses(contactAddresses []*ProfileSettingAddress) *ProfileSettingPersonalInfoBuilder
联系地址
示例值:
func (*ProfileSettingPersonalInfoBuilder) CustomGroups ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) CustomGroups(customGroups []*ProfileSettingCustomGroup) *ProfileSettingPersonalInfoBuilder
自定义分组
示例值:
func (*ProfileSettingPersonalInfoBuilder) Dependents ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) Dependents(dependents []*ProfileSettingDependent) *ProfileSettingPersonalInfoBuilder
家庭成员
示例值:
func (*ProfileSettingPersonalInfoBuilder) EmergencyContacts ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) EmergencyContacts(emergencyContacts []*ProfileSettingEmergencyContact) *ProfileSettingPersonalInfoBuilder
紧急联系人
示例值:
func (*ProfileSettingPersonalInfoBuilder) Hukou ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) Hukou(hukou *ProfileSettingHukou) *ProfileSettingPersonalInfoBuilder
户口
示例值:
func (*ProfileSettingPersonalInfoBuilder) Nationals ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) Nationals(nationals []*ProfileSettingNational) *ProfileSettingPersonalInfoBuilder
证件
示例值:
func (*ProfileSettingPersonalInfoBuilder) PersonalBasicInfo ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) PersonalBasicInfo(personalBasicInfo *ProfileSettingPersonalBasicInfo) *ProfileSettingPersonalInfoBuilder
基本信息
示例值:
func (*ProfileSettingPersonalInfoBuilder) ResidentTaxes ¶ added in v3.2.1
func (builder *ProfileSettingPersonalInfoBuilder) ResidentTaxes(residentTaxes []*ProfileSettingResidentTax) *ProfileSettingPersonalInfoBuilder
居民身份信息
示例值:
type ProfileSettingPersonalRecord ¶ added in v3.2.1
type ProfileSettingPersonalRecord struct { ProfileType *string `json:"profile_type,omitempty"` // 资料类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "personal_profile" custom_api_name = "profile_type" Files []*ProfileSettingFile `json:"files,omitempty"` // 文件列表 }
type ProfileSettingPersonalRecordBuilder ¶ added in v3.2.1
type ProfileSettingPersonalRecordBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingPersonalRecordBuilder ¶ added in v3.2.1
func NewProfileSettingPersonalRecordBuilder() *ProfileSettingPersonalRecordBuilder
func (*ProfileSettingPersonalRecordBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingPersonalRecordBuilder) Build() *ProfileSettingPersonalRecord
func (*ProfileSettingPersonalRecordBuilder) Files ¶ added in v3.2.1
func (builder *ProfileSettingPersonalRecordBuilder) Files(files []*ProfileSettingFile) *ProfileSettingPersonalRecordBuilder
文件列表
示例值:
func (*ProfileSettingPersonalRecordBuilder) ProfileType ¶ added in v3.2.1
func (builder *ProfileSettingPersonalRecordBuilder) ProfileType(profileType string) *ProfileSettingPersonalRecordBuilder
资料类型,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "personal_profile" custom_api_name = "profile_type"
示例值:profile_type_1
type ProfileSettingPhone ¶ added in v3.2.1
type ProfileSettingPhoneBuilder ¶ added in v3.2.1
type ProfileSettingPhoneBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingPhoneBuilder ¶ added in v3.2.1
func NewProfileSettingPhoneBuilder() *ProfileSettingPhoneBuilder
func (*ProfileSettingPhoneBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingPhoneBuilder) Build() *ProfileSettingPhone
func (*ProfileSettingPhoneBuilder) InternationalAreaCode ¶ added in v3.2.1
func (builder *ProfileSettingPhoneBuilder) InternationalAreaCode(internationalAreaCode string) *ProfileSettingPhoneBuilder
国际电话区号,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "phone" custom_api_name = "international_area_code"
示例值:86_china
func (*ProfileSettingPhoneBuilder) PhoneNumber ¶ added in v3.2.1
func (builder *ProfileSettingPhoneBuilder) PhoneNumber(phoneNumber string) *ProfileSettingPhoneBuilder
电话号码
示例值:13000000000
type ProfileSettingProbationInfo ¶ added in v3.2.1
type ProfileSettingProbationInfo struct { ProbationStartDate *string `json:"probation_start_date,omitempty"` // 试用期开始日期 ProbationExpectedEndDate *string `json:"probation_expected_end_date,omitempty"` // 试用期预计结束日期 ActualProbationEndDate *string `json:"actual_probation_end_date,omitempty"` // 试用期实际结束日期 }
type ProfileSettingProbationInfoBuilder ¶ added in v3.2.1
type ProfileSettingProbationInfoBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingProbationInfoBuilder ¶ added in v3.2.1
func NewProfileSettingProbationInfoBuilder() *ProfileSettingProbationInfoBuilder
func (*ProfileSettingProbationInfoBuilder) ActualProbationEndDate ¶ added in v3.2.1
func (builder *ProfileSettingProbationInfoBuilder) ActualProbationEndDate(actualProbationEndDate string) *ProfileSettingProbationInfoBuilder
试用期实际结束日期
示例值:2021-02-01
func (*ProfileSettingProbationInfoBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingProbationInfoBuilder) Build() *ProfileSettingProbationInfo
func (*ProfileSettingProbationInfoBuilder) ProbationExpectedEndDate ¶ added in v3.2.1
func (builder *ProfileSettingProbationInfoBuilder) ProbationExpectedEndDate(probationExpectedEndDate string) *ProfileSettingProbationInfoBuilder
试用期预计结束日期
示例值:2021-02-01
func (*ProfileSettingProbationInfoBuilder) ProbationStartDate ¶ added in v3.2.1
func (builder *ProfileSettingProbationInfoBuilder) ProbationStartDate(probationStartDate string) *ProfileSettingProbationInfoBuilder
试用期开始日期
示例值:2021-01-01
type ProfileSettingResidentTax ¶ added in v3.2.1
type ProfileSettingResidentTax struct { YearResidentTax *string `json:"year_resident_tax,omitempty"` // 年度 TaxCountryRegion *string `json:"tax_country_region,omitempty"` // 国家 / 地区ID ResidentStatus *string `json:"resident_status,omitempty"` // 居民身份,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "resident_tax" custom_api_name = "resident_status" CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingResidentTaxBuilder ¶ added in v3.2.1
type ProfileSettingResidentTaxBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingResidentTaxBuilder ¶ added in v3.2.1
func NewProfileSettingResidentTaxBuilder() *ProfileSettingResidentTaxBuilder
func (*ProfileSettingResidentTaxBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingResidentTaxBuilder) Build() *ProfileSettingResidentTax
func (*ProfileSettingResidentTaxBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingResidentTaxBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingResidentTaxBuilder
自定义字段
示例值:
func (*ProfileSettingResidentTaxBuilder) ResidentStatus ¶ added in v3.2.1
func (builder *ProfileSettingResidentTaxBuilder) ResidentStatus(residentStatus string) *ProfileSettingResidentTaxBuilder
居民身份,枚举值。 可选项可通过【获取字段详情】接口查询,查询参数如下: object_api_name = "resident_tax" custom_api_name = "resident_status"
示例值:tax_residence
func (*ProfileSettingResidentTaxBuilder) TaxCountryRegion ¶ added in v3.2.1
func (builder *ProfileSettingResidentTaxBuilder) TaxCountryRegion(taxCountryRegion string) *ProfileSettingResidentTaxBuilder
国家 / 地区ID
示例值:6862995757234914824
func (*ProfileSettingResidentTaxBuilder) YearResidentTax ¶ added in v3.2.1
func (builder *ProfileSettingResidentTaxBuilder) YearResidentTax(yearResidentTax string) *ProfileSettingResidentTaxBuilder
年度
示例值:2006-01-02
type ProfileSettingWorkExperience ¶ added in v3.2.1
type ProfileSettingWorkExperience struct { CompanyOrganization *ProfileSettingI18n `json:"company_organization,omitempty"` // 公司 / 组织 Department *ProfileSettingI18n `json:"department,omitempty"` // 部门 StartDate *string `json:"start_date,omitempty"` // 开始日期 EndDate *string `json:"end_date,omitempty"` // 结束日期 Job *ProfileSettingI18n `json:"job,omitempty"` // 岗位 Description *ProfileSettingI18n `json:"description,omitempty"` // 工作描述 CustomFields []*ProfileSettingCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
type ProfileSettingWorkExperienceBuilder ¶ added in v3.2.1
type ProfileSettingWorkExperienceBuilder struct {
// contains filtered or unexported fields
}
func NewProfileSettingWorkExperienceBuilder ¶ added in v3.2.1
func NewProfileSettingWorkExperienceBuilder() *ProfileSettingWorkExperienceBuilder
func (*ProfileSettingWorkExperienceBuilder) Build ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) Build() *ProfileSettingWorkExperience
func (*ProfileSettingWorkExperienceBuilder) CompanyOrganization ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) CompanyOrganization(companyOrganization *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
公司 / 组织
示例值:
func (*ProfileSettingWorkExperienceBuilder) CustomFields ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) CustomFields(customFields []*ProfileSettingCustomField) *ProfileSettingWorkExperienceBuilder
自定义字段
示例值:
func (*ProfileSettingWorkExperienceBuilder) Department ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) Department(department *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
部门
示例值:
func (*ProfileSettingWorkExperienceBuilder) Description ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) Description(description *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
工作描述
示例值:
func (*ProfileSettingWorkExperienceBuilder) EndDate ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) EndDate(endDate string) *ProfileSettingWorkExperienceBuilder
结束日期
示例值:2020-02-01
func (*ProfileSettingWorkExperienceBuilder) Job ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) Job(job *ProfileSettingI18n) *ProfileSettingWorkExperienceBuilder
岗位
示例值:
func (*ProfileSettingWorkExperienceBuilder) StartDate ¶ added in v3.2.1
func (builder *ProfileSettingWorkExperienceBuilder) StartDate(startDate string) *ProfileSettingWorkExperienceBuilder
开始日期
示例值:2020-01-01
type QueryEmployeesJobDataPathReqBodyBuilder ¶
type QueryEmployeesJobDataPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewQueryEmployeesJobDataPathReqBodyBuilder ¶
func NewQueryEmployeesJobDataPathReqBodyBuilder() *QueryEmployeesJobDataPathReqBodyBuilder
func (*QueryEmployeesJobDataPathReqBodyBuilder) Build ¶
func (builder *QueryEmployeesJobDataPathReqBodyBuilder) Build() (*QueryEmployeesJobDataReqBody, error)
func (*QueryEmployeesJobDataPathReqBodyBuilder) DataDate ¶
func (builder *QueryEmployeesJobDataPathReqBodyBuilder) DataDate(dataDate string) *QueryEmployeesJobDataPathReqBodyBuilder
查看数据日期
示例值:2020-01-01
func (*QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd ¶
func (builder *QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *QueryEmployeesJobDataPathReqBodyBuilder
生效日期 - 搜索范围结束
示例值:2020-01-01
func (*QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart ¶
func (builder *QueryEmployeesJobDataPathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *QueryEmployeesJobDataPathReqBodyBuilder
生效日期 - 搜索范围开始
示例值:2020-01-01
func (*QueryEmployeesJobDataPathReqBodyBuilder) GetAllVersion ¶
func (builder *QueryEmployeesJobDataPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *QueryEmployeesJobDataPathReqBodyBuilder
是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false
示例值:false
type QueryEmployeesJobDataReq ¶
type QueryEmployeesJobDataReq struct { Body *QueryEmployeesJobDataReqBody `body:""` // contains filtered or unexported fields }
type QueryEmployeesJobDataReqBody ¶
type QueryEmployeesJobDataReqBody struct { GetAllVersion *bool `json:"get_all_version,omitempty"` // 是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false DataDate *string `json:"data_date,omitempty"` // 查看数据日期 EffectiveDateStart *string `json:"effective_date_start,omitempty"` // 生效日期 - 搜索范围开始 EffectiveDateEnd *string `json:"effective_date_end,omitempty"` // 生效日期 - 搜索范围结束 }
type QueryEmployeesJobDataReqBodyBuilder ¶
type QueryEmployeesJobDataReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewQueryEmployeesJobDataReqBodyBuilder ¶
func NewQueryEmployeesJobDataReqBodyBuilder() *QueryEmployeesJobDataReqBodyBuilder
func (*QueryEmployeesJobDataReqBodyBuilder) Build ¶
func (builder *QueryEmployeesJobDataReqBodyBuilder) Build() *QueryEmployeesJobDataReqBody
func (*QueryEmployeesJobDataReqBodyBuilder) DataDate ¶
func (builder *QueryEmployeesJobDataReqBodyBuilder) DataDate(dataDate string) *QueryEmployeesJobDataReqBodyBuilder
查看数据日期
示例值:2020-01-01
func (*QueryEmployeesJobDataReqBodyBuilder) EffectiveDateEnd ¶
func (builder *QueryEmployeesJobDataReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *QueryEmployeesJobDataReqBodyBuilder
生效日期 - 搜索范围结束
示例值:2020-01-01
func (*QueryEmployeesJobDataReqBodyBuilder) EffectiveDateStart ¶
func (builder *QueryEmployeesJobDataReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *QueryEmployeesJobDataReqBodyBuilder
生效日期 - 搜索范围开始
示例值:2020-01-01
func (*QueryEmployeesJobDataReqBodyBuilder) GetAllVersion ¶
func (builder *QueryEmployeesJobDataReqBodyBuilder) GetAllVersion(getAllVersion bool) *QueryEmployeesJobDataReqBodyBuilder
是否获取所有任职记录,true 为获取员工所有版本的任职记录,false 为仅获取当前生效的任职记录,默认为 false
示例值:false
type QueryEmployeesJobDataReqBuilder ¶
type QueryEmployeesJobDataReqBuilder struct {
// contains filtered or unexported fields
}
func NewQueryEmployeesJobDataReqBuilder ¶
func NewQueryEmployeesJobDataReqBuilder() *QueryEmployeesJobDataReqBuilder
func (*QueryEmployeesJobDataReqBuilder) Body ¶
func (builder *QueryEmployeesJobDataReqBuilder) Body(body *QueryEmployeesJobDataReqBody) *QueryEmployeesJobDataReqBuilder
func (*QueryEmployeesJobDataReqBuilder) Build ¶
func (builder *QueryEmployeesJobDataReqBuilder) Build() *QueryEmployeesJobDataReq
func (*QueryEmployeesJobDataReqBuilder) DepartmentIdType ¶
func (builder *QueryEmployeesJobDataReqBuilder) DepartmentIdType(departmentIdType string) *QueryEmployeesJobDataReqBuilder
此次调用中使用的部门 ID 类型
示例值:people_corehr_department_id
func (*QueryEmployeesJobDataReqBuilder) PageSize ¶
func (builder *QueryEmployeesJobDataReqBuilder) PageSize(pageSize int) *QueryEmployeesJobDataReqBuilder
分页大小,最大 100
示例值:100
func (*QueryEmployeesJobDataReqBuilder) PageToken ¶
func (builder *QueryEmployeesJobDataReqBuilder) PageToken(pageToken string) *QueryEmployeesJobDataReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*QueryEmployeesJobDataReqBuilder) UserIdType ¶
func (builder *QueryEmployeesJobDataReqBuilder) UserIdType(userIdType string) *QueryEmployeesJobDataReqBuilder
用户 ID 类型
示例值:open_id
type QueryEmployeesJobDataResp ¶
type QueryEmployeesJobDataResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QueryEmployeesJobDataRespData `json:"data"` // 业务数据 }
func (*QueryEmployeesJobDataResp) Success ¶
func (resp *QueryEmployeesJobDataResp) Success() bool
type QueryEmployeesJobDataRespData ¶
type QueryEmployeesJobDataRespData struct { Items []*EmployeeJobData `json:"items,omitempty"` // 任职信息 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ReorganizationInfo ¶
type ReorganizationInfo struct { OriginalDepartmentNames []*I18n `json:"original_department_names,omitempty"` // 原部门名称 TargetDepartmentNames []*I18n `json:"target_department_names,omitempty"` // 调整后部门名称 OriginalDepartmentCode *string `json:"original_department_code,omitempty"` // 原部门编码 TargetDepartmentCode *string `json:"target_department_code,omitempty"` // 调整后部门编码 OriginalSubType *Enum `json:"original_sub_type,omitempty"` // 原部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得 TargetSubType *Enum `json:"target_sub_type,omitempty"` // 调整后部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得 OriginalDepartmentManager *string `json:"original_department_manager,omitempty"` // 原部门负责人 TargetDepartmentManager *string `json:"target_department_manager,omitempty"` // 调整后部门负责人 OriginalDescriptions []*I18n `json:"original_descriptions,omitempty"` // 原描述 TargetDescriptions []*I18n `json:"target_descriptions,omitempty"` // 调整后描述 OriginalCostCenter *CostCenter `json:"original_cost_center,omitempty"` // 原默认成本中心 TargetCostCenter *CostCenter `json:"target_cost_center,omitempty"` // 调整后默认成本中心 OriginalIsConfidential *bool `json:"original_is_confidential,omitempty"` // 原是否保密 TargetIsConfidential *bool `json:"target_is_confidential,omitempty"` // 调整后是否保密 OriginalStaffingModel *bool `json:"original_staffing_model,omitempty"` // 原是否使用职务 TargetStaffingModel *bool `json:"target_staffing_model,omitempty"` // 调整后是否使用职务 OriginalParentDepartmentId *string `json:"original_parent_department_id,omitempty"` // 原上级部门 TargetParentDepartmentId *string `json:"target_parent_department_id,omitempty"` // 调整后上级部门 CustomFields []*ChangeFieldPair `json:"custom_fields,omitempty"` // 自定义字段 }
type ReorganizationInfoBuilder ¶
type ReorganizationInfoBuilder struct {
// contains filtered or unexported fields
}
func NewReorganizationInfoBuilder ¶
func NewReorganizationInfoBuilder() *ReorganizationInfoBuilder
func (*ReorganizationInfoBuilder) Build ¶
func (builder *ReorganizationInfoBuilder) Build() *ReorganizationInfo
func (*ReorganizationInfoBuilder) CustomFields ¶
func (builder *ReorganizationInfoBuilder) CustomFields(customFields []*ChangeFieldPair) *ReorganizationInfoBuilder
自定义字段
示例值:
func (*ReorganizationInfoBuilder) OriginalCostCenter ¶
func (builder *ReorganizationInfoBuilder) OriginalCostCenter(originalCostCenter *CostCenter) *ReorganizationInfoBuilder
原默认成本中心
示例值:
func (*ReorganizationInfoBuilder) OriginalDepartmentCode ¶
func (builder *ReorganizationInfoBuilder) OriginalDepartmentCode(originalDepartmentCode string) *ReorganizationInfoBuilder
原部门编码
示例值:D00000456
func (*ReorganizationInfoBuilder) OriginalDepartmentManager ¶
func (builder *ReorganizationInfoBuilder) OriginalDepartmentManager(originalDepartmentManager string) *ReorganizationInfoBuilder
原部门负责人
示例值:6974648866876573198
func (*ReorganizationInfoBuilder) OriginalDepartmentNames ¶
func (builder *ReorganizationInfoBuilder) OriginalDepartmentNames(originalDepartmentNames []*I18n) *ReorganizationInfoBuilder
原部门名称
示例值:
func (*ReorganizationInfoBuilder) OriginalDescriptions ¶
func (builder *ReorganizationInfoBuilder) OriginalDescriptions(originalDescriptions []*I18n) *ReorganizationInfoBuilder
原描述
示例值:
func (*ReorganizationInfoBuilder) OriginalIsConfidential ¶
func (builder *ReorganizationInfoBuilder) OriginalIsConfidential(originalIsConfidential bool) *ReorganizationInfoBuilder
原是否保密
示例值:true
func (*ReorganizationInfoBuilder) OriginalParentDepartmentId ¶
func (builder *ReorganizationInfoBuilder) OriginalParentDepartmentId(originalParentDepartmentId string) *ReorganizationInfoBuilder
原上级部门
示例值:6974659700705068581
func (*ReorganizationInfoBuilder) OriginalStaffingModel ¶
func (builder *ReorganizationInfoBuilder) OriginalStaffingModel(originalStaffingModel bool) *ReorganizationInfoBuilder
原是否使用职务
示例值:true
func (*ReorganizationInfoBuilder) OriginalSubType ¶
func (builder *ReorganizationInfoBuilder) OriginalSubType(originalSubType *Enum) *ReorganizationInfoBuilder
原部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得
示例值:
func (*ReorganizationInfoBuilder) TargetCostCenter ¶
func (builder *ReorganizationInfoBuilder) TargetCostCenter(targetCostCenter *CostCenter) *ReorganizationInfoBuilder
调整后默认成本中心
示例值:
func (*ReorganizationInfoBuilder) TargetDepartmentCode ¶
func (builder *ReorganizationInfoBuilder) TargetDepartmentCode(targetDepartmentCode string) *ReorganizationInfoBuilder
调整后部门编码
示例值:D00000456
func (*ReorganizationInfoBuilder) TargetDepartmentManager ¶
func (builder *ReorganizationInfoBuilder) TargetDepartmentManager(targetDepartmentManager string) *ReorganizationInfoBuilder
调整后部门负责人
示例值:7013328578351842852
func (*ReorganizationInfoBuilder) TargetDepartmentNames ¶
func (builder *ReorganizationInfoBuilder) TargetDepartmentNames(targetDepartmentNames []*I18n) *ReorganizationInfoBuilder
调整后部门名称
示例值:
func (*ReorganizationInfoBuilder) TargetDescriptions ¶
func (builder *ReorganizationInfoBuilder) TargetDescriptions(targetDescriptions []*I18n) *ReorganizationInfoBuilder
调整后描述
示例值:
func (*ReorganizationInfoBuilder) TargetIsConfidential ¶
func (builder *ReorganizationInfoBuilder) TargetIsConfidential(targetIsConfidential bool) *ReorganizationInfoBuilder
调整后是否保密
示例值:true
func (*ReorganizationInfoBuilder) TargetParentDepartmentId ¶
func (builder *ReorganizationInfoBuilder) TargetParentDepartmentId(targetParentDepartmentId string) *ReorganizationInfoBuilder
调整后上级部门
示例值:6974659700705068581
func (*ReorganizationInfoBuilder) TargetStaffingModel ¶
func (builder *ReorganizationInfoBuilder) TargetStaffingModel(targetStaffingModel bool) *ReorganizationInfoBuilder
调整后是否使用职务
示例值:false
func (*ReorganizationInfoBuilder) TargetSubType ¶
func (builder *ReorganizationInfoBuilder) TargetSubType(targetSubType *Enum) *ReorganizationInfoBuilder
调整后部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得
示例值:
type ResidentTax ¶
type ResidentTax struct { YearResidentTax *string `json:"year_resident_tax,omitempty"` // 年度 ResidentStatus *Enum `json:"resident_status,omitempty"` // -| 居民身份,枚举值 api_name 可通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "resident_tax" - custom_api_name = "resident_status" TaxCountryRegionId *string `json:"tax_country_region_id,omitempty"` // 国家/地区,可通过【查询国家/地区信息】 接口查询 CustomFields []*ObjectFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type ResidentTaxBuilder ¶
type ResidentTaxBuilder struct {
// contains filtered or unexported fields
}
func NewResidentTaxBuilder ¶
func NewResidentTaxBuilder() *ResidentTaxBuilder
func (*ResidentTaxBuilder) Build ¶
func (builder *ResidentTaxBuilder) Build() *ResidentTax
func (*ResidentTaxBuilder) CustomFields ¶
func (builder *ResidentTaxBuilder) CustomFields(customFields []*ObjectFieldData) *ResidentTaxBuilder
自定义字段
示例值:
func (*ResidentTaxBuilder) ResidentStatus ¶
func (builder *ResidentTaxBuilder) ResidentStatus(residentStatus *Enum) *ResidentTaxBuilder
-| 居民身份,枚举值 api_name 可通过【获取字段详情】接口查询,查询参数如下: - object_api_name = "resident_tax" - custom_api_name = "resident_status"
示例值:
func (*ResidentTaxBuilder) TaxCountryRegionId ¶
func (builder *ResidentTaxBuilder) TaxCountryRegionId(taxCountryRegionId string) *ResidentTaxBuilder
国家/地区,可通过【查询国家/地区信息】 接口查询
示例值:中国
func (*ResidentTaxBuilder) YearResidentTax ¶
func (builder *ResidentTaxBuilder) YearResidentTax(yearResidentTax string) *ResidentTaxBuilder
年度
示例值:2023
type SearchBasicInfoBankBranchIterator ¶ added in v3.1.2
type SearchBasicInfoBankBranchIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoBankBranchIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoBankBranchIterator) Next() (bool, *BankBranch, error)
func (*SearchBasicInfoBankBranchIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoBankBranchIterator) NextPageToken() *string
type SearchBasicInfoBankBranchPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoBankBranchPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankBranchPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankBranchPathReqBodyBuilder() *SearchBasicInfoBankBranchPathReqBodyBuilder
func (*SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchIdList(bankBranchIdList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
支行 ID 列表
示例值:
func (*SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchNameList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankBranchNameList(bankBranchNameList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
支行名称列表,支持对支行名称精确搜索
示例值:
func (*SearchBasicInfoBankBranchPathReqBodyBuilder) BankIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankBranchPathReqBodyBuilder
银行 ID 列表,与「支行 ID 列表」、「支行名称列表」至少填写一项
示例值:
func (*SearchBasicInfoBankBranchPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) Build() (*SearchBasicInfoBankBranchReqBody, error)
func (*SearchBasicInfoBankBranchPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankBranchPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoBankBranchReq ¶ added in v3.1.2
type SearchBasicInfoBankBranchReq struct { Body *SearchBasicInfoBankBranchReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoBankBranchReqBody ¶ added in v3.1.2
type SearchBasicInfoBankBranchReqBody struct { BankIdList []string `json:"bank_id_list,omitempty"` // 银行 ID 列表,与「支行 ID 列表」、「支行名称列表」至少填写一项 BankBranchIdList []string `json:"bank_branch_id_list,omitempty"` // 支行 ID 列表 BankBranchNameList []string `json:"bank_branch_name_list,omitempty"` // 支行名称列表,支持对支行名称精确搜索 StatusList []int `json:"status_list,omitempty"` // 状态列表 }
type SearchBasicInfoBankBranchReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoBankBranchReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankBranchReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankBranchReqBodyBuilder() *SearchBasicInfoBankBranchReqBodyBuilder
func (*SearchBasicInfoBankBranchReqBodyBuilder) BankBranchIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankBranchIdList(bankBranchIdList []string) *SearchBasicInfoBankBranchReqBodyBuilder
支行 ID 列表
示例值:
func (*SearchBasicInfoBankBranchReqBodyBuilder) BankBranchNameList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankBranchNameList(bankBranchNameList []string) *SearchBasicInfoBankBranchReqBodyBuilder
支行名称列表,支持对支行名称精确搜索
示例值:
func (*SearchBasicInfoBankBranchReqBodyBuilder) BankIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankBranchReqBodyBuilder
银行 ID 列表,与「支行 ID 列表」、「支行名称列表」至少填写一项
示例值:
func (*SearchBasicInfoBankBranchReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBodyBuilder) Build() *SearchBasicInfoBankBranchReqBody
func (*SearchBasicInfoBankBranchReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankBranchReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoBankBranchReqBuilder ¶ added in v3.1.2
type SearchBasicInfoBankBranchReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankBranchReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankBranchReqBuilder() *SearchBasicInfoBankBranchReqBuilder
func (*SearchBasicInfoBankBranchReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBuilder) Body(body *SearchBasicInfoBankBranchReqBody) *SearchBasicInfoBankBranchReqBuilder
func (*SearchBasicInfoBankBranchReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBuilder) Build() *SearchBasicInfoBankBranchReq
func (*SearchBasicInfoBankBranchReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBuilder) Limit(limit int) *SearchBasicInfoBankBranchReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoBankBranchReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBuilder) PageSize(pageSize int) *SearchBasicInfoBankBranchReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoBankBranchReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoBankBranchReqBuilder) PageToken(pageToken string) *SearchBasicInfoBankBranchReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoBankBranchResp ¶ added in v3.1.2
type SearchBasicInfoBankBranchResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoBankBranchRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoBankBranchResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoBankBranchResp) Success() bool
type SearchBasicInfoBankBranchRespData ¶ added in v3.1.2
type SearchBasicInfoBankBranchRespData struct { Items []*BankBranch `json:"items,omitempty"` // 查询的支行信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchBasicInfoBankIterator ¶ added in v3.1.2
type SearchBasicInfoBankIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoBankIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoBankIterator) Next() (bool, *Bank, error)
func (*SearchBasicInfoBankIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoBankIterator) NextPageToken() *string
type SearchBasicInfoBankPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoBankPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankPathReqBodyBuilder() *SearchBasicInfoBankPathReqBodyBuilder
func (*SearchBasicInfoBankPathReqBodyBuilder) BankIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankPathReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankPathReqBodyBuilder
银行 ID 列表,与「银行名称列表」查询条件至少填写一项
示例值:
func (*SearchBasicInfoBankPathReqBodyBuilder) BankNameList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankPathReqBodyBuilder) BankNameList(bankNameList []string) *SearchBasicInfoBankPathReqBodyBuilder
银行名称列表,支持对银行名称精确搜索
示例值:
func (*SearchBasicInfoBankPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankPathReqBodyBuilder) Build() (*SearchBasicInfoBankReqBody, error)
func (*SearchBasicInfoBankPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoBankReq ¶ added in v3.1.2
type SearchBasicInfoBankReq struct { Body *SearchBasicInfoBankReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoBankReqBody ¶ added in v3.1.2
type SearchBasicInfoBankReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoBankReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankReqBodyBuilder() *SearchBasicInfoBankReqBodyBuilder
func (*SearchBasicInfoBankReqBodyBuilder) BankIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBodyBuilder) BankIdList(bankIdList []string) *SearchBasicInfoBankReqBodyBuilder
银行 ID 列表,与「银行名称列表」查询条件至少填写一项
示例值:
func (*SearchBasicInfoBankReqBodyBuilder) BankNameList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBodyBuilder) BankNameList(bankNameList []string) *SearchBasicInfoBankReqBodyBuilder
银行名称列表,支持对银行名称精确搜索
示例值:
func (*SearchBasicInfoBankReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBodyBuilder) Build() *SearchBasicInfoBankReqBody
func (*SearchBasicInfoBankReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoBankReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoBankReqBuilder ¶ added in v3.1.2
type SearchBasicInfoBankReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoBankReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoBankReqBuilder() *SearchBasicInfoBankReqBuilder
func (*SearchBasicInfoBankReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBuilder) Body(body *SearchBasicInfoBankReqBody) *SearchBasicInfoBankReqBuilder
func (*SearchBasicInfoBankReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBuilder) Build() *SearchBasicInfoBankReq
func (*SearchBasicInfoBankReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBuilder) Limit(limit int) *SearchBasicInfoBankReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoBankReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBuilder) PageSize(pageSize int) *SearchBasicInfoBankReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoBankReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoBankReqBuilder) PageToken(pageToken string) *SearchBasicInfoBankReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoBankResp ¶ added in v3.1.2
type SearchBasicInfoBankResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoBankRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoBankResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoBankResp) Success() bool
type SearchBasicInfoBankRespData ¶ added in v3.1.2
type SearchBasicInfoCityIterator ¶ added in v3.1.2
type SearchBasicInfoCityIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoCityIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoCityIterator) Next() (bool, *City, error)
func (*SearchBasicInfoCityIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoCityIterator) NextPageToken() *string
type SearchBasicInfoCityPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCityPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCityPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCityPathReqBodyBuilder() *SearchBasicInfoCityPathReqBodyBuilder
func (*SearchBasicInfoCityPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCityPathReqBodyBuilder) Build() (*SearchBasicInfoCityReqBody, error)
func (*SearchBasicInfoCityPathReqBodyBuilder) CityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityPathReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoCityPathReqBodyBuilder
城市 ID 列表
示例值:
func (*SearchBasicInfoCityPathReqBodyBuilder) CountryRegionSubdivisionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityPathReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCityPathReqBodyBuilder
省份/行政区 ID 列表,可通过【查询省份/行政区信息】接口获取
示例值:
func (*SearchBasicInfoCityPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCityPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCityReq ¶ added in v3.1.2
type SearchBasicInfoCityReq struct { Body *SearchBasicInfoCityReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoCityReqBody ¶ added in v3.1.2
type SearchBasicInfoCityReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCityReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCityReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCityReqBodyBuilder() *SearchBasicInfoCityReqBodyBuilder
func (*SearchBasicInfoCityReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBodyBuilder) Build() *SearchBasicInfoCityReqBody
func (*SearchBasicInfoCityReqBodyBuilder) CityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoCityReqBodyBuilder
城市 ID 列表
示例值:
func (*SearchBasicInfoCityReqBodyBuilder) CountryRegionSubdivisionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCityReqBodyBuilder
省份/行政区 ID 列表,可通过【查询省份/行政区信息】接口获取
示例值:
func (*SearchBasicInfoCityReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCityReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCityReqBuilder ¶ added in v3.1.2
type SearchBasicInfoCityReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCityReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCityReqBuilder() *SearchBasicInfoCityReqBuilder
func (*SearchBasicInfoCityReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBuilder) Body(body *SearchBasicInfoCityReqBody) *SearchBasicInfoCityReqBuilder
func (*SearchBasicInfoCityReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBuilder) Build() *SearchBasicInfoCityReq
func (*SearchBasicInfoCityReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBuilder) Limit(limit int) *SearchBasicInfoCityReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoCityReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBuilder) PageSize(pageSize int) *SearchBasicInfoCityReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoCityReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoCityReqBuilder) PageToken(pageToken string) *SearchBasicInfoCityReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoCityResp ¶ added in v3.1.2
type SearchBasicInfoCityResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoCityRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoCityResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoCityResp) Success() bool
type SearchBasicInfoCityRespData ¶ added in v3.1.2
type SearchBasicInfoCountryRegionIterator ¶ added in v3.1.2
type SearchBasicInfoCountryRegionIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoCountryRegionIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoCountryRegionIterator) Next() (bool, *CountryRegion, error)
func (*SearchBasicInfoCountryRegionIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoCountryRegionIterator) NextPageToken() *string
type SearchBasicInfoCountryRegionPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionPathReqBodyBuilder() *SearchBasicInfoCountryRegionPathReqBodyBuilder
func (*SearchBasicInfoCountryRegionPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) Build() (*SearchBasicInfoCountryRegionReqBody, error)
func (*SearchBasicInfoCountryRegionPathReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionPathReqBodyBuilder
国家/地区 ID 列表
示例值:
func (*SearchBasicInfoCountryRegionPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCountryRegionReq ¶ added in v3.1.2
type SearchBasicInfoCountryRegionReq struct { Body *SearchBasicInfoCountryRegionReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoCountryRegionReqBody ¶ added in v3.1.2
type SearchBasicInfoCountryRegionReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionReqBodyBuilder() *SearchBasicInfoCountryRegionReqBodyBuilder
func (*SearchBasicInfoCountryRegionReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) Build() *SearchBasicInfoCountryRegionReqBody
func (*SearchBasicInfoCountryRegionReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionReqBodyBuilder
国家/地区 ID 列表
示例值:
func (*SearchBasicInfoCountryRegionReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCountryRegionReqBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionReqBuilder() *SearchBasicInfoCountryRegionReqBuilder
func (*SearchBasicInfoCountryRegionReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBuilder) Body(body *SearchBasicInfoCountryRegionReqBody) *SearchBasicInfoCountryRegionReqBuilder
func (*SearchBasicInfoCountryRegionReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBuilder) Build() *SearchBasicInfoCountryRegionReq
func (*SearchBasicInfoCountryRegionReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBuilder) Limit(limit int) *SearchBasicInfoCountryRegionReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoCountryRegionReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBuilder) PageSize(pageSize int) *SearchBasicInfoCountryRegionReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoCountryRegionReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionReqBuilder) PageToken(pageToken string) *SearchBasicInfoCountryRegionReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoCountryRegionResp ¶ added in v3.1.2
type SearchBasicInfoCountryRegionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoCountryRegionRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoCountryRegionResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoCountryRegionResp) Success() bool
type SearchBasicInfoCountryRegionRespData ¶ added in v3.1.2
type SearchBasicInfoCountryRegionRespData struct { Items []*CountryRegion `json:"items,omitempty"` // 查询的国家/地区信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchBasicInfoCountryRegionSubdivisionIterator ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoCountryRegionSubdivisionIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoCountryRegionSubdivisionIterator) Next() (bool, *CountryRegionSubdivision, error)
func (*SearchBasicInfoCountryRegionSubdivisionIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoCountryRegionSubdivisionIterator) NextPageToken() *string
type SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder() *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
func (*SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) Build() (*SearchBasicInfoCountryRegionSubdivisionReqBody, error)
func (*SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
国家/地区 ID 列表,可通过【查询国家/地区信息】接口获取
示例值:
func (*SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionSubdivisionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
省份/行政区 ID 列表
示例值:
func (*SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionSubdivisionPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCountryRegionSubdivisionReq ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionReq struct { Body *SearchBasicInfoCountryRegionSubdivisionReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoCountryRegionSubdivisionReqBody ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionReqBody struct { CountryRegionIdList []string `json:"country_region_id_list,omitempty"` // 国家/地区 ID 列表,可通过【查询国家/地区信息】接口获取 CountryRegionSubdivisionIdList []string `json:"country_region_subdivision_id_list,omitempty"` // 省份/行政区 ID 列表 StatusList []int `json:"status_list,omitempty"` // 状态列表 }
type SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionSubdivisionReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionSubdivisionReqBodyBuilder() *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
func (*SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) Build() *SearchBasicInfoCountryRegionSubdivisionReqBody
func (*SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
国家/地区 ID 列表,可通过【查询国家/地区信息】接口获取
示例值:
func (*SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionSubdivisionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) CountryRegionSubdivisionIdList(countryRegionSubdivisionIdList []string) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
省份/行政区 ID 列表
示例值:
func (*SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCountryRegionSubdivisionReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCountryRegionSubdivisionReqBuilder ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCountryRegionSubdivisionReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCountryRegionSubdivisionReqBuilder() *SearchBasicInfoCountryRegionSubdivisionReqBuilder
func (*SearchBasicInfoCountryRegionSubdivisionReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) Build() *SearchBasicInfoCountryRegionSubdivisionReq
func (*SearchBasicInfoCountryRegionSubdivisionReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) Limit(limit int) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageSize(pageSize int) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoCountryRegionSubdivisionReqBuilder) PageToken(pageToken string) *SearchBasicInfoCountryRegionSubdivisionReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoCountryRegionSubdivisionResp ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoCountryRegionSubdivisionRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoCountryRegionSubdivisionResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoCountryRegionSubdivisionResp) Success() bool
type SearchBasicInfoCountryRegionSubdivisionRespData ¶ added in v3.1.2
type SearchBasicInfoCountryRegionSubdivisionRespData struct { Items []*CountryRegionSubdivision `json:"items,omitempty"` // 查询的省份/行政区信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchBasicInfoCurrencyIterator ¶ added in v3.1.2
type SearchBasicInfoCurrencyIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoCurrencyIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoCurrencyIterator) Next() (bool, *Currency, error)
func (*SearchBasicInfoCurrencyIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoCurrencyIterator) NextPageToken() *string
type SearchBasicInfoCurrencyPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCurrencyPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCurrencyPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCurrencyPathReqBodyBuilder() *SearchBasicInfoCurrencyPathReqBodyBuilder
func (*SearchBasicInfoCurrencyPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) Build() (*SearchBasicInfoCurrencyReqBody, error)
func (*SearchBasicInfoCurrencyPathReqBodyBuilder) CurrencyIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) CurrencyIdList(currencyIdList []string) *SearchBasicInfoCurrencyPathReqBodyBuilder
货币 ID 列表
示例值:
func (*SearchBasicInfoCurrencyPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCurrencyPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCurrencyReq ¶ added in v3.1.2
type SearchBasicInfoCurrencyReq struct { Body *SearchBasicInfoCurrencyReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoCurrencyReqBody ¶ added in v3.1.2
type SearchBasicInfoCurrencyReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoCurrencyReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCurrencyReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCurrencyReqBodyBuilder() *SearchBasicInfoCurrencyReqBodyBuilder
func (*SearchBasicInfoCurrencyReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBodyBuilder) Build() *SearchBasicInfoCurrencyReqBody
func (*SearchBasicInfoCurrencyReqBodyBuilder) CurrencyIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBodyBuilder) CurrencyIdList(currencyIdList []string) *SearchBasicInfoCurrencyReqBodyBuilder
货币 ID 列表
示例值:
func (*SearchBasicInfoCurrencyReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoCurrencyReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoCurrencyReqBuilder ¶ added in v3.1.2
type SearchBasicInfoCurrencyReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoCurrencyReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoCurrencyReqBuilder() *SearchBasicInfoCurrencyReqBuilder
func (*SearchBasicInfoCurrencyReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBuilder) Body(body *SearchBasicInfoCurrencyReqBody) *SearchBasicInfoCurrencyReqBuilder
func (*SearchBasicInfoCurrencyReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBuilder) Build() *SearchBasicInfoCurrencyReq
func (*SearchBasicInfoCurrencyReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBuilder) Limit(limit int) *SearchBasicInfoCurrencyReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoCurrencyReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBuilder) PageSize(pageSize int) *SearchBasicInfoCurrencyReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoCurrencyReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoCurrencyReqBuilder) PageToken(pageToken string) *SearchBasicInfoCurrencyReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoCurrencyResp ¶ added in v3.1.2
type SearchBasicInfoCurrencyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoCurrencyRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoCurrencyResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoCurrencyResp) Success() bool
type SearchBasicInfoCurrencyRespData ¶ added in v3.1.2
type SearchBasicInfoDistrictIterator ¶ added in v3.1.2
type SearchBasicInfoDistrictIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoDistrictIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoDistrictIterator) Next() (bool, *District, error)
func (*SearchBasicInfoDistrictIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoDistrictIterator) NextPageToken() *string
type SearchBasicInfoDistrictPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoDistrictPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoDistrictPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoDistrictPathReqBodyBuilder() *SearchBasicInfoDistrictPathReqBodyBuilder
func (*SearchBasicInfoDistrictPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) Build() (*SearchBasicInfoDistrictReqBody, error)
func (*SearchBasicInfoDistrictPathReqBodyBuilder) CityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoDistrictPathReqBodyBuilder
所属城市 ID 列表,详细信息可通过【查询城市信息】接口查询获得
示例值:
func (*SearchBasicInfoDistrictPathReqBodyBuilder) DistrictIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) DistrictIdList(districtIdList []string) *SearchBasicInfoDistrictPathReqBodyBuilder
区/县 ID 列表
示例值:
func (*SearchBasicInfoDistrictPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoDistrictPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoDistrictReq ¶ added in v3.1.2
type SearchBasicInfoDistrictReq struct { Body *SearchBasicInfoDistrictReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoDistrictReqBody ¶ added in v3.1.2
type SearchBasicInfoDistrictReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoDistrictReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoDistrictReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoDistrictReqBodyBuilder() *SearchBasicInfoDistrictReqBodyBuilder
func (*SearchBasicInfoDistrictReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBodyBuilder) Build() *SearchBasicInfoDistrictReqBody
func (*SearchBasicInfoDistrictReqBodyBuilder) CityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBodyBuilder) CityIdList(cityIdList []string) *SearchBasicInfoDistrictReqBodyBuilder
所属城市 ID 列表,详细信息可通过【查询城市信息】接口查询获得
示例值:
func (*SearchBasicInfoDistrictReqBodyBuilder) DistrictIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBodyBuilder) DistrictIdList(districtIdList []string) *SearchBasicInfoDistrictReqBodyBuilder
区/县 ID 列表
示例值:
func (*SearchBasicInfoDistrictReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoDistrictReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoDistrictReqBuilder ¶ added in v3.1.2
type SearchBasicInfoDistrictReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoDistrictReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoDistrictReqBuilder() *SearchBasicInfoDistrictReqBuilder
func (*SearchBasicInfoDistrictReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBuilder) Body(body *SearchBasicInfoDistrictReqBody) *SearchBasicInfoDistrictReqBuilder
func (*SearchBasicInfoDistrictReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBuilder) Build() *SearchBasicInfoDistrictReq
func (*SearchBasicInfoDistrictReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBuilder) Limit(limit int) *SearchBasicInfoDistrictReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoDistrictReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBuilder) PageSize(pageSize int) *SearchBasicInfoDistrictReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoDistrictReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoDistrictReqBuilder) PageToken(pageToken string) *SearchBasicInfoDistrictReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoDistrictResp ¶ added in v3.1.2
type SearchBasicInfoDistrictResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoDistrictRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoDistrictResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoDistrictResp) Success() bool
type SearchBasicInfoDistrictRespData ¶ added in v3.1.2
type SearchBasicInfoNationalityIterator ¶ added in v3.1.2
type SearchBasicInfoNationalityIterator struct {
// contains filtered or unexported fields
}
func (*SearchBasicInfoNationalityIterator) Next ¶ added in v3.1.2
func (iterator *SearchBasicInfoNationalityIterator) Next() (bool, *Nationality, error)
func (*SearchBasicInfoNationalityIterator) NextPageToken ¶ added in v3.1.2
func (iterator *SearchBasicInfoNationalityIterator) NextPageToken() *string
type SearchBasicInfoNationalityPathReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoNationalityPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoNationalityPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoNationalityPathReqBodyBuilder() *SearchBasicInfoNationalityPathReqBodyBuilder
func (*SearchBasicInfoNationalityPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) Build() (*SearchBasicInfoNationalityReqBody, error)
func (*SearchBasicInfoNationalityPathReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoNationalityPathReqBodyBuilder
国家 / 地区 ID 列表
示例值:
func (*SearchBasicInfoNationalityPathReqBodyBuilder) NationalityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) NationalityIdList(nationalityIdList []string) *SearchBasicInfoNationalityPathReqBodyBuilder
国籍 ID 列表
示例值:
func (*SearchBasicInfoNationalityPathReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityPathReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoNationalityPathReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoNationalityReq ¶ added in v3.1.2
type SearchBasicInfoNationalityReq struct { Body *SearchBasicInfoNationalityReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchBasicInfoNationalityReqBody ¶ added in v3.1.2
type SearchBasicInfoNationalityReqBodyBuilder ¶ added in v3.1.2
type SearchBasicInfoNationalityReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoNationalityReqBodyBuilder ¶ added in v3.1.2
func NewSearchBasicInfoNationalityReqBodyBuilder() *SearchBasicInfoNationalityReqBodyBuilder
func (*SearchBasicInfoNationalityReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBodyBuilder) Build() *SearchBasicInfoNationalityReqBody
func (*SearchBasicInfoNationalityReqBodyBuilder) CountryRegionIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBodyBuilder) CountryRegionIdList(countryRegionIdList []string) *SearchBasicInfoNationalityReqBodyBuilder
国家 / 地区 ID 列表
示例值:
func (*SearchBasicInfoNationalityReqBodyBuilder) NationalityIdList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBodyBuilder) NationalityIdList(nationalityIdList []string) *SearchBasicInfoNationalityReqBodyBuilder
国籍 ID 列表
示例值:
func (*SearchBasicInfoNationalityReqBodyBuilder) StatusList ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBodyBuilder) StatusList(statusList []int) *SearchBasicInfoNationalityReqBodyBuilder
状态列表
示例值:
type SearchBasicInfoNationalityReqBuilder ¶ added in v3.1.2
type SearchBasicInfoNationalityReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchBasicInfoNationalityReqBuilder ¶ added in v3.1.2
func NewSearchBasicInfoNationalityReqBuilder() *SearchBasicInfoNationalityReqBuilder
func (*SearchBasicInfoNationalityReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBuilder) Body(body *SearchBasicInfoNationalityReqBody) *SearchBasicInfoNationalityReqBuilder
func (*SearchBasicInfoNationalityReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBuilder) Build() *SearchBasicInfoNationalityReq
func (*SearchBasicInfoNationalityReqBuilder) Limit ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBuilder) Limit(limit int) *SearchBasicInfoNationalityReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchBasicInfoNationalityReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBuilder) PageSize(pageSize int) *SearchBasicInfoNationalityReqBuilder
分页大小,最大 100
示例值:100
func (*SearchBasicInfoNationalityReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchBasicInfoNationalityReqBuilder) PageToken(pageToken string) *SearchBasicInfoNationalityReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
type SearchBasicInfoNationalityResp ¶ added in v3.1.2
type SearchBasicInfoNationalityResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchBasicInfoNationalityRespData `json:"data"` // 业务数据 }
func (*SearchBasicInfoNationalityResp) Success ¶ added in v3.1.2
func (resp *SearchBasicInfoNationalityResp) Success() bool
type SearchBasicInfoNationalityRespData ¶ added in v3.1.2
type SearchBasicInfoNationalityRespData struct { Items []*Nationality `json:"items,omitempty"` // 查询的国籍信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchContractIterator ¶
type SearchContractIterator struct {
// contains filtered or unexported fields
}
func (*SearchContractIterator) Next ¶
func (iterator *SearchContractIterator) Next() (bool, *Contract, error)
func (*SearchContractIterator) NextPageToken ¶
func (iterator *SearchContractIterator) NextPageToken() *string
type SearchContractPathReqBodyBuilder ¶
type SearchContractPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchContractPathReqBodyBuilder ¶
func NewSearchContractPathReqBodyBuilder() *SearchContractPathReqBodyBuilder
func (*SearchContractPathReqBodyBuilder) Build ¶
func (builder *SearchContractPathReqBodyBuilder) Build() (*SearchContractReqBody, error)
func (*SearchContractPathReqBodyBuilder) ContractIdList ¶
func (builder *SearchContractPathReqBodyBuilder) ContractIdList(contractIdList []string) *SearchContractPathReqBodyBuilder
合同ID列表
示例值:
func (*SearchContractPathReqBodyBuilder) EmploymentIdList ¶
func (builder *SearchContractPathReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchContractPathReqBodyBuilder
雇佣 ID 列表
示例值:
type SearchContractReq ¶
type SearchContractReq struct { Body *SearchContractReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchContractReqBody ¶
type SearchContractReqBodyBuilder ¶
type SearchContractReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchContractReqBodyBuilder ¶
func NewSearchContractReqBodyBuilder() *SearchContractReqBodyBuilder
func (*SearchContractReqBodyBuilder) Build ¶
func (builder *SearchContractReqBodyBuilder) Build() *SearchContractReqBody
func (*SearchContractReqBodyBuilder) ContractIdList ¶
func (builder *SearchContractReqBodyBuilder) ContractIdList(contractIdList []string) *SearchContractReqBodyBuilder
合同ID列表
示例值:
func (*SearchContractReqBodyBuilder) EmploymentIdList ¶
func (builder *SearchContractReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchContractReqBodyBuilder
雇佣 ID 列表
示例值:
type SearchContractReqBuilder ¶
type SearchContractReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchContractReqBuilder ¶
func NewSearchContractReqBuilder() *SearchContractReqBuilder
func (*SearchContractReqBuilder) Body ¶
func (builder *SearchContractReqBuilder) Body(body *SearchContractReqBody) *SearchContractReqBuilder
根据合同 ID 、雇佣 ID 查询合同信息
func (*SearchContractReqBuilder) Build ¶
func (builder *SearchContractReqBuilder) Build() *SearchContractReq
func (*SearchContractReqBuilder) Limit ¶
func (builder *SearchContractReqBuilder) Limit(limit int) *SearchContractReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchContractReqBuilder) PageSize ¶
func (builder *SearchContractReqBuilder) PageSize(pageSize int) *SearchContractReqBuilder
分页大小,最大 100
示例值:100
func (*SearchContractReqBuilder) PageToken ¶
func (builder *SearchContractReqBuilder) PageToken(pageToken string) *SearchContractReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchContractReqBuilder) UserIdType ¶
func (builder *SearchContractReqBuilder) UserIdType(userIdType string) *SearchContractReqBuilder
用户 ID 类型
示例值:open_id
type SearchContractResp ¶
type SearchContractResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchContractRespData `json:"data"` // 业务数据 }
func (*SearchContractResp) Success ¶
func (resp *SearchContractResp) Success() bool
type SearchContractRespData ¶
type SearchCostCenterPathReqBodyBuilder ¶ added in v3.1.2
type SearchCostCenterPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCostCenterPathReqBodyBuilder ¶ added in v3.1.2
func NewSearchCostCenterPathReqBodyBuilder() *SearchCostCenterPathReqBodyBuilder
func (*SearchCostCenterPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) Build() (*SearchCostCenterReqBody, error)
func (*SearchCostCenterPathReqBodyBuilder) Code ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) Code(code string) *SearchCostCenterPathReqBodyBuilder
成本中心编码
示例值:MDPD00000023
func (*SearchCostCenterPathReqBodyBuilder) CostCenterIdList ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) CostCenterIdList(costCenterIdList []string) *SearchCostCenterPathReqBodyBuilder
成本中心ID 列表
示例值:
func (*SearchCostCenterPathReqBodyBuilder) GetAllVersion ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) GetAllVersion(getAllVersion bool) *SearchCostCenterPathReqBodyBuilder
是否获取所有陈本中心版本
示例值:true
func (*SearchCostCenterPathReqBodyBuilder) NameList ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) NameList(nameList []string) *SearchCostCenterPathReqBodyBuilder
成长中心名称列表,精确匹配
示例值:
func (*SearchCostCenterPathReqBodyBuilder) ParentCostCenterId ¶ added in v3.1.2
func (builder *SearchCostCenterPathReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *SearchCostCenterPathReqBodyBuilder
上级成本中心ID,可用于查询直接下级成本中心
示例值:6862995757234914824
type SearchCostCenterReq ¶ added in v3.1.2
type SearchCostCenterReq struct { Body *SearchCostCenterReqBody `body:""` // contains filtered or unexported fields }
type SearchCostCenterReqBody ¶ added in v3.1.2
type SearchCostCenterReqBody struct { CostCenterIdList []string `json:"cost_center_id_list,omitempty"` // 成本中心ID 列表 NameList []string `json:"name_list,omitempty"` // 成长中心名称列表,精确匹配 Code *string `json:"code,omitempty"` // 成本中心编码 ParentCostCenterId *string `json:"parent_cost_center_id,omitempty"` // 上级成本中心ID,可用于查询直接下级成本中心 GetAllVersion *bool `json:"get_all_version,omitempty"` // 是否获取所有陈本中心版本 }
type SearchCostCenterReqBodyBuilder ¶ added in v3.1.2
type SearchCostCenterReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCostCenterReqBodyBuilder ¶ added in v3.1.2
func NewSearchCostCenterReqBodyBuilder() *SearchCostCenterReqBodyBuilder
func (*SearchCostCenterReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) Build() *SearchCostCenterReqBody
func (*SearchCostCenterReqBodyBuilder) Code ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) Code(code string) *SearchCostCenterReqBodyBuilder
成本中心编码
示例值:MDPD00000023
func (*SearchCostCenterReqBodyBuilder) CostCenterIdList ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) CostCenterIdList(costCenterIdList []string) *SearchCostCenterReqBodyBuilder
成本中心ID 列表
示例值:
func (*SearchCostCenterReqBodyBuilder) GetAllVersion ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) GetAllVersion(getAllVersion bool) *SearchCostCenterReqBodyBuilder
是否获取所有陈本中心版本
示例值:true
func (*SearchCostCenterReqBodyBuilder) NameList ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) NameList(nameList []string) *SearchCostCenterReqBodyBuilder
成长中心名称列表,精确匹配
示例值:
func (*SearchCostCenterReqBodyBuilder) ParentCostCenterId ¶ added in v3.1.2
func (builder *SearchCostCenterReqBodyBuilder) ParentCostCenterId(parentCostCenterId string) *SearchCostCenterReqBodyBuilder
上级成本中心ID,可用于查询直接下级成本中心
示例值:6862995757234914824
type SearchCostCenterReqBuilder ¶ added in v3.1.2
type SearchCostCenterReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCostCenterReqBuilder ¶ added in v3.1.2
func NewSearchCostCenterReqBuilder() *SearchCostCenterReqBuilder
func (*SearchCostCenterReqBuilder) Body ¶ added in v3.1.2
func (builder *SearchCostCenterReqBuilder) Body(body *SearchCostCenterReqBody) *SearchCostCenterReqBuilder
查询成本中心信息
func (*SearchCostCenterReqBuilder) Build ¶ added in v3.1.2
func (builder *SearchCostCenterReqBuilder) Build() *SearchCostCenterReq
func (*SearchCostCenterReqBuilder) PageSize ¶ added in v3.1.2
func (builder *SearchCostCenterReqBuilder) PageSize(pageSize int) *SearchCostCenterReqBuilder
分页大小,最大 100
示例值:100
func (*SearchCostCenterReqBuilder) PageToken ¶ added in v3.1.2
func (builder *SearchCostCenterReqBuilder) PageToken(pageToken string) *SearchCostCenterReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchCostCenterReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *SearchCostCenterReqBuilder) UserIdType(userIdType string) *SearchCostCenterReqBuilder
用户 ID 类型
示例值:people_corehr_id
type SearchCostCenterResp ¶ added in v3.1.2
type SearchCostCenterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchCostCenterRespData `json:"data"` // 业务数据 }
func (*SearchCostCenterResp) Success ¶ added in v3.1.2
func (resp *SearchCostCenterResp) Success() bool
type SearchCostCenterRespData ¶ added in v3.1.2
type SearchCostCenterRespData struct { Items []*CostCenterVersion `json:"items,omitempty"` // 成本中心信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchDepartmentIterator ¶
type SearchDepartmentIterator struct {
// contains filtered or unexported fields
}
func (*SearchDepartmentIterator) Next ¶
func (iterator *SearchDepartmentIterator) Next() (bool, *Department, error)
func (*SearchDepartmentIterator) NextPageToken ¶
func (iterator *SearchDepartmentIterator) NextPageToken() *string
type SearchDepartmentPathReqBodyBuilder ¶
type SearchDepartmentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchDepartmentPathReqBodyBuilder ¶
func NewSearchDepartmentPathReqBodyBuilder() *SearchDepartmentPathReqBodyBuilder
func (*SearchDepartmentPathReqBodyBuilder) Active ¶
func (builder *SearchDepartmentPathReqBodyBuilder) Active(active bool) *SearchDepartmentPathReqBodyBuilder
是否启用
示例值:true
func (*SearchDepartmentPathReqBodyBuilder) Build ¶
func (builder *SearchDepartmentPathReqBodyBuilder) Build() (*SearchDepartmentReqBody, error)
func (*SearchDepartmentPathReqBodyBuilder) CodeList ¶
func (builder *SearchDepartmentPathReqBodyBuilder) CodeList(codeList []string) *SearchDepartmentPathReqBodyBuilder
部门 code 列表
示例值:
func (*SearchDepartmentPathReqBodyBuilder) DepartmentIdList ¶
func (builder *SearchDepartmentPathReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchDepartmentPathReqBodyBuilder
部门 ID 列表
示例值:
func (*SearchDepartmentPathReqBodyBuilder) Fields ¶
func (builder *SearchDepartmentPathReqBodyBuilder) Fields(fields []string) *SearchDepartmentPathReqBodyBuilder
返回数据的字段列表
示例值:
func (*SearchDepartmentPathReqBodyBuilder) GetAllChildren ¶
func (builder *SearchDepartmentPathReqBodyBuilder) GetAllChildren(getAllChildren bool) *SearchDepartmentPathReqBodyBuilder
当通过上级部门 ID 查询时,填写 true 返回所有子部门,填写 false 只返回直接下级部门
示例值:false
func (*SearchDepartmentPathReqBodyBuilder) ManagerList ¶
func (builder *SearchDepartmentPathReqBodyBuilder) ManagerList(managerList []string) *SearchDepartmentPathReqBodyBuilder
manager ID 列表;**字段权限要求:按照部门负责人搜索 (corehr:department.manager.search:read)**
示例值:
func (*SearchDepartmentPathReqBodyBuilder) NameList ¶
func (builder *SearchDepartmentPathReqBodyBuilder) NameList(nameList []string) *SearchDepartmentPathReqBodyBuilder
部门名称列表,需精确匹配
示例值:
func (*SearchDepartmentPathReqBodyBuilder) ParentDepartmentId ¶
func (builder *SearchDepartmentPathReqBodyBuilder) ParentDepartmentId(parentDepartmentId string) *SearchDepartmentPathReqBodyBuilder
上级部门 ID ,可查询直接下级部门;**字段权限要求:按照上级部门搜索 (corehr:department.organize.search:read) **
示例值:7094136522860922222
type SearchDepartmentReq ¶
type SearchDepartmentReq struct { Body *SearchDepartmentReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchDepartmentReqBody ¶
type SearchDepartmentReqBody struct { Active *bool `json:"active,omitempty"` // 是否启用 GetAllChildren *bool `json:"get_all_children,omitempty"` // 当通过上级部门 ID 查询时,填写 true 返回所有子部门,填写 false 只返回直接下级部门 ManagerList []string `json:"manager_list,omitempty"` // manager ID 列表;**字段权限要求:按照部门负责人搜索 (corehr:department.manager.search:read)** DepartmentIdList []string `json:"department_id_list,omitempty"` // 部门 ID 列表 NameList []string `json:"name_list,omitempty"` // 部门名称列表,需精确匹配 ParentDepartmentId *string `json:"parent_department_id,omitempty"` // 上级部门 ID ,可查询直接下级部门;**字段权限要求:按照上级部门搜索 (corehr:department.organize.search:read) ** CodeList []string `json:"code_list,omitempty"` // 部门 code 列表 Fields []string `json:"fields,omitempty"` // 返回数据的字段列表 }
type SearchDepartmentReqBodyBuilder ¶
type SearchDepartmentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchDepartmentReqBodyBuilder ¶
func NewSearchDepartmentReqBodyBuilder() *SearchDepartmentReqBodyBuilder
func (*SearchDepartmentReqBodyBuilder) Active ¶
func (builder *SearchDepartmentReqBodyBuilder) Active(active bool) *SearchDepartmentReqBodyBuilder
是否启用
示例值:true
func (*SearchDepartmentReqBodyBuilder) Build ¶
func (builder *SearchDepartmentReqBodyBuilder) Build() *SearchDepartmentReqBody
func (*SearchDepartmentReqBodyBuilder) CodeList ¶
func (builder *SearchDepartmentReqBodyBuilder) CodeList(codeList []string) *SearchDepartmentReqBodyBuilder
部门 code 列表
示例值:
func (*SearchDepartmentReqBodyBuilder) DepartmentIdList ¶
func (builder *SearchDepartmentReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchDepartmentReqBodyBuilder
部门 ID 列表
示例值:
func (*SearchDepartmentReqBodyBuilder) Fields ¶
func (builder *SearchDepartmentReqBodyBuilder) Fields(fields []string) *SearchDepartmentReqBodyBuilder
返回数据的字段列表
示例值:
func (*SearchDepartmentReqBodyBuilder) GetAllChildren ¶
func (builder *SearchDepartmentReqBodyBuilder) GetAllChildren(getAllChildren bool) *SearchDepartmentReqBodyBuilder
当通过上级部门 ID 查询时,填写 true 返回所有子部门,填写 false 只返回直接下级部门
示例值:false
func (*SearchDepartmentReqBodyBuilder) ManagerList ¶
func (builder *SearchDepartmentReqBodyBuilder) ManagerList(managerList []string) *SearchDepartmentReqBodyBuilder
manager ID 列表;**字段权限要求:按照部门负责人搜索 (corehr:department.manager.search:read)**
示例值:
func (*SearchDepartmentReqBodyBuilder) NameList ¶
func (builder *SearchDepartmentReqBodyBuilder) NameList(nameList []string) *SearchDepartmentReqBodyBuilder
部门名称列表,需精确匹配
示例值:
func (*SearchDepartmentReqBodyBuilder) ParentDepartmentId ¶
func (builder *SearchDepartmentReqBodyBuilder) ParentDepartmentId(parentDepartmentId string) *SearchDepartmentReqBodyBuilder
上级部门 ID ,可查询直接下级部门;**字段权限要求:按照上级部门搜索 (corehr:department.organize.search:read) **
示例值:7094136522860922222
type SearchDepartmentReqBuilder ¶
type SearchDepartmentReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchDepartmentReqBuilder ¶
func NewSearchDepartmentReqBuilder() *SearchDepartmentReqBuilder
func (*SearchDepartmentReqBuilder) Body ¶
func (builder *SearchDepartmentReqBuilder) Body(body *SearchDepartmentReqBody) *SearchDepartmentReqBuilder
根据部门 ID,上级部门查询部门列表
func (*SearchDepartmentReqBuilder) Build ¶
func (builder *SearchDepartmentReqBuilder) Build() *SearchDepartmentReq
func (*SearchDepartmentReqBuilder) DepartmentIdType ¶
func (builder *SearchDepartmentReqBuilder) DepartmentIdType(departmentIdType string) *SearchDepartmentReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*SearchDepartmentReqBuilder) Limit ¶
func (builder *SearchDepartmentReqBuilder) Limit(limit int) *SearchDepartmentReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchDepartmentReqBuilder) PageSize ¶
func (builder *SearchDepartmentReqBuilder) PageSize(pageSize int) *SearchDepartmentReqBuilder
分页大小,最大 100
示例值:100
func (*SearchDepartmentReqBuilder) PageToken ¶
func (builder *SearchDepartmentReqBuilder) PageToken(pageToken string) *SearchDepartmentReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchDepartmentReqBuilder) UserIdType ¶
func (builder *SearchDepartmentReqBuilder) UserIdType(userIdType string) *SearchDepartmentReqBuilder
用户 ID 类型
示例值:open_id
type SearchDepartmentResp ¶
type SearchDepartmentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchDepartmentRespData `json:"data"` // 业务数据 }
func (*SearchDepartmentResp) Success ¶
func (resp *SearchDepartmentResp) Success() bool
type SearchDepartmentRespData ¶
type SearchDepartmentRespData struct { Items []*Department `json:"items,omitempty"` // 查询的部门信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SearchEmployeeIterator ¶
type SearchEmployeeIterator struct {
// contains filtered or unexported fields
}
func (*SearchEmployeeIterator) Next ¶
func (iterator *SearchEmployeeIterator) Next() (bool, *Employee, error)
func (*SearchEmployeeIterator) NextPageToken ¶
func (iterator *SearchEmployeeIterator) NextPageToken() *string
type SearchEmployeePathReqBodyBuilder ¶
type SearchEmployeePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchEmployeePathReqBodyBuilder ¶
func NewSearchEmployeePathReqBodyBuilder() *SearchEmployeePathReqBodyBuilder
func (*SearchEmployeePathReqBodyBuilder) Build ¶
func (builder *SearchEmployeePathReqBodyBuilder) Build() (*SearchEmployeeReqBody, error)
func (*SearchEmployeePathReqBodyBuilder) DepartmentIdList ¶
func (builder *SearchEmployeePathReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchEmployeePathReqBodyBuilder
部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 ID
示例值:
func (*SearchEmployeePathReqBodyBuilder) DepartmentIdListIncludeSub ¶
func (builder *SearchEmployeePathReqBodyBuilder) DepartmentIdListIncludeSub(departmentIdListIncludeSub []string) *SearchEmployeePathReqBodyBuilder
部门 ID 列表,查询属于该部门及下级部门的员工
示例值:
func (*SearchEmployeePathReqBodyBuilder) DirectManagerIdList ¶
func (builder *SearchEmployeePathReqBodyBuilder) DirectManagerIdList(directManagerIdList []string) *SearchEmployeePathReqBodyBuilder
直接上级的雇佣 ID,根据员工主职的直接上级查询
示例值:7027024823985447820
func (*SearchEmployeePathReqBodyBuilder) DottedLineManagerIdList ¶
func (builder *SearchEmployeePathReqBodyBuilder) DottedLineManagerIdList(dottedLineManagerIdList []string) *SearchEmployeePathReqBodyBuilder
虚线上级的雇佣 ID,根据员工主职的虚线上级查询
示例值:7027024823985117820
func (*SearchEmployeePathReqBodyBuilder) EffectiveTimeEnd ¶
func (builder *SearchEmployeePathReqBodyBuilder) EffectiveTimeEnd(effectiveTimeEnd string) *SearchEmployeePathReqBodyBuilder
入职日期-搜索范围结束
示例值:2020-01-01
func (*SearchEmployeePathReqBodyBuilder) EffectiveTimeStart ¶
func (builder *SearchEmployeePathReqBodyBuilder) EffectiveTimeStart(effectiveTimeStart string) *SearchEmployeePathReqBodyBuilder
入职日期-搜索范围开始,需要与搜索范围结束一同使用
示例值:2020-01-01
func (*SearchEmployeePathReqBodyBuilder) EmailAddressList ¶
func (builder *SearchEmployeePathReqBodyBuilder) EmailAddressList(emailAddressList []string) *SearchEmployeePathReqBodyBuilder
工作邮箱地址列表,精确匹配查询
示例值:
func (*SearchEmployeePathReqBodyBuilder) EmployeeNumberList ¶
func (builder *SearchEmployeePathReqBodyBuilder) EmployeeNumberList(employeeNumberList []string) *SearchEmployeePathReqBodyBuilder
工号列表
示例值:
func (*SearchEmployeePathReqBodyBuilder) EmployeeTypeId ¶
func (builder *SearchEmployeePathReqBodyBuilder) EmployeeTypeId(employeeTypeId string) *SearchEmployeePathReqBodyBuilder
人员类型 ID
示例值:6971090097697521314
func (*SearchEmployeePathReqBodyBuilder) EmploymentIdList ¶
func (builder *SearchEmployeePathReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchEmployeePathReqBodyBuilder
雇佣 ID 列表
示例值:
func (*SearchEmployeePathReqBodyBuilder) EmploymentStatus ¶
func (builder *SearchEmployeePathReqBodyBuilder) EmploymentStatus(employmentStatus string) *SearchEmployeePathReqBodyBuilder
雇佣状态
示例值:
func (*SearchEmployeePathReqBodyBuilder) Fields ¶
func (builder *SearchEmployeePathReqBodyBuilder) Fields(fields []string) *SearchEmployeePathReqBodyBuilder
返回数据的字段列表,填写方式:为空时默认仅返回 ID
示例值:
func (*SearchEmployeePathReqBodyBuilder) KeyWord ¶
func (builder *SearchEmployeePathReqBodyBuilder) KeyWord(keyWord string) *SearchEmployeePathReqBodyBuilder
搜索关键字,支持对邮箱、工号和姓名的模糊匹配
示例值:张三
func (*SearchEmployeePathReqBodyBuilder) NationalIdNumberList ¶
func (builder *SearchEmployeePathReqBodyBuilder) NationalIdNumberList(nationalIdNumberList []string) *SearchEmployeePathReqBodyBuilder
居民身份证件号码精确搜索
示例值:
func (*SearchEmployeePathReqBodyBuilder) PhoneNumber ¶
func (builder *SearchEmployeePathReqBodyBuilder) PhoneNumber(phoneNumber string) *SearchEmployeePathReqBodyBuilder
个人电话,精确匹配查询
示例值:16760342300
func (*SearchEmployeePathReqBodyBuilder) PhoneNumberList ¶
func (builder *SearchEmployeePathReqBodyBuilder) PhoneNumberList(phoneNumberList []string) *SearchEmployeePathReqBodyBuilder
个人电话列表,精确匹配查询
示例值:
func (*SearchEmployeePathReqBodyBuilder) PreferredEnglishFullNameList ¶
func (builder *SearchEmployeePathReqBodyBuilder) PreferredEnglishFullNameList(preferredEnglishFullNameList []string) *SearchEmployeePathReqBodyBuilder
常用英文全名精确搜索
示例值:
func (*SearchEmployeePathReqBodyBuilder) PreferredLocalFullNameList ¶
func (builder *SearchEmployeePathReqBodyBuilder) PreferredLocalFullNameList(preferredLocalFullNameList []string) *SearchEmployeePathReqBodyBuilder
常用本地全名精确搜索
示例值:
func (*SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateEnd ¶
func (builder *SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateEnd(regularEmployeeStartDateEnd string) *SearchEmployeePathReqBodyBuilder
转正式员工日期-搜索范围结束
示例值:2020-01-01
func (*SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateStart ¶
func (builder *SearchEmployeePathReqBodyBuilder) RegularEmployeeStartDateStart(regularEmployeeStartDateStart string) *SearchEmployeePathReqBodyBuilder
转正式员工日期-搜索范围开始
示例值:2020-01-01
func (*SearchEmployeePathReqBodyBuilder) WorkEmail ¶
func (builder *SearchEmployeePathReqBodyBuilder) WorkEmail(workEmail string) *SearchEmployeePathReqBodyBuilder
邮箱,精确匹配查询
示例值:13312345678@qq.com
func (*SearchEmployeePathReqBodyBuilder) WorkLocationIdListIncludeSub ¶
func (builder *SearchEmployeePathReqBodyBuilder) WorkLocationIdListIncludeSub(workLocationIdListIncludeSub []string) *SearchEmployeePathReqBodyBuilder
工作地点 ID 列表,查询属于该工作地点及下级工作地点的员工
示例值:
type SearchEmployeeReq ¶
type SearchEmployeeReq struct { Body *SearchEmployeeReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchEmployeeReqBody ¶
type SearchEmployeeReqBody struct { Fields []string `json:"fields,omitempty"` // 返回数据的字段列表,填写方式:为空时默认仅返回 ID EmploymentIdList []string `json:"employment_id_list,omitempty"` // 雇佣 ID 列表 EmployeeNumberList []string `json:"employee_number_list,omitempty"` // 工号列表 WorkEmail *string `json:"work_email,omitempty"` // 邮箱,精确匹配查询 PhoneNumber *string `json:"phone_number,omitempty"` // 个人电话,精确匹配查询 KeyWord *string `json:"key_word,omitempty"` // 搜索关键字,支持对邮箱、工号和姓名的模糊匹配 EmploymentStatus *string `json:"employment_status,omitempty"` // 雇佣状态 EmployeeTypeId *string `json:"employee_type_id,omitempty"` // 人员类型 ID DepartmentIdList []string `json:"department_id_list,omitempty"` // 部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 ID DirectManagerIdList []string `json:"direct_manager_id_list,omitempty"` // 直接上级的雇佣 ID,根据员工主职的直接上级查询 DottedLineManagerIdList []string `json:"dotted_line_manager_id_list,omitempty"` // 虚线上级的雇佣 ID,根据员工主职的虚线上级查询 RegularEmployeeStartDateStart *string `json:"regular_employee_start_date_start,omitempty"` // 转正式员工日期-搜索范围开始 RegularEmployeeStartDateEnd *string `json:"regular_employee_start_date_end,omitempty"` // 转正式员工日期-搜索范围结束 EffectiveTimeStart *string `json:"effective_time_start,omitempty"` // 入职日期-搜索范围开始,需要与搜索范围结束一同使用 EffectiveTimeEnd *string `json:"effective_time_end,omitempty"` // 入职日期-搜索范围结束 WorkLocationIdListIncludeSub []string `json:"work_location_id_list_include_sub,omitempty"` // 工作地点 ID 列表,查询属于该工作地点及下级工作地点的员工 PreferredEnglishFullNameList []string `json:"preferred_english_full_name_list,omitempty"` // 常用英文全名精确搜索 PreferredLocalFullNameList []string `json:"preferred_local_full_name_list,omitempty"` // 常用本地全名精确搜索 NationalIdNumberList []string `json:"national_id_number_list,omitempty"` // 居民身份证件号码精确搜索 PhoneNumberList []string `json:"phone_number_list,omitempty"` // 个人电话列表,精确匹配查询 EmailAddressList []string `json:"email_address_list,omitempty"` // 工作邮箱地址列表,精确匹配查询 DepartmentIdListIncludeSub []string `json:"department_id_list_include_sub,omitempty"` // 部门 ID 列表,查询属于该部门及下级部门的员工 }
type SearchEmployeeReqBodyBuilder ¶
type SearchEmployeeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchEmployeeReqBodyBuilder ¶
func NewSearchEmployeeReqBodyBuilder() *SearchEmployeeReqBodyBuilder
func (*SearchEmployeeReqBodyBuilder) Build ¶
func (builder *SearchEmployeeReqBodyBuilder) Build() *SearchEmployeeReqBody
func (*SearchEmployeeReqBodyBuilder) DepartmentIdList ¶
func (builder *SearchEmployeeReqBodyBuilder) DepartmentIdList(departmentIdList []string) *SearchEmployeeReqBodyBuilder
部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 ID
示例值:
func (*SearchEmployeeReqBodyBuilder) DepartmentIdListIncludeSub ¶
func (builder *SearchEmployeeReqBodyBuilder) DepartmentIdListIncludeSub(departmentIdListIncludeSub []string) *SearchEmployeeReqBodyBuilder
部门 ID 列表,查询属于该部门及下级部门的员工
示例值:
func (*SearchEmployeeReqBodyBuilder) DirectManagerIdList ¶
func (builder *SearchEmployeeReqBodyBuilder) DirectManagerIdList(directManagerIdList []string) *SearchEmployeeReqBodyBuilder
直接上级的雇佣 ID,根据员工主职的直接上级查询
示例值:7027024823985447820
func (*SearchEmployeeReqBodyBuilder) DottedLineManagerIdList ¶
func (builder *SearchEmployeeReqBodyBuilder) DottedLineManagerIdList(dottedLineManagerIdList []string) *SearchEmployeeReqBodyBuilder
虚线上级的雇佣 ID,根据员工主职的虚线上级查询
示例值:7027024823985117820
func (*SearchEmployeeReqBodyBuilder) EffectiveTimeEnd ¶
func (builder *SearchEmployeeReqBodyBuilder) EffectiveTimeEnd(effectiveTimeEnd string) *SearchEmployeeReqBodyBuilder
入职日期-搜索范围结束
示例值:2020-01-01
func (*SearchEmployeeReqBodyBuilder) EffectiveTimeStart ¶
func (builder *SearchEmployeeReqBodyBuilder) EffectiveTimeStart(effectiveTimeStart string) *SearchEmployeeReqBodyBuilder
入职日期-搜索范围开始,需要与搜索范围结束一同使用
示例值:2020-01-01
func (*SearchEmployeeReqBodyBuilder) EmailAddressList ¶
func (builder *SearchEmployeeReqBodyBuilder) EmailAddressList(emailAddressList []string) *SearchEmployeeReqBodyBuilder
工作邮箱地址列表,精确匹配查询
示例值:
func (*SearchEmployeeReqBodyBuilder) EmployeeNumberList ¶
func (builder *SearchEmployeeReqBodyBuilder) EmployeeNumberList(employeeNumberList []string) *SearchEmployeeReqBodyBuilder
工号列表
示例值:
func (*SearchEmployeeReqBodyBuilder) EmployeeTypeId ¶
func (builder *SearchEmployeeReqBodyBuilder) EmployeeTypeId(employeeTypeId string) *SearchEmployeeReqBodyBuilder
人员类型 ID
示例值:6971090097697521314
func (*SearchEmployeeReqBodyBuilder) EmploymentIdList ¶
func (builder *SearchEmployeeReqBodyBuilder) EmploymentIdList(employmentIdList []string) *SearchEmployeeReqBodyBuilder
雇佣 ID 列表
示例值:
func (*SearchEmployeeReqBodyBuilder) EmploymentStatus ¶
func (builder *SearchEmployeeReqBodyBuilder) EmploymentStatus(employmentStatus string) *SearchEmployeeReqBodyBuilder
雇佣状态
示例值:
func (*SearchEmployeeReqBodyBuilder) Fields ¶
func (builder *SearchEmployeeReqBodyBuilder) Fields(fields []string) *SearchEmployeeReqBodyBuilder
返回数据的字段列表,填写方式:为空时默认仅返回 ID
示例值:
func (*SearchEmployeeReqBodyBuilder) KeyWord ¶
func (builder *SearchEmployeeReqBodyBuilder) KeyWord(keyWord string) *SearchEmployeeReqBodyBuilder
搜索关键字,支持对邮箱、工号和姓名的模糊匹配
示例值:张三
func (*SearchEmployeeReqBodyBuilder) NationalIdNumberList ¶
func (builder *SearchEmployeeReqBodyBuilder) NationalIdNumberList(nationalIdNumberList []string) *SearchEmployeeReqBodyBuilder
居民身份证件号码精确搜索
示例值:
func (*SearchEmployeeReqBodyBuilder) PhoneNumber ¶
func (builder *SearchEmployeeReqBodyBuilder) PhoneNumber(phoneNumber string) *SearchEmployeeReqBodyBuilder
个人电话,精确匹配查询
示例值:16760342300
func (*SearchEmployeeReqBodyBuilder) PhoneNumberList ¶
func (builder *SearchEmployeeReqBodyBuilder) PhoneNumberList(phoneNumberList []string) *SearchEmployeeReqBodyBuilder
个人电话列表,精确匹配查询
示例值:
func (*SearchEmployeeReqBodyBuilder) PreferredEnglishFullNameList ¶
func (builder *SearchEmployeeReqBodyBuilder) PreferredEnglishFullNameList(preferredEnglishFullNameList []string) *SearchEmployeeReqBodyBuilder
常用英文全名精确搜索
示例值:
func (*SearchEmployeeReqBodyBuilder) PreferredLocalFullNameList ¶
func (builder *SearchEmployeeReqBodyBuilder) PreferredLocalFullNameList(preferredLocalFullNameList []string) *SearchEmployeeReqBodyBuilder
常用本地全名精确搜索
示例值:
func (*SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateEnd ¶
func (builder *SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateEnd(regularEmployeeStartDateEnd string) *SearchEmployeeReqBodyBuilder
转正式员工日期-搜索范围结束
示例值:2020-01-01
func (*SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateStart ¶
func (builder *SearchEmployeeReqBodyBuilder) RegularEmployeeStartDateStart(regularEmployeeStartDateStart string) *SearchEmployeeReqBodyBuilder
转正式员工日期-搜索范围开始
示例值:2020-01-01
func (*SearchEmployeeReqBodyBuilder) WorkEmail ¶
func (builder *SearchEmployeeReqBodyBuilder) WorkEmail(workEmail string) *SearchEmployeeReqBodyBuilder
邮箱,精确匹配查询
示例值:13312345678@qq.com
func (*SearchEmployeeReqBodyBuilder) WorkLocationIdListIncludeSub ¶
func (builder *SearchEmployeeReqBodyBuilder) WorkLocationIdListIncludeSub(workLocationIdListIncludeSub []string) *SearchEmployeeReqBodyBuilder
工作地点 ID 列表,查询属于该工作地点及下级工作地点的员工
示例值:
type SearchEmployeeReqBuilder ¶
type SearchEmployeeReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchEmployeeReqBuilder ¶
func NewSearchEmployeeReqBuilder() *SearchEmployeeReqBuilder
func (*SearchEmployeeReqBuilder) Body ¶
func (builder *SearchEmployeeReqBuilder) Body(body *SearchEmployeeReqBody) *SearchEmployeeReqBuilder
根据 email、工号、个人电话等条件查询员工雇佣信息以及个人基础信息
func (*SearchEmployeeReqBuilder) Build ¶
func (builder *SearchEmployeeReqBuilder) Build() *SearchEmployeeReq
func (*SearchEmployeeReqBuilder) DepartmentIdType ¶
func (builder *SearchEmployeeReqBuilder) DepartmentIdType(departmentIdType string) *SearchEmployeeReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*SearchEmployeeReqBuilder) Limit ¶
func (builder *SearchEmployeeReqBuilder) Limit(limit int) *SearchEmployeeReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchEmployeeReqBuilder) PageSize ¶
func (builder *SearchEmployeeReqBuilder) PageSize(pageSize int) *SearchEmployeeReqBuilder
分页大小,最大 100
示例值:100
func (*SearchEmployeeReqBuilder) PageToken ¶
func (builder *SearchEmployeeReqBuilder) PageToken(pageToken string) *SearchEmployeeReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchEmployeeReqBuilder) UserIdType ¶
func (builder *SearchEmployeeReqBuilder) UserIdType(userIdType string) *SearchEmployeeReqBuilder
用户 ID 类型
示例值:open_id
type SearchEmployeeResp ¶
type SearchEmployeeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchEmployeeRespData `json:"data"` // 业务数据 }
func (*SearchEmployeeResp) Success ¶
func (resp *SearchEmployeeResp) Success() bool
type SearchEmployeeRespData ¶
type SearchJobChangeIterator ¶
type SearchJobChangeIterator struct {
// contains filtered or unexported fields
}
func (*SearchJobChangeIterator) Next ¶
func (iterator *SearchJobChangeIterator) Next() (bool, *JobChange, error)
func (*SearchJobChangeIterator) NextPageToken ¶
func (iterator *SearchJobChangeIterator) NextPageToken() *string
type SearchJobChangePathReqBodyBuilder ¶
type SearchJobChangePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchJobChangePathReqBodyBuilder ¶
func NewSearchJobChangePathReqBodyBuilder() *SearchJobChangePathReqBodyBuilder
func (*SearchJobChangePathReqBodyBuilder) Build ¶
func (builder *SearchJobChangePathReqBodyBuilder) Build() (*SearchJobChangeReqBody, error)
func (*SearchJobChangePathReqBodyBuilder) EffectiveDateEnd ¶ added in v3.1.2
func (builder *SearchJobChangePathReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *SearchJobChangePathReqBodyBuilder
异动生效日期 - 搜索范围结束
示例值:2022-01-01
func (*SearchJobChangePathReqBodyBuilder) EffectiveDateStart ¶ added in v3.1.2
func (builder *SearchJobChangePathReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *SearchJobChangePathReqBodyBuilder
异动生效日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-01-01
func (*SearchJobChangePathReqBodyBuilder) EmploymentIds ¶
func (builder *SearchJobChangePathReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchJobChangePathReqBodyBuilder
雇员 ID 列表
示例值:
func (*SearchJobChangePathReqBodyBuilder) JobChangeIds ¶
func (builder *SearchJobChangePathReqBodyBuilder) JobChangeIds(jobChangeIds []string) *SearchJobChangePathReqBodyBuilder
异动记录 ID 列表
示例值:
func (*SearchJobChangePathReqBodyBuilder) Statuses ¶
func (builder *SearchJobChangePathReqBodyBuilder) Statuses(statuses []string) *SearchJobChangePathReqBodyBuilder
异动状态,多个状态之间为「或」的关系
示例值:Approved
func (*SearchJobChangePathReqBodyBuilder) UpdatedTimeEnd ¶ added in v3.2.1
func (builder *SearchJobChangePathReqBodyBuilder) UpdatedTimeEnd(updatedTimeEnd string) *SearchJobChangePathReqBodyBuilder
异动更新时间 - 搜索范围结束
示例值:1704084635000
func (*SearchJobChangePathReqBodyBuilder) UpdatedTimeStart ¶ added in v3.2.1
func (builder *SearchJobChangePathReqBodyBuilder) UpdatedTimeStart(updatedTimeStart string) *SearchJobChangePathReqBodyBuilder
异动更新时间 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:1704084635000
type SearchJobChangeReq ¶
type SearchJobChangeReq struct { Body *SearchJobChangeReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchJobChangeReqBody ¶
type SearchJobChangeReqBody struct { EmploymentIds []string `json:"employment_ids,omitempty"` // 雇员 ID 列表 JobChangeIds []string `json:"job_change_ids,omitempty"` // 异动记录 ID 列表 Statuses []string `json:"statuses,omitempty"` // 异动状态,多个状态之间为「或」的关系 EffectiveDateStart *string `json:"effective_date_start,omitempty"` // 异动生效日期 - 搜索范围开始,需要与搜索范围结束一同使用 EffectiveDateEnd *string `json:"effective_date_end,omitempty"` // 异动生效日期 - 搜索范围结束 UpdatedTimeStart *string `json:"updated_time_start,omitempty"` // 异动更新时间 - 搜索范围开始,需要与搜索范围结束一同使用 UpdatedTimeEnd *string `json:"updated_time_end,omitempty"` // 异动更新时间 - 搜索范围结束 }
type SearchJobChangeReqBodyBuilder ¶
type SearchJobChangeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchJobChangeReqBodyBuilder ¶
func NewSearchJobChangeReqBodyBuilder() *SearchJobChangeReqBodyBuilder
func (*SearchJobChangeReqBodyBuilder) Build ¶
func (builder *SearchJobChangeReqBodyBuilder) Build() *SearchJobChangeReqBody
func (*SearchJobChangeReqBodyBuilder) EffectiveDateEnd ¶ added in v3.1.2
func (builder *SearchJobChangeReqBodyBuilder) EffectiveDateEnd(effectiveDateEnd string) *SearchJobChangeReqBodyBuilder
异动生效日期 - 搜索范围结束
示例值:2022-01-01
func (*SearchJobChangeReqBodyBuilder) EffectiveDateStart ¶ added in v3.1.2
func (builder *SearchJobChangeReqBodyBuilder) EffectiveDateStart(effectiveDateStart string) *SearchJobChangeReqBodyBuilder
异动生效日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-01-01
func (*SearchJobChangeReqBodyBuilder) EmploymentIds ¶
func (builder *SearchJobChangeReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchJobChangeReqBodyBuilder
雇员 ID 列表
示例值:
func (*SearchJobChangeReqBodyBuilder) JobChangeIds ¶
func (builder *SearchJobChangeReqBodyBuilder) JobChangeIds(jobChangeIds []string) *SearchJobChangeReqBodyBuilder
异动记录 ID 列表
示例值:
func (*SearchJobChangeReqBodyBuilder) Statuses ¶
func (builder *SearchJobChangeReqBodyBuilder) Statuses(statuses []string) *SearchJobChangeReqBodyBuilder
异动状态,多个状态之间为「或」的关系
示例值:Approved
func (*SearchJobChangeReqBodyBuilder) UpdatedTimeEnd ¶ added in v3.2.1
func (builder *SearchJobChangeReqBodyBuilder) UpdatedTimeEnd(updatedTimeEnd string) *SearchJobChangeReqBodyBuilder
异动更新时间 - 搜索范围结束
示例值:1704084635000
func (*SearchJobChangeReqBodyBuilder) UpdatedTimeStart ¶ added in v3.2.1
func (builder *SearchJobChangeReqBodyBuilder) UpdatedTimeStart(updatedTimeStart string) *SearchJobChangeReqBodyBuilder
异动更新时间 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:1704084635000
type SearchJobChangeReqBuilder ¶
type SearchJobChangeReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchJobChangeReqBuilder ¶
func NewSearchJobChangeReqBuilder() *SearchJobChangeReqBuilder
func (*SearchJobChangeReqBuilder) Body ¶
func (builder *SearchJobChangeReqBuilder) Body(body *SearchJobChangeReqBody) *SearchJobChangeReqBuilder
获取员工异动列表
func (*SearchJobChangeReqBuilder) Build ¶
func (builder *SearchJobChangeReqBuilder) Build() *SearchJobChangeReq
func (*SearchJobChangeReqBuilder) DepartmentIdType ¶
func (builder *SearchJobChangeReqBuilder) DepartmentIdType(departmentIdType string) *SearchJobChangeReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*SearchJobChangeReqBuilder) Limit ¶
func (builder *SearchJobChangeReqBuilder) Limit(limit int) *SearchJobChangeReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchJobChangeReqBuilder) PageSize ¶
func (builder *SearchJobChangeReqBuilder) PageSize(pageSize int) *SearchJobChangeReqBuilder
分页大小,最大 100
示例值:100
func (*SearchJobChangeReqBuilder) PageToken ¶
func (builder *SearchJobChangeReqBuilder) PageToken(pageToken string) *SearchJobChangeReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchJobChangeReqBuilder) UserIdType ¶
func (builder *SearchJobChangeReqBuilder) UserIdType(userIdType string) *SearchJobChangeReqBuilder
用户 ID 类型
示例值:open_id
type SearchJobChangeResp ¶
type SearchJobChangeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchJobChangeRespData `json:"data"` // 业务数据 }
func (*SearchJobChangeResp) Success ¶
func (resp *SearchJobChangeResp) Success() bool
type SearchJobChangeRespData ¶
type SearchProbationIterator ¶
type SearchProbationIterator struct {
// contains filtered or unexported fields
}
func (*SearchProbationIterator) Next ¶
func (iterator *SearchProbationIterator) Next() (bool, *ProbationInfo, error)
func (*SearchProbationIterator) NextPageToken ¶
func (iterator *SearchProbationIterator) NextPageToken() *string
type SearchProbationPathReqBodyBuilder ¶
type SearchProbationPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchProbationPathReqBodyBuilder ¶
func NewSearchProbationPathReqBodyBuilder() *SearchProbationPathReqBodyBuilder
func (*SearchProbationPathReqBodyBuilder) ActualProbationEndDateEnd ¶
func (builder *SearchProbationPathReqBodyBuilder) ActualProbationEndDateEnd(actualProbationEndDateEnd string) *SearchProbationPathReqBodyBuilder
试用期实际结束日期 - 搜索范围结束
示例值:2022-09-20
func (*SearchProbationPathReqBodyBuilder) ActualProbationEndDateStart ¶
func (builder *SearchProbationPathReqBodyBuilder) ActualProbationEndDateStart(actualProbationEndDateStart string) *SearchProbationPathReqBodyBuilder
试用期实际结束日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-08-20
func (*SearchProbationPathReqBodyBuilder) Build ¶
func (builder *SearchProbationPathReqBodyBuilder) Build() (*SearchProbationReqBody, error)
func (*SearchProbationPathReqBodyBuilder) DepartmentIds ¶
func (builder *SearchProbationPathReqBodyBuilder) DepartmentIds(departmentIds []string) *SearchProbationPathReqBodyBuilder
部门 ID 列表
示例值:
func (*SearchProbationPathReqBodyBuilder) EmploymentIds ¶
func (builder *SearchProbationPathReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchProbationPathReqBodyBuilder
雇佣 ID 列表
示例值:
func (*SearchProbationPathReqBodyBuilder) FinalAssessmentGrade ¶
func (builder *SearchProbationPathReqBodyBuilder) FinalAssessmentGrade(finalAssessmentGrade string) *SearchProbationPathReqBodyBuilder
试用期最终考核等级
示例值:grade_a
func (*SearchProbationPathReqBodyBuilder) FinalAssessmentResult ¶
func (builder *SearchProbationPathReqBodyBuilder) FinalAssessmentResult(finalAssessmentResult string) *SearchProbationPathReqBodyBuilder
试用期最终考核结果
示例值:approved
func (*SearchProbationPathReqBodyBuilder) InitiatingTimeEnd ¶
func (builder *SearchProbationPathReqBodyBuilder) InitiatingTimeEnd(initiatingTimeEnd string) *SearchProbationPathReqBodyBuilder
转正发起日期 - 搜索范围结束
示例值:2022-11-20
func (*SearchProbationPathReqBodyBuilder) InitiatingTimeStart ¶
func (builder *SearchProbationPathReqBodyBuilder) InitiatingTimeStart(initiatingTimeStart string) *SearchProbationPathReqBodyBuilder
转正发起日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-10-20
func (*SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateEnd ¶
func (builder *SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateEnd(probationExpectedEndDateEnd string) *SearchProbationPathReqBodyBuilder
试用期预计结束日期 - 搜索范围结束
示例值:2022-07-20
func (*SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateStart ¶
func (builder *SearchProbationPathReqBodyBuilder) ProbationExpectedEndDateStart(probationExpectedEndDateStart string) *SearchProbationPathReqBodyBuilder
试用期预计结束日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-06-20
func (*SearchProbationPathReqBodyBuilder) ProbationStartDateEnd ¶
func (builder *SearchProbationPathReqBodyBuilder) ProbationStartDateEnd(probationStartDateEnd string) *SearchProbationPathReqBodyBuilder
试用期开始日期 - 搜索范围结束
示例值:2022-05-20
func (*SearchProbationPathReqBodyBuilder) ProbationStartDateStart ¶
func (builder *SearchProbationPathReqBodyBuilder) ProbationStartDateStart(probationStartDateStart string) *SearchProbationPathReqBodyBuilder
试用期开始日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-05-18
func (*SearchProbationPathReqBodyBuilder) ProbationStatus ¶
func (builder *SearchProbationPathReqBodyBuilder) ProbationStatus(probationStatus string) *SearchProbationPathReqBodyBuilder
试用期状态
示例值:approved
type SearchProbationReq ¶
type SearchProbationReq struct { Body *SearchProbationReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchProbationReqBody ¶
type SearchProbationReqBody struct { EmploymentIds []string `json:"employment_ids,omitempty"` // 雇佣 ID 列表 DepartmentIds []string `json:"department_ids,omitempty"` // 部门 ID 列表 ProbationStartDateStart *string `json:"probation_start_date_start,omitempty"` // 试用期开始日期 - 搜索范围开始,需要与搜索范围结束一同使用 ProbationStartDateEnd *string `json:"probation_start_date_end,omitempty"` // 试用期开始日期 - 搜索范围结束 ProbationExpectedEndDateStart *string `json:"probation_expected_end_date_start,omitempty"` // 试用期预计结束日期 - 搜索范围开始,需要与搜索范围结束一同使用 ProbationExpectedEndDateEnd *string `json:"probation_expected_end_date_end,omitempty"` // 试用期预计结束日期 - 搜索范围结束 ActualProbationEndDateStart *string `json:"actual_probation_end_date_start,omitempty"` // 试用期实际结束日期 - 搜索范围开始,需要与搜索范围结束一同使用 ActualProbationEndDateEnd *string `json:"actual_probation_end_date_end,omitempty"` // 试用期实际结束日期 - 搜索范围结束 InitiatingTimeStart *string `json:"initiating_time_start,omitempty"` // 转正发起日期 - 搜索范围开始,需要与搜索范围结束一同使用 InitiatingTimeEnd *string `json:"initiating_time_end,omitempty"` // 转正发起日期 - 搜索范围结束 ProbationStatus *string `json:"probation_status,omitempty"` // 试用期状态 FinalAssessmentResult *string `json:"final_assessment_result,omitempty"` // 试用期最终考核结果 FinalAssessmentGrade *string `json:"final_assessment_grade,omitempty"` // 试用期最终考核等级 }
type SearchProbationReqBodyBuilder ¶
type SearchProbationReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchProbationReqBodyBuilder ¶
func NewSearchProbationReqBodyBuilder() *SearchProbationReqBodyBuilder
func (*SearchProbationReqBodyBuilder) ActualProbationEndDateEnd ¶
func (builder *SearchProbationReqBodyBuilder) ActualProbationEndDateEnd(actualProbationEndDateEnd string) *SearchProbationReqBodyBuilder
试用期实际结束日期 - 搜索范围结束
示例值:2022-09-20
func (*SearchProbationReqBodyBuilder) ActualProbationEndDateStart ¶
func (builder *SearchProbationReqBodyBuilder) ActualProbationEndDateStart(actualProbationEndDateStart string) *SearchProbationReqBodyBuilder
试用期实际结束日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-08-20
func (*SearchProbationReqBodyBuilder) Build ¶
func (builder *SearchProbationReqBodyBuilder) Build() *SearchProbationReqBody
func (*SearchProbationReqBodyBuilder) DepartmentIds ¶
func (builder *SearchProbationReqBodyBuilder) DepartmentIds(departmentIds []string) *SearchProbationReqBodyBuilder
部门 ID 列表
示例值:
func (*SearchProbationReqBodyBuilder) EmploymentIds ¶
func (builder *SearchProbationReqBodyBuilder) EmploymentIds(employmentIds []string) *SearchProbationReqBodyBuilder
雇佣 ID 列表
示例值:
func (*SearchProbationReqBodyBuilder) FinalAssessmentGrade ¶
func (builder *SearchProbationReqBodyBuilder) FinalAssessmentGrade(finalAssessmentGrade string) *SearchProbationReqBodyBuilder
试用期最终考核等级
示例值:grade_a
func (*SearchProbationReqBodyBuilder) FinalAssessmentResult ¶
func (builder *SearchProbationReqBodyBuilder) FinalAssessmentResult(finalAssessmentResult string) *SearchProbationReqBodyBuilder
试用期最终考核结果
示例值:approved
func (*SearchProbationReqBodyBuilder) InitiatingTimeEnd ¶
func (builder *SearchProbationReqBodyBuilder) InitiatingTimeEnd(initiatingTimeEnd string) *SearchProbationReqBodyBuilder
转正发起日期 - 搜索范围结束
示例值:2022-11-20
func (*SearchProbationReqBodyBuilder) InitiatingTimeStart ¶
func (builder *SearchProbationReqBodyBuilder) InitiatingTimeStart(initiatingTimeStart string) *SearchProbationReqBodyBuilder
转正发起日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-10-20
func (*SearchProbationReqBodyBuilder) ProbationExpectedEndDateEnd ¶
func (builder *SearchProbationReqBodyBuilder) ProbationExpectedEndDateEnd(probationExpectedEndDateEnd string) *SearchProbationReqBodyBuilder
试用期预计结束日期 - 搜索范围结束
示例值:2022-07-20
func (*SearchProbationReqBodyBuilder) ProbationExpectedEndDateStart ¶
func (builder *SearchProbationReqBodyBuilder) ProbationExpectedEndDateStart(probationExpectedEndDateStart string) *SearchProbationReqBodyBuilder
试用期预计结束日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-06-20
func (*SearchProbationReqBodyBuilder) ProbationStartDateEnd ¶
func (builder *SearchProbationReqBodyBuilder) ProbationStartDateEnd(probationStartDateEnd string) *SearchProbationReqBodyBuilder
试用期开始日期 - 搜索范围结束
示例值:2022-05-20
func (*SearchProbationReqBodyBuilder) ProbationStartDateStart ¶
func (builder *SearchProbationReqBodyBuilder) ProbationStartDateStart(probationStartDateStart string) *SearchProbationReqBodyBuilder
试用期开始日期 - 搜索范围开始,需要与搜索范围结束一同使用
示例值:2022-05-18
func (*SearchProbationReqBodyBuilder) ProbationStatus ¶
func (builder *SearchProbationReqBodyBuilder) ProbationStatus(probationStatus string) *SearchProbationReqBodyBuilder
试用期状态
示例值:approved
type SearchProbationReqBuilder ¶
type SearchProbationReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchProbationReqBuilder ¶
func NewSearchProbationReqBuilder() *SearchProbationReqBuilder
func (*SearchProbationReqBuilder) Body ¶
func (builder *SearchProbationReqBuilder) Body(body *SearchProbationReqBody) *SearchProbationReqBuilder
func (*SearchProbationReqBuilder) Build ¶
func (builder *SearchProbationReqBuilder) Build() *SearchProbationReq
func (*SearchProbationReqBuilder) DepartmentIdType ¶
func (builder *SearchProbationReqBuilder) DepartmentIdType(departmentIdType string) *SearchProbationReqBuilder
此次调用中使用的部门 ID 类型
示例值:open_department_id
func (*SearchProbationReqBuilder) Limit ¶
func (builder *SearchProbationReqBuilder) Limit(limit int) *SearchProbationReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchProbationReqBuilder) PageSize ¶
func (builder *SearchProbationReqBuilder) PageSize(pageSize int) *SearchProbationReqBuilder
分页大小,最大 100
示例值:100
func (*SearchProbationReqBuilder) PageToken ¶
func (builder *SearchProbationReqBuilder) PageToken(pageToken string) *SearchProbationReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6891251722631890445
func (*SearchProbationReqBuilder) UserIdType ¶
func (builder *SearchProbationReqBuilder) UserIdType(userIdType string) *SearchProbationReqBuilder
用户 ID 类型
示例值:open_id
type SearchProbationResp ¶
type SearchProbationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchProbationRespData `json:"data"` // 业务数据 }
func (*SearchProbationResp) Success ¶
func (resp *SearchProbationResp) Success() bool
type SearchProbationRespData ¶
type SearchProbationRespData struct { Items []*ProbationInfo `json:"items,omitempty"` // 查询的试用期信息 PageToken *string `json:"page_token,omitempty"` // 下一页页码 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页 }
type SignatureFile ¶
type SignatureFile struct { SignatureFileId *string `json:"signature_file_id,omitempty"` // 电子签文件ID Names []*I18n `json:"names,omitempty"` // 名称 CreateTime *string `json:"create_time,omitempty"` // 创建时间 UpdateTime *string `json:"update_time,omitempty"` // 更新时间 EmploymentId *string `json:"employment_id,omitempty"` // 雇员 id SignatureFileState *Enum `json:"signature_file_state,omitempty"` // 电子签文件状态,枚举值可通过文档【飞书人事枚举常量】电子签文件状态(signature_file_state)枚举定义部分获得 ContractCode *string `json:"contract_code,omitempty"` // 供应商侧的合同编号,作为幂等key }
type SignatureFileBuilder ¶
type SignatureFileBuilder struct {
// contains filtered or unexported fields
}
func NewSignatureFileBuilder ¶
func NewSignatureFileBuilder() *SignatureFileBuilder
func (*SignatureFileBuilder) Build ¶
func (builder *SignatureFileBuilder) Build() *SignatureFile
func (*SignatureFileBuilder) ContractCode ¶
func (builder *SignatureFileBuilder) ContractCode(contractCode string) *SignatureFileBuilder
供应商侧的合同编号,作为幂等key
示例值:48793beea04f4e2583d50732e481d507
func (*SignatureFileBuilder) CreateTime ¶
func (builder *SignatureFileBuilder) CreateTime(createTime string) *SignatureFileBuilder
创建时间
示例值:2023-01-01 00:00:00
func (*SignatureFileBuilder) EmploymentId ¶
func (builder *SignatureFileBuilder) EmploymentId(employmentId string) *SignatureFileBuilder
雇员 id
示例值:ou_a294793e8fa21529f2a60e3e9de45520
func (*SignatureFileBuilder) Names ¶
func (builder *SignatureFileBuilder) Names(names []*I18n) *SignatureFileBuilder
名称
示例值:
func (*SignatureFileBuilder) SignatureFileId ¶
func (builder *SignatureFileBuilder) SignatureFileId(signatureFileId string) *SignatureFileBuilder
电子签文件ID
示例值:7147527056140813828
func (*SignatureFileBuilder) SignatureFileState ¶
func (builder *SignatureFileBuilder) SignatureFileState(signatureFileState *Enum) *SignatureFileBuilder
电子签文件状态,枚举值可通过文档【飞书人事枚举常量】电子签文件状态(signature_file_state)枚举定义部分获得
示例值:
func (*SignatureFileBuilder) UpdateTime ¶
func (builder *SignatureFileBuilder) UpdateTime(updateTime string) *SignatureFileBuilder
更新时间
示例值:2023-01-01 00:00:00
type TranferEmploymentInfo ¶
type TranferEmploymentInfo struct { RegularEmployeeStartDate *string `json:"regular_employee_start_date,omitempty"` // 转正式员工日期 SeniorityDate *string `json:"seniority_date,omitempty"` // 司龄起算日期 EmployeeNumber *string `json:"employee_number,omitempty"` // 员工编号 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type TranferEmploymentInfoBuilder ¶
type TranferEmploymentInfoBuilder struct {
// contains filtered or unexported fields
}
func NewTranferEmploymentInfoBuilder ¶
func NewTranferEmploymentInfoBuilder() *TranferEmploymentInfoBuilder
func (*TranferEmploymentInfoBuilder) Build ¶
func (builder *TranferEmploymentInfoBuilder) Build() *TranferEmploymentInfo
func (*TranferEmploymentInfoBuilder) CustomFields ¶
func (builder *TranferEmploymentInfoBuilder) CustomFields(customFields []*CustomFieldData) *TranferEmploymentInfoBuilder
自定义字段
示例值:
func (*TranferEmploymentInfoBuilder) EmployeeNumber ¶
func (builder *TranferEmploymentInfoBuilder) EmployeeNumber(employeeNumber string) *TranferEmploymentInfoBuilder
员工编号
示例值:1111111
func (*TranferEmploymentInfoBuilder) RegularEmployeeStartDate ¶
func (builder *TranferEmploymentInfoBuilder) RegularEmployeeStartDate(regularEmployeeStartDate string) *TranferEmploymentInfoBuilder
转正式员工日期
示例值:2023-01-01
func (*TranferEmploymentInfoBuilder) SeniorityDate ¶
func (builder *TranferEmploymentInfoBuilder) SeniorityDate(seniorityDate string) *TranferEmploymentInfoBuilder
司龄起算日期
示例值:2023-01-01
type TransferInfo ¶
type TransferInfo struct { Remark *string `json:"remark,omitempty"` // 备注 OfferInfo *string `json:"offer_info,omitempty"` // offer信息 TargetDottedManagerClean *bool `json:"target_dotted_manager_clean,omitempty"` // 是否撤销虚线上级 ProbationExist *bool `json:"probation_exist,omitempty"` // 是否有试用期 OriginalDepartment *string `json:"original_department,omitempty"` // 原部门 TargetDepartment *string `json:"target_department,omitempty"` // 新部门 OriginalWorkLocation *string `json:"original_work_location,omitempty"` // 原工作地点 TargetWorkLocation *string `json:"target_work_location,omitempty"` // 新工作地点 OriginalDirectManager *string `json:"original_direct_manager,omitempty"` // 原直属上级 TargetDirectManager *string `json:"target_direct_manager,omitempty"` // 新直属上级 OriginalDottedManager *string `json:"original_dotted_manager,omitempty"` // 原虚线上级 TargetDottedManager *string `json:"target_dotted_manager,omitempty"` // 新虚线上级 OriginalJob *string `json:"original_job,omitempty"` // 原职务 TargetJob *string `json:"target_job,omitempty"` // 新职务 OriginalJobFamily *string `json:"original_job_family,omitempty"` // 原序列 TargetJobFamily *string `json:"target_job_family,omitempty"` // 新序列 OriginalJobLevel *string `json:"original_job_level,omitempty"` // 原级别 TargetJobLevel *string `json:"target_job_level,omitempty"` // 新级别 OriginalWorkforceType *string `json:"original_workforce_type,omitempty"` // 原人员类型 TargetWorkforceType *string `json:"target_workforce_type,omitempty"` // 新人员类型 OriginalCompany *string `json:"original_company,omitempty"` // 原公司 TargetCompany *string `json:"target_company,omitempty"` // 新公司 OriginalContractNumber *string `json:"original_contract_number,omitempty"` // 原合同编号 TargetContractNumber *string `json:"target_contract_number,omitempty"` // 新合同编号 OriginalContractType *string `json:"original_contract_type,omitempty"` // 原合同类型 TargetContractType *string `json:"target_contract_type,omitempty"` // 新合同类型 OriginalDurationType *string `json:"original_duration_type,omitempty"` // 原期限类型 TargetDurationType *string `json:"target_duration_type,omitempty"` // 新期限类型 OriginalSigningType *string `json:"original_signing_type,omitempty"` // 原签订类型 TargetSigningType *string `json:"target_signing_type,omitempty"` // 新签订类型 OriginalContractStartDate *string `json:"original_contract_start_date,omitempty"` // 原合同开始日期 TargetContractStartDate *string `json:"target_contract_start_date,omitempty"` // 新合同开始日期 OriginalContractEndDate *string `json:"original_contract_end_date,omitempty"` // 原合同结束日期 TargetContractEndDate *string `json:"target_contract_end_date,omitempty"` // 新合同结束日期 OriginalWorkingHoursType *string `json:"original_working_hours_type,omitempty"` // 原工时制度 TargetWorkingHoursType *string `json:"target_working_hours_type,omitempty"` // 新工时制度 OriginalWorkingCalendar *string `json:"original_working_calendar,omitempty"` // 原工作日历 TargetWorkingCalendar *string `json:"target_working_calendar,omitempty"` // 新工作日历 OriginalProbationEndDate *string `json:"original_probation_end_date,omitempty"` // 原试用期预计结束日期 TargetProbationEndDate *string `json:"target_probation_end_date,omitempty"` // 新试用期预计结束日期 OriginalWeeklyWorkingHours *string `json:"original_weekly_working_hours,omitempty"` // 原周工作时长 TargetWeeklyWorkingHours *string `json:"target_weekly_working_hours,omitempty"` // 新周工作时长 OriginalWorkShift *string `json:"original_work_shift,omitempty"` // 原排班 TargetWorkShift *string `json:"target_work_shift,omitempty"` // 新排班 OriginalCostCenterRate []*JobDataCostCenter `json:"original_cost_center_rate,omitempty"` // 原成本中心分摊方式 TargetCostCenterRate []*JobDataCostCenter `json:"target_cost_center_rate,omitempty"` // 新成本中心分摊方式 OriginalEmploymentChange *TranferEmploymentInfo `json:"original_employment_change,omitempty"` // 原工作信息 TargetEmploymentChange *TranferEmploymentInfo `json:"target_employment_change,omitempty"` // 新工作信息 OriginalJobGrade *string `json:"original_job_grade,omitempty"` // 原职等 TargetJobGrade *string `json:"target_job_grade,omitempty"` // 新职等 }
type TransferInfoBuilder ¶
type TransferInfoBuilder struct {
// contains filtered or unexported fields
}
func NewTransferInfoBuilder ¶
func NewTransferInfoBuilder() *TransferInfoBuilder
func (*TransferInfoBuilder) Build ¶
func (builder *TransferInfoBuilder) Build() *TransferInfo
func (*TransferInfoBuilder) OfferInfo ¶
func (builder *TransferInfoBuilder) OfferInfo(offerInfo string) *TransferInfoBuilder
offer信息
示例值:优质人才,加急处理
func (*TransferInfoBuilder) OriginalCompany ¶
func (builder *TransferInfoBuilder) OriginalCompany(originalCompany string) *TransferInfoBuilder
原公司
示例值:6974659700705068581
func (*TransferInfoBuilder) OriginalContractEndDate ¶
func (builder *TransferInfoBuilder) OriginalContractEndDate(originalContractEndDate string) *TransferInfoBuilder
原合同结束日期
示例值:2024-07-01
func (*TransferInfoBuilder) OriginalContractNumber ¶
func (builder *TransferInfoBuilder) OriginalContractNumber(originalContractNumber string) *TransferInfoBuilder
原合同编号
示例值:55332
func (*TransferInfoBuilder) OriginalContractStartDate ¶
func (builder *TransferInfoBuilder) OriginalContractStartDate(originalContractStartDate string) *TransferInfoBuilder
原合同开始日期
示例值:2021-07-01
func (*TransferInfoBuilder) OriginalContractType ¶
func (builder *TransferInfoBuilder) OriginalContractType(originalContractType string) *TransferInfoBuilder
原合同类型
示例值:labor_contract
func (*TransferInfoBuilder) OriginalCostCenterRate ¶
func (builder *TransferInfoBuilder) OriginalCostCenterRate(originalCostCenterRate []*JobDataCostCenter) *TransferInfoBuilder
原成本中心分摊方式
示例值:
func (*TransferInfoBuilder) OriginalDepartment ¶
func (builder *TransferInfoBuilder) OriginalDepartment(originalDepartment string) *TransferInfoBuilder
原部门
示例值:6966236933198579208
func (*TransferInfoBuilder) OriginalDirectManager ¶
func (builder *TransferInfoBuilder) OriginalDirectManager(originalDirectManager string) *TransferInfoBuilder
原直属上级
示例值:6974641477444060708
func (*TransferInfoBuilder) OriginalDottedManager ¶
func (builder *TransferInfoBuilder) OriginalDottedManager(originalDottedManager string) *TransferInfoBuilder
原虚线上级
示例值:6974648866876573198
func (*TransferInfoBuilder) OriginalDurationType ¶
func (builder *TransferInfoBuilder) OriginalDurationType(originalDurationType string) *TransferInfoBuilder
原期限类型
示例值:fixed_term
func (*TransferInfoBuilder) OriginalEmploymentChange ¶
func (builder *TransferInfoBuilder) OriginalEmploymentChange(originalEmploymentChange *TranferEmploymentInfo) *TransferInfoBuilder
原工作信息
示例值:
func (*TransferInfoBuilder) OriginalJob ¶
func (builder *TransferInfoBuilder) OriginalJob(originalJob string) *TransferInfoBuilder
原职务
示例值:6969469398088287751
func (*TransferInfoBuilder) OriginalJobFamily ¶
func (builder *TransferInfoBuilder) OriginalJobFamily(originalJobFamily string) *TransferInfoBuilder
原序列
示例值:6967287547462419975
func (*TransferInfoBuilder) OriginalJobGrade ¶
func (builder *TransferInfoBuilder) OriginalJobGrade(originalJobGrade string) *TransferInfoBuilder
原职等
示例值:7289005963599693366
func (*TransferInfoBuilder) OriginalJobLevel ¶
func (builder *TransferInfoBuilder) OriginalJobLevel(originalJobLevel string) *TransferInfoBuilder
原级别
示例值:6972085707674355214
func (*TransferInfoBuilder) OriginalProbationEndDate ¶
func (builder *TransferInfoBuilder) OriginalProbationEndDate(originalProbationEndDate string) *TransferInfoBuilder
原试用期预计结束日期
示例值:2021-11-17
func (*TransferInfoBuilder) OriginalSigningType ¶
func (builder *TransferInfoBuilder) OriginalSigningType(originalSigningType string) *TransferInfoBuilder
原签订类型
示例值:new
func (*TransferInfoBuilder) OriginalWeeklyWorkingHours ¶
func (builder *TransferInfoBuilder) OriginalWeeklyWorkingHours(originalWeeklyWorkingHours string) *TransferInfoBuilder
原周工作时长
示例值:162
func (*TransferInfoBuilder) OriginalWorkLocation ¶
func (builder *TransferInfoBuilder) OriginalWorkLocation(originalWorkLocation string) *TransferInfoBuilder
原工作地点
示例值:6967271100992587295
func (*TransferInfoBuilder) OriginalWorkShift ¶
func (builder *TransferInfoBuilder) OriginalWorkShift(originalWorkShift string) *TransferInfoBuilder
原排班
示例值:work_shift
func (*TransferInfoBuilder) OriginalWorkforceType ¶
func (builder *TransferInfoBuilder) OriginalWorkforceType(originalWorkforceType string) *TransferInfoBuilder
原人员类型
示例值:6968386026792289828
func (*TransferInfoBuilder) OriginalWorkingCalendar ¶
func (builder *TransferInfoBuilder) OriginalWorkingCalendar(originalWorkingCalendar string) *TransferInfoBuilder
原工作日历
示例值:6969087376740236087
func (*TransferInfoBuilder) OriginalWorkingHoursType ¶
func (builder *TransferInfoBuilder) OriginalWorkingHoursType(originalWorkingHoursType string) *TransferInfoBuilder
原工时制度
示例值:6969087376740206087
func (*TransferInfoBuilder) ProbationExist ¶
func (builder *TransferInfoBuilder) ProbationExist(probationExist bool) *TransferInfoBuilder
是否有试用期
示例值:false
func (*TransferInfoBuilder) Remark ¶
func (builder *TransferInfoBuilder) Remark(remark string) *TransferInfoBuilder
备注
示例值:异动详情
func (*TransferInfoBuilder) TargetCompany ¶
func (builder *TransferInfoBuilder) TargetCompany(targetCompany string) *TransferInfoBuilder
新公司
示例值:6974659700705068581
func (*TransferInfoBuilder) TargetContractEndDate ¶
func (builder *TransferInfoBuilder) TargetContractEndDate(targetContractEndDate string) *TransferInfoBuilder
新合同结束日期
示例值:2024-07-01
func (*TransferInfoBuilder) TargetContractNumber ¶
func (builder *TransferInfoBuilder) TargetContractNumber(targetContractNumber string) *TransferInfoBuilder
新合同编号
示例值:55333
func (*TransferInfoBuilder) TargetContractStartDate ¶
func (builder *TransferInfoBuilder) TargetContractStartDate(targetContractStartDate string) *TransferInfoBuilder
新合同开始日期
示例值:2021-07-01
func (*TransferInfoBuilder) TargetContractType ¶
func (builder *TransferInfoBuilder) TargetContractType(targetContractType string) *TransferInfoBuilder
新合同类型
示例值:labor_contract
func (*TransferInfoBuilder) TargetCostCenterRate ¶
func (builder *TransferInfoBuilder) TargetCostCenterRate(targetCostCenterRate []*JobDataCostCenter) *TransferInfoBuilder
新成本中心分摊方式
示例值:
func (*TransferInfoBuilder) TargetDepartment ¶
func (builder *TransferInfoBuilder) TargetDepartment(targetDepartment string) *TransferInfoBuilder
新部门
示例值:6966236933198579208
func (*TransferInfoBuilder) TargetDirectManager ¶
func (builder *TransferInfoBuilder) TargetDirectManager(targetDirectManager string) *TransferInfoBuilder
新直属上级
示例值:7013619729281713671
func (*TransferInfoBuilder) TargetDottedManager ¶
func (builder *TransferInfoBuilder) TargetDottedManager(targetDottedManager string) *TransferInfoBuilder
新虚线上级
示例值:7013328578351842852
func (*TransferInfoBuilder) TargetDottedManagerClean ¶
func (builder *TransferInfoBuilder) TargetDottedManagerClean(targetDottedManagerClean bool) *TransferInfoBuilder
是否撤销虚线上级
示例值:true
func (*TransferInfoBuilder) TargetDurationType ¶
func (builder *TransferInfoBuilder) TargetDurationType(targetDurationType string) *TransferInfoBuilder
新期限类型
示例值:fixed_term
func (*TransferInfoBuilder) TargetEmploymentChange ¶
func (builder *TransferInfoBuilder) TargetEmploymentChange(targetEmploymentChange *TranferEmploymentInfo) *TransferInfoBuilder
新工作信息
示例值:
func (*TransferInfoBuilder) TargetJob ¶
func (builder *TransferInfoBuilder) TargetJob(targetJob string) *TransferInfoBuilder
新职务
示例值:6969469557836760606
func (*TransferInfoBuilder) TargetJobFamily ¶
func (builder *TransferInfoBuilder) TargetJobFamily(targetJobFamily string) *TransferInfoBuilder
新序列
示例值:6967287547462419975
func (*TransferInfoBuilder) TargetJobGrade ¶
func (builder *TransferInfoBuilder) TargetJobGrade(targetJobGrade string) *TransferInfoBuilder
新职等
示例值:7289005963599693366
func (*TransferInfoBuilder) TargetJobLevel ¶
func (builder *TransferInfoBuilder) TargetJobLevel(targetJobLevel string) *TransferInfoBuilder
新级别
示例值:6972085707674355214
func (*TransferInfoBuilder) TargetProbationEndDate ¶
func (builder *TransferInfoBuilder) TargetProbationEndDate(targetProbationEndDate string) *TransferInfoBuilder
新试用期预计结束日期
示例值:2021-11-17
func (*TransferInfoBuilder) TargetSigningType ¶
func (builder *TransferInfoBuilder) TargetSigningType(targetSigningType string) *TransferInfoBuilder
新签订类型
示例值:new
func (*TransferInfoBuilder) TargetWeeklyWorkingHours ¶
func (builder *TransferInfoBuilder) TargetWeeklyWorkingHours(targetWeeklyWorkingHours string) *TransferInfoBuilder
新周工作时长
示例值:160
func (*TransferInfoBuilder) TargetWorkLocation ¶
func (builder *TransferInfoBuilder) TargetWorkLocation(targetWorkLocation string) *TransferInfoBuilder
新工作地点
示例值:6967271100992587295
func (*TransferInfoBuilder) TargetWorkShift ¶
func (builder *TransferInfoBuilder) TargetWorkShift(targetWorkShift string) *TransferInfoBuilder
新排班
示例值:non_work_shift
func (*TransferInfoBuilder) TargetWorkforceType ¶
func (builder *TransferInfoBuilder) TargetWorkforceType(targetWorkforceType string) *TransferInfoBuilder
新人员类型
示例值:7036268995372303885
func (*TransferInfoBuilder) TargetWorkingCalendar ¶
func (builder *TransferInfoBuilder) TargetWorkingCalendar(targetWorkingCalendar string) *TransferInfoBuilder
新工作日历
示例值:6969087376740236087
func (*TransferInfoBuilder) TargetWorkingHoursType ¶
func (builder *TransferInfoBuilder) TargetWorkingHoursType(targetWorkingHoursType string) *TransferInfoBuilder
新工时制度
示例值:6969087376740206087
type UserContact ¶
type UserContactBuilder ¶
type UserContactBuilder struct {
// contains filtered or unexported fields
}
func NewUserContactBuilder ¶
func NewUserContactBuilder() *UserContactBuilder
func (*UserContactBuilder) Build ¶
func (builder *UserContactBuilder) Build() *UserContact
func (*UserContactBuilder) Mobile ¶
func (builder *UserContactBuilder) Mobile(mobile string) *UserContactBuilder
手机号
示例值:13011111111
func (*UserContactBuilder) UserIds ¶
func (builder *UserContactBuilder) UserIds(userIds []string) *UserContactBuilder
手机号对应的在离职员工id列表
示例值:
type UserInfo ¶
type UserInfo struct { UserId *string `json:"user_id,omitempty"` // 员工id Name *string `json:"name,omitempty"` // 用户默认名 ZhName *string `json:"zh_name,omitempty"` // 中文名 EnName *string `json:"en_name,omitempty"` // 英文名 Mobile *string `json:"mobile,omitempty"` // 手机号 EmployeeNo *string `json:"employee_no,omitempty"` // 员工工号 Email *string `json:"email,omitempty"` // 邮箱 IsResigned *bool `json:"is_resigned,omitempty"` // 用户是否离职 ResignTime *string `json:"resign_time,omitempty"` // 离职时间,时间戳格式,表示从1970年1月1日开始所经过的秒数 ResignDate *string `json:"resign_date,omitempty"` // 离职日期 }
type UserInfoBuilder ¶
type UserInfoBuilder struct {
// contains filtered or unexported fields
}
func NewUserInfoBuilder ¶
func NewUserInfoBuilder() *UserInfoBuilder
func (*UserInfoBuilder) Build ¶
func (builder *UserInfoBuilder) Build() *UserInfo
func (*UserInfoBuilder) Email ¶
func (builder *UserInfoBuilder) Email(email string) *UserInfoBuilder
邮箱
示例值:zhangsan@gmail.com
func (*UserInfoBuilder) EmployeeNo ¶
func (builder *UserInfoBuilder) EmployeeNo(employeeNo string) *UserInfoBuilder
员工工号
示例值:1
func (*UserInfoBuilder) EnName ¶
func (builder *UserInfoBuilder) EnName(enName string) *UserInfoBuilder
英文名
示例值:zhang san
func (*UserInfoBuilder) IsResigned ¶
func (builder *UserInfoBuilder) IsResigned(isResigned bool) *UserInfoBuilder
用户是否离职
示例值:true
func (*UserInfoBuilder) Mobile ¶
func (builder *UserInfoBuilder) Mobile(mobile string) *UserInfoBuilder
手机号
示例值:13011111111
func (*UserInfoBuilder) Name ¶
func (builder *UserInfoBuilder) Name(name string) *UserInfoBuilder
用户默认名
示例值:张三
func (*UserInfoBuilder) ResignDate ¶
func (builder *UserInfoBuilder) ResignDate(resignDate string) *UserInfoBuilder
离职日期
示例值:2023-01-01
func (*UserInfoBuilder) ResignTime ¶
func (builder *UserInfoBuilder) ResignTime(resignTime string) *UserInfoBuilder
离职时间,时间戳格式,表示从1970年1月1日开始所经过的秒数
示例值:1672502400
func (*UserInfoBuilder) UserId ¶
func (builder *UserInfoBuilder) UserId(userId string) *UserInfoBuilder
员工id
示例值:3e3cf96b
func (*UserInfoBuilder) ZhName ¶
func (builder *UserInfoBuilder) ZhName(zhName string) *UserInfoBuilder
中文名
示例值:张三
type V2 ¶
type V2 struct { BasicInfoBank *basicInfoBank // basic_info.bank BasicInfoBankBranch *basicInfoBankBranch // basic_info.bank_branch BasicInfoCity *basicInfoCity // basic_info.city BasicInfoCountryRegion *basicInfoCountryRegion // basic_info.country_region BasicInfoCountryRegionSubdivision *basicInfoCountryRegionSubdivision // basic_info.country_region_subdivision BasicInfoCurrency *basicInfoCurrency // basic_info.currency BasicInfoDistrict *basicInfoDistrict // basic_info.district BasicInfoNationality *basicInfoNationality // basic_info.nationality Bp *bp // bp Company *company // company Contract *contract // contract CostCenter *costCenter // cost_center CostCenterVersion *costCenterVersion // cost_center.version Department *department // department Employee *employee // employee EmployeesBp *employeesBp // employees.bp EmployeesJobData *employeesJobData // employees.job_data Job *job // job JobChange *jobChange // job_change JobFamily *jobFamily // job_family JobLevel *jobLevel // job_level Location *location // location Person *person // person PreHire *preHire // 待入职 Probation *probation // probation ProbationAssessment *probationAssessment // probation.assessment Process *process // process ProcessApprover *processApprover // process.approver ProcessCc *processCc // process.cc }
type WorkEmailBuilder ¶
type WorkEmailBuilder struct {
// contains filtered or unexported fields
}
func NewWorkEmailBuilder ¶
func NewWorkEmailBuilder() *WorkEmailBuilder
func (*WorkEmailBuilder) Build ¶
func (builder *WorkEmailBuilder) Build() *WorkEmail
func (*WorkEmailBuilder) Email ¶
func (builder *WorkEmailBuilder) Email(email string) *WorkEmailBuilder
邮箱地址
示例值:1234567@bytedance.com
func (*WorkEmailBuilder) EmailUsage ¶
func (builder *WorkEmailBuilder) EmailUsage(emailUsage *Enum) *WorkEmailBuilder
邮箱用途,枚举值可通过文档【飞书人事枚举常量】邮箱用途(email_usage)枚举定义获得
示例值:
type WorkExperience ¶
type WorkExperience struct { CompanyName *string `json:"company_name,omitempty"` // 公司名称 StartTime *string `json:"start_time,omitempty"` // 开始时间 EndTime *string `json:"end_time,omitempty"` // 结束时间 JobTitle *string `json:"job_title,omitempty"` // 岗位 Description *string `json:"description,omitempty"` // 工作描述 }
type WorkExperienceBuilder ¶
type WorkExperienceBuilder struct {
// contains filtered or unexported fields
}
func NewWorkExperienceBuilder ¶
func NewWorkExperienceBuilder() *WorkExperienceBuilder
func (*WorkExperienceBuilder) Build ¶
func (builder *WorkExperienceBuilder) Build() *WorkExperience
func (*WorkExperienceBuilder) CompanyName ¶
func (builder *WorkExperienceBuilder) CompanyName(companyName string) *WorkExperienceBuilder
公司名称
示例值:猎豹
func (*WorkExperienceBuilder) Description ¶
func (builder *WorkExperienceBuilder) Description(description string) *WorkExperienceBuilder
工作描述
示例值:app
func (*WorkExperienceBuilder) EndTime ¶
func (builder *WorkExperienceBuilder) EndTime(endTime string) *WorkExperienceBuilder
结束时间
示例值:2017-02-01
func (*WorkExperienceBuilder) JobTitle ¶
func (builder *WorkExperienceBuilder) JobTitle(jobTitle string) *WorkExperienceBuilder
岗位
示例值:产品经理
func (*WorkExperienceBuilder) StartTime ¶
func (builder *WorkExperienceBuilder) StartTime(startTime string) *WorkExperienceBuilder
开始时间
示例值:2015-02-01
type WorkExperienceInfo ¶
type WorkExperienceInfo struct { CompanyOrganization []*I18n `json:"company_organization,omitempty"` // 公司 / 组织 Department []*I18n `json:"department,omitempty"` // 部门 Job []*I18n `json:"job,omitempty"` // 岗位 Description []*I18n `json:"description,omitempty"` // 工作描述 StartDate *string `json:"start_date,omitempty"` // 开始日期 EndDate *string `json:"end_date,omitempty"` // 结束日期 CustomFields []*CustomFieldData `json:"custom_fields,omitempty"` // 自定义字段 }
type WorkExperienceInfoBuilder ¶
type WorkExperienceInfoBuilder struct {
// contains filtered or unexported fields
}
func NewWorkExperienceInfoBuilder ¶
func NewWorkExperienceInfoBuilder() *WorkExperienceInfoBuilder
func (*WorkExperienceInfoBuilder) Build ¶
func (builder *WorkExperienceInfoBuilder) Build() *WorkExperienceInfo
func (*WorkExperienceInfoBuilder) CompanyOrganization ¶
func (builder *WorkExperienceInfoBuilder) CompanyOrganization(companyOrganization []*I18n) *WorkExperienceInfoBuilder
公司 / 组织
示例值:
func (*WorkExperienceInfoBuilder) CustomFields ¶
func (builder *WorkExperienceInfoBuilder) CustomFields(customFields []*CustomFieldData) *WorkExperienceInfoBuilder
自定义字段
示例值:
func (*WorkExperienceInfoBuilder) Department ¶
func (builder *WorkExperienceInfoBuilder) Department(department []*I18n) *WorkExperienceInfoBuilder
部门
示例值:
func (*WorkExperienceInfoBuilder) Description ¶
func (builder *WorkExperienceInfoBuilder) Description(description []*I18n) *WorkExperienceInfoBuilder
工作描述
示例值:
func (*WorkExperienceInfoBuilder) EndDate ¶
func (builder *WorkExperienceInfoBuilder) EndDate(endDate string) *WorkExperienceInfoBuilder
结束日期
示例值:2020-01-01
func (*WorkExperienceInfoBuilder) Job ¶
func (builder *WorkExperienceInfoBuilder) Job(job []*I18n) *WorkExperienceInfoBuilder
岗位
示例值:
func (*WorkExperienceInfoBuilder) StartDate ¶
func (builder *WorkExperienceInfoBuilder) StartDate(startDate string) *WorkExperienceInfoBuilder
开始日期
示例值:2020-01-01
type WorkforcePlan ¶
type WorkforcePlan struct { WorkforcePlanId *string `json:"workforce_plan_id,omitempty"` // 编制规划方案 ID WorkforcePlanName []*I18n `json:"workforce_plan_name,omitempty"` // 编制规划方案名称 StartDate *string `json:"start_date,omitempty"` // 开始日期 EndDate *string `json:"end_date,omitempty"` // 结束日期 Active *bool `json:"active,omitempty"` // 是否启用 }
type WorkforcePlanBuilder ¶
type WorkforcePlanBuilder struct {
// contains filtered or unexported fields
}
func NewWorkforcePlanBuilder ¶
func NewWorkforcePlanBuilder() *WorkforcePlanBuilder
func (*WorkforcePlanBuilder) Active ¶
func (builder *WorkforcePlanBuilder) Active(active bool) *WorkforcePlanBuilder
是否启用
示例值:true
func (*WorkforcePlanBuilder) Build ¶
func (builder *WorkforcePlanBuilder) Build() *WorkforcePlan
func (*WorkforcePlanBuilder) EndDate ¶
func (builder *WorkforcePlanBuilder) EndDate(endDate string) *WorkforcePlanBuilder
结束日期
示例值:"2020-10-31"
func (*WorkforcePlanBuilder) StartDate ¶
func (builder *WorkforcePlanBuilder) StartDate(startDate string) *WorkforcePlanBuilder
开始日期
示例值:"2020-10-01"
func (*WorkforcePlanBuilder) WorkforcePlanId ¶
func (builder *WorkforcePlanBuilder) WorkforcePlanId(workforcePlanId string) *WorkforcePlanBuilder
编制规划方案 ID
示例值:"123456"
func (*WorkforcePlanBuilder) WorkforcePlanName ¶
func (builder *WorkforcePlanBuilder) WorkforcePlanName(workforcePlanName []*I18n) *WorkforcePlanBuilder
编制规划方案名称
示例值:
type WorkforcePlanDetail ¶
type WorkforcePlanDetail struct { WorkforcePlanDetailId *string `json:"workforce_plan_detail_id,omitempty"` // 编制规划明细 ID Department *DimensionInfo `json:"department,omitempty"` // 部门信息 EmployeeType *DimensionInfo `json:"employee_type,omitempty"` // 人员类型信息 WorkLocation *DimensionInfo `json:"work_location,omitempty"` // 工作地点信息 JobFamily *DimensionInfo `json:"job_family,omitempty"` // 序列信息 JobLevel *DimensionInfo `json:"job_level,omitempty"` // 职级信息 Job *DimensionInfo `json:"job,omitempty"` // 职务信息 CostCenter *DimensionInfo `json:"cost_center,omitempty"` // 成本中心信息 WorkforcePlan *string `json:"workforce_plan,omitempty"` // 编制规划值 EstimatedActiveIndividualsDetail []*WorkforcePlanEaiDetail `json:"estimated_active_individuals_detail,omitempty"` // 预估在职人数明细 }
type WorkforcePlanDetailBuilder ¶
type WorkforcePlanDetailBuilder struct {
// contains filtered or unexported fields
}
func NewWorkforcePlanDetailBuilder ¶
func NewWorkforcePlanDetailBuilder() *WorkforcePlanDetailBuilder
func (*WorkforcePlanDetailBuilder) Build ¶
func (builder *WorkforcePlanDetailBuilder) Build() *WorkforcePlanDetail
func (*WorkforcePlanDetailBuilder) CostCenter ¶
func (builder *WorkforcePlanDetailBuilder) CostCenter(costCenter *DimensionInfo) *WorkforcePlanDetailBuilder
成本中心信息
示例值:
func (*WorkforcePlanDetailBuilder) Department ¶
func (builder *WorkforcePlanDetailBuilder) Department(department *DimensionInfo) *WorkforcePlanDetailBuilder
部门信息
示例值:
func (*WorkforcePlanDetailBuilder) EmployeeType ¶
func (builder *WorkforcePlanDetailBuilder) EmployeeType(employeeType *DimensionInfo) *WorkforcePlanDetailBuilder
人员类型信息
示例值:
func (*WorkforcePlanDetailBuilder) EstimatedActiveIndividualsDetail ¶
func (builder *WorkforcePlanDetailBuilder) EstimatedActiveIndividualsDetail(estimatedActiveIndividualsDetail []*WorkforcePlanEaiDetail) *WorkforcePlanDetailBuilder
预估在职人数明细
示例值:
func (*WorkforcePlanDetailBuilder) Job ¶
func (builder *WorkforcePlanDetailBuilder) Job(job *DimensionInfo) *WorkforcePlanDetailBuilder
职务信息
示例值:
func (*WorkforcePlanDetailBuilder) JobFamily ¶
func (builder *WorkforcePlanDetailBuilder) JobFamily(jobFamily *DimensionInfo) *WorkforcePlanDetailBuilder
序列信息
示例值:
func (*WorkforcePlanDetailBuilder) JobLevel ¶
func (builder *WorkforcePlanDetailBuilder) JobLevel(jobLevel *DimensionInfo) *WorkforcePlanDetailBuilder
职级信息
示例值:
func (*WorkforcePlanDetailBuilder) WorkLocation ¶
func (builder *WorkforcePlanDetailBuilder) WorkLocation(workLocation *DimensionInfo) *WorkforcePlanDetailBuilder
工作地点信息
示例值:
func (*WorkforcePlanDetailBuilder) WorkforcePlan ¶
func (builder *WorkforcePlanDetailBuilder) WorkforcePlan(workforcePlan string) *WorkforcePlanDetailBuilder
编制规划值
示例值:10.00
func (*WorkforcePlanDetailBuilder) WorkforcePlanDetailId ¶
func (builder *WorkforcePlanDetailBuilder) WorkforcePlanDetailId(workforcePlanDetailId string) *WorkforcePlanDetailBuilder
编制规划明细 ID
示例值:"123456"
type WorkforcePlanEaiDetail ¶
type WorkforcePlanEaiDetailBuilder ¶
type WorkforcePlanEaiDetailBuilder struct {
// contains filtered or unexported fields
}
func NewWorkforcePlanEaiDetailBuilder ¶
func NewWorkforcePlanEaiDetailBuilder() *WorkforcePlanEaiDetailBuilder
func (*WorkforcePlanEaiDetailBuilder) Build ¶
func (builder *WorkforcePlanEaiDetailBuilder) Build() *WorkforcePlanEaiDetail
func (*WorkforcePlanEaiDetailBuilder) Date ¶
func (builder *WorkforcePlanEaiDetailBuilder) Date(date string) *WorkforcePlanEaiDetailBuilder
预估月份
示例值:“2020-10-31”
func (*WorkforcePlanEaiDetailBuilder) EstimatedActiveIndividuals ¶
func (builder *WorkforcePlanEaiDetailBuilder) EstimatedActiveIndividuals(estimatedActiveIndividuals string) *WorkforcePlanEaiDetailBuilder
预估在职人数
示例值:“10.00”