Documentation ¶
Overview ¶
企业订餐员工API model
Index ¶
- type AlibabaEleEnterpriseEmployeeBatchdeleteAPIResponse
- type AlibabaEleEnterpriseEmployeeBatchdeleteRequest
- func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiMethodName() string
- func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiParams() url.Values
- func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetEmployeeNos() []string
- func (r *AlibabaEleEnterpriseEmployeeBatchdeleteRequest) SetEmployeeNos(employeeNos []string) error
- type AlibabaEleEnterpriseEmployeeBatchdeleteResponse
- type AlibabaEleEnterpriseEmployeeBatchupdateAPIResponse
- type AlibabaEleEnterpriseEmployeeBatchupdateRequest
- func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiMethodName() string
- func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiParams() url.Values
- func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetEnterpriseDatas() []EmployeeInfoDto
- func (r *AlibabaEleEnterpriseEmployeeBatchupdateRequest) SetEnterpriseDatas(enterpriseDatas []EmployeeInfoDto) error
- type AlibabaEleEnterpriseEmployeeBatchupdateResponse
- type CostCenter
- type EmployeeInfoDto
- type EnterpriseData
- type ErrorMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaEleEnterpriseEmployeeBatchdeleteAPIResponse ¶
type AlibabaEleEnterpriseEmployeeBatchdeleteAPIResponse struct { model.CommonResponse AlibabaEleEnterpriseEmployeeBatchdeleteResponse }
批量删除员工 API返回值 alibaba.ele.enterprise.employee.batchdelete
批量删除员工
type AlibabaEleEnterpriseEmployeeBatchdeleteRequest ¶
type AlibabaEleEnterpriseEmployeeBatchdeleteRequest struct { model.Params // contains filtered or unexported fields }
批量删除员工 API请求 alibaba.ele.enterprise.employee.batchdelete
批量删除员工
func NewAlibabaEleEnterpriseEmployeeBatchdeleteRequest ¶
func NewAlibabaEleEnterpriseEmployeeBatchdeleteRequest() *AlibabaEleEnterpriseEmployeeBatchdeleteRequest
初始化AlibabaEleEnterpriseEmployeeBatchdeleteRequest对象
func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiMethodName ¶
func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiParams ¶
func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetEmployeeNos ¶
func (r AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetEmployeeNos() []string
EmployeeNos Getter
func (*AlibabaEleEnterpriseEmployeeBatchdeleteRequest) SetEmployeeNos ¶
func (r *AlibabaEleEnterpriseEmployeeBatchdeleteRequest) SetEmployeeNos(employeeNos []string) error
EmployeeNos Setter 员工工号
type AlibabaEleEnterpriseEmployeeBatchdeleteResponse ¶
type AlibabaEleEnterpriseEmployeeBatchdeleteResponse struct { XMLName xml.Name `xml:"alibaba_ele_enterprise_employee_batchdelete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值信息 EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"` // 响应code EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"` // 响应信息 EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"` // 请求id EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"` }
批量删除员工 成功返回结果
type AlibabaEleEnterpriseEmployeeBatchupdateAPIResponse ¶
type AlibabaEleEnterpriseEmployeeBatchupdateAPIResponse struct { model.CommonResponse AlibabaEleEnterpriseEmployeeBatchupdateResponse }
批量新增更新员工 API返回值 alibaba.ele.enterprise.employee.batchupdate
批量新增更新员工
type AlibabaEleEnterpriseEmployeeBatchupdateRequest ¶
type AlibabaEleEnterpriseEmployeeBatchupdateRequest struct { model.Params // contains filtered or unexported fields }
批量新增更新员工 API请求 alibaba.ele.enterprise.employee.batchupdate
批量新增更新员工
func NewAlibabaEleEnterpriseEmployeeBatchupdateRequest ¶
func NewAlibabaEleEnterpriseEmployeeBatchupdateRequest() *AlibabaEleEnterpriseEmployeeBatchupdateRequest
初始化AlibabaEleEnterpriseEmployeeBatchupdateRequest对象
func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiMethodName ¶
func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiParams ¶
func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetEnterpriseDatas ¶
func (r AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetEnterpriseDatas() []EmployeeInfoDto
EnterpriseDatas Getter
func (*AlibabaEleEnterpriseEmployeeBatchupdateRequest) SetEnterpriseDatas ¶
func (r *AlibabaEleEnterpriseEmployeeBatchupdateRequest) SetEnterpriseDatas(enterpriseDatas []EmployeeInfoDto) error
EnterpriseDatas Setter 批量员工信息
type AlibabaEleEnterpriseEmployeeBatchupdateResponse ¶
type AlibabaEleEnterpriseEmployeeBatchupdateResponse struct { XMLName xml.Name `xml:"alibaba_ele_enterprise_employee_batchupdate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应code EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"` // 响应信息 EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"` // 请求id EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"` // 返回结果 EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"` }
批量新增更新员工 成功返回结果
type CostCenter ¶
type CostCenter struct { // 删除成本中心列表 DeleteItemIds []string `json:"delete_item_ids,omitempty" xml:"delete_item_ids>string,omitempty"` // 新增成本中心列表 AddItemIds []string `json:"add_item_ids,omitempty" xml:"add_item_ids>string,omitempty"` }
CostCenter
type EmployeeInfoDto ¶
type EmployeeInfoDto struct { // 部门 DeptName string `json:"dept_name,omitempty" xml:"dept_name,omitempty"` // 手机号 PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"` // 成本中心 CostCenter *CostCenter `json:"cost_center,omitempty" xml:"cost_center,omitempty"` // 姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 工号 EmployeeNo string `json:"employee_no,omitempty" xml:"employee_no,omitempty"` }
EmployeeInfoDto
type EnterpriseData ¶
type EnterpriseData struct { // 成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误信息 ErrorMsgs []ErrorMsg `json:"error_msgs,omitempty" xml:"error_msgs>error_msg,omitempty"` }
EnterpriseData