com.aliyun.dingtalkoauth2_1_0.models.GetCorpAccessTokenResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetCorpAccessTokenResponse extends TeaModel {
@NameInMap("headers")
@Validation(required = true)
public java.util.Map headers;
@NameInMap("body")
@Validation(required = true)
public GetCorpAccessTokenResponseBody body;
public static GetCorpAccessTokenResponse build(java.util.Map map) throws Exception {
GetCorpAccessTokenResponse self = new GetCorpAccessTokenResponse();
return TeaModel.build(map, self);
}
public GetCorpAccessTokenResponse setHeaders(java.util.Map headers) {
this.headers = headers;
return this;
}
public java.util.Map getHeaders() {
return this.headers;
}
public GetCorpAccessTokenResponse setBody(GetCorpAccessTokenResponseBody body) {
this.body = body;
return this;
}
public GetCorpAccessTokenResponseBody getBody() {
return this.body;
}
}