From 2d23cc79147c82fc494184a4f2f96a5033fe555a Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 11 Dec 2023 11:47:32 +0000 Subject: [PATCH] Generated 2020-05-18 for dataworks-public. --- .../ChangeLog.txt | 3 + aliyun-java-sdk-dataworks-public/pom.xml | 2 +- .../GetMetaCollectionDetailResponse.java | 153 ---------------- ...stEnabledExtensionsForProjectResponse.java | 20 -- .../v20200518/ListEntitiesByTagsRequest.java | 31 +--- .../v20200518/ListEntitiesByTagsResponse.java | 42 +---- .../v20200518/ListEntityTagsResponse.java | 29 +-- .../model/v20200518/ListLineageResponse.java | 54 +----- .../ListMetaCollectionEntitiesResponse.java | 42 +---- .../ListMetaCollectionsResponse.java | 99 +--------- .../RegisterLineageRelationRequest.java | 172 +----------------- .../model/v20200518/SetEntityTagsRequest.java | 31 +--- ...aCollectionDetailResponseUnmarshaller.java | 22 +-- ...ensionsForProjectResponseUnmarshaller.java | 2 - ...istEntitiesByTagsResponseUnmarshaller.java | 13 +- .../ListEntityTagsResponseUnmarshaller.java | 11 +- .../ListLineageResponseUnmarshaller.java | 10 +- ...ollectionEntitiesResponseUnmarshaller.java | 13 +- ...stMetaCollectionsResponseUnmarshaller.java | 18 +- 19 files changed, 56 insertions(+), 711 deletions(-) diff --git a/aliyun-java-sdk-dataworks-public/ChangeLog.txt b/aliyun-java-sdk-dataworks-public/ChangeLog.txt index c301342af6..e30ae97305 100644 --- a/aliyun-java-sdk-dataworks-public/ChangeLog.txt +++ b/aliyun-java-sdk-dataworks-public/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-12-11 Version: 5.0.0 +- Generated 2020-05-18 for `dataworks-public`. + 2023-12-08 Version: 4.2.16 - Generated 2020-05-18 for `dataworks-public`. diff --git a/aliyun-java-sdk-dataworks-public/pom.xml b/aliyun-java-sdk-dataworks-public/pom.xml index 6641ece310..7918405b8e 100644 --- a/aliyun-java-sdk-dataworks-public/pom.xml +++ b/aliyun-java-sdk-dataworks-public/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-dataworks-public jar - 4.2.16 + 5.0.0 aliyun-java-sdk-dataworks-public http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/GetMetaCollectionDetailResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/GetMetaCollectionDetailResponse.java index bacdde01d2..5c9cd6adfa 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/GetMetaCollectionDetailResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/GetMetaCollectionDetailResponse.java @@ -24,159 +24,6 @@ */ public class GetMetaCollectionDetailResponse extends AcsResponse { - private String requestId; - - private Boolean success; - - private String errorCode; - - private String errorMessage; - - private Integer httpStatusCode; - - private Collection collection; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getErrorCode() { - return this.errorCode; - } - - public void setErrorCode(String errorCode) { - this.errorCode = errorCode; - } - - public String getErrorMessage() { - return this.errorMessage; - } - - public void setErrorMessage(String errorMessage) { - this.errorMessage = errorMessage; - } - - public Integer getHttpStatusCode() { - return this.httpStatusCode; - } - - public void setHttpStatusCode(Integer httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - public Collection getCollection() { - return this.collection; - } - - public void setCollection(Collection collection) { - this.collection = collection; - } - - public static class Collection { - - private String qualifiedName; - - private String collectionType; - - private String name; - - private String comment; - - private String ownerId; - - private String ownerName; - - private Long createTime; - - private Long updateTime; - - private Integer level; - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public String getCollectionType() { - return this.collectionType; - } - - public void setCollectionType(String collectionType) { - this.collectionType = collectionType; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getComment() { - return this.comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public String getOwnerId() { - return this.ownerId; - } - - public void setOwnerId(String ownerId) { - this.ownerId = ownerId; - } - - public String getOwnerName() { - return this.ownerName; - } - - public void setOwnerName(String ownerName) { - this.ownerName = ownerName; - } - - public Long getCreateTime() { - return this.createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public Long getUpdateTime() { - return this.updateTime; - } - - public void setUpdateTime(Long updateTime) { - this.updateTime = updateTime; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - } - @Override public GetMetaCollectionDetailResponse getInstance(UnmarshallerContext context) { return GetMetaCollectionDetailResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEnabledExtensionsForProjectResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEnabledExtensionsForProjectResponse.java index b9347ae46a..58dc164440 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEnabledExtensionsForProjectResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEnabledExtensionsForProjectResponse.java @@ -63,10 +63,6 @@ public static class ExtensionsItem { private String parameterSetting; - private Long gmtCreate; - - private Long gmtModified; - public String getExtensionCode() { return this.extensionCode; } @@ -130,22 +126,6 @@ public String getParameterSetting() { public void setParameterSetting(String parameterSetting) { this.parameterSetting = parameterSetting; } - - public Long getGmtCreate() { - return this.gmtCreate; - } - - public void setGmtCreate(Long gmtCreate) { - this.gmtCreate = gmtCreate; - } - - public Long getGmtModified() { - return this.gmtModified; - } - - public void setGmtModified(Long gmtModified) { - this.gmtModified = gmtModified; - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsRequest.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsRequest.java index c89f479901..15787bbfc8 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsRequest.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsRequest.java @@ -35,7 +35,7 @@ public class ListEntitiesByTagsRequest extends RpcAcsRequest tags; + private List tags; public ListEntitiesByTagsRequest() { super("dataworks-public", "2020-05-18", "ListEntitiesByTags"); setMethod(MethodType.GET); @@ -78,40 +78,15 @@ public void setPageSize(Integer pageSize) { } } - public List getTags() { + public List getTags() { return this.tags; } - public void setTags(List tags) { + public void setTags(List tags) { this.tags = tags; if (tags != null) { putQueryParameter("Tags" , new Gson().toJson(tags)); } - } - - public static class Tags { - - @SerializedName("TagValue") - private String tagValue; - - @SerializedName("TagKey") - private String tagKey; - - public String getTagValue() { - return this.tagValue; - } - - public void setTagValue(String tagValue) { - this.tagValue = tagValue; - } - - public String getTagKey() { - return this.tagKey; - } - - public void setTagKey(String tagKey) { - this.tagKey = tagKey; - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsResponse.java index d72c0c98ae..7186c863df 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntitiesByTagsResponse.java @@ -14,8 +14,7 @@ package com.aliyuncs.dataworks_public.model.v20200518; -import java.util.List; -import java.util.Map; +import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.dataworks_public.transform.v20200518.ListEntitiesByTagsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; @@ -90,7 +89,7 @@ public static class Data { private String nextToken; - private List entityList; + private List entityList; public String getNextToken() { return this.nextToken; @@ -100,46 +99,13 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } - public List getEntityList() { + public List getEntityList() { return this.entityList; } - public void setEntityList(List entityList) { + public void setEntityList(List entityList) { this.entityList = entityList; } - - public static class EntityListItem { - - private String qualifiedName; - - private Long tenantId; - - private Map entityContent; - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public Long getTenantId() { - return this.tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public Map getEntityContent() { - return this.entityContent; - } - - public void setEntityContent(Map entityContent) { - this.entityContent = entityContent; - } - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntityTagsResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntityTagsResponse.java index 835bc08ff2..1937e52fcf 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntityTagsResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListEntityTagsResponse.java @@ -35,7 +35,7 @@ public class ListEntityTagsResponse extends AcsResponse { private Integer httpStatusCode; - private List data; + private List data; public String getRequestId() { return this.requestId; @@ -77,37 +77,14 @@ public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } - public List getData() { + public List getData() { return this.data; } - public void setData(List data) { + public void setData(List data) { this.data = data; } - public static class DataItem { - - private String tagKey; - - private String tagValue; - - public String getTagKey() { - return this.tagKey; - } - - public void setTagKey(String tagKey) { - this.tagKey = tagKey; - } - - public String getTagValue() { - return this.tagValue; - } - - public void setTagValue(String tagValue) { - this.tagValue = tagValue; - } - } - @Override public ListEntityTagsResponse getInstance(UnmarshallerContext context) { return ListEntityTagsResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListLineageResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListLineageResponse.java index debef7013a..86d69b6a9d 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListLineageResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListLineageResponse.java @@ -14,8 +14,7 @@ package com.aliyuncs.dataworks_public.model.v20200518; -import java.util.List; -import java.util.Map; +import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.dataworks_public.transform.v20200518.ListLineageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; @@ -110,11 +109,19 @@ public void setDataEntityList(List dataEntityList) { public static class DataEntityListItem { + private Object entity; + private Long createTimestamp; private List relationList; - private Entity entity; + public Object getEntity() { + return this.entity; + } + + public void setEntity(Object entity) { + this.entity = entity; + } public Long getCreateTimestamp() { return this.createTimestamp; @@ -132,14 +139,6 @@ public void setRelationList(List relationList) { this.relationList = relationList; } - public Entity getEntity() { - return this.entity; - } - - public void setEntity(Entity entity) { - this.entity = entity; - } - public static class RelationListItem { private String guid; @@ -182,39 +181,6 @@ public void setChannel(String channel) { this.channel = channel; } } - - public static class Entity { - - private String qualifiedName; - - private Long tenantId; - - private Map entityContent; - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public Long getTenantId() { - return this.tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public Map getEntityContent() { - return this.entityContent; - } - - public void setEntityContent(Map entityContent) { - this.entityContent = entityContent; - } - } } } diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionEntitiesResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionEntitiesResponse.java index 45d3f5e075..cd61b44286 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionEntitiesResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionEntitiesResponse.java @@ -14,8 +14,7 @@ package com.aliyuncs.dataworks_public.model.v20200518; -import java.util.List; -import java.util.Map; +import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.dataworks_public.transform.v20200518.ListMetaCollectionEntitiesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; @@ -90,7 +89,7 @@ public static class Data { private String nextToken; - private List entityList; + private List entityList; public String getNextToken() { return this.nextToken; @@ -100,46 +99,13 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } - public List getEntityList() { + public List getEntityList() { return this.entityList; } - public void setEntityList(List entityList) { + public void setEntityList(List entityList) { this.entityList = entityList; } - - public static class EntityListItem { - - private String qualifiedName; - - private Long tenantId; - - private Map entityContent; - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public Long getTenantId() { - return this.tenantId; - } - - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public Map getEntityContent() { - return this.entityContent; - } - - public void setEntityContent(Map entityContent) { - this.entityContent = entityContent; - } - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionsResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionsResponse.java index 01e1ffbe48..f7c59eac1c 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionsResponse.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListMetaCollectionsResponse.java @@ -89,7 +89,7 @@ public static class Data { private String nextToken; - private List collectionList; + private List collectionList; public String getNextToken() { return this.nextToken; @@ -99,106 +99,13 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } - public List getCollectionList() { + public List getCollectionList() { return this.collectionList; } - public void setCollectionList(List collectionList) { + public void setCollectionList(List collectionList) { this.collectionList = collectionList; } - - public static class CollectionListItem { - - private String qualifiedName; - - private String collectionType; - - private String name; - - private String comment; - - private String ownerId; - - private String ownerName; - - private Long createTime; - - private Long updateTime; - - private Integer level; - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public String getCollectionType() { - return this.collectionType; - } - - public void setCollectionType(String collectionType) { - this.collectionType = collectionType; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getComment() { - return this.comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public String getOwnerId() { - return this.ownerId; - } - - public void setOwnerId(String ownerId) { - this.ownerId = ownerId; - } - - public String getOwnerName() { - return this.ownerName; - } - - public void setOwnerName(String ownerName) { - this.ownerName = ownerName; - } - - public Long getCreateTime() { - return this.createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public Long getUpdateTime() { - return this.updateTime; - } - - public void setUpdateTime(Long updateTime) { - this.updateTime = updateTime; - } - - public Integer getLevel() { - return this.level; - } - - public void setLevel(Integer level) { - this.level = level; - } - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/RegisterLineageRelationRequest.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/RegisterLineageRelationRequest.java index ba670cdfe5..999a799182 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/RegisterLineageRelationRequest.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/RegisterLineageRelationRequest.java @@ -15,8 +15,6 @@ package com.aliyuncs.dataworks_public.model.v20200518; import com.aliyuncs.RpcAcsRequest; -import com.google.gson.Gson; -import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.dataworks_public.Endpoint; @@ -27,8 +25,7 @@ public class RegisterLineageRelationRequest extends RpcAcsRequest { - @SerializedName("lineageRelationRegisterVO") - private LineageRelationRegisterVO lineageRelationRegisterVO; + private Object lineageRelationRegisterVO; public RegisterLineageRelationRequest() { super("dataworks-public", "2020-05-18", "RegisterLineageRelation"); setMethod(MethodType.POST); @@ -38,170 +35,15 @@ public RegisterLineageRelationRequest() { } catch (Exception e) {} } - public LineageRelationRegisterVO getLineageRelationRegisterVO() { + public Object getLineageRelationRegisterVO() { return this.lineageRelationRegisterVO; } - public void setLineageRelationRegisterVO(LineageRelationRegisterVO lineageRelationRegisterVO) { - this.lineageRelationRegisterVO = lineageRelationRegisterVO; - if (lineageRelationRegisterVO != null) { - putBodyParameter("LineageRelationRegisterVO" , new Gson().toJson(lineageRelationRegisterVO)); - } - } - - public static class LineageRelationRegisterVO { - - @SerializedName("DestEntity") - private DestEntity destEntity; - - @SerializedName("CreateTimestamp") - private Long createTimestamp; - - @SerializedName("Relationship") - private Relationship relationship; - - @SerializedName("SrcEntity") - private SrcEntity srcEntity; - - public DestEntity getDestEntity() { - return this.destEntity; - } - - public void setDestEntity(DestEntity destEntity) { - this.destEntity = destEntity; - } - - public Long getCreateTimestamp() { - return this.createTimestamp; - } - - public void setCreateTimestamp(Long createTimestamp) { - this.createTimestamp = createTimestamp; - } - - public Relationship getRelationship() { - return this.relationship; - } - - public void setRelationship(Relationship relationship) { - this.relationship = relationship; - } - - public SrcEntity getSrcEntity() { - return this.srcEntity; - } - - public void setSrcEntity(SrcEntity srcEntity) { - this.srcEntity = srcEntity; - } - - public static class DestEntity { - - @SerializedName("ParentName") - private String parentName; - - @SerializedName("QualifiedName") - private String qualifiedName; - - @SerializedName("Name") - private String name; - - @SerializedName("DetailUrl") - private String detailUrl; - - public String getParentName() { - return this.parentName; - } - - public void setParentName(String parentName) { - this.parentName = parentName; - } - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDetailUrl() { - return this.detailUrl; - } - - public void setDetailUrl(String detailUrl) { - this.detailUrl = detailUrl; - } - } - - public static class Relationship { - - @SerializedName("Type") - private String type; - - public String getType() { - return this.type; - } - - public void setType(String type) { - this.type = type; - } - } - - public static class SrcEntity { - - @SerializedName("ParentName") - private String parentName; - - @SerializedName("QualifiedName") - private String qualifiedName; - - @SerializedName("Name") - private String name; - - @SerializedName("DetailUrl") - private String detailUrl; - - public String getParentName() { - return this.parentName; - } - - public void setParentName(String parentName) { - this.parentName = parentName; - } - - public String getQualifiedName() { - return this.qualifiedName; - } - - public void setQualifiedName(String qualifiedName) { - this.qualifiedName = qualifiedName; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDetailUrl() { - return this.detailUrl; - } - - public void setDetailUrl(String detailUrl) { - this.detailUrl = detailUrl; - } - } + public void setLineageRelationRegisterVO(Object lineageRelationRegisterVO) { + this.lineageRelationRegisterVO = lineageRelationRegisterVO; + if(lineageRelationRegisterVO != null){ + putBodyParameter("LineageRelationRegisterVO", lineageRelationRegisterVO.toString()); + } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/SetEntityTagsRequest.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/SetEntityTagsRequest.java index a908ecfb34..b3233755a6 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/SetEntityTagsRequest.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/SetEntityTagsRequest.java @@ -31,7 +31,7 @@ public class SetEntityTagsRequest extends RpcAcsRequest { private String qualifiedName; @SerializedName("tags") - private List tags; + private List tags; public SetEntityTagsRequest() { super("dataworks-public", "2020-05-18", "SetEntityTags"); setMethod(MethodType.POST); @@ -52,40 +52,15 @@ public void setQualifiedName(String qualifiedName) { } } - public List getTags() { + public List getTags() { return this.tags; } - public void setTags(List tags) { + public void setTags(List tags) { this.tags = tags; if (tags != null) { putBodyParameter("Tags" , new Gson().toJson(tags)); } - } - - public static class Tags { - - @SerializedName("TagValue") - private String tagValue; - - @SerializedName("TagKey") - private String tagKey; - - public String getTagValue() { - return this.tagValue; - } - - public void setTagValue(String tagValue) { - this.tagValue = tagValue; - } - - public String getTagKey() { - return this.tagKey; - } - - public void setTagKey(String tagKey) { - this.tagKey = tagKey; - } } @Override diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/GetMetaCollectionDetailResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/GetMetaCollectionDetailResponseUnmarshaller.java index 7e74b9f823..c108538bdc 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/GetMetaCollectionDetailResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/GetMetaCollectionDetailResponseUnmarshaller.java @@ -14,32 +14,14 @@ package com.aliyuncs.dataworks_public.transform.v20200518; -import com.aliyuncs.dataworks_public.model.v20200518.GetMetaCollectionDetailResponse; -import com.aliyuncs.dataworks_public.model.v20200518.GetMetaCollectionDetailResponse.Collection; +import com.aliyuncs.dataworks_public.model.v20200518.GetMetaCollectionDetailResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetMetaCollectionDetailResponseUnmarshaller { public static GetMetaCollectionDetailResponse unmarshall(GetMetaCollectionDetailResponse getMetaCollectionDetailResponse, UnmarshallerContext _ctx) { - - getMetaCollectionDetailResponse.setRequestId(_ctx.stringValue("GetMetaCollectionDetailResponse.RequestId")); - getMetaCollectionDetailResponse.setSuccess(_ctx.booleanValue("GetMetaCollectionDetailResponse.Success")); - getMetaCollectionDetailResponse.setErrorCode(_ctx.stringValue("GetMetaCollectionDetailResponse.ErrorCode")); - getMetaCollectionDetailResponse.setErrorMessage(_ctx.stringValue("GetMetaCollectionDetailResponse.ErrorMessage")); - getMetaCollectionDetailResponse.setHttpStatusCode(_ctx.integerValue("GetMetaCollectionDetailResponse.HttpStatusCode")); - - Collection collection = new Collection(); - collection.setQualifiedName(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.QualifiedName")); - collection.setCollectionType(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.CollectionType")); - collection.setName(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.Name")); - collection.setComment(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.Comment")); - collection.setOwnerId(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.OwnerId")); - collection.setOwnerName(_ctx.stringValue("GetMetaCollectionDetailResponse.Collection.OwnerName")); - collection.setCreateTime(_ctx.longValue("GetMetaCollectionDetailResponse.Collection.CreateTime")); - collection.setUpdateTime(_ctx.longValue("GetMetaCollectionDetailResponse.Collection.UpdateTime")); - collection.setLevel(_ctx.integerValue("GetMetaCollectionDetailResponse.Collection.Level")); - getMetaCollectionDetailResponse.setCollection(collection); + return getMetaCollectionDetailResponse; } diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEnabledExtensionsForProjectResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEnabledExtensionsForProjectResponseUnmarshaller.java index 250e91beca..6b26088427 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEnabledExtensionsForProjectResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEnabledExtensionsForProjectResponseUnmarshaller.java @@ -39,8 +39,6 @@ public static ListEnabledExtensionsForProjectResponse unmarshall(ListEnabledExte extensionsItem.setExtensionDesc(_ctx.stringValue("ListEnabledExtensionsForProjectResponse.Extensions["+ i +"].ExtensionDesc")); extensionsItem.setOwner(_ctx.stringValue("ListEnabledExtensionsForProjectResponse.Extensions["+ i +"].Owner")); extensionsItem.setParameterSetting(_ctx.stringValue("ListEnabledExtensionsForProjectResponse.Extensions["+ i +"].ParameterSetting")); - extensionsItem.setGmtCreate(_ctx.longValue("ListEnabledExtensionsForProjectResponse.Extensions["+ i +"].GmtCreate")); - extensionsItem.setGmtModified(_ctx.longValue("ListEnabledExtensionsForProjectResponse.Extensions["+ i +"].GmtModified")); extensions.add(extensionsItem); } diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntitiesByTagsResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntitiesByTagsResponseUnmarshaller.java index 4811e1a871..05e0854db3 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntitiesByTagsResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntitiesByTagsResponseUnmarshaller.java @@ -18,9 +18,7 @@ import java.util.List; import com.aliyuncs.dataworks_public.model.v20200518.ListEntitiesByTagsResponse; -import com.aliyuncs.dataworks_public.model.v20200518.ListEntitiesByTagsResponse.Data; -import com.aliyuncs.dataworks_public.model.v20200518.ListEntitiesByTagsResponse.Data.EntityListItem; -import java.util.Map; +import com.aliyuncs.dataworks_public.model.v20200518.ListEntitiesByTagsResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; @@ -37,14 +35,9 @@ public static ListEntitiesByTagsResponse unmarshall(ListEntitiesByTagsResponse l Data data = new Data(); data.setNextToken(_ctx.stringValue("ListEntitiesByTagsResponse.Data.NextToken")); - List entityList = new ArrayList(); + List entityList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListEntitiesByTagsResponse.Data.EntityList.Length"); i++) { - EntityListItem entityListItem = new EntityListItem(); - entityListItem.setQualifiedName(_ctx.stringValue("ListEntitiesByTagsResponse.Data.EntityList["+ i +"].QualifiedName")); - entityListItem.setTenantId(_ctx.longValue("ListEntitiesByTagsResponse.Data.EntityList["+ i +"].TenantId")); - entityListItem.setEntityContent(_ctx.mapValue("ListEntitiesByTagsResponse.Data.EntityList["+ i +"].EntityContent")); - - entityList.add(entityListItem); + entityList.add(_ctx.stringValue("ListEntitiesByTagsResponse.Data.EntityList["+ i +"]")); } data.setEntityList(entityList); listEntitiesByTagsResponse.setData(data); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntityTagsResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntityTagsResponseUnmarshaller.java index ea8308ae5a..a6daab96e1 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntityTagsResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListEntityTagsResponseUnmarshaller.java @@ -17,8 +17,7 @@ import java.util.ArrayList; import java.util.List; -import com.aliyuncs.dataworks_public.model.v20200518.ListEntityTagsResponse; -import com.aliyuncs.dataworks_public.model.v20200518.ListEntityTagsResponse.DataItem; +import com.aliyuncs.dataworks_public.model.v20200518.ListEntityTagsResponse; import com.aliyuncs.transform.UnmarshallerContext; @@ -32,13 +31,9 @@ public static ListEntityTagsResponse unmarshall(ListEntityTagsResponse listEntit listEntityTagsResponse.setErrorMessage(_ctx.stringValue("ListEntityTagsResponse.ErrorMessage")); listEntityTagsResponse.setHttpStatusCode(_ctx.integerValue("ListEntityTagsResponse.HttpStatusCode")); - List data = new ArrayList(); + List data = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListEntityTagsResponse.Data.Length"); i++) { - DataItem dataItem = new DataItem(); - dataItem.setTagKey(_ctx.stringValue("ListEntityTagsResponse.Data["+ i +"].TagKey")); - dataItem.setTagValue(_ctx.stringValue("ListEntityTagsResponse.Data["+ i +"].TagValue")); - - data.add(dataItem); + data.add(_ctx.stringValue("ListEntityTagsResponse.Data["+ i +"]")); } listEntityTagsResponse.setData(data); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListLineageResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListLineageResponseUnmarshaller.java index 76e720140f..2e9d9e4a8c 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListLineageResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListLineageResponseUnmarshaller.java @@ -20,9 +20,7 @@ import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse; import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse.Data; import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse.Data.DataEntityListItem; -import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse.Data.DataEntityListItem.Entity; -import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse.Data.DataEntityListItem.RelationListItem; -import java.util.Map; +import com.aliyuncs.dataworks_public.model.v20200518.ListLineageResponse.Data.DataEntityListItem.RelationListItem; import com.aliyuncs.transform.UnmarshallerContext; @@ -44,12 +42,6 @@ public static ListLineageResponse unmarshall(ListLineageResponse listLineageResp DataEntityListItem dataEntityListItem = new DataEntityListItem(); dataEntityListItem.setCreateTimestamp(_ctx.longValue("ListLineageResponse.Data.DataEntityList["+ i +"].CreateTimestamp")); - Entity entity = new Entity(); - entity.setQualifiedName(_ctx.stringValue("ListLineageResponse.Data.DataEntityList["+ i +"].Entity.QualifiedName")); - entity.setTenantId(_ctx.longValue("ListLineageResponse.Data.DataEntityList["+ i +"].Entity.TenantId")); - entity.setEntityContent(_ctx.mapValue("ListLineageResponse.Data.DataEntityList["+ i +"].Entity.EntityContent")); - dataEntityListItem.setEntity(entity); - List relationList = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListLineageResponse.Data.DataEntityList["+ i +"].RelationList.Length"); j++) { RelationListItem relationListItem = new RelationListItem(); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionEntitiesResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionEntitiesResponseUnmarshaller.java index 2caf690ceb..0917e61b4a 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionEntitiesResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionEntitiesResponseUnmarshaller.java @@ -18,9 +18,7 @@ import java.util.List; import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionEntitiesResponse; -import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionEntitiesResponse.Data; -import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionEntitiesResponse.Data.EntityListItem; -import java.util.Map; +import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionEntitiesResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; @@ -37,14 +35,9 @@ public static ListMetaCollectionEntitiesResponse unmarshall(ListMetaCollectionEn Data data = new Data(); data.setNextToken(_ctx.stringValue("ListMetaCollectionEntitiesResponse.Data.NextToken")); - List entityList = new ArrayList(); + List entityList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListMetaCollectionEntitiesResponse.Data.EntityList.Length"); i++) { - EntityListItem entityListItem = new EntityListItem(); - entityListItem.setQualifiedName(_ctx.stringValue("ListMetaCollectionEntitiesResponse.Data.EntityList["+ i +"].QualifiedName")); - entityListItem.setTenantId(_ctx.longValue("ListMetaCollectionEntitiesResponse.Data.EntityList["+ i +"].TenantId")); - entityListItem.setEntityContent(_ctx.mapValue("ListMetaCollectionEntitiesResponse.Data.EntityList["+ i +"].EntityContent")); - - entityList.add(entityListItem); + entityList.add(_ctx.stringValue("ListMetaCollectionEntitiesResponse.Data.EntityList["+ i +"]")); } data.setEntityList(entityList); listMetaCollectionEntitiesResponse.setData(data); diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionsResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionsResponseUnmarshaller.java index fb0d3bbae6..a816df9d5a 100644 --- a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionsResponseUnmarshaller.java +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListMetaCollectionsResponseUnmarshaller.java @@ -18,8 +18,7 @@ import java.util.List; import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionsResponse; -import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionsResponse.Data; -import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionsResponse.Data.CollectionListItem; +import com.aliyuncs.dataworks_public.model.v20200518.ListMetaCollectionsResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; @@ -36,20 +35,9 @@ public static ListMetaCollectionsResponse unmarshall(ListMetaCollectionsResponse Data data = new Data(); data.setNextToken(_ctx.stringValue("ListMetaCollectionsResponse.Data.NextToken")); - List collectionList = new ArrayList(); + List collectionList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListMetaCollectionsResponse.Data.CollectionList.Length"); i++) { - CollectionListItem collectionListItem = new CollectionListItem(); - collectionListItem.setQualifiedName(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].QualifiedName")); - collectionListItem.setCollectionType(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].CollectionType")); - collectionListItem.setName(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].Name")); - collectionListItem.setComment(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].Comment")); - collectionListItem.setOwnerId(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].OwnerId")); - collectionListItem.setOwnerName(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].OwnerName")); - collectionListItem.setCreateTime(_ctx.longValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].CreateTime")); - collectionListItem.setUpdateTime(_ctx.longValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].UpdateTime")); - collectionListItem.setLevel(_ctx.integerValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"].Level")); - - collectionList.add(collectionListItem); + collectionList.add(_ctx.stringValue("ListMetaCollectionsResponse.Data.CollectionList["+ i +"]")); } data.setCollectionList(collectionList); listMetaCollectionsResponse.setData(data);