com.aliyun.dingtalkats_1_0.models.GetJobAuthResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkats_1_0.models;
import com.aliyun.tea.*;
public class GetJobAuthResponseBody extends TeaModel {
// 职位ID
@NameInMap("jobId")
public String jobId;
// 职位负责人
@NameInMap("jobOwners")
public java.util.List jobOwners;
public static GetJobAuthResponseBody build(java.util.Map map) throws Exception {
GetJobAuthResponseBody self = new GetJobAuthResponseBody();
return TeaModel.build(map, self);
}
public GetJobAuthResponseBody setJobId(String jobId) {
this.jobId = jobId;
return this;
}
public String getJobId() {
return this.jobId;
}
public GetJobAuthResponseBody setJobOwners(java.util.List jobOwners) {
this.jobOwners = jobOwners;
return this;
}
public java.util.List getJobOwners() {
return this.jobOwners;
}
public static class GetJobAuthResponseBodyJobOwners extends TeaModel {
// 员工姓名
@NameInMap("name")
public String name;
// 员工标识
@NameInMap("userId")
public String userId;
public static GetJobAuthResponseBodyJobOwners build(java.util.Map map) throws Exception {
GetJobAuthResponseBodyJobOwners self = new GetJobAuthResponseBodyJobOwners();
return TeaModel.build(map, self);
}
public GetJobAuthResponseBodyJobOwners setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetJobAuthResponseBodyJobOwners setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}