Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen
Index ¶
- type Attachment
- type AttachmentGetReqCall
- type AttachmentService
- type ContractCompany
- type CustomFields
- type Education
- type EmergencyContact
- type Employee
- type EmployeeListReqCall
- func (rc *EmployeeListReqCall) Do() (*EmployeeListResult, error)
- func (rc *EmployeeListReqCall) SetEndTime(endTime int)
- func (rc *EmployeeListReqCall) SetPageSize(pageSize int)
- func (rc *EmployeeListReqCall) SetPageToken(pageToken string)
- func (rc *EmployeeListReqCall) SetStartTime(startTime int)
- func (rc *EmployeeListReqCall) SetStatus(status ...int)
- func (rc *EmployeeListReqCall) SetType(type_ ...int)
- func (rc *EmployeeListReqCall) SetUserIdType(userIdType string)
- func (rc *EmployeeListReqCall) SetUserIds(userIds string)
- func (rc *EmployeeListReqCall) SetView(view string)
- type EmployeeListResult
- type EmployeeService
- type Job
- type JobLevel
- type Manager
- type NativeRegion
- type Service
- type SystemFields
- type WorkExperience
- type WorkLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Id string `json:"id,omitempty"` MimeType string `json:"mime_type,omitempty"` Name string `json:"name,omitempty"` Size int `json:"size,omitempty"` ForceSendFields []string `json:"-"` }
func (*Attachment) MarshalJSON ¶
func (s *Attachment) MarshalJSON() ([]byte, error)
type AttachmentGetReqCall ¶
type AttachmentGetReqCall struct {
// contains filtered or unexported fields
}
func (*AttachmentGetReqCall) SetResponseStream ¶
func (rc *AttachmentGetReqCall) SetResponseStream(result io.Writer)
func (*AttachmentGetReqCall) SetToken ¶
func (rc *AttachmentGetReqCall) SetToken(token string)
type AttachmentService ¶
type AttachmentService struct {
// contains filtered or unexported fields
}
func (*AttachmentService) Get ¶
func (attachments *AttachmentService) Get(ctx *core.Context, optFns ...request.OptFn) *AttachmentGetReqCall
type ContractCompany ¶
type ContractCompany struct { Id int `json:"id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*ContractCompany) MarshalJSON ¶
func (s *ContractCompany) MarshalJSON() ([]byte, error)
type CustomFields ¶
type CustomFields struct { Key string `json:"key,omitempty"` Label string `json:"label,omitempty"` Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` ForceSendFields []string `json:"-"` }
func (*CustomFields) MarshalJSON ¶
func (s *CustomFields) MarshalJSON() ([]byte, error)
type Education ¶
type Education struct { Level int `json:"level,omitempty"` School string `json:"school,omitempty"` Major string `json:"major,omitempty"` Degree int `json:"degree,omitempty"` Start string `json:"start,omitempty"` End string `json:"end,omitempty"` ForceSendFields []string `json:"-"` }
func (*Education) MarshalJSON ¶
type EmergencyContact ¶
type EmergencyContact struct { Name string `json:"name,omitempty"` Relationship int `json:"relationship,omitempty"` Mobile string `json:"mobile,omitempty"` ForceSendFields []string `json:"-"` }
func (*EmergencyContact) MarshalJSON ¶
func (s *EmergencyContact) MarshalJSON() ([]byte, error)
type Employee ¶
type Employee struct { UserId string `json:"user_id,omitempty"` SystemFields *SystemFields `json:"system_fields,omitempty"` CustomFields []*CustomFields `json:"custom_fields,omitempty"` ForceSendFields []string `json:"-"` }
func (*Employee) MarshalJSON ¶
type EmployeeListReqCall ¶
type EmployeeListReqCall struct {
// contains filtered or unexported fields
}
func (*EmployeeListReqCall) Do ¶
func (rc *EmployeeListReqCall) Do() (*EmployeeListResult, error)
func (*EmployeeListReqCall) SetEndTime ¶
func (rc *EmployeeListReqCall) SetEndTime(endTime int)
func (*EmployeeListReqCall) SetPageSize ¶
func (rc *EmployeeListReqCall) SetPageSize(pageSize int)
func (*EmployeeListReqCall) SetPageToken ¶
func (rc *EmployeeListReqCall) SetPageToken(pageToken string)
func (*EmployeeListReqCall) SetStartTime ¶
func (rc *EmployeeListReqCall) SetStartTime(startTime int)
func (*EmployeeListReqCall) SetStatus ¶
func (rc *EmployeeListReqCall) SetStatus(status ...int)
func (*EmployeeListReqCall) SetType ¶
func (rc *EmployeeListReqCall) SetType(type_ ...int)
func (*EmployeeListReqCall) SetUserIdType ¶
func (rc *EmployeeListReqCall) SetUserIdType(userIdType string)
func (*EmployeeListReqCall) SetUserIds ¶
func (rc *EmployeeListReqCall) SetUserIds(userIds string)
func (*EmployeeListReqCall) SetView ¶
func (rc *EmployeeListReqCall) SetView(view string)
type EmployeeListResult ¶
type EmployeeService ¶
type EmployeeService struct {
// contains filtered or unexported fields
}
func (*EmployeeService) List ¶
func (employees *EmployeeService) List(ctx *core.Context, optFns ...request.OptFn) *EmployeeListReqCall
type Job ¶
type Job struct { Id int `json:"id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*Job) MarshalJSON ¶
type JobLevel ¶
type JobLevel struct { Id int `json:"id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*JobLevel) MarshalJSON ¶
type Manager ¶
type Manager struct { UserId string `json:"user_id,omitempty"` Name string `json:"name,omitempty"` EnName string `json:"en_name,omitempty"` ForceSendFields []string `json:"-"` }
func (*Manager) MarshalJSON ¶
type NativeRegion ¶
type NativeRegion struct { IsoCode string `json:"iso_code,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*NativeRegion) MarshalJSON ¶
func (s *NativeRegion) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { Attachments *AttachmentService Employees *EmployeeService // contains filtered or unexported fields }
func NewService ¶
type SystemFields ¶
type SystemFields struct { Name string `json:"name,omitempty"` EnName string `json:"en_name,omitempty"` Email string `json:"email,omitempty"` Mobile string `json:"mobile,omitempty"` DepartmentId string `json:"department_id,omitempty"` Manager *Manager `json:"manager,omitempty"` Job *Job `json:"job,omitempty"` JobLevel *JobLevel `json:"job_level,omitempty"` WorkLocation *WorkLocation `json:"work_location,omitempty"` Gender int `json:"gender,omitempty"` Birthday string `json:"birthday,omitempty"` NativeRegion *NativeRegion `json:"native_region,omitempty"` Ethnicity int `json:"ethnicity,omitempty"` MaritalStatus int `json:"marital_status,omitempty"` PoliticalStatus int `json:"political_status,omitempty"` EnteredWorkforceDate string `json:"entered_workforce_date,omitempty"` IdType int `json:"id_type,omitempty"` IdNumber string `json:"id_number,omitempty"` HukouType int `json:"hukou_type,omitempty"` HukouLocation string `json:"hukou_location,omitempty"` BankAccountNumber string `json:"bank_account_number,omitempty"` BankName string `json:"bank_name,omitempty"` SocialSecurityAccount string `json:"social_security_account,omitempty"` ProvidentFundAccount string `json:"provident_fund_account,omitempty"` EmployeeNo string `json:"employee_no,omitempty"` EmployeeType int `json:"employee_type,omitempty"` Status int `json:"status,omitempty"` HireDate string `json:"hire_date,omitempty"` ProbationMonths float64 `json:"probation_months,omitempty"` ConversionDate string `json:"conversion_date,omitempty"` Application int `json:"application,omitempty"` ApplicationStatus int `json:"application_status,omitempty"` LastDay string `json:"last_day,omitempty"` DepartureType int `json:"departure_type,omitempty"` DepartureReason int `json:"departure_reason,omitempty"` DepartureNotes string `json:"departure_notes,omitempty"` ContractCompany *ContractCompany `json:"contract_company,omitempty"` ContractType int `json:"contract_type,omitempty"` ContractStartDate string `json:"contract_start_date,omitempty"` ContractExpirationDate string `json:"contract_expiration_date,omitempty"` ContractSignTimes int `json:"contract_sign_times,omitempty"` PersonalEmail string `json:"personal_email,omitempty"` FamilyAddress string `json:"family_address,omitempty"` PrimaryEmergencyContact *EmergencyContact `json:"primary_emergency_contact,omitempty"` EmergencyContact []*EmergencyContact `json:"emergency_contact,omitempty"` HighestLevelOfEdu *Education `json:"highest_level_of_edu,omitempty"` Education []*Education `json:"education,omitempty"` FormerWorkExp *WorkExperience `json:"former_work_exp,omitempty"` WorkExp []*WorkExperience `json:"work_exp,omitempty"` IdPhotoPoSide []*Attachment `json:"id_photo_po_side,omitempty"` IdPhotoEmSide []*Attachment `json:"id_photo_em_side,omitempty"` IdPhoto []*Attachment `json:"id_photo,omitempty"` DiplomaPhoto []*Attachment `json:"diploma_photo,omitempty"` GraduationCert []*Attachment `json:"graduation_cert,omitempty"` CertOfMerit []*Attachment `json:"cert_of_merit,omitempty"` OffboardingFile []*Attachment `json:"offboarding_file,omitempty"` CancelOnboardingReason int `json:"cancel_onboarding_reason,omitempty"` CancelOnboardingNotes string `json:"cancel_onboarding_notes,omitempty"` EmployeeFormStatus int `json:"employee_form_status,omitempty"` CreateTime int `json:"create_time,omitempty"` UpdateTime int `json:"update_time,omitempty"` ForceSendFields []string `json:"-"` }
func (*SystemFields) MarshalJSON ¶
func (s *SystemFields) MarshalJSON() ([]byte, error)
type WorkExperience ¶
type WorkExperience struct { Company string `json:"company,omitempty"` Department string `json:"department,omitempty"` Job string `json:"job,omitempty"` Start string `json:"start,omitempty"` End string `json:"end,omitempty"` Description string `json:"description,omitempty"` ForceSendFields []string `json:"-"` }
func (*WorkExperience) MarshalJSON ¶
func (s *WorkExperience) MarshalJSON() ([]byte, error)
type WorkLocation ¶
type WorkLocation struct { Id int `json:"id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*WorkLocation) MarshalJSON ¶
func (s *WorkLocation) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.