com.aliyun.sdk.service.aliding20230426.models.GetNodeByUrlResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-aliding20230426 Show documentation
Show all versions of alibabacloud-aliding20230426 Show documentation
Alibaba Cloud aliding (20230426) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.aliding20230426.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetNodeByUrlResponseBody} extends {@link TeaModel}
*
* GetNodeByUrlResponseBody
*/
public class GetNodeByUrlResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("node")
private Node node;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
private GetNodeByUrlResponseBody(Builder builder) {
this.node = builder.node;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetNodeByUrlResponseBody create() {
return builder().build();
}
/**
* @return node
*/
public Node getNode() {
return this.node;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Node node;
private String requestId;
/**
* node.
*/
public Builder node(Node node) {
this.node = node;
return this;
}
/**
* requestId
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetNodeByUrlResponseBody build() {
return new GetNodeByUrlResponseBody(this);
}
}
public static class StatisticalInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("WordCount")
private Long wordCount;
private StatisticalInfo(Builder builder) {
this.wordCount = builder.wordCount;
}
public static Builder builder() {
return new Builder();
}
public static StatisticalInfo create() {
return builder().build();
}
/**
* @return wordCount
*/
public Long getWordCount() {
return this.wordCount;
}
public static final class Builder {
private Long wordCount;
/**
* WordCount.
*/
public Builder wordCount(Long wordCount) {
this.wordCount = wordCount;
return this;
}
public StatisticalInfo build() {
return new StatisticalInfo(this);
}
}
}
public static class Node extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("CreatorId")
private String creatorId;
@com.aliyun.core.annotation.NameInMap("Extension")
private String extension;
@com.aliyun.core.annotation.NameInMap("HasChildren")
private Boolean hasChildren;
@com.aliyun.core.annotation.NameInMap("ModifiedTime")
private String modifiedTime;
@com.aliyun.core.annotation.NameInMap("ModifierId")
private String modifierId;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("NodeId")
private String nodeId;
@com.aliyun.core.annotation.NameInMap("PermissionRole")
private String permissionRole;
@com.aliyun.core.annotation.NameInMap("Size")
private Long size;
@com.aliyun.core.annotation.NameInMap("StatisticalInfo")
private StatisticalInfo statisticalInfo;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Url")
private String url;
@com.aliyun.core.annotation.NameInMap("WorkspaceId")
private String workspaceId;
private Node(Builder builder) {
this.category = builder.category;
this.createTime = builder.createTime;
this.creatorId = builder.creatorId;
this.extension = builder.extension;
this.hasChildren = builder.hasChildren;
this.modifiedTime = builder.modifiedTime;
this.modifierId = builder.modifierId;
this.name = builder.name;
this.nodeId = builder.nodeId;
this.permissionRole = builder.permissionRole;
this.size = builder.size;
this.statisticalInfo = builder.statisticalInfo;
this.type = builder.type;
this.url = builder.url;
this.workspaceId = builder.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Node create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return creatorId
*/
public String getCreatorId() {
return this.creatorId;
}
/**
* @return extension
*/
public String getExtension() {
return this.extension;
}
/**
* @return hasChildren
*/
public Boolean getHasChildren() {
return this.hasChildren;
}
/**
* @return modifiedTime
*/
public String getModifiedTime() {
return this.modifiedTime;
}
/**
* @return modifierId
*/
public String getModifierId() {
return this.modifierId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return nodeId
*/
public String getNodeId() {
return this.nodeId;
}
/**
* @return permissionRole
*/
public String getPermissionRole() {
return this.permissionRole;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return statisticalInfo
*/
public StatisticalInfo getStatisticalInfo() {
return this.statisticalInfo;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
/**
* @return workspaceId
*/
public String getWorkspaceId() {
return this.workspaceId;
}
public static final class Builder {
private String category;
private String createTime;
private String creatorId;
private String extension;
private Boolean hasChildren;
private String modifiedTime;
private String modifierId;
private String name;
private String nodeId;
private String permissionRole;
private Long size;
private StatisticalInfo statisticalInfo;
private String type;
private String url;
private String workspaceId;
/**
* Category.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* CreatorId.
*/
public Builder creatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
/**
* Extension.
*/
public Builder extension(String extension) {
this.extension = extension;
return this;
}
/**
* HasChildren.
*/
public Builder hasChildren(Boolean hasChildren) {
this.hasChildren = hasChildren;
return this;
}
/**
* ModifiedTime.
*/
public Builder modifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
/**
* ModifierId.
*/
public Builder modifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NodeId.
*/
public Builder nodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
/**
* PermissionRole.
*/
public Builder permissionRole(String permissionRole) {
this.permissionRole = permissionRole;
return this;
}
/**
* Size.
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* StatisticalInfo.
*/
public Builder statisticalInfo(StatisticalInfo statisticalInfo) {
this.statisticalInfo = statisticalInfo;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Url.
*/
public Builder url(String url) {
this.url = url;
return this;
}
/**
* WorkspaceId.
*/
public Builder workspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public Node build() {
return new Node(this);
}
}
}
}