All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dingtalk.api.response.OapiUserGetAdminResponse Maven / Gradle / Ivy

The newest version!
package com.dingtalk.api.response;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP DingTalk-API: dingtalk.oapi.user.get_admin response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OapiUserGetAdminResponse extends TaobaoResponse {

	private static final long serialVersionUID = 3698639489853117347L;

	/** 
	 * admin_list
	 */
	@ApiListField("admin_list")
	@ApiField("admin_list")
	private List adminList;

	/** 
	 * errcode
	 */
	@ApiField("errcode")
	private Long errcode;

	/** 
	 * errmsg
	 */
	@ApiField("errmsg")
	private String errmsg;


	public void setAdminList(List adminList) {
		this.adminList = adminList;
	}
	public List getAdminList( ) {
		return this.adminList;
	}

	public void setErrcode(Long errcode) {
		this.errcode = errcode;
	}
	public Long getErrcode( ) {
		return this.errcode;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public String getErrmsg( ) {
		return this.errmsg;
	}

	public boolean isSuccess() {
        return getErrcode() == null || getErrcode().equals(0L);
    }
	
	/**
	 * admin_list
	 *
	 * @author top auto create
	 * @since 1.0, null
	 */
	public static class AdminList extends TaobaoObject {
		private static final long serialVersionUID = 7514564638267438394L;
		/**
		 * admin_mobile
		 */
		@ApiField("admin_mobile")
		private String adminMobile;
		/**
		 * sys_level
		 */
		@ApiField("sys_level")
		private Long sysLevel;
		/**
		 * userid
		 */
		@ApiField("userid")
		private String userid;
	
		public String getAdminMobile() {
			return this.adminMobile;
		}
		public void setAdminMobile(String adminMobile) {
			this.adminMobile = adminMobile;
		}
		public Long getSysLevel() {
			return this.sysLevel;
		}
		public void setSysLevel(Long sysLevel) {
			this.sysLevel = sysLevel;
		}
		public String getUserid() {
			return this.userid;
		}
		public void setUserid(String userid) {
			this.userid = userid;
		}
	}
	


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy