chengkun
2025-06-05 4080b5997b38ca84b3b203c7101dcadb97b76925
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// This file is auto-generated, don't edit it. Thanks.
package com.alipay.easysdk.base.oauth.models;
 
import com.aliyun.tea.*;
 
public class AlipaySystemOauthTokenResponse extends TeaModel {
    // 响应原始字符串
    @NameInMap("http_body")
    @Validation(required = true)
    public String httpBody;
 
    @NameInMap("code")
    @Validation(required = true)
    public String code;
 
    @NameInMap("msg")
    @Validation(required = true)
    public String msg;
 
    @NameInMap("sub_code")
    @Validation(required = true)
    public String subCode;
 
    @NameInMap("sub_msg")
    @Validation(required = true)
    public String subMsg;
 
    @NameInMap("user_id")
    @Validation(required = true)
    public String userId;
 
    @NameInMap("access_token")
    @Validation(required = true)
    public String accessToken;
 
    @NameInMap("expires_in")
    @Validation(required = true)
    public Long expiresIn;
 
    @NameInMap("refresh_token")
    @Validation(required = true)
    public String refreshToken;
 
    @NameInMap("re_expires_in")
    @Validation(required = true)
    public Long reExpiresIn;
 
    public static AlipaySystemOauthTokenResponse build(java.util.Map<String, ?> map) throws Exception {
        AlipaySystemOauthTokenResponse self = new AlipaySystemOauthTokenResponse();
        return TeaModel.build(map, self);
    }
 
    public AlipaySystemOauthTokenResponse setHttpBody(String httpBody) {
        this.httpBody = httpBody;
        return this;
    }
    public String getHttpBody() {
        return this.httpBody;
    }
 
    public AlipaySystemOauthTokenResponse setCode(String code) {
        this.code = code;
        return this;
    }
    public String getCode() {
        return this.code;
    }
 
    public AlipaySystemOauthTokenResponse setMsg(String msg) {
        this.msg = msg;
        return this;
    }
    public String getMsg() {
        return this.msg;
    }
 
    public AlipaySystemOauthTokenResponse setSubCode(String subCode) {
        this.subCode = subCode;
        return this;
    }
    public String getSubCode() {
        return this.subCode;
    }
 
    public AlipaySystemOauthTokenResponse setSubMsg(String subMsg) {
        this.subMsg = subMsg;
        return this;
    }
    public String getSubMsg() {
        return this.subMsg;
    }
 
    public AlipaySystemOauthTokenResponse setUserId(String userId) {
        this.userId = userId;
        return this;
    }
    public String getUserId() {
        return this.userId;
    }
 
    public AlipaySystemOauthTokenResponse setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }
    public String getAccessToken() {
        return this.accessToken;
    }
 
    public AlipaySystemOauthTokenResponse setExpiresIn(Long expiresIn) {
        this.expiresIn = expiresIn;
        return this;
    }
    public Long getExpiresIn() {
        return this.expiresIn;
    }
 
    public AlipaySystemOauthTokenResponse setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
        return this;
    }
    public String getRefreshToken() {
        return this.refreshToken;
    }
 
    public AlipaySystemOauthTokenResponse setReExpiresIn(Long reExpiresIn) {
        this.reExpiresIn = reExpiresIn;
        return this;
    }
    public Long getReExpiresIn() {
        return this.reExpiresIn;
    }
 
}