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

com.dingtalk.api.response.OapiUserGetAdminScopeResponse 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.TaobaoResponse;

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

	private static final long serialVersionUID = 4271429118963259919L;

	/** 
	 * result
	 */
	@ApiListField("dept_ids")
	@ApiField("number")
	private List deptIds;

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

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


	public void setDeptIds(List deptIds) {
		this.deptIds = deptIds;
	}
	public List getDeptIds( ) {
		return this.deptIds;
	}

	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);
    }
	


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy