com.aliyun.sdk.service.dataphin_public20230630.models.GetUserBySourceIdResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetUserBySourceIdResponseBody} extends {@link TeaModel}
*
* GetUserBySourceIdResponseBody
*/
public class GetUserBySourceIdResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
@com.aliyun.core.annotation.NameInMap("User")
private User user;
private GetUserBySourceIdResponseBody(Builder builder) {
this.code = builder.code;
this.httpStatusCode = builder.httpStatusCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.user = builder.user;
}
public static Builder builder() {
return new Builder();
}
public static GetUserBySourceIdResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return user
*/
public User getUser() {
return this.user;
}
public static final class Builder {
private String code;
private Integer httpStatusCode;
private String message;
private String requestId;
private Boolean success;
private User user;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* HttpStatusCode.
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* User.
*/
public Builder user(User user) {
this.user = user;
return this;
}
public GetUserBySourceIdResponseBody build() {
return new GetUserBySourceIdResponseBody(this);
}
}
/**
*
* {@link GetUserBySourceIdResponseBody} extends {@link TeaModel}
*
* GetUserBySourceIdResponseBody
*/
public static class User extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
private User(Builder builder) {
this.displayName = builder.displayName;
this.id = builder.id;
}
public static Builder builder() {
return new Builder();
}
public static User create() {
return builder().build();
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
public static final class Builder {
private String displayName;
private String id;
/**
* DisplayName.
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
public User build() {
return new User(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy