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

com.aliyun.sdk.service.iot20180120.models.GetParserDataSourceResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link GetParserDataSourceResponseBody} extends {@link TeaModel}
 *
 * 

GetParserDataSourceResponseBody

*/ public class GetParserDataSourceResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("DataSource") private DataSource dataSource; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private GetParserDataSourceResponseBody(Builder builder) { this.code = builder.code; this.dataSource = builder.dataSource; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetParserDataSourceResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return dataSource */ public DataSource getDataSource() { return this.dataSource; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private DataSource dataSource; private String errorMessage; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * DataSource. */ public Builder dataSource(DataSource dataSource) { this.dataSource = dataSource; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public GetParserDataSourceResponseBody build() { return new GetParserDataSourceResponseBody(this); } } public static class DataSource extends TeaModel { @NameInMap("CreateUserId") private Long createUserId; @NameInMap("DataSourceId") private Long dataSourceId; @NameInMap("Description") private String description; @NameInMap("Name") private String name; @NameInMap("UtcCreated") private String utcCreated; private DataSource(Builder builder) { this.createUserId = builder.createUserId; this.dataSourceId = builder.dataSourceId; this.description = builder.description; this.name = builder.name; this.utcCreated = builder.utcCreated; } public static Builder builder() { return new Builder(); } public static DataSource create() { return builder().build(); } /** * @return createUserId */ public Long getCreateUserId() { return this.createUserId; } /** * @return dataSourceId */ public Long getDataSourceId() { return this.dataSourceId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return utcCreated */ public String getUtcCreated() { return this.utcCreated; } public static final class Builder { private Long createUserId; private Long dataSourceId; private String description; private String name; private String utcCreated; /** * CreateUserId. */ public Builder createUserId(Long createUserId) { this.createUserId = createUserId; return this; } /** * DataSourceId. */ public Builder dataSourceId(Long dataSourceId) { this.dataSourceId = dataSourceId; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * UtcCreated. */ public Builder utcCreated(String utcCreated) { this.utcCreated = utcCreated; return this; } public DataSource build() { return new DataSource(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy