index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/ListRepositoryWebhookResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.ListRepositoryWebhookResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListRepositoryWebhookResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Long total;
private List<ResultItem> result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Long getTotal() {
return this.total;
}
public void setTotal(Long total) {
this.total = total;
}
public List<ResultItem> getResult() {
return this.result;
}
public void setResult(List<ResultItem> result) {
this.result = result;
}
public static class ResultItem {
private Long id;
private String url;
private String createdAt;
private Long projectId;
private Boolean pushEvents;
private Boolean mergeRequestsEvents;
private Boolean tagPushEvents;
private Boolean noteEvents;
private Boolean enableSslVerification;
private String lastTestResult;
private String description;
private String secretToken;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public Boolean getPushEvents() {
return this.pushEvents;
}
public void setPushEvents(Boolean pushEvents) {
this.pushEvents = pushEvents;
}
public Boolean getMergeRequestsEvents() {
return this.mergeRequestsEvents;
}
public void setMergeRequestsEvents(Boolean mergeRequestsEvents) {
this.mergeRequestsEvents = mergeRequestsEvents;
}
public Boolean getTagPushEvents() {
return this.tagPushEvents;
}
public void setTagPushEvents(Boolean tagPushEvents) {
this.tagPushEvents = tagPushEvents;
}
public Boolean getNoteEvents() {
return this.noteEvents;
}
public void setNoteEvents(Boolean noteEvents) {
this.noteEvents = noteEvents;
}
public Boolean getEnableSslVerification() {
return this.enableSslVerification;
}
public void setEnableSslVerification(Boolean enableSslVerification) {
this.enableSslVerification = enableSslVerification;
}
public String getLastTestResult() {
return this.lastTestResult;
}
public void setLastTestResult(String lastTestResult) {
this.lastTestResult = lastTestResult;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSecretToken() {
return this.secretToken;
}
public void setSecretToken(String secretToken) {
this.secretToken = secretToken;
}
}
@Override
public ListRepositoryWebhookResponse getInstance(UnmarshallerContext context) {
return ListRepositoryWebhookResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/MergeMergeRequestRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class MergeMergeRequestRequest extends RoaAcsRequest<MergeMergeRequestResponse> {
private String organizationId;
private String subUserId;
private Long mergeRequestId;
private String accessToken;
private Long projectId;
public MergeMergeRequestRequest() {
super("codeup", "2020-04-14", "MergeMergeRequest");
setUriPattern("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/merge");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public Long getMergeRequestId() {
return this.mergeRequestId;
}
public void setMergeRequestId(Long mergeRequestId) {
this.mergeRequestId = mergeRequestId;
if(mergeRequestId != null){
putPathParameter("MergeRequestId", mergeRequestId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<MergeMergeRequestResponse> getResponseClass() {
return MergeMergeRequestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/MergeMergeRequestResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.MergeMergeRequestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MergeMergeRequestResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Long id;
private Long projectId;
private String title;
private String description;
private String state;
private String mergeStatus;
private String createdAt;
private String updatedAt;
private String targetBranch;
private String sourceBranch;
private String webUrl;
private String acceptedRevision;
private String mergeError;
private String mergedRevision;
private String nameWithNamespace;
private String mergeType;
private Integer aheadCommitCount;
private Integer behindCommitCount;
private List<AssigneeListItem> assigneeList;
private Author author;
private ApproveCheckResult approveCheckResult;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMergeStatus() {
return this.mergeStatus;
}
public void setMergeStatus(String mergeStatus) {
this.mergeStatus = mergeStatus;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getUpdatedAt() {
return this.updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
public String getTargetBranch() {
return this.targetBranch;
}
public void setTargetBranch(String targetBranch) {
this.targetBranch = targetBranch;
}
public String getSourceBranch() {
return this.sourceBranch;
}
public void setSourceBranch(String sourceBranch) {
this.sourceBranch = sourceBranch;
}
public String getWebUrl() {
return this.webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public String getAcceptedRevision() {
return this.acceptedRevision;
}
public void setAcceptedRevision(String acceptedRevision) {
this.acceptedRevision = acceptedRevision;
}
public String getMergeError() {
return this.mergeError;
}
public void setMergeError(String mergeError) {
this.mergeError = mergeError;
}
public String getMergedRevision() {
return this.mergedRevision;
}
public void setMergedRevision(String mergedRevision) {
this.mergedRevision = mergedRevision;
}
public String getNameWithNamespace() {
return this.nameWithNamespace;
}
public void setNameWithNamespace(String nameWithNamespace) {
this.nameWithNamespace = nameWithNamespace;
}
public String getMergeType() {
return this.mergeType;
}
public void setMergeType(String mergeType) {
this.mergeType = mergeType;
}
public Integer getAheadCommitCount() {
return this.aheadCommitCount;
}
public void setAheadCommitCount(Integer aheadCommitCount) {
this.aheadCommitCount = aheadCommitCount;
}
public Integer getBehindCommitCount() {
return this.behindCommitCount;
}
public void setBehindCommitCount(Integer behindCommitCount) {
this.behindCommitCount = behindCommitCount;
}
public List<AssigneeListItem> getAssigneeList() {
return this.assigneeList;
}
public void setAssigneeList(List<AssigneeListItem> assigneeList) {
this.assigneeList = assigneeList;
}
public Author getAuthor() {
return this.author;
}
public void setAuthor(Author author) {
this.author = author;
}
public ApproveCheckResult getApproveCheckResult() {
return this.approveCheckResult;
}
public void setApproveCheckResult(ApproveCheckResult approveCheckResult) {
this.approveCheckResult = approveCheckResult;
}
public static class AssigneeListItem {
private String id;
private String externUserId;
private String avatarUrl;
private String name;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class Author {
private Long id;
private String externUserId;
private String avatarUrl;
private String name;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class ApproveCheckResult {
private String totalCheckResult;
private List<SatisfiedCheckResultsItem> satisfiedCheckResults;
private List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
public String getTotalCheckResult() {
return this.totalCheckResult;
}
public void setTotalCheckResult(String totalCheckResult) {
this.totalCheckResult = totalCheckResult;
}
public List<SatisfiedCheckResultsItem> getSatisfiedCheckResults() {
return this.satisfiedCheckResults;
}
public void setSatisfiedCheckResults(List<SatisfiedCheckResultsItem> satisfiedCheckResults) {
this.satisfiedCheckResults = satisfiedCheckResults;
}
public List<UnsatisfiedCheckResultsItem> getUnsatisfiedCheckResults() {
return this.unsatisfiedCheckResults;
}
public void setUnsatisfiedCheckResults(List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults) {
this.unsatisfiedCheckResults = unsatisfiedCheckResults;
}
public static class SatisfiedCheckResultsItem {
private String checkStatus;
private String checkName;
private String checkType;
private List<ExtraUsersItem> extraUsers;
private List<String> satisfiedItems;
private List<String> unsatisfiedItems;
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem> getExtraUsers() {
return this.extraUsers;
}
public void setExtraUsers(List<ExtraUsersItem> extraUsers) {
this.extraUsers = extraUsers;
}
public List<String> getSatisfiedItems() {
return this.satisfiedItems;
}
public void setSatisfiedItems(List<String> satisfiedItems) {
this.satisfiedItems = satisfiedItems;
}
public List<String> getUnsatisfiedItems() {
return this.unsatisfiedItems;
}
public void setUnsatisfiedItems(List<String> unsatisfiedItems) {
this.unsatisfiedItems = unsatisfiedItems;
}
public static class ExtraUsersItem {
private Long id;
private String externUserId;
private String avatarUrl;
private String name;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
public static class UnsatisfiedCheckResultsItem {
private String checkStatus;
private String checkName;
private String checkType;
private List<ExtraUsersItem4> extraUsers3;
private List<String> satisfiedItems1;
private List<String> unsatisfiedItems2;
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem4> getExtraUsers3() {
return this.extraUsers3;
}
public void setExtraUsers3(List<ExtraUsersItem4> extraUsers3) {
this.extraUsers3 = extraUsers3;
}
public List<String> getSatisfiedItems1() {
return this.satisfiedItems1;
}
public void setSatisfiedItems1(List<String> satisfiedItems1) {
this.satisfiedItems1 = satisfiedItems1;
}
public List<String> getUnsatisfiedItems2() {
return this.unsatisfiedItems2;
}
public void setUnsatisfiedItems2(List<String> unsatisfiedItems2) {
this.unsatisfiedItems2 = unsatisfiedItems2;
}
public static class ExtraUsersItem4 {
private Long id;
private String externUserId;
private String avatarUrl;
private String name;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
}
@Override
public MergeMergeRequestResponse getInstance(UnmarshallerContext context) {
return MergeMergeRequestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateFileRequest extends RoaAcsRequest<UpdateFileResponse> {
private String organizationId;
private String subUserId;
private String accessToken;
private Long projectId;
public UpdateFileRequest() {
super("codeup", "2020-04-14", "UpdateFile");
setUriPattern("/api/v4/projects/[ProjectId]/repository/files");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<UpdateFileResponse> getResponseClass() {
return UpdateFileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateFileResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateFileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateFileResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String branchName;
private String filePath;
public String getBranchName() {
return this.branchName;
}
public void setBranchName(String branchName) {
this.branchName = branchName;
}
public String getFilePath() {
return this.filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
}
@Override
public UpdateFileResponse getInstance(UnmarshallerContext context) {
return UpdateFileResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateGroupMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateGroupMemberRequest extends RoaAcsRequest<UpdateGroupMemberResponse> {
private String organizationId;
private String subUserId;
private Long groupId;
private String accessToken;
private Long userId;
public UpdateGroupMemberRequest() {
super("codeup", "2020-04-14", "UpdateGroupMember");
setUriPattern("/api/v3/groups/[GroupId]/members/[UserId]");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public Long getGroupId() {
return this.groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
if(groupId != null){
putPathParameter("GroupId", groupId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getUserId() {
return this.userId;
}
public void setUserId(Long userId) {
this.userId = userId;
if(userId != null){
putPathParameter("UserId", userId.toString());
}
}
@Override
public Class<UpdateGroupMemberResponse> getResponseClass() {
return UpdateGroupMemberResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateGroupMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateGroupMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateGroupMemberResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Integer accessLevel;
private String externUserId;
private Long id;
private String state;
private String avatarUrl;
private String email;
public Integer getAccessLevel() {
return this.accessLevel;
}
public void setAccessLevel(Integer accessLevel) {
this.accessLevel = accessLevel;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
}
@Override
public UpdateGroupMemberResponse getInstance(UnmarshallerContext context) {
return UpdateGroupMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestCommentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestCommentRequest extends RoaAcsRequest<UpdateMergeRequestCommentResponse> {
private String organizationId;
private Long mergeRequestId;
private String accessToken;
private Long noteId;
private Long projectId;
public UpdateMergeRequestCommentRequest() {
super("codeup", "2020-04-14", "UpdateMergeRequestComment");
setUriPattern("/api/v3/projects/[ProjectId]/merge_requests/[MergeRequestId]/notes/[NoteId]");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public Long getMergeRequestId() {
return this.mergeRequestId;
}
public void setMergeRequestId(Long mergeRequestId) {
this.mergeRequestId = mergeRequestId;
if(mergeRequestId != null){
putPathParameter("MergeRequestId", mergeRequestId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getNoteId() {
return this.noteId;
}
public void setNoteId(Long noteId) {
this.noteId = noteId;
if(noteId != null){
putPathParameter("NoteId", noteId.toString());
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<UpdateMergeRequestCommentResponse> getResponseClass() {
return UpdateMergeRequestCommentResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestCommentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateMergeRequestCommentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestCommentResponse extends AcsResponse {
private String errorCode;
private String errorMessage;
private String requestId;
private Boolean success;
private Result result;
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 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 Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Boolean result;
public Boolean getResult() {
return this.result;
}
public void setResult(Boolean result) {
this.result = result;
}
}
@Override
public UpdateMergeRequestCommentResponse getInstance(UnmarshallerContext context) {
return UpdateMergeRequestCommentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestRequest extends RoaAcsRequest<UpdateMergeRequestResponse> {
private String organizationId;
private Long mergeRequestId;
private String accessToken;
private Long projectId;
public UpdateMergeRequestRequest() {
super("codeup", "2020-04-14", "UpdateMergeRequest");
setUriPattern("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public Long getMergeRequestId() {
return this.mergeRequestId;
}
public void setMergeRequestId(Long mergeRequestId) {
this.mergeRequestId = mergeRequestId;
if(mergeRequestId != null){
putPathParameter("MergeRequestId", mergeRequestId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<UpdateMergeRequestResponse> getResponseClass() {
return UpdateMergeRequestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateMergeRequestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestResponse extends AcsResponse {
private String errorCode;
private String errorMessage;
private String requestId;
private Boolean success;
private Result result;
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 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 Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String acceptedRevision;
private Integer aheadCommitCount;
private Integer behindCommitCount;
private String createdAt;
private String description;
private Long id;
private String mergeError;
private String mergeStatus;
private String mergeType;
private String mergedRevision;
private String nameWithNamespace;
private Long projectId;
private String sourceBranch;
private String state;
private String targetBranch;
private String title;
private String updatedAt;
private String webUrl;
private List<AssigneeListItem> assigneeList;
private ApproveCheckResult approveCheckResult;
private Author author;
public String getAcceptedRevision() {
return this.acceptedRevision;
}
public void setAcceptedRevision(String acceptedRevision) {
this.acceptedRevision = acceptedRevision;
}
public Integer getAheadCommitCount() {
return this.aheadCommitCount;
}
public void setAheadCommitCount(Integer aheadCommitCount) {
this.aheadCommitCount = aheadCommitCount;
}
public Integer getBehindCommitCount() {
return this.behindCommitCount;
}
public void setBehindCommitCount(Integer behindCommitCount) {
this.behindCommitCount = behindCommitCount;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getMergeError() {
return this.mergeError;
}
public void setMergeError(String mergeError) {
this.mergeError = mergeError;
}
public String getMergeStatus() {
return this.mergeStatus;
}
public void setMergeStatus(String mergeStatus) {
this.mergeStatus = mergeStatus;
}
public String getMergeType() {
return this.mergeType;
}
public void setMergeType(String mergeType) {
this.mergeType = mergeType;
}
public String getMergedRevision() {
return this.mergedRevision;
}
public void setMergedRevision(String mergedRevision) {
this.mergedRevision = mergedRevision;
}
public String getNameWithNamespace() {
return this.nameWithNamespace;
}
public void setNameWithNamespace(String nameWithNamespace) {
this.nameWithNamespace = nameWithNamespace;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public String getSourceBranch() {
return this.sourceBranch;
}
public void setSourceBranch(String sourceBranch) {
this.sourceBranch = sourceBranch;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getTargetBranch() {
return this.targetBranch;
}
public void setTargetBranch(String targetBranch) {
this.targetBranch = targetBranch;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUpdatedAt() {
return this.updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
public String getWebUrl() {
return this.webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public List<AssigneeListItem> getAssigneeList() {
return this.assigneeList;
}
public void setAssigneeList(List<AssigneeListItem> assigneeList) {
this.assigneeList = assigneeList;
}
public ApproveCheckResult getApproveCheckResult() {
return this.approveCheckResult;
}
public void setApproveCheckResult(ApproveCheckResult approveCheckResult) {
this.approveCheckResult = approveCheckResult;
}
public Author getAuthor() {
return this.author;
}
public void setAuthor(Author author) {
this.author = author;
}
public static class AssigneeListItem {
private String avatarUrl;
private String externUserId;
private String id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class ApproveCheckResult {
private String totalCheckResult;
private List<SatisfiedCheckResultsItem> satisfiedCheckResults;
private List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
public String getTotalCheckResult() {
return this.totalCheckResult;
}
public void setTotalCheckResult(String totalCheckResult) {
this.totalCheckResult = totalCheckResult;
}
public List<SatisfiedCheckResultsItem> getSatisfiedCheckResults() {
return this.satisfiedCheckResults;
}
public void setSatisfiedCheckResults(List<SatisfiedCheckResultsItem> satisfiedCheckResults) {
this.satisfiedCheckResults = satisfiedCheckResults;
}
public List<UnsatisfiedCheckResultsItem> getUnsatisfiedCheckResults() {
return this.unsatisfiedCheckResults;
}
public void setUnsatisfiedCheckResults(List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults) {
this.unsatisfiedCheckResults = unsatisfiedCheckResults;
}
public static class SatisfiedCheckResultsItem {
private String checkName;
private String checkStatus;
private String checkType;
private List<ExtraUsersItem> extraUsers;
private List<String> satisfiedItems;
private List<String> unsatisfiedItems;
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem> getExtraUsers() {
return this.extraUsers;
}
public void setExtraUsers(List<ExtraUsersItem> extraUsers) {
this.extraUsers = extraUsers;
}
public List<String> getSatisfiedItems() {
return this.satisfiedItems;
}
public void setSatisfiedItems(List<String> satisfiedItems) {
this.satisfiedItems = satisfiedItems;
}
public List<String> getUnsatisfiedItems() {
return this.unsatisfiedItems;
}
public void setUnsatisfiedItems(List<String> unsatisfiedItems) {
this.unsatisfiedItems = unsatisfiedItems;
}
public static class ExtraUsersItem {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
public static class UnsatisfiedCheckResultsItem {
private String checkName;
private String checkStatus;
private String checkType;
private List<ExtraUsersItem4> extraUsers3;
private List<String> satisfiedItems1;
private List<String> unsatisfiedItems2;
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem4> getExtraUsers3() {
return this.extraUsers3;
}
public void setExtraUsers3(List<ExtraUsersItem4> extraUsers3) {
this.extraUsers3 = extraUsers3;
}
public List<String> getSatisfiedItems1() {
return this.satisfiedItems1;
}
public void setSatisfiedItems1(List<String> satisfiedItems1) {
this.satisfiedItems1 = satisfiedItems1;
}
public List<String> getUnsatisfiedItems2() {
return this.unsatisfiedItems2;
}
public void setUnsatisfiedItems2(List<String> unsatisfiedItems2) {
this.unsatisfiedItems2 = unsatisfiedItems2;
}
public static class ExtraUsersItem4 {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
public static class Author {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
@Override
public UpdateMergeRequestResponse getInstance(UnmarshallerContext context) {
return UpdateMergeRequestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestSettingRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestSettingRequest extends RoaAcsRequest<UpdateMergeRequestSettingResponse> {
private String organizationId;
private String accessToken;
private Long projectId;
public UpdateMergeRequestSettingRequest() {
super("codeup", "2020-04-14", "UpdateMergeRequestSetting");
setUriPattern("/api/v4/projects/[ProjectId]/settings/merge_requests");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<UpdateMergeRequestSettingResponse> getResponseClass() {
return UpdateMergeRequestSettingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateMergeRequestSettingResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateMergeRequestSettingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateMergeRequestSettingResponse extends AcsResponse {
private String errorCode;
private String errorMessage;
private String requestId;
private Boolean success;
private Result result;
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 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 Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Boolean result;
public Boolean getResult() {
return this.result;
}
public void setResult(Boolean result) {
this.result = result;
}
}
@Override
public UpdateMergeRequestSettingResponse getInstance(UnmarshallerContext context) {
return UpdateMergeRequestSettingResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateRepositoryMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateRepositoryMemberRequest extends RoaAcsRequest<UpdateRepositoryMemberResponse> {
private String organizationId;
private String subUserId;
private String accessToken;
private Long projectId;
private Long userId;
public UpdateRepositoryMemberRequest() {
super("codeup", "2020-04-14", "UpdateRepositoryMember");
setUriPattern("/api/v3/projects/[ProjectId]/members/[UserId]");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
public Long getUserId() {
return this.userId;
}
public void setUserId(Long userId) {
this.userId = userId;
if(userId != null){
putPathParameter("UserId", userId.toString());
}
}
@Override
public Class<UpdateRepositoryMemberResponse> getResponseClass() {
return UpdateRepositoryMemberResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateRepositoryMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateRepositoryMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateRepositoryMemberResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Integer accessLevel;
private String externUserId;
private Long id;
private String state;
private String avatarUrl;
private String email;
public Integer getAccessLevel() {
return this.accessLevel;
}
public void setAccessLevel(Integer accessLevel) {
this.accessLevel = accessLevel;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
}
@Override
public UpdateRepositoryMemberResponse getInstance(UnmarshallerContext context) {
return UpdateRepositoryMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateRepositoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateRepositoryRequest extends RoaAcsRequest<UpdateRepositoryResponse> {
private String organizationId;
private String accessToken;
private Long projectId;
public UpdateRepositoryRequest() {
super("codeup", "2020-04-14", "UpdateRepository");
setUriPattern("/api/v3/projects/[ProjectId]");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<UpdateRepositoryResponse> getResponseClass() {
return UpdateRepositoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/UpdateRepositoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.UpdateRepositoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateRepositoryResponse extends AcsResponse {
private String errorCode;
private String errorMessage;
private String requestId;
private Boolean success;
private Result result;
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 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 Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Boolean archive;
private String avatarUrl;
private String createdAt;
private Long creatorId;
private String defaultBranch;
private String description;
private String httpUrlToRepo;
private Long id;
private String lastActivityAt;
private String name;
private String nameWithNamespace;
private String path;
private String pathWithNamespace;
private String sshUrlToRepo;
private String visibilityLevel;
private String webUrl;
private Namespace namespace;
public Boolean getArchive() {
return this.archive;
}
public void setArchive(Boolean archive) {
this.archive = archive;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public Long getCreatorId() {
return this.creatorId;
}
public void setCreatorId(Long creatorId) {
this.creatorId = creatorId;
}
public String getDefaultBranch() {
return this.defaultBranch;
}
public void setDefaultBranch(String defaultBranch) {
this.defaultBranch = defaultBranch;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getHttpUrlToRepo() {
return this.httpUrlToRepo;
}
public void setHttpUrlToRepo(String httpUrlToRepo) {
this.httpUrlToRepo = httpUrlToRepo;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getLastActivityAt() {
return this.lastActivityAt;
}
public void setLastActivityAt(String lastActivityAt) {
this.lastActivityAt = lastActivityAt;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getNameWithNamespace() {
return this.nameWithNamespace;
}
public void setNameWithNamespace(String nameWithNamespace) {
this.nameWithNamespace = nameWithNamespace;
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getPathWithNamespace() {
return this.pathWithNamespace;
}
public void setPathWithNamespace(String pathWithNamespace) {
this.pathWithNamespace = pathWithNamespace;
}
public String getSshUrlToRepo() {
return this.sshUrlToRepo;
}
public void setSshUrlToRepo(String sshUrlToRepo) {
this.sshUrlToRepo = sshUrlToRepo;
}
public String getVisibilityLevel() {
return this.visibilityLevel;
}
public void setVisibilityLevel(String visibilityLevel) {
this.visibilityLevel = visibilityLevel;
}
public String getWebUrl() {
return this.webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public Namespace getNamespace() {
return this.namespace;
}
public void setNamespace(Namespace namespace) {
this.namespace = namespace;
}
public static class Namespace {
private String avatar;
private String createdAt;
private String description;
private Long id;
private String name;
private Long ownerId;
private String path;
private Boolean _public;
private String updatedAt;
private String visibilityLevel;
public String getAvatar() {
return this.avatar;
}
public void setAvatar(String avatar) {
this.avatar = avatar;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public Boolean get_Public() {
return this._public;
}
public void set_Public(Boolean _public) {
this._public = _public;
}
public String getUpdatedAt() {
return this.updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
public String getVisibilityLevel() {
return this.visibilityLevel;
}
public void setVisibilityLevel(String visibilityLevel) {
this.visibilityLevel = visibilityLevel;
}
}
}
@Override
public UpdateRepositoryResponse getInstance(UnmarshallerContext context) {
return UpdateRepositoryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/AcceptMergeRequestResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.AcceptMergeRequestResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class AcceptMergeRequestResponseUnmarshaller {
public static AcceptMergeRequestResponse unmarshall(AcceptMergeRequestResponse acceptMergeRequestResponse, UnmarshallerContext _ctx) {
acceptMergeRequestResponse.setRequestId(_ctx.stringValue("AcceptMergeRequestResponse.RequestId"));
acceptMergeRequestResponse.setErrorCode(_ctx.stringValue("AcceptMergeRequestResponse.ErrorCode"));
acceptMergeRequestResponse.setErrorMessage(_ctx.stringValue("AcceptMergeRequestResponse.ErrorMessage"));
acceptMergeRequestResponse.setSuccess(_ctx.booleanValue("AcceptMergeRequestResponse.Success"));
Result result = new Result();
result.setAcceptedRevision(_ctx.stringValue("AcceptMergeRequestResponse.Result.AcceptedRevision"));
result.setAheadCommitCount(_ctx.integerValue("AcceptMergeRequestResponse.Result.AheadCommitCount"));
result.setBehindCommitCount(_ctx.integerValue("AcceptMergeRequestResponse.Result.BehindCommitCount"));
result.setCreatedAt(_ctx.stringValue("AcceptMergeRequestResponse.Result.CreatedAt"));
result.setDescription(_ctx.stringValue("AcceptMergeRequestResponse.Result.Description"));
result.setId(_ctx.longValue("AcceptMergeRequestResponse.Result.Id"));
result.setMergeError(_ctx.stringValue("AcceptMergeRequestResponse.Result.MergeError"));
result.setMergeStatus(_ctx.stringValue("AcceptMergeRequestResponse.Result.MergeStatus"));
result.setMergeType(_ctx.stringValue("AcceptMergeRequestResponse.Result.MergeType"));
result.setMergedRevision(_ctx.stringValue("AcceptMergeRequestResponse.Result.MergedRevision"));
result.setNameWithNamespace(_ctx.stringValue("AcceptMergeRequestResponse.Result.NameWithNamespace"));
result.setProjectId(_ctx.longValue("AcceptMergeRequestResponse.Result.ProjectId"));
result.setSourceBranch(_ctx.stringValue("AcceptMergeRequestResponse.Result.SourceBranch"));
result.setState(_ctx.stringValue("AcceptMergeRequestResponse.Result.State"));
result.setTargetBranch(_ctx.stringValue("AcceptMergeRequestResponse.Result.TargetBranch"));
result.setTitle(_ctx.stringValue("AcceptMergeRequestResponse.Result.Title"));
result.setUpdatedAt(_ctx.stringValue("AcceptMergeRequestResponse.Result.UpdatedAt"));
result.setWebUrl(_ctx.stringValue("AcceptMergeRequestResponse.Result.WebUrl"));
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults.Length"); i++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckName"));
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems.add(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems.add(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setAvatarUrl(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem.setExternUserId(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem.setId(_ctx.longValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem.setName(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults.Length"); i++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems1.add(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems2.add(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int j = 0; j < _ctx.lengthValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setAvatarUrl(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem4.setExternUserId(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem4.setId(_ctx.longValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem4.setName(_ctx.stringValue("AcceptMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
result.setApproveCheckResult(approveCheckResult);
Author author = new Author();
author.setAvatarUrl(_ctx.stringValue("AcceptMergeRequestResponse.Result.Author.AvatarUrl"));
author.setExternUserId(_ctx.stringValue("AcceptMergeRequestResponse.Result.Author.ExternUserId"));
author.setId(_ctx.longValue("AcceptMergeRequestResponse.Result.Author.Id"));
author.setName(_ctx.stringValue("AcceptMergeRequestResponse.Result.Author.Name"));
result.setAuthor(author);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int i = 0; i < _ctx.lengthValue("AcceptMergeRequestResponse.Result.AssigneeList.Length"); i++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setAvatarUrl(_ctx.stringValue("AcceptMergeRequestResponse.Result.AssigneeList["+ i +"].AvatarUrl"));
assigneeListItem.setExternUserId(_ctx.stringValue("AcceptMergeRequestResponse.Result.AssigneeList["+ i +"].ExternUserId"));
assigneeListItem.setId(_ctx.stringValue("AcceptMergeRequestResponse.Result.AssigneeList["+ i +"].Id"));
assigneeListItem.setName(_ctx.stringValue("AcceptMergeRequestResponse.Result.AssigneeList["+ i +"].Name"));
assigneeList.add(assigneeListItem);
}
result.setAssigneeList(assigneeList);
acceptMergeRequestResponse.setResult(result);
return acceptMergeRequestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/AddGroupMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.AddGroupMemberResponse;
import com.aliyuncs.codeup.model.v20200414.AddGroupMemberResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddGroupMemberResponseUnmarshaller {
public static AddGroupMemberResponse unmarshall(AddGroupMemberResponse addGroupMemberResponse, UnmarshallerContext _ctx) {
addGroupMemberResponse.setRequestId(_ctx.stringValue("AddGroupMemberResponse.RequestId"));
addGroupMemberResponse.setErrorCode(_ctx.stringValue("AddGroupMemberResponse.ErrorCode"));
addGroupMemberResponse.setSuccess(_ctx.booleanValue("AddGroupMemberResponse.Success"));
addGroupMemberResponse.setErrorMessage(_ctx.stringValue("AddGroupMemberResponse.ErrorMessage"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("AddGroupMemberResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAccessLevel(_ctx.integerValue("AddGroupMemberResponse.Result["+ i +"].AccessLevel"));
resultItem.setExternUserId(_ctx.stringValue("AddGroupMemberResponse.Result["+ i +"].ExternUserId"));
resultItem.setId(_ctx.longValue("AddGroupMemberResponse.Result["+ i +"].Id"));
resultItem.setState(_ctx.stringValue("AddGroupMemberResponse.Result["+ i +"].State"));
resultItem.setAvatarUrl(_ctx.stringValue("AddGroupMemberResponse.Result["+ i +"].AvatarUrl"));
resultItem.setEmail(_ctx.stringValue("AddGroupMemberResponse.Result["+ i +"].Email"));
result.add(resultItem);
}
addGroupMemberResponse.setResult(result);
return addGroupMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/AddRepositoryMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.AddRepositoryMemberResponse;
import com.aliyuncs.codeup.model.v20200414.AddRepositoryMemberResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddRepositoryMemberResponseUnmarshaller {
public static AddRepositoryMemberResponse unmarshall(AddRepositoryMemberResponse addRepositoryMemberResponse, UnmarshallerContext _ctx) {
addRepositoryMemberResponse.setRequestId(_ctx.stringValue("AddRepositoryMemberResponse.RequestId"));
addRepositoryMemberResponse.setErrorCode(_ctx.stringValue("AddRepositoryMemberResponse.ErrorCode"));
addRepositoryMemberResponse.setSuccess(_ctx.booleanValue("AddRepositoryMemberResponse.Success"));
addRepositoryMemberResponse.setErrorMessage(_ctx.stringValue("AddRepositoryMemberResponse.ErrorMessage"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("AddRepositoryMemberResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAccessLevel(_ctx.integerValue("AddRepositoryMemberResponse.Result["+ i +"].AccessLevel"));
resultItem.setExternUserId(_ctx.stringValue("AddRepositoryMemberResponse.Result["+ i +"].ExternUserId"));
resultItem.setId(_ctx.longValue("AddRepositoryMemberResponse.Result["+ i +"].Id"));
resultItem.setState(_ctx.stringValue("AddRepositoryMemberResponse.Result["+ i +"].State"));
resultItem.setAvatarUrl(_ctx.stringValue("AddRepositoryMemberResponse.Result["+ i +"].AvatarUrl"));
resultItem.setEmail(_ctx.stringValue("AddRepositoryMemberResponse.Result["+ i +"].Email"));
result.add(resultItem);
}
addRepositoryMemberResponse.setResult(result);
return addRepositoryMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/AddWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.AddWebhookResponse;
import com.aliyuncs.codeup.model.v20200414.AddWebhookResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddWebhookResponseUnmarshaller {
public static AddWebhookResponse unmarshall(AddWebhookResponse addWebhookResponse, UnmarshallerContext _ctx) {
addWebhookResponse.setRequestId(_ctx.stringValue("AddWebhookResponse.RequestId"));
addWebhookResponse.setErrorCode(_ctx.stringValue("AddWebhookResponse.ErrorCode"));
addWebhookResponse.setSuccess(_ctx.booleanValue("AddWebhookResponse.Success"));
addWebhookResponse.setErrorMessage(_ctx.stringValue("AddWebhookResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("AddWebhookResponse.Result.Id"));
result.setUrl(_ctx.stringValue("AddWebhookResponse.Result.Url"));
result.setCreatedAt(_ctx.stringValue("AddWebhookResponse.Result.CreatedAt"));
result.setProjectId(_ctx.longValue("AddWebhookResponse.Result.ProjectId"));
result.setPushEvents(_ctx.booleanValue("AddWebhookResponse.Result.PushEvents"));
result.setIssuesEvents(_ctx.booleanValue("AddWebhookResponse.Result.IssuesEvents"));
result.setMergeRequestsEvents(_ctx.booleanValue("AddWebhookResponse.Result.MergeRequestsEvents"));
result.setTagPushEvents(_ctx.booleanValue("AddWebhookResponse.Result.TagPushEvents"));
result.setBuildEvents(_ctx.booleanValue("AddWebhookResponse.Result.BuildEvents"));
result.setNoteEvents(_ctx.booleanValue("AddWebhookResponse.Result.NoteEvents"));
result.setEnableSslVerification(_ctx.booleanValue("AddWebhookResponse.Result.EnableSslVerification"));
result.setLastTestResult(_ctx.stringValue("AddWebhookResponse.Result.LastTestResult"));
result.setDescription(_ctx.stringValue("AddWebhookResponse.Result.Description"));
result.setSecretToken(_ctx.stringValue("AddWebhookResponse.Result.SecretToken"));
addWebhookResponse.setResult(result);
return addWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateBranchResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.CreateBranchResponse;
import com.aliyuncs.codeup.model.v20200414.CreateBranchResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateBranchResponse.Result.CommitInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateBranchResponseUnmarshaller {
public static CreateBranchResponse unmarshall(CreateBranchResponse createBranchResponse, UnmarshallerContext _ctx) {
createBranchResponse.setRequestId(_ctx.stringValue("CreateBranchResponse.RequestId"));
createBranchResponse.setErrorCode(_ctx.stringValue("CreateBranchResponse.ErrorCode"));
createBranchResponse.setSuccess(_ctx.booleanValue("CreateBranchResponse.Success"));
createBranchResponse.setErrorMessage(_ctx.stringValue("CreateBranchResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("CreateBranchResponse.Result.BranchName"));
result.setProtectedBranch(_ctx.booleanValue("CreateBranchResponse.Result.ProtectedBranch"));
CommitInfo commitInfo = new CommitInfo();
commitInfo.setId(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.Id"));
commitInfo.setShortId(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.ShortId"));
commitInfo.setTitle(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.Title"));
commitInfo.setAuthorName(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.AuthorName"));
commitInfo.setAuthorEmail(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.AuthorEmail"));
commitInfo.setCreatedAt(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.CreatedAt"));
commitInfo.setMessage(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.Message"));
commitInfo.setAuthorDate(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.AuthorDate"));
commitInfo.setCommittedDate(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.CommittedDate"));
commitInfo.setCommitterEmail(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.CommitterEmail"));
commitInfo.setCommitterName(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.CommitterName"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateBranchResponse.Result.CommitInfo.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("CreateBranchResponse.Result.CommitInfo.ParentIds["+ i +"]"));
}
commitInfo.setParentIds(parentIds);
result.setCommitInfo(commitInfo);
createBranchResponse.setResult(result);
return createBranchResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.CreateFileResponse;
import com.aliyuncs.codeup.model.v20200414.CreateFileResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateFileResponseUnmarshaller {
public static CreateFileResponse unmarshall(CreateFileResponse createFileResponse, UnmarshallerContext _ctx) {
createFileResponse.setRequestId(_ctx.stringValue("CreateFileResponse.RequestId"));
createFileResponse.setErrorCode(_ctx.stringValue("CreateFileResponse.ErrorCode"));
createFileResponse.setSuccess(_ctx.booleanValue("CreateFileResponse.Success"));
createFileResponse.setErrorMessage(_ctx.stringValue("CreateFileResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("CreateFileResponse.Result.BranchName"));
result.setFilePath(_ctx.stringValue("CreateFileResponse.Result.FilePath"));
createFileResponse.setResult(result);
return createFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateMergeRequestCommentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestCommentResponse;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestCommentResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestCommentResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateMergeRequestCommentResponseUnmarshaller {
public static CreateMergeRequestCommentResponse unmarshall(CreateMergeRequestCommentResponse createMergeRequestCommentResponse, UnmarshallerContext _ctx) {
createMergeRequestCommentResponse.setRequestId(_ctx.stringValue("CreateMergeRequestCommentResponse.RequestId"));
createMergeRequestCommentResponse.setErrorCode(_ctx.stringValue("CreateMergeRequestCommentResponse.ErrorCode"));
createMergeRequestCommentResponse.setErrorMessage(_ctx.stringValue("CreateMergeRequestCommentResponse.ErrorMessage"));
createMergeRequestCommentResponse.setSuccess(_ctx.booleanValue("CreateMergeRequestCommentResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("CreateMergeRequestCommentResponse.Result.Id"));
result.setNote(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Note"));
result.setCreatedAt(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.CreatedAt"));
result.setUpdatedAt(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.UpdatedAt"));
result.setProjectId(_ctx.longValue("CreateMergeRequestCommentResponse.Result.ProjectId"));
result.setIsDraft(_ctx.booleanValue("CreateMergeRequestCommentResponse.Result.IsDraft"));
result.setParentNoteId(_ctx.longValue("CreateMergeRequestCommentResponse.Result.ParentNoteId"));
result.setLine(_ctx.longValue("CreateMergeRequestCommentResponse.Result.Line"));
result.setSide(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Side"));
result.setPath(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Path"));
result.setRangeContext(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.RangeContext"));
result.setOutDated(_ctx.booleanValue("CreateMergeRequestCommentResponse.Result.OutDated"));
result.setClosed(_ctx.integerValue("CreateMergeRequestCommentResponse.Result.Closed"));
Author author = new Author();
author.setId(_ctx.longValue("CreateMergeRequestCommentResponse.Result.Author.Id"));
author.setAvatarUrl(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Author.AvatarUrl"));
author.setExternUserId(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Author.ExternUserId"));
author.setName(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Author.Name"));
author.setEmail(_ctx.stringValue("CreateMergeRequestCommentResponse.Result.Author.Email"));
result.setAuthor(author);
createMergeRequestCommentResponse.setResult(result);
return createMergeRequestCommentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateMergeRequestResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.CreateMergeRequestResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateMergeRequestResponseUnmarshaller {
public static CreateMergeRequestResponse unmarshall(CreateMergeRequestResponse createMergeRequestResponse, UnmarshallerContext _ctx) {
createMergeRequestResponse.setRequestId(_ctx.stringValue("CreateMergeRequestResponse.RequestId"));
createMergeRequestResponse.setErrorCode(_ctx.stringValue("CreateMergeRequestResponse.ErrorCode"));
createMergeRequestResponse.setSuccess(_ctx.booleanValue("CreateMergeRequestResponse.Success"));
createMergeRequestResponse.setErrorMessage(_ctx.stringValue("CreateMergeRequestResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("CreateMergeRequestResponse.Result.Id"));
result.setProjectId(_ctx.longValue("CreateMergeRequestResponse.Result.ProjectId"));
result.setTitle(_ctx.stringValue("CreateMergeRequestResponse.Result.Title"));
result.setDescription(_ctx.stringValue("CreateMergeRequestResponse.Result.Description"));
result.setState(_ctx.stringValue("CreateMergeRequestResponse.Result.State"));
result.setMergeStatus(_ctx.stringValue("CreateMergeRequestResponse.Result.MergeStatus"));
result.setCreatedAt(_ctx.stringValue("CreateMergeRequestResponse.Result.CreatedAt"));
result.setUpdatedAt(_ctx.stringValue("CreateMergeRequestResponse.Result.UpdatedAt"));
result.setTargetBranch(_ctx.stringValue("CreateMergeRequestResponse.Result.TargetBranch"));
result.setSourceBranch(_ctx.stringValue("CreateMergeRequestResponse.Result.SourceBranch"));
result.setWebUrl(_ctx.stringValue("CreateMergeRequestResponse.Result.WebUrl"));
result.setAcceptedRevision(_ctx.stringValue("CreateMergeRequestResponse.Result.AcceptedRevision"));
result.setMergeError(_ctx.stringValue("CreateMergeRequestResponse.Result.MergeError"));
result.setMergedRevision(_ctx.stringValue("CreateMergeRequestResponse.Result.MergedRevision"));
result.setNameWithNamespace(_ctx.stringValue("CreateMergeRequestResponse.Result.NameWithNamespace"));
result.setMergeType(_ctx.stringValue("CreateMergeRequestResponse.Result.MergeType"));
result.setAheadCommitCount(_ctx.integerValue("CreateMergeRequestResponse.Result.AheadCommitCount"));
result.setBehindCommitCount(_ctx.integerValue("CreateMergeRequestResponse.Result.BehindCommitCount"));
Author author = new Author();
author.setId(_ctx.longValue("CreateMergeRequestResponse.Result.Author.Id"));
author.setExternUserId(_ctx.stringValue("CreateMergeRequestResponse.Result.Author.ExternUserId"));
author.setAvatarUrl(_ctx.stringValue("CreateMergeRequestResponse.Result.Author.AvatarUrl"));
author.setName(_ctx.stringValue("CreateMergeRequestResponse.Result.Author.Name"));
result.setAuthor(author);
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults.Length"); i++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckName"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems.add(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems.add(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setId(_ctx.longValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem.setExternUserId(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem.setAvatarUrl(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem.setName(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults.Length"); i++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems1.add(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems2.add(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int j = 0; j < _ctx.lengthValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setId(_ctx.longValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem4.setExternUserId(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem4.setAvatarUrl(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem4.setName(_ctx.stringValue("CreateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
result.setApproveCheckResult(approveCheckResult);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int i = 0; i < _ctx.lengthValue("CreateMergeRequestResponse.Result.AssigneeList.Length"); i++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setId(_ctx.stringValue("CreateMergeRequestResponse.Result.AssigneeList["+ i +"].Id"));
assigneeListItem.setExternUserId(_ctx.stringValue("CreateMergeRequestResponse.Result.AssigneeList["+ i +"].ExternUserId"));
assigneeListItem.setAvatarUrl(_ctx.stringValue("CreateMergeRequestResponse.Result.AssigneeList["+ i +"].AvatarUrl"));
assigneeListItem.setName(_ctx.stringValue("CreateMergeRequestResponse.Result.AssigneeList["+ i +"].Name"));
assigneeList.add(assigneeListItem);
}
result.setAssigneeList(assigneeList);
createMergeRequestResponse.setResult(result);
return createMergeRequestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateRepositoryDeployKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryDeployKeyResponse;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryDeployKeyResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRepositoryDeployKeyResponseUnmarshaller {
public static CreateRepositoryDeployKeyResponse unmarshall(CreateRepositoryDeployKeyResponse createRepositoryDeployKeyResponse, UnmarshallerContext _ctx) {
createRepositoryDeployKeyResponse.setRequestId(_ctx.stringValue("CreateRepositoryDeployKeyResponse.RequestId"));
createRepositoryDeployKeyResponse.setErrorCode(_ctx.stringValue("CreateRepositoryDeployKeyResponse.ErrorCode"));
createRepositoryDeployKeyResponse.setErrorMessage(_ctx.stringValue("CreateRepositoryDeployKeyResponse.ErrorMessage"));
createRepositoryDeployKeyResponse.setSuccess(_ctx.booleanValue("CreateRepositoryDeployKeyResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("CreateRepositoryDeployKeyResponse.Result.Id"));
result.setTitle(_ctx.stringValue("CreateRepositoryDeployKeyResponse.Result.Title"));
result.setKey(_ctx.stringValue("CreateRepositoryDeployKeyResponse.Result.Key"));
result.setFingerPrint(_ctx.stringValue("CreateRepositoryDeployKeyResponse.Result.FingerPrint"));
result.setCreatedAt(_ctx.stringValue("CreateRepositoryDeployKeyResponse.Result.CreatedAt"));
createRepositoryDeployKeyResponse.setResult(result);
return createRepositoryDeployKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateRepositoryGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryGroupResponse;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryGroupResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRepositoryGroupResponseUnmarshaller {
public static CreateRepositoryGroupResponse unmarshall(CreateRepositoryGroupResponse createRepositoryGroupResponse, UnmarshallerContext _ctx) {
createRepositoryGroupResponse.setRequestId(_ctx.stringValue("CreateRepositoryGroupResponse.RequestId"));
createRepositoryGroupResponse.setErrorCode(_ctx.integerValue("CreateRepositoryGroupResponse.ErrorCode"));
createRepositoryGroupResponse.setErrorMessage(_ctx.stringValue("CreateRepositoryGroupResponse.ErrorMessage"));
createRepositoryGroupResponse.setSuccess(_ctx.booleanValue("CreateRepositoryGroupResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("CreateRepositoryGroupResponse.Result.Id"));
result.setDescription(_ctx.stringValue("CreateRepositoryGroupResponse.Result.Description"));
result.setVisibilityLevel(_ctx.stringValue("CreateRepositoryGroupResponse.Result.VisibilityLevel"));
result.setWebUrl(_ctx.stringValue("CreateRepositoryGroupResponse.Result.WebUrl"));
result.setName(_ctx.stringValue("CreateRepositoryGroupResponse.Result.Name"));
result.setNameWithNamespace(_ctx.stringValue("CreateRepositoryGroupResponse.Result.NameWithNamespace"));
result.setPath(_ctx.stringValue("CreateRepositoryGroupResponse.Result.Path"));
result.setPathWithNamespace(_ctx.stringValue("CreateRepositoryGroupResponse.Result.PathWithNamespace"));
result.setParentId(_ctx.longValue("CreateRepositoryGroupResponse.Result.ParentId"));
result.setOwnerId(_ctx.longValue("CreateRepositoryGroupResponse.Result.OwnerId"));
result.setAvatarUrl(_ctx.stringValue("CreateRepositoryGroupResponse.Result.AvatarUrl"));
result.setType(_ctx.stringValue("CreateRepositoryGroupResponse.Result.Type"));
createRepositoryGroupResponse.setResult(result);
return createRepositoryGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateRepositoryProtectedBranchResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.TestSetting;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.TestSetting.CheckConfig;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.TestSetting.CheckConfig.CheckItemsItem;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.TestSetting.CodingGuidelinesDetection;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryProtectedBranchResponse.Result.TestSetting.SensitiveInfoDetection;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRepositoryProtectedBranchResponseUnmarshaller {
public static CreateRepositoryProtectedBranchResponse unmarshall(CreateRepositoryProtectedBranchResponse createRepositoryProtectedBranchResponse, UnmarshallerContext _ctx) {
createRepositoryProtectedBranchResponse.setRequestId(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.RequestId"));
createRepositoryProtectedBranchResponse.setErrorCode(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.ErrorCode"));
createRepositoryProtectedBranchResponse.setErrorMessage(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.ErrorMessage"));
createRepositoryProtectedBranchResponse.setSuccess(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("CreateRepositoryProtectedBranchResponse.Result.Id"));
result.setBranch(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.Branch"));
List<Integer> allowPushRoles = new ArrayList<Integer>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryProtectedBranchResponse.Result.AllowPushRoles.Length"); i++) {
allowPushRoles.add(_ctx.integerValue("CreateRepositoryProtectedBranchResponse.Result.AllowPushRoles["+ i +"]"));
}
result.setAllowPushRoles(allowPushRoles);
List<Integer> allowMergeRoles = new ArrayList<Integer>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryProtectedBranchResponse.Result.AllowMergeRoles.Length"); i++) {
allowMergeRoles.add(_ctx.integerValue("CreateRepositoryProtectedBranchResponse.Result.AllowMergeRoles["+ i +"]"));
}
result.setAllowMergeRoles(allowMergeRoles);
MergeRequestSetting mergeRequestSetting = new MergeRequestSetting();
mergeRequestSetting.setRequired(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.Required"));
mergeRequestSetting.setMergeRequestMode(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.MergeRequestMode"));
mergeRequestSetting.setAllowSelfApproval(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.AllowSelfApproval"));
mergeRequestSetting.setIsRequireDiscussionProcessed(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.IsRequireDiscussionProcessed"));
mergeRequestSetting.setIsResetApprovalWhenNewPush(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.IsResetApprovalWhenNewPush"));
mergeRequestSetting.setMinimualApproval(_ctx.integerValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.MinimualApproval"));
List<Integer> allowMergeRequestRoles = new ArrayList<Integer>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.AllowMergeRequestRoles.Length"); i++) {
allowMergeRequestRoles.add(_ctx.integerValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.AllowMergeRequestRoles["+ i +"]"));
}
mergeRequestSetting.setAllowMergeRequestRoles(allowMergeRequestRoles);
List<String> defaultAssignees = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.DefaultAssignees.Length"); i++) {
defaultAssignees.add(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.MergeRequestSetting.DefaultAssignees["+ i +"]"));
}
mergeRequestSetting.setDefaultAssignees(defaultAssignees);
result.setMergeRequestSetting(mergeRequestSetting);
TestSetting testSetting = new TestSetting();
testSetting.setRequired(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.Required"));
CodingGuidelinesDetection codingGuidelinesDetection = new CodingGuidelinesDetection();
codingGuidelinesDetection.setEnabled(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.CodingGuidelinesDetection.Enabled"));
codingGuidelinesDetection.setMessage(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.CodingGuidelinesDetection.Message"));
testSetting.setCodingGuidelinesDetection(codingGuidelinesDetection);
SensitiveInfoDetection sensitiveInfoDetection = new SensitiveInfoDetection();
sensitiveInfoDetection.setEnabled(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.SensitiveInfoDetection.Enabled"));
sensitiveInfoDetection.setMessage(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.SensitiveInfoDetection.Message"));
testSetting.setSensitiveInfoDetection(sensitiveInfoDetection);
CheckConfig checkConfig = new CheckConfig();
List<CheckItemsItem> checkItems = new ArrayList<CheckItemsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.CheckConfig.CheckItems.Length"); i++) {
CheckItemsItem checkItemsItem = new CheckItemsItem();
checkItemsItem.setName(_ctx.stringValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.CheckConfig.CheckItems["+ i +"].Name"));
checkItemsItem.setRequired(_ctx.booleanValue("CreateRepositoryProtectedBranchResponse.Result.TestSetting.CheckConfig.CheckItems["+ i +"].Required"));
checkItems.add(checkItemsItem);
}
checkConfig.setCheckItems(checkItems);
testSetting.setCheckConfig(checkConfig);
result.setTestSetting(testSetting);
createRepositoryProtectedBranchResponse.setResult(result);
return createRepositoryProtectedBranchResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateRepositoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryResponse;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateRepositoryResponse.Result.Namespace;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRepositoryResponseUnmarshaller {
public static CreateRepositoryResponse unmarshall(CreateRepositoryResponse createRepositoryResponse, UnmarshallerContext _ctx) {
createRepositoryResponse.setRequestId(_ctx.stringValue("CreateRepositoryResponse.RequestId"));
createRepositoryResponse.setErrorCode(_ctx.integerValue("CreateRepositoryResponse.ErrorCode"));
createRepositoryResponse.setErrorMessage(_ctx.stringValue("CreateRepositoryResponse.ErrorMessage"));
createRepositoryResponse.setSuccess(_ctx.booleanValue("CreateRepositoryResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("CreateRepositoryResponse.Result.Id"));
result.setSshUrlToRepo(_ctx.stringValue("CreateRepositoryResponse.Result.SshUrlToRepo"));
result.setDescription(_ctx.stringValue("CreateRepositoryResponse.Result.Description"));
result.setDefaultBranch(_ctx.stringValue("CreateRepositoryResponse.Result.DefaultBranch"));
result.set_Public(_ctx.booleanValue("CreateRepositoryResponse.Result.Public"));
result.setVisibilityLevel(_ctx.stringValue("CreateRepositoryResponse.Result.VisibilityLevel"));
result.setHttpUrlToRepo(_ctx.stringValue("CreateRepositoryResponse.Result.HttpUrlToRepo"));
result.setWebUrl(_ctx.stringValue("CreateRepositoryResponse.Result.WebUrl"));
result.setName(_ctx.stringValue("CreateRepositoryResponse.Result.Name"));
result.setNameWithNamespace(_ctx.stringValue("CreateRepositoryResponse.Result.NameWithNamespace"));
result.setPath(_ctx.stringValue("CreateRepositoryResponse.Result.Path"));
result.setPathWithNamespace(_ctx.stringValue("CreateRepositoryResponse.Result.PathWithNamespace"));
result.setIssuesEnableStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.IssuesEnableStatus"));
result.setMergeRequestEnableStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.MergeRequestEnableStatus"));
result.setBuildsEnableStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.BuildsEnableStatus"));
result.setWikiEnableStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.WikiEnableStatus"));
result.setSnippetsEnableStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.SnippetsEnableStatus"));
result.setCreatedAt(_ctx.stringValue("CreateRepositoryResponse.Result.CreatedAt"));
result.setLastActivityAt(_ctx.stringValue("CreateRepositoryResponse.Result.LastActivityAt"));
result.setCreatorId(_ctx.longValue("CreateRepositoryResponse.Result.CreatorId"));
result.setArchive(_ctx.booleanValue("CreateRepositoryResponse.Result.Archive"));
result.setAvatarUrl(_ctx.stringValue("CreateRepositoryResponse.Result.AvatarUrl"));
result.setDemoProjectStatus(_ctx.booleanValue("CreateRepositoryResponse.Result.DemoProjectStatus"));
List<String> tagList = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateRepositoryResponse.Result.TagList.Length"); i++) {
tagList.add(_ctx.stringValue("CreateRepositoryResponse.Result.TagList["+ i +"]"));
}
result.setTagList(tagList);
Namespace namespace = new Namespace();
namespace.setId(_ctx.longValue("CreateRepositoryResponse.Result.Namespace.Id"));
namespace.setName(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.Name"));
namespace.setPath(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.Path"));
namespace.setOwnerId(_ctx.longValue("CreateRepositoryResponse.Result.Namespace.OwnerId"));
namespace.setCreatedAt(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.CreatedAt"));
namespace.setUpdatedAt(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.UpdatedAt"));
namespace.setDescription(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.Description"));
namespace.setState(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.State"));
namespace.setAvatar(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.Avatar"));
namespace.set_Public(_ctx.booleanValue("CreateRepositoryResponse.Result.Namespace.Public"));
namespace.setVisibilityLevel(_ctx.stringValue("CreateRepositoryResponse.Result.Namespace.VisibilityLevel"));
result.setNamespace(namespace);
createRepositoryResponse.setResult(result);
return createRepositoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateSshKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.CreateSshKeyResponse;
import com.aliyuncs.codeup.model.v20200414.CreateSshKeyResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSshKeyResponseUnmarshaller {
public static CreateSshKeyResponse unmarshall(CreateSshKeyResponse createSshKeyResponse, UnmarshallerContext _ctx) {
createSshKeyResponse.setRequestId(_ctx.stringValue("CreateSshKeyResponse.RequestId"));
createSshKeyResponse.setErrorCode(_ctx.stringValue("CreateSshKeyResponse.ErrorCode"));
createSshKeyResponse.setErrorMessage(_ctx.stringValue("CreateSshKeyResponse.ErrorMessage"));
createSshKeyResponse.setSuccess(_ctx.booleanValue("CreateSshKeyResponse.Success"));
Result result = new Result();
result.setCreatedAt(_ctx.stringValue("CreateSshKeyResponse.Result.CreatedAt"));
result.setFingerPrint(_ctx.stringValue("CreateSshKeyResponse.Result.FingerPrint"));
result.setId(_ctx.longValue("CreateSshKeyResponse.Result.Id"));
result.setKey(_ctx.stringValue("CreateSshKeyResponse.Result.Key"));
result.setKeyScope(_ctx.stringValue("CreateSshKeyResponse.Result.KeyScope"));
result.setTitle(_ctx.stringValue("CreateSshKeyResponse.Result.Title"));
createSshKeyResponse.setResult(result);
return createSshKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/CreateTagResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.CreateTagResponse;
import com.aliyuncs.codeup.model.v20200414.CreateTagResponse.Result;
import com.aliyuncs.codeup.model.v20200414.CreateTagResponse.Result.CommitInfo;
import com.aliyuncs.codeup.model.v20200414.CreateTagResponse.Result.Release;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTagResponseUnmarshaller {
public static CreateTagResponse unmarshall(CreateTagResponse createTagResponse, UnmarshallerContext _ctx) {
createTagResponse.setRequestId(_ctx.stringValue("CreateTagResponse.RequestId"));
createTagResponse.setErrorCode(_ctx.stringValue("CreateTagResponse.ErrorCode"));
createTagResponse.setSuccess(_ctx.booleanValue("CreateTagResponse.Success"));
createTagResponse.setErrorMessage(_ctx.stringValue("CreateTagResponse.ErrorMessage"));
Result result = new Result();
result.setName(_ctx.stringValue("CreateTagResponse.Result.Name"));
result.setMessage(_ctx.stringValue("CreateTagResponse.Result.Message"));
CommitInfo commitInfo = new CommitInfo();
commitInfo.setId(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.Id"));
commitInfo.setShortId(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.ShortId"));
commitInfo.setTitle(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.Title"));
commitInfo.setAuthorName(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.AuthorName"));
commitInfo.setAuthorEmail(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.AuthorEmail"));
commitInfo.setAuthoredDate(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.AuthoredDate"));
commitInfo.setCommittedDate(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.CommittedDate"));
commitInfo.setCommitterEmail(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.CommitterEmail"));
commitInfo.setCommitterName(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.CommitterName"));
commitInfo.setCreatedAt(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.CreatedAt"));
commitInfo.setMessage(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.Message"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateTagResponse.Result.CommitInfo.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("CreateTagResponse.Result.CommitInfo.ParentIds["+ i +"]"));
}
commitInfo.setParentIds(parentIds);
result.setCommitInfo(commitInfo);
Release release = new Release();
release.setTagName(_ctx.stringValue("CreateTagResponse.Result.Release.TagName"));
release.setDescription(_ctx.stringValue("CreateTagResponse.Result.Release.Description"));
result.setRelease(release);
createTagResponse.setResult(result);
return createTagResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteBranchResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteBranchResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteBranchResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteBranchResponseUnmarshaller {
public static DeleteBranchResponse unmarshall(DeleteBranchResponse deleteBranchResponse, UnmarshallerContext _ctx) {
deleteBranchResponse.setRequestId(_ctx.stringValue("DeleteBranchResponse.RequestId"));
deleteBranchResponse.setErrorCode(_ctx.stringValue("DeleteBranchResponse.ErrorCode"));
deleteBranchResponse.setSuccess(_ctx.booleanValue("DeleteBranchResponse.Success"));
deleteBranchResponse.setErrorMessage(_ctx.stringValue("DeleteBranchResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("DeleteBranchResponse.Result.BranchName"));
deleteBranchResponse.setResult(result);
return deleteBranchResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteFileResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteFileResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteFileResponseUnmarshaller {
public static DeleteFileResponse unmarshall(DeleteFileResponse deleteFileResponse, UnmarshallerContext _ctx) {
deleteFileResponse.setRequestId(_ctx.stringValue("DeleteFileResponse.RequestId"));
deleteFileResponse.setErrorCode(_ctx.stringValue("DeleteFileResponse.ErrorCode"));
deleteFileResponse.setSuccess(_ctx.booleanValue("DeleteFileResponse.Success"));
deleteFileResponse.setErrorMessage(_ctx.stringValue("DeleteFileResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("DeleteFileResponse.Result.BranchName"));
result.setFilePath(_ctx.stringValue("DeleteFileResponse.Result.FilePath"));
deleteFileResponse.setResult(result);
return deleteFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteGroupMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteGroupMemberResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteGroupMemberResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteGroupMemberResponseUnmarshaller {
public static DeleteGroupMemberResponse unmarshall(DeleteGroupMemberResponse deleteGroupMemberResponse, UnmarshallerContext _ctx) {
deleteGroupMemberResponse.setRequestId(_ctx.stringValue("DeleteGroupMemberResponse.RequestId"));
deleteGroupMemberResponse.setErrorCode(_ctx.stringValue("DeleteGroupMemberResponse.ErrorCode"));
deleteGroupMemberResponse.setSuccess(_ctx.booleanValue("DeleteGroupMemberResponse.Success"));
deleteGroupMemberResponse.setErrorMessage(_ctx.stringValue("DeleteGroupMemberResponse.ErrorMessage"));
Result result = new Result();
result.setAccessLevel(_ctx.integerValue("DeleteGroupMemberResponse.Result.AccessLevel"));
result.setId(_ctx.longValue("DeleteGroupMemberResponse.Result.Id"));
result.setExternUserId(_ctx.stringValue("DeleteGroupMemberResponse.Result.ExternUserId"));
result.setState(_ctx.stringValue("DeleteGroupMemberResponse.Result.State"));
result.setAvatarUrl(_ctx.stringValue("DeleteGroupMemberResponse.Result.AvatarUrl"));
result.setEmail(_ctx.stringValue("DeleteGroupMemberResponse.Result.Email"));
deleteGroupMemberResponse.setResult(result);
return deleteGroupMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryGroupResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryGroupResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryGroupResponseUnmarshaller {
public static DeleteRepositoryGroupResponse unmarshall(DeleteRepositoryGroupResponse deleteRepositoryGroupResponse, UnmarshallerContext _ctx) {
deleteRepositoryGroupResponse.setRequestId(_ctx.stringValue("DeleteRepositoryGroupResponse.RequestId"));
deleteRepositoryGroupResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryGroupResponse.ErrorCode"));
deleteRepositoryGroupResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryGroupResponse.Success"));
deleteRepositoryGroupResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryGroupResponse.ErrorMessage"));
Result result = new Result();
result.setResult(_ctx.booleanValue("DeleteRepositoryGroupResponse.Result.Result"));
deleteRepositoryGroupResponse.setResult(result);
return deleteRepositoryGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryMemberResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryMemberResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryMemberResponseUnmarshaller {
public static DeleteRepositoryMemberResponse unmarshall(DeleteRepositoryMemberResponse deleteRepositoryMemberResponse, UnmarshallerContext _ctx) {
deleteRepositoryMemberResponse.setRequestId(_ctx.stringValue("DeleteRepositoryMemberResponse.RequestId"));
deleteRepositoryMemberResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryMemberResponse.ErrorCode"));
deleteRepositoryMemberResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryMemberResponse.Success"));
deleteRepositoryMemberResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryMemberResponse.ErrorMessage"));
Result result = new Result();
result.setAccessLevel(_ctx.integerValue("DeleteRepositoryMemberResponse.Result.AccessLevel"));
result.setId(_ctx.longValue("DeleteRepositoryMemberResponse.Result.Id"));
result.setCreatedAt(_ctx.stringValue("DeleteRepositoryMemberResponse.Result.CreatedAt"));
result.setUpdatedAt(_ctx.stringValue("DeleteRepositoryMemberResponse.Result.UpdatedAt"));
result.setSourceId(_ctx.longValue("DeleteRepositoryMemberResponse.Result.SourceId"));
result.setSourceType(_ctx.stringValue("DeleteRepositoryMemberResponse.Result.SourceType"));
result.setUserId(_ctx.longValue("DeleteRepositoryMemberResponse.Result.UserId"));
result.setNotificationLevel(_ctx.integerValue("DeleteRepositoryMemberResponse.Result.NotificationLevel"));
result.setMessage(_ctx.stringValue("DeleteRepositoryMemberResponse.Result.Message"));
deleteRepositoryMemberResponse.setResult(result);
return deleteRepositoryMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryProtectedBranchResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryProtectedBranchResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryProtectedBranchResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryProtectedBranchResponseUnmarshaller {
public static DeleteRepositoryProtectedBranchResponse unmarshall(DeleteRepositoryProtectedBranchResponse deleteRepositoryProtectedBranchResponse, UnmarshallerContext _ctx) {
deleteRepositoryProtectedBranchResponse.setRequestId(_ctx.stringValue("DeleteRepositoryProtectedBranchResponse.RequestId"));
deleteRepositoryProtectedBranchResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryProtectedBranchResponse.ErrorCode"));
deleteRepositoryProtectedBranchResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryProtectedBranchResponse.ErrorMessage"));
deleteRepositoryProtectedBranchResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryProtectedBranchResponse.Success"));
Result result = new Result();
result.setResult(_ctx.booleanValue("DeleteRepositoryProtectedBranchResponse.Result.Result"));
deleteRepositoryProtectedBranchResponse.setResult(result);
return deleteRepositoryProtectedBranchResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryResponseUnmarshaller {
public static DeleteRepositoryResponse unmarshall(DeleteRepositoryResponse deleteRepositoryResponse, UnmarshallerContext _ctx) {
deleteRepositoryResponse.setRequestId(_ctx.stringValue("DeleteRepositoryResponse.RequestId"));
deleteRepositoryResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryResponse.ErrorCode"));
deleteRepositoryResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryResponse.Success"));
deleteRepositoryResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryResponse.ErrorMessage"));
Result result = new Result();
result.setResult(_ctx.booleanValue("DeleteRepositoryResponse.Result.Result"));
deleteRepositoryResponse.setResult(result);
return deleteRepositoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryTagResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryTagResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryTagResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryTagResponseUnmarshaller {
public static DeleteRepositoryTagResponse unmarshall(DeleteRepositoryTagResponse deleteRepositoryTagResponse, UnmarshallerContext _ctx) {
deleteRepositoryTagResponse.setRequestId(_ctx.stringValue("DeleteRepositoryTagResponse.RequestId"));
deleteRepositoryTagResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryTagResponse.ErrorCode"));
deleteRepositoryTagResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryTagResponse.Success"));
deleteRepositoryTagResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryTagResponse.ErrorMessage"));
Result result = new Result();
result.setTagName(_ctx.stringValue("DeleteRepositoryTagResponse.Result.TagName"));
deleteRepositoryTagResponse.setResult(result);
return deleteRepositoryTagResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryTagV2ResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryTagV2Response;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryTagV2Response.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryTagV2ResponseUnmarshaller {
public static DeleteRepositoryTagV2Response unmarshall(DeleteRepositoryTagV2Response deleteRepositoryTagV2Response, UnmarshallerContext _ctx) {
deleteRepositoryTagV2Response.setRequestId(_ctx.stringValue("DeleteRepositoryTagV2Response.RequestId"));
deleteRepositoryTagV2Response.setErrorCode(_ctx.stringValue("DeleteRepositoryTagV2Response.ErrorCode"));
deleteRepositoryTagV2Response.setErrorMessage(_ctx.stringValue("DeleteRepositoryTagV2Response.ErrorMessage"));
deleteRepositoryTagV2Response.setSuccess(_ctx.booleanValue("DeleteRepositoryTagV2Response.Success"));
Result result = new Result();
result.setTagName(_ctx.stringValue("DeleteRepositoryTagV2Response.Result.TagName"));
deleteRepositoryTagV2Response.setResult(result);
return deleteRepositoryTagV2Response;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/DeleteRepositoryWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryWebhookResponse;
import com.aliyuncs.codeup.model.v20200414.DeleteRepositoryWebhookResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRepositoryWebhookResponseUnmarshaller {
public static DeleteRepositoryWebhookResponse unmarshall(DeleteRepositoryWebhookResponse deleteRepositoryWebhookResponse, UnmarshallerContext _ctx) {
deleteRepositoryWebhookResponse.setRequestId(_ctx.stringValue("DeleteRepositoryWebhookResponse.RequestId"));
deleteRepositoryWebhookResponse.setErrorCode(_ctx.stringValue("DeleteRepositoryWebhookResponse.ErrorCode"));
deleteRepositoryWebhookResponse.setSuccess(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Success"));
deleteRepositoryWebhookResponse.setErrorMessage(_ctx.stringValue("DeleteRepositoryWebhookResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("DeleteRepositoryWebhookResponse.Result.Id"));
result.setUrl(_ctx.stringValue("DeleteRepositoryWebhookResponse.Result.Url"));
result.setCreatedAt(_ctx.stringValue("DeleteRepositoryWebhookResponse.Result.CreatedAt"));
result.setProjectId(_ctx.longValue("DeleteRepositoryWebhookResponse.Result.ProjectId"));
result.setPushEvents(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Result.PushEvents"));
result.setMergeRequestsEvents(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Result.MergeRequestsEvents"));
result.setTagPushEvents(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Result.TagPushEvents"));
result.setNoteEvents(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Result.NoteEvents"));
result.setEnableSslVerification(_ctx.booleanValue("DeleteRepositoryWebhookResponse.Result.EnableSslVerification"));
result.setLastTestResult(_ctx.stringValue("DeleteRepositoryWebhookResponse.Result.LastTestResult"));
result.setDescription(_ctx.stringValue("DeleteRepositoryWebhookResponse.Result.Description"));
result.setSecretToken(_ctx.stringValue("DeleteRepositoryWebhookResponse.Result.SecretToken"));
deleteRepositoryWebhookResponse.setResult(result);
return deleteRepositoryWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/EnableRepositoryDeployKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.EnableRepositoryDeployKeyResponse;
import com.aliyuncs.codeup.model.v20200414.EnableRepositoryDeployKeyResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableRepositoryDeployKeyResponseUnmarshaller {
public static EnableRepositoryDeployKeyResponse unmarshall(EnableRepositoryDeployKeyResponse enableRepositoryDeployKeyResponse, UnmarshallerContext _ctx) {
enableRepositoryDeployKeyResponse.setRequestId(_ctx.stringValue("EnableRepositoryDeployKeyResponse.RequestId"));
enableRepositoryDeployKeyResponse.setErrorCode(_ctx.stringValue("EnableRepositoryDeployKeyResponse.ErrorCode"));
enableRepositoryDeployKeyResponse.setErrorMessage(_ctx.stringValue("EnableRepositoryDeployKeyResponse.ErrorMessage"));
enableRepositoryDeployKeyResponse.setSuccess(_ctx.booleanValue("EnableRepositoryDeployKeyResponse.Success"));
Result result = new Result();
result.setResult(_ctx.booleanValue("EnableRepositoryDeployKeyResponse.Result.Result"));
enableRepositoryDeployKeyResponse.setResult(result);
return enableRepositoryDeployKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetBranchInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetBranchInfoResponse;
import com.aliyuncs.codeup.model.v20200414.GetBranchInfoResponse.Result;
import com.aliyuncs.codeup.model.v20200414.GetBranchInfoResponse.Result.CommitInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetBranchInfoResponseUnmarshaller {
public static GetBranchInfoResponse unmarshall(GetBranchInfoResponse getBranchInfoResponse, UnmarshallerContext _ctx) {
getBranchInfoResponse.setRequestId(_ctx.stringValue("GetBranchInfoResponse.RequestId"));
getBranchInfoResponse.setErrorCode(_ctx.stringValue("GetBranchInfoResponse.ErrorCode"));
getBranchInfoResponse.setSuccess(_ctx.booleanValue("GetBranchInfoResponse.Success"));
getBranchInfoResponse.setErrorMessage(_ctx.stringValue("GetBranchInfoResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("GetBranchInfoResponse.Result.BranchName"));
result.setProtectedBranch(_ctx.booleanValue("GetBranchInfoResponse.Result.ProtectedBranch"));
CommitInfo commitInfo = new CommitInfo();
commitInfo.setId(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.Id"));
commitInfo.setShortId(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.ShortId"));
commitInfo.setTitle(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.Title"));
commitInfo.setAuthorName(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.AuthorName"));
commitInfo.setAuthorEmail(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.AuthorEmail"));
commitInfo.setCreatedAt(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.CreatedAt"));
commitInfo.setMessage(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.Message"));
commitInfo.setAuthorDate(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.AuthorDate"));
commitInfo.setCommittedDate(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.CommittedDate"));
commitInfo.setCommitterEmail(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.CommitterEmail"));
commitInfo.setCommitterName(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.CommitterName"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetBranchInfoResponse.Result.CommitInfo.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("GetBranchInfoResponse.Result.CommitInfo.ParentIds["+ i +"]"));
}
commitInfo.setParentIds(parentIds);
result.setCommitInfo(commitInfo);
getBranchInfoResponse.setResult(result);
return getBranchInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetCodeCompletionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetCodeCompletionResponse;
import com.aliyuncs.codeup.model.v20200414.GetCodeCompletionResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCodeCompletionResponseUnmarshaller {
public static GetCodeCompletionResponse unmarshall(GetCodeCompletionResponse getCodeCompletionResponse, UnmarshallerContext _ctx) {
getCodeCompletionResponse.setRequestId(_ctx.stringValue("GetCodeCompletionResponse.RequestId"));
getCodeCompletionResponse.setErrorCode(_ctx.stringValue("GetCodeCompletionResponse.ErrorCode"));
getCodeCompletionResponse.setSuccess(_ctx.booleanValue("GetCodeCompletionResponse.Success"));
getCodeCompletionResponse.setErrorMessage(_ctx.stringValue("GetCodeCompletionResponse.ErrorMessage"));
Result result = new Result();
result.setBody(_ctx.stringValue("GetCodeCompletionResponse.Result.Body"));
result.setClientTimestamp(_ctx.stringValue("GetCodeCompletionResponse.Result.ClientTimestamp"));
result.setReceiveTimestamp(_ctx.stringValue("GetCodeCompletionResponse.Result.ReceiveTimestamp"));
result.setInvokeTimestamp(_ctx.stringValue("GetCodeCompletionResponse.Result.InvokeTimestamp"));
result.setFetchTimestamp(_ctx.stringValue("GetCodeCompletionResponse.Result.FetchTimestamp"));
result.setRspTimestamp(_ctx.stringValue("GetCodeCompletionResponse.Result.RspTimestamp"));
getCodeCompletionResponse.setResult(result);
return getCodeCompletionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetCodeupOrganizationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetCodeupOrganizationResponse;
import com.aliyuncs.codeup.model.v20200414.GetCodeupOrganizationResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCodeupOrganizationResponseUnmarshaller {
public static GetCodeupOrganizationResponse unmarshall(GetCodeupOrganizationResponse getCodeupOrganizationResponse, UnmarshallerContext _ctx) {
getCodeupOrganizationResponse.setRequestId(_ctx.stringValue("GetCodeupOrganizationResponse.RequestId"));
getCodeupOrganizationResponse.setErrorCode(_ctx.stringValue("GetCodeupOrganizationResponse.ErrorCode"));
getCodeupOrganizationResponse.setSuccess(_ctx.booleanValue("GetCodeupOrganizationResponse.Success"));
getCodeupOrganizationResponse.setErrorMessage(_ctx.stringValue("GetCodeupOrganizationResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("GetCodeupOrganizationResponse.Result.Id"));
result.setOrganizationId(_ctx.stringValue("GetCodeupOrganizationResponse.Result.OrganizationId"));
result.setPath(_ctx.stringValue("GetCodeupOrganizationResponse.Result.Path"));
result.setCreatedAt(_ctx.stringValue("GetCodeupOrganizationResponse.Result.CreatedAt"));
result.setUpdatedAt(_ctx.stringValue("GetCodeupOrganizationResponse.Result.UpdatedAt"));
result.setNamespaceId(_ctx.longValue("GetCodeupOrganizationResponse.Result.NamespaceId"));
result.setUserRole(_ctx.stringValue("GetCodeupOrganizationResponse.Result.UserRole"));
getCodeupOrganizationResponse.setResult(result);
return getCodeupOrganizationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetFileBlobsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetFileBlobsResponse;
import com.aliyuncs.codeup.model.v20200414.GetFileBlobsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetFileBlobsResponseUnmarshaller {
public static GetFileBlobsResponse unmarshall(GetFileBlobsResponse getFileBlobsResponse, UnmarshallerContext _ctx) {
getFileBlobsResponse.setRequestId(_ctx.stringValue("GetFileBlobsResponse.RequestId"));
getFileBlobsResponse.setErrorCode(_ctx.stringValue("GetFileBlobsResponse.ErrorCode"));
getFileBlobsResponse.setSuccess(_ctx.booleanValue("GetFileBlobsResponse.Success"));
getFileBlobsResponse.setErrorMessage(_ctx.stringValue("GetFileBlobsResponse.ErrorMessage"));
Result result = new Result();
result.setContent(_ctx.stringValue("GetFileBlobsResponse.Result.Content"));
result.setTotalLines(_ctx.integerValue("GetFileBlobsResponse.Result.TotalLines"));
getFileBlobsResponse.setResult(result);
return getFileBlobsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetGroupDetailResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetGroupDetailResponse;
import com.aliyuncs.codeup.model.v20200414.GetGroupDetailResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetGroupDetailResponseUnmarshaller {
public static GetGroupDetailResponse unmarshall(GetGroupDetailResponse getGroupDetailResponse, UnmarshallerContext _ctx) {
getGroupDetailResponse.setRequestId(_ctx.stringValue("GetGroupDetailResponse.RequestId"));
getGroupDetailResponse.setErrorCode(_ctx.stringValue("GetGroupDetailResponse.ErrorCode"));
getGroupDetailResponse.setSuccess(_ctx.booleanValue("GetGroupDetailResponse.Success"));
getGroupDetailResponse.setErrorMessage(_ctx.stringValue("GetGroupDetailResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("GetGroupDetailResponse.Result.Id"));
result.setName(_ctx.stringValue("GetGroupDetailResponse.Result.Name"));
result.setPath(_ctx.stringValue("GetGroupDetailResponse.Result.Path"));
result.setDescription(_ctx.stringValue("GetGroupDetailResponse.Result.Description"));
result.setAvatarUrl(_ctx.stringValue("GetGroupDetailResponse.Result.AvatarUrl"));
result.setWebUrl(_ctx.stringValue("GetGroupDetailResponse.Result.WebUrl"));
result.setPathWithNamespace(_ctx.stringValue("GetGroupDetailResponse.Result.PathWithNamespace"));
result.setNameWithNamespace(_ctx.stringValue("GetGroupDetailResponse.Result.NameWithNamespace"));
result.setType(_ctx.stringValue("GetGroupDetailResponse.Result.Type"));
result.setVisibilityLevel(_ctx.stringValue("GetGroupDetailResponse.Result.VisibilityLevel"));
result.setParentId(_ctx.longValue("GetGroupDetailResponse.Result.ParentId"));
result.setOwnerId(_ctx.longValue("GetGroupDetailResponse.Result.OwnerId"));
getGroupDetailResponse.setResult(result);
return getGroupDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetMergeRequestApproveStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestApproveStatusResponse;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestApproveStatusResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetMergeRequestApproveStatusResponseUnmarshaller {
public static GetMergeRequestApproveStatusResponse unmarshall(GetMergeRequestApproveStatusResponse getMergeRequestApproveStatusResponse, UnmarshallerContext _ctx) {
getMergeRequestApproveStatusResponse.setRequestId(_ctx.stringValue("GetMergeRequestApproveStatusResponse.RequestId"));
getMergeRequestApproveStatusResponse.setErrorCode(_ctx.stringValue("GetMergeRequestApproveStatusResponse.ErrorCode"));
getMergeRequestApproveStatusResponse.setErrorMessage(_ctx.stringValue("GetMergeRequestApproveStatusResponse.ErrorMessage"));
getMergeRequestApproveStatusResponse.setSuccess(_ctx.booleanValue("GetMergeRequestApproveStatusResponse.Success"));
Result result = new Result();
result.setApproveStatus(_ctx.stringValue("GetMergeRequestApproveStatusResponse.Result.ApproveStatus"));
result.setMessage(_ctx.stringValue("GetMergeRequestApproveStatusResponse.Result.Message"));
getMergeRequestApproveStatusResponse.setResult(result);
return getMergeRequestApproveStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetMergeRequestDetailResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestDetailResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetMergeRequestDetailResponseUnmarshaller {
public static GetMergeRequestDetailResponse unmarshall(GetMergeRequestDetailResponse getMergeRequestDetailResponse, UnmarshallerContext _ctx) {
getMergeRequestDetailResponse.setRequestId(_ctx.stringValue("GetMergeRequestDetailResponse.RequestId"));
getMergeRequestDetailResponse.setErrorCode(_ctx.stringValue("GetMergeRequestDetailResponse.ErrorCode"));
getMergeRequestDetailResponse.setErrorMessage(_ctx.stringValue("GetMergeRequestDetailResponse.ErrorMessage"));
getMergeRequestDetailResponse.setSuccess(_ctx.booleanValue("GetMergeRequestDetailResponse.Success"));
Result result = new Result();
result.setAcceptedRevision(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AcceptedRevision"));
result.setAheadCommitCount(_ctx.integerValue("GetMergeRequestDetailResponse.Result.AheadCommitCount"));
result.setBehindCommitCount(_ctx.integerValue("GetMergeRequestDetailResponse.Result.BehindCommitCount"));
result.setCreatedAt(_ctx.stringValue("GetMergeRequestDetailResponse.Result.CreatedAt"));
result.setDescription(_ctx.stringValue("GetMergeRequestDetailResponse.Result.Description"));
result.setId(_ctx.longValue("GetMergeRequestDetailResponse.Result.Id"));
result.setMergeError(_ctx.stringValue("GetMergeRequestDetailResponse.Result.MergeError"));
result.setMergeStatus(_ctx.stringValue("GetMergeRequestDetailResponse.Result.MergeStatus"));
result.setMergeType(_ctx.stringValue("GetMergeRequestDetailResponse.Result.MergeType"));
result.setMergedRevision(_ctx.stringValue("GetMergeRequestDetailResponse.Result.MergedRevision"));
result.setNameWithNamespace(_ctx.stringValue("GetMergeRequestDetailResponse.Result.NameWithNamespace"));
result.setProjectId(_ctx.longValue("GetMergeRequestDetailResponse.Result.ProjectId"));
result.setSourceBranch(_ctx.stringValue("GetMergeRequestDetailResponse.Result.SourceBranch"));
result.setState(_ctx.stringValue("GetMergeRequestDetailResponse.Result.State"));
result.setTargetBranch(_ctx.stringValue("GetMergeRequestDetailResponse.Result.TargetBranch"));
result.setTitle(_ctx.stringValue("GetMergeRequestDetailResponse.Result.Title"));
result.setUpdatedAt(_ctx.stringValue("GetMergeRequestDetailResponse.Result.UpdatedAt"));
result.setWebUrl(_ctx.stringValue("GetMergeRequestDetailResponse.Result.WebUrl"));
result.setIsSupportMerge(_ctx.booleanValue("GetMergeRequestDetailResponse.Result.IsSupportMerge"));
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults.Length"); i++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckName"));
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems.add(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems.add(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setAvatarUrl(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem.setExternUserId(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem.setId(_ctx.longValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem.setName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults.Length"); i++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems1.add(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems2.add(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int j = 0; j < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setAvatarUrl(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem4.setExternUserId(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem4.setId(_ctx.longValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem4.setName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
result.setApproveCheckResult(approveCheckResult);
Author author = new Author();
author.setAvatarUrl(_ctx.stringValue("GetMergeRequestDetailResponse.Result.Author.AvatarUrl"));
author.setExternUserId(_ctx.stringValue("GetMergeRequestDetailResponse.Result.Author.ExternUserId"));
author.setId(_ctx.longValue("GetMergeRequestDetailResponse.Result.Author.Id"));
author.setName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.Author.Name"));
result.setAuthor(author);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int i = 0; i < _ctx.lengthValue("GetMergeRequestDetailResponse.Result.AssigneeList.Length"); i++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setAvatarUrl(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].AvatarUrl"));
assigneeListItem.setExternUserId(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].ExternUserId"));
assigneeListItem.setId(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].Id"));
assigneeListItem.setName(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].Name"));
assigneeListItem.setStatus(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].Status"));
assigneeListItem.setEmail(_ctx.stringValue("GetMergeRequestDetailResponse.Result.AssigneeList["+ i +"].Email"));
assigneeList.add(assigneeListItem);
}
result.setAssigneeList(assigneeList);
getMergeRequestDetailResponse.setResult(result);
return getMergeRequestDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetMergeRequestSettingResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestSettingResponse;
import com.aliyuncs.codeup.model.v20200414.GetMergeRequestSettingResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetMergeRequestSettingResponseUnmarshaller {
public static GetMergeRequestSettingResponse unmarshall(GetMergeRequestSettingResponse getMergeRequestSettingResponse, UnmarshallerContext _ctx) {
getMergeRequestSettingResponse.setRequestId(_ctx.stringValue("GetMergeRequestSettingResponse.RequestId"));
getMergeRequestSettingResponse.setErrorCode(_ctx.stringValue("GetMergeRequestSettingResponse.ErrorCode"));
getMergeRequestSettingResponse.setErrorMessage(_ctx.stringValue("GetMergeRequestSettingResponse.ErrorMessage"));
getMergeRequestSettingResponse.setSuccess(_ctx.booleanValue("GetMergeRequestSettingResponse.Success"));
Result result = new Result();
result.setIsEnableSmartCodeReview(_ctx.booleanValue("GetMergeRequestSettingResponse.Result.IsEnableSmartCodeReview"));
List<String> mergeTypes = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetMergeRequestSettingResponse.Result.MergeTypes.Length"); i++) {
mergeTypes.add(_ctx.stringValue("GetMergeRequestSettingResponse.Result.MergeTypes["+ i +"]"));
}
result.setMergeTypes(mergeTypes);
getMergeRequestSettingResponse.setResult(result);
return getMergeRequestSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetOrganizationSecurityCenterStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetOrganizationSecurityCenterStatusResponse;
import com.aliyuncs.codeup.model.v20200414.GetOrganizationSecurityCenterStatusResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetOrganizationSecurityCenterStatusResponseUnmarshaller {
public static GetOrganizationSecurityCenterStatusResponse unmarshall(GetOrganizationSecurityCenterStatusResponse getOrganizationSecurityCenterStatusResponse, UnmarshallerContext _ctx) {
getOrganizationSecurityCenterStatusResponse.setRequestId(_ctx.stringValue("GetOrganizationSecurityCenterStatusResponse.RequestId"));
getOrganizationSecurityCenterStatusResponse.setErrorCode(_ctx.stringValue("GetOrganizationSecurityCenterStatusResponse.ErrorCode"));
getOrganizationSecurityCenterStatusResponse.setErrorMessage(_ctx.stringValue("GetOrganizationSecurityCenterStatusResponse.ErrorMessage"));
getOrganizationSecurityCenterStatusResponse.setSuccess(_ctx.booleanValue("GetOrganizationSecurityCenterStatusResponse.Success"));
Result result = new Result();
result.setEnable(_ctx.booleanValue("GetOrganizationSecurityCenterStatusResponse.Result.Enable"));
getOrganizationSecurityCenterStatusResponse.setResult(result);
return getOrganizationSecurityCenterStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetProjectMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetProjectMemberResponse;
import com.aliyuncs.codeup.model.v20200414.GetProjectMemberResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetProjectMemberResponseUnmarshaller {
public static GetProjectMemberResponse unmarshall(GetProjectMemberResponse getProjectMemberResponse, UnmarshallerContext _ctx) {
getProjectMemberResponse.setRequestId(_ctx.stringValue("GetProjectMemberResponse.RequestId"));
getProjectMemberResponse.setErrorCode(_ctx.stringValue("GetProjectMemberResponse.ErrorCode"));
getProjectMemberResponse.setSuccess(_ctx.booleanValue("GetProjectMemberResponse.Success"));
getProjectMemberResponse.setErrorMessage(_ctx.stringValue("GetProjectMemberResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("GetProjectMemberResponse.Result.Id"));
result.setExternUserId(_ctx.stringValue("GetProjectMemberResponse.Result.ExternUserId"));
result.setAvatarUrl(_ctx.stringValue("GetProjectMemberResponse.Result.AvatarUrl"));
result.setName(_ctx.stringValue("GetProjectMemberResponse.Result.Name"));
result.setAccessLevel(_ctx.integerValue("GetProjectMemberResponse.Result.AccessLevel"));
getProjectMemberResponse.setResult(result);
return getProjectMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetRepositoryCommitResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryCommitResponse;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryCommitResponse.Result;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryCommitResponse.Result.Signature;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRepositoryCommitResponseUnmarshaller {
public static GetRepositoryCommitResponse unmarshall(GetRepositoryCommitResponse getRepositoryCommitResponse, UnmarshallerContext _ctx) {
getRepositoryCommitResponse.setRequestId(_ctx.stringValue("GetRepositoryCommitResponse.RequestId"));
getRepositoryCommitResponse.setErrorCode(_ctx.stringValue("GetRepositoryCommitResponse.ErrorCode"));
getRepositoryCommitResponse.setErrorMessage(_ctx.stringValue("GetRepositoryCommitResponse.ErrorMessage"));
getRepositoryCommitResponse.setSuccess(_ctx.booleanValue("GetRepositoryCommitResponse.Success"));
Result result = new Result();
result.setAuthorDate(_ctx.stringValue("GetRepositoryCommitResponse.Result.AuthorDate"));
result.setAuthorEmail(_ctx.stringValue("GetRepositoryCommitResponse.Result.AuthorEmail"));
result.setAuthorName(_ctx.stringValue("GetRepositoryCommitResponse.Result.AuthorName"));
result.setCommittedDate(_ctx.stringValue("GetRepositoryCommitResponse.Result.CommittedDate"));
result.setCommitterEmail(_ctx.stringValue("GetRepositoryCommitResponse.Result.CommitterEmail"));
result.setCommitterName(_ctx.stringValue("GetRepositoryCommitResponse.Result.CommitterName"));
result.setCreatedAt(_ctx.stringValue("GetRepositoryCommitResponse.Result.CreatedAt"));
result.setId(_ctx.stringValue("GetRepositoryCommitResponse.Result.Id"));
result.setMessage(_ctx.stringValue("GetRepositoryCommitResponse.Result.Message"));
result.setShortId(_ctx.stringValue("GetRepositoryCommitResponse.Result.ShortId"));
result.setTitle(_ctx.stringValue("GetRepositoryCommitResponse.Result.Title"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetRepositoryCommitResponse.Result.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("GetRepositoryCommitResponse.Result.ParentIds["+ i +"]"));
}
result.setParentIds(parentIds);
Signature signature = new Signature();
signature.setGpgKeyId(_ctx.stringValue("GetRepositoryCommitResponse.Result.Signature.GpgKeyId"));
signature.setVerificationStatus(_ctx.stringValue("GetRepositoryCommitResponse.Result.Signature.VerificationStatus"));
result.setSignature(signature);
getRepositoryCommitResponse.setResult(result);
return getRepositoryCommitResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetRepositoryInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse.Result;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse.Result.Namespace;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse.Result.Permissions;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse.Result.Permissions.GroupAccess;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryInfoResponse.Result.Permissions.ProjectAccess;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRepositoryInfoResponseUnmarshaller {
public static GetRepositoryInfoResponse unmarshall(GetRepositoryInfoResponse getRepositoryInfoResponse, UnmarshallerContext _ctx) {
getRepositoryInfoResponse.setRequestId(_ctx.stringValue("GetRepositoryInfoResponse.RequestId"));
getRepositoryInfoResponse.setErrorCode(_ctx.integerValue("GetRepositoryInfoResponse.ErrorCode"));
getRepositoryInfoResponse.setErrorMessage(_ctx.stringValue("GetRepositoryInfoResponse.ErrorMessage"));
getRepositoryInfoResponse.setSuccess(_ctx.booleanValue("GetRepositoryInfoResponse.Success"));
Result result = new Result();
result.setId(_ctx.longValue("GetRepositoryInfoResponse.Result.Id"));
result.setSshUrlToRepo(_ctx.stringValue("GetRepositoryInfoResponse.Result.SshUrlToRepo"));
result.setDescription(_ctx.stringValue("GetRepositoryInfoResponse.Result.Description"));
result.setDefaultBranch(_ctx.stringValue("GetRepositoryInfoResponse.Result.DefaultBranch"));
result.set_Public(_ctx.booleanValue("GetRepositoryInfoResponse.Result.Public"));
result.setVisibilityLevel(_ctx.stringValue("GetRepositoryInfoResponse.Result.VisibilityLevel"));
result.setHttpUrlToRepo(_ctx.stringValue("GetRepositoryInfoResponse.Result.HttpUrlToRepo"));
result.setWebUrl(_ctx.stringValue("GetRepositoryInfoResponse.Result.WebUrl"));
result.setName(_ctx.stringValue("GetRepositoryInfoResponse.Result.Name"));
result.setNameWithNamespace(_ctx.stringValue("GetRepositoryInfoResponse.Result.NameWithNamespace"));
result.setPath(_ctx.stringValue("GetRepositoryInfoResponse.Result.Path"));
result.setPathWithNamespace(_ctx.stringValue("GetRepositoryInfoResponse.Result.PathWithNamespace"));
result.setCreatedAt(_ctx.stringValue("GetRepositoryInfoResponse.Result.CreatedAt"));
result.setLastActivityAt(_ctx.stringValue("GetRepositoryInfoResponse.Result.LastActivityAt"));
result.setCreatorId(_ctx.longValue("GetRepositoryInfoResponse.Result.CreatorId"));
result.setArchive(_ctx.booleanValue("GetRepositoryInfoResponse.Result.Archive"));
result.setAvatarUrl(_ctx.stringValue("GetRepositoryInfoResponse.Result.AvatarUrl"));
result.setDemoProjectStatus(_ctx.booleanValue("GetRepositoryInfoResponse.Result.DemoProjectStatus"));
result.setAccessLevel(_ctx.integerValue("GetRepositoryInfoResponse.Result.AccessLevel"));
result.setImportStatus(_ctx.stringValue("GetRepositoryInfoResponse.Result.ImportStatus"));
result.setImportUrl(_ctx.stringValue("GetRepositoryInfoResponse.Result.ImportUrl"));
result.setImportFromSubversion(_ctx.booleanValue("GetRepositoryInfoResponse.Result.ImportFromSubversion"));
List<String> tagList = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetRepositoryInfoResponse.Result.TagList.Length"); i++) {
tagList.add(_ctx.stringValue("GetRepositoryInfoResponse.Result.TagList["+ i +"]"));
}
result.setTagList(tagList);
Namespace namespace = new Namespace();
namespace.setId(_ctx.longValue("GetRepositoryInfoResponse.Result.Namespace.Id"));
namespace.setName(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.Name"));
namespace.setPath(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.Path"));
namespace.setOwnerId(_ctx.longValue("GetRepositoryInfoResponse.Result.Namespace.OwnerId"));
namespace.setCreatedAt(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.CreatedAt"));
namespace.setUpdatedAt(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.UpdatedAt"));
namespace.setDescription(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.Description"));
namespace.setState(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.State"));
namespace.setAvatar(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.Avatar"));
namespace.set_Public(_ctx.booleanValue("GetRepositoryInfoResponse.Result.Namespace.Public"));
namespace.setVisibilityLevel(_ctx.stringValue("GetRepositoryInfoResponse.Result.Namespace.VisibilityLevel"));
result.setNamespace(namespace);
Permissions permissions = new Permissions();
ProjectAccess projectAccess = new ProjectAccess();
projectAccess.setAccessLevel(_ctx.integerValue("GetRepositoryInfoResponse.Result.Permissions.ProjectAccess.AccessLevel"));
permissions.setProjectAccess(projectAccess);
GroupAccess groupAccess = new GroupAccess();
groupAccess.setAccessLevel(_ctx.integerValue("GetRepositoryInfoResponse.Result.Permissions.GroupAccess.AccessLevel"));
permissions.setGroupAccess(groupAccess);
result.setPermissions(permissions);
getRepositoryInfoResponse.setResult(result);
return getRepositoryInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetRepositoryTagResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagResponse;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagResponse.Result;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagResponse.Result.Commit;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagResponse.Result.Commit.Signature1;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagResponse.Result.Signature;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRepositoryTagResponseUnmarshaller {
public static GetRepositoryTagResponse unmarshall(GetRepositoryTagResponse getRepositoryTagResponse, UnmarshallerContext _ctx) {
getRepositoryTagResponse.setRequestId(_ctx.stringValue("GetRepositoryTagResponse.RequestId"));
getRepositoryTagResponse.setErrorCode(_ctx.stringValue("GetRepositoryTagResponse.ErrorCode"));
getRepositoryTagResponse.setSuccess(_ctx.booleanValue("GetRepositoryTagResponse.Success"));
getRepositoryTagResponse.setErrorMessage(_ctx.stringValue("GetRepositoryTagResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.stringValue("GetRepositoryTagResponse.Result.Id"));
result.setName(_ctx.stringValue("GetRepositoryTagResponse.Result.Name"));
result.setMessage(_ctx.stringValue("GetRepositoryTagResponse.Result.Message"));
Commit commit = new Commit();
commit.setId(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.Id"));
commit.setShortId(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.ShortId"));
commit.setTitle(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.Title"));
commit.setAuthorName(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.AuthorName"));
commit.setAuthorEmail(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.AuthorEmail"));
commit.setCreatedAt(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.CreatedAt"));
commit.setMessage(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.Message"));
commit.setAuthoredDate(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.AuthoredDate"));
commit.setCommittedDate(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.CommittedDate"));
commit.setCommitterEmail(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.CommitterEmail"));
commit.setCommitterName(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.CommitterName"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetRepositoryTagResponse.Result.Commit.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.ParentIds["+ i +"]"));
}
commit.setParentIds(parentIds);
Signature1 signature1 = new Signature1();
signature1.setGpgKeyId(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.Signature.GpgKeyId"));
signature1.setVerificationStatus(_ctx.stringValue("GetRepositoryTagResponse.Result.Commit.Signature.VerificationStatus"));
commit.setSignature1(signature1);
result.setCommit(commit);
Signature signature = new Signature();
signature.setGpgKeyId(_ctx.stringValue("GetRepositoryTagResponse.Result.Signature.GpgKeyId"));
signature.setVerificationStatus(_ctx.stringValue("GetRepositoryTagResponse.Result.Signature.VerificationStatus"));
result.setSignature(signature);
getRepositoryTagResponse.setResult(result);
return getRepositoryTagResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetRepositoryTagV2ResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagV2Response;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagV2Response.Result;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagV2Response.Result.Commit;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagV2Response.Result.Commit.Signature1;
import com.aliyuncs.codeup.model.v20200414.GetRepositoryTagV2Response.Result.Signature;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRepositoryTagV2ResponseUnmarshaller {
public static GetRepositoryTagV2Response unmarshall(GetRepositoryTagV2Response getRepositoryTagV2Response, UnmarshallerContext _ctx) {
getRepositoryTagV2Response.setRequestId(_ctx.stringValue("GetRepositoryTagV2Response.RequestId"));
getRepositoryTagV2Response.setErrorCode(_ctx.stringValue("GetRepositoryTagV2Response.ErrorCode"));
getRepositoryTagV2Response.setErrorMessage(_ctx.stringValue("GetRepositoryTagV2Response.ErrorMessage"));
getRepositoryTagV2Response.setSuccess(_ctx.booleanValue("GetRepositoryTagV2Response.Success"));
Result result = new Result();
result.setId(_ctx.stringValue("GetRepositoryTagV2Response.Result.Id"));
result.setMessage(_ctx.stringValue("GetRepositoryTagV2Response.Result.Message"));
result.setName(_ctx.stringValue("GetRepositoryTagV2Response.Result.Name"));
Commit commit = new Commit();
commit.setAuthorEmail(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.AuthorEmail"));
commit.setAuthorName(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.AuthorName"));
commit.setAuthoredDate(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.AuthoredDate"));
commit.setCommittedDate(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.CommittedDate"));
commit.setCommitterEmail(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.CommitterEmail"));
commit.setCommitterName(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.CommitterName"));
commit.setCreatedAt(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.CreatedAt"));
commit.setId(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.Id"));
commit.setMessage(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.Message"));
commit.setShortId(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.ShortId"));
commit.setTitle(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.Title"));
List<String> parentIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetRepositoryTagV2Response.Result.Commit.ParentIds.Length"); i++) {
parentIds.add(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.ParentIds["+ i +"]"));
}
commit.setParentIds(parentIds);
Signature1 signature1 = new Signature1();
signature1.setGpgKeyId(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.Signature.GpgKeyId"));
signature1.setVerificationStatus(_ctx.stringValue("GetRepositoryTagV2Response.Result.Commit.Signature.VerificationStatus"));
commit.setSignature1(signature1);
result.setCommit(commit);
Signature signature = new Signature();
signature.setGpgKeyId(_ctx.stringValue("GetRepositoryTagV2Response.Result.Signature.GpgKeyId"));
signature.setVerificationStatus(_ctx.stringValue("GetRepositoryTagV2Response.Result.Signature.VerificationStatus"));
result.setSignature(signature);
getRepositoryTagV2Response.setResult(result);
return getRepositoryTagV2Response;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/GetUserInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.GetUserInfoResponse;
import com.aliyuncs.codeup.model.v20200414.GetUserInfoResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserInfoResponseUnmarshaller {
public static GetUserInfoResponse unmarshall(GetUserInfoResponse getUserInfoResponse, UnmarshallerContext _ctx) {
getUserInfoResponse.setRequestId(_ctx.stringValue("GetUserInfoResponse.RequestId"));
getUserInfoResponse.setErrorCode(_ctx.stringValue("GetUserInfoResponse.ErrorCode"));
getUserInfoResponse.setSuccess(_ctx.booleanValue("GetUserInfoResponse.Success"));
getUserInfoResponse.setErrorMessage(_ctx.stringValue("GetUserInfoResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("GetUserInfoResponse.Result.Id"));
result.setExternalUserId(_ctx.stringValue("GetUserInfoResponse.Result.ExternalUserId"));
result.setUsername(_ctx.stringValue("GetUserInfoResponse.Result.Username"));
result.setName(_ctx.stringValue("GetUserInfoResponse.Result.Name"));
result.setEmail(_ctx.stringValue("GetUserInfoResponse.Result.Email"));
result.setAvatarUrl(_ctx.stringValue("GetUserInfoResponse.Result.AvatarUrl"));
getUserInfoResponse.setResult(result);
return getUserInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListGroupMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListGroupMemberResponse;
import com.aliyuncs.codeup.model.v20200414.ListGroupMemberResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListGroupMemberResponseUnmarshaller {
public static ListGroupMemberResponse unmarshall(ListGroupMemberResponse listGroupMemberResponse, UnmarshallerContext _ctx) {
listGroupMemberResponse.setRequestId(_ctx.stringValue("ListGroupMemberResponse.RequestId"));
listGroupMemberResponse.setErrorCode(_ctx.stringValue("ListGroupMemberResponse.ErrorCode"));
listGroupMemberResponse.setSuccess(_ctx.booleanValue("ListGroupMemberResponse.Success"));
listGroupMemberResponse.setErrorMessage(_ctx.stringValue("ListGroupMemberResponse.ErrorMessage"));
listGroupMemberResponse.setTotal(_ctx.longValue("ListGroupMemberResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListGroupMemberResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAccessLevel(_ctx.integerValue("ListGroupMemberResponse.Result["+ i +"].AccessLevel"));
resultItem.setExternUserId(_ctx.stringValue("ListGroupMemberResponse.Result["+ i +"].ExternUserId"));
resultItem.setId(_ctx.longValue("ListGroupMemberResponse.Result["+ i +"].Id"));
resultItem.setState(_ctx.stringValue("ListGroupMemberResponse.Result["+ i +"].State"));
resultItem.setAvatarUrl(_ctx.stringValue("ListGroupMemberResponse.Result["+ i +"].AvatarUrl"));
resultItem.setEmail(_ctx.stringValue("ListGroupMemberResponse.Result["+ i +"].Email"));
result.add(resultItem);
}
listGroupMemberResponse.setResult(result);
return listGroupMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListGroupRepositoriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListGroupRepositoriesResponse;
import com.aliyuncs.codeup.model.v20200414.ListGroupRepositoriesResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListGroupRepositoriesResponseUnmarshaller {
public static ListGroupRepositoriesResponse unmarshall(ListGroupRepositoriesResponse listGroupRepositoriesResponse, UnmarshallerContext _ctx) {
listGroupRepositoriesResponse.setRequestId(_ctx.stringValue("ListGroupRepositoriesResponse.RequestId"));
listGroupRepositoriesResponse.setErrorCode(_ctx.stringValue("ListGroupRepositoriesResponse.ErrorCode"));
listGroupRepositoriesResponse.setSuccess(_ctx.booleanValue("ListGroupRepositoriesResponse.Success"));
listGroupRepositoriesResponse.setErrorMessage(_ctx.stringValue("ListGroupRepositoriesResponse.ErrorMessage"));
listGroupRepositoriesResponse.setTotal(_ctx.longValue("ListGroupRepositoriesResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListGroupRepositoriesResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setArchive(_ctx.booleanValue("ListGroupRepositoriesResponse.Result["+ i +"].Archive"));
resultItem.setCreatedAt(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].CreatedAt"));
resultItem.setUpdatedAt(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].UpdatedAt"));
resultItem.setLastActivityAt(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].LastActivityAt"));
resultItem.setId(_ctx.longValue("ListGroupRepositoriesResponse.Result["+ i +"].Id"));
resultItem.setCreatorId(_ctx.longValue("ListGroupRepositoriesResponse.Result["+ i +"].CreatorId"));
resultItem.setName(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].Name"));
resultItem.setNameWithNamespace(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].NameWithNamespace"));
resultItem.setPath(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].Path"));
resultItem.setPathWithNamespace(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].PathWithNamespace"));
resultItem.setNamespaceId(_ctx.longValue("ListGroupRepositoriesResponse.Result["+ i +"].NamespaceId"));
resultItem.setHttpCloneUrl(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].HttpCloneUrl"));
resultItem.setSshCloneUrl(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].SshCloneUrl"));
resultItem.setVisibilityLevel(_ctx.integerValue("ListGroupRepositoriesResponse.Result["+ i +"].VisibilityLevel"));
resultItem.setWebUrl(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].WebUrl"));
resultItem.setImportStatus(_ctx.stringValue("ListGroupRepositoriesResponse.Result["+ i +"].ImportStatus"));
result.add(resultItem);
}
listGroupRepositoriesResponse.setResult(result);
return listGroupRepositoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListGroupsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListGroupsResponse;
import com.aliyuncs.codeup.model.v20200414.ListGroupsResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListGroupsResponseUnmarshaller {
public static ListGroupsResponse unmarshall(ListGroupsResponse listGroupsResponse, UnmarshallerContext _ctx) {
listGroupsResponse.setRequestId(_ctx.stringValue("ListGroupsResponse.RequestId"));
listGroupsResponse.setErrorCode(_ctx.stringValue("ListGroupsResponse.ErrorCode"));
listGroupsResponse.setSuccess(_ctx.booleanValue("ListGroupsResponse.Success"));
listGroupsResponse.setErrorMessage(_ctx.stringValue("ListGroupsResponse.ErrorMessage"));
listGroupsResponse.setTotal(_ctx.longValue("ListGroupsResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListGroupsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setId(_ctx.longValue("ListGroupsResponse.Result["+ i +"].Id"));
resultItem.setCreatedAt(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].CreatedAt"));
resultItem.setUpdatedAt(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].UpdatedAt"));
resultItem.setAccessLevel(_ctx.integerValue("ListGroupsResponse.Result["+ i +"].AccessLevel"));
resultItem.setDescription(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].Description"));
resultItem.setName(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].Name"));
resultItem.setNameWithNamespace(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].NameWithNamespace"));
resultItem.setOwnerId(_ctx.longValue("ListGroupsResponse.Result["+ i +"].OwnerId"));
resultItem.setParentId(_ctx.longValue("ListGroupsResponse.Result["+ i +"].ParentId"));
resultItem.setPath(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].Path"));
resultItem.setPathWithNamespace(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].PathWithNamespace"));
resultItem.setType(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].Type"));
resultItem.setVisibilityLevel(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].VisibilityLevel"));
resultItem.setWebUrl(_ctx.stringValue("ListGroupsResponse.Result["+ i +"].WebUrl"));
result.add(resultItem);
}
listGroupsResponse.setResult(result);
return listGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListMergeRequestCommentsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestCommentsResponse;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestCommentsResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestCommentsResponse.ResultItem.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListMergeRequestCommentsResponseUnmarshaller {
public static ListMergeRequestCommentsResponse unmarshall(ListMergeRequestCommentsResponse listMergeRequestCommentsResponse, UnmarshallerContext _ctx) {
listMergeRequestCommentsResponse.setRequestId(_ctx.stringValue("ListMergeRequestCommentsResponse.RequestId"));
listMergeRequestCommentsResponse.setErrorCode(_ctx.stringValue("ListMergeRequestCommentsResponse.ErrorCode"));
listMergeRequestCommentsResponse.setErrorMessage(_ctx.stringValue("ListMergeRequestCommentsResponse.ErrorMessage"));
listMergeRequestCommentsResponse.setSuccess(_ctx.booleanValue("ListMergeRequestCommentsResponse.Success"));
listMergeRequestCommentsResponse.setTotal(_ctx.longValue("ListMergeRequestCommentsResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListMergeRequestCommentsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setClosed(_ctx.integerValue("ListMergeRequestCommentsResponse.Result["+ i +"].Closed"));
resultItem.setCreatedAt(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].CreatedAt"));
resultItem.setId(_ctx.longValue("ListMergeRequestCommentsResponse.Result["+ i +"].Id"));
resultItem.setIsDraft(_ctx.booleanValue("ListMergeRequestCommentsResponse.Result["+ i +"].IsDraft"));
resultItem.setLine(_ctx.longValue("ListMergeRequestCommentsResponse.Result["+ i +"].Line"));
resultItem.setNote(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Note"));
resultItem.setOutDated(_ctx.booleanValue("ListMergeRequestCommentsResponse.Result["+ i +"].OutDated"));
resultItem.setParentNoteId(_ctx.longValue("ListMergeRequestCommentsResponse.Result["+ i +"].ParentNoteId"));
resultItem.setPath(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Path"));
resultItem.setProjectId(_ctx.longValue("ListMergeRequestCommentsResponse.Result["+ i +"].ProjectId"));
resultItem.setRangeContext(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].RangeContext"));
resultItem.setSide(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Side"));
resultItem.setUpdatedAt(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].UpdatedAt"));
Author author = new Author();
author.setAvatarUrl(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Author.AvatarUrl"));
author.setEmail(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Author.Email"));
author.setExternUserId(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Author.ExternUserId"));
author.setId(_ctx.longValue("ListMergeRequestCommentsResponse.Result["+ i +"].Author.Id"));
author.setName(_ctx.stringValue("ListMergeRequestCommentsResponse.Result["+ i +"].Author.Name"));
resultItem.setAuthor(author);
result.add(resultItem);
}
listMergeRequestCommentsResponse.setResult(result);
return listMergeRequestCommentsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListMergeRequestsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.ListMergeRequestsResponse.ResultItem.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListMergeRequestsResponseUnmarshaller {
public static ListMergeRequestsResponse unmarshall(ListMergeRequestsResponse listMergeRequestsResponse, UnmarshallerContext _ctx) {
listMergeRequestsResponse.setRequestId(_ctx.stringValue("ListMergeRequestsResponse.RequestId"));
listMergeRequestsResponse.setErrorCode(_ctx.stringValue("ListMergeRequestsResponse.ErrorCode"));
listMergeRequestsResponse.setErrorMessage(_ctx.stringValue("ListMergeRequestsResponse.ErrorMessage"));
listMergeRequestsResponse.setSuccess(_ctx.booleanValue("ListMergeRequestsResponse.Success"));
listMergeRequestsResponse.setTotal(_ctx.longValue("ListMergeRequestsResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListMergeRequestsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAcceptedRevision(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AcceptedRevision"));
resultItem.setAheadCommitCount(_ctx.integerValue("ListMergeRequestsResponse.Result["+ i +"].AheadCommitCount"));
resultItem.setBehindCommitCount(_ctx.integerValue("ListMergeRequestsResponse.Result["+ i +"].BehindCommitCount"));
resultItem.setCreatedAt(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].CreatedAt"));
resultItem.setDescription(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].Description"));
resultItem.setId(_ctx.longValue("ListMergeRequestsResponse.Result["+ i +"].Id"));
resultItem.setMergeError(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].MergeError"));
resultItem.setMergeStatus(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].MergeStatus"));
resultItem.setMergeType(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].MergeType"));
resultItem.setMergedRevision(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].MergedRevision"));
resultItem.setNameWithNamespace(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].NameWithNamespace"));
resultItem.setProjectId(_ctx.longValue("ListMergeRequestsResponse.Result["+ i +"].ProjectId"));
resultItem.setSourceBranch(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].SourceBranch"));
resultItem.setState(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].State"));
resultItem.setTargetBranch(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].TargetBranch"));
resultItem.setTitle(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].Title"));
resultItem.setUpdatedAt(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].UpdatedAt"));
resultItem.setWebUrl(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].WebUrl"));
resultItem.setIsSupportMerge(_ctx.booleanValue("ListMergeRequestsResponse.Result["+ i +"].IsSupportMerge"));
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int j = 0; j < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults.Length"); j++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].CheckName"));
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].SatisfiedItems.Length"); k++) {
satisfiedItems.add(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].SatisfiedItems["+ k +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].UnsatisfiedItems.Length"); k++) {
unsatisfiedItems.add(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].UnsatisfiedItems["+ k +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].ExtraUsers.Length"); k++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setAvatarUrl(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].AvatarUrl"));
extraUsersItem.setExternUserId(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].ExternUserId"));
extraUsersItem.setId(_ctx.longValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].Id"));
extraUsersItem.setName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.SatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int j = 0; j < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults.Length"); j++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].SatisfiedItems.Length"); k++) {
satisfiedItems1.add(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].SatisfiedItems["+ k +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].UnsatisfiedItems.Length"); k++) {
unsatisfiedItems2.add(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].UnsatisfiedItems["+ k +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int k = 0; k < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].ExtraUsers.Length"); k++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setAvatarUrl(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].AvatarUrl"));
extraUsersItem4.setExternUserId(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].ExternUserId"));
extraUsersItem4.setId(_ctx.longValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].Id"));
extraUsersItem4.setName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].ApproveCheckResult.UnsatisfiedCheckResults["+ j +"].ExtraUsers["+ k +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
resultItem.setApproveCheckResult(approveCheckResult);
Author author = new Author();
author.setAvatarUrl(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].Author.AvatarUrl"));
author.setExternUserId(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].Author.ExternUserId"));
author.setId(_ctx.longValue("ListMergeRequestsResponse.Result["+ i +"].Author.Id"));
author.setName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].Author.Name"));
resultItem.setAuthor(author);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int j = 0; j < _ctx.lengthValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList.Length"); j++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setAvatarUrl(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].AvatarUrl"));
assigneeListItem.setExternUserId(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].ExternUserId"));
assigneeListItem.setId(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].Id"));
assigneeListItem.setName(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].Name"));
assigneeListItem.setStatus(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].Status"));
assigneeListItem.setEmail(_ctx.stringValue("ListMergeRequestsResponse.Result["+ i +"].AssigneeList["+ j +"].Email"));
assigneeList.add(assigneeListItem);
}
resultItem.setAssigneeList(assigneeList);
result.add(resultItem);
}
listMergeRequestsResponse.setResult(result);
return listMergeRequestsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListOrganizationSecurityScoresResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListOrganizationSecurityScoresResponse;
import com.aliyuncs.codeup.model.v20200414.ListOrganizationSecurityScoresResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListOrganizationSecurityScoresResponse.ResultItem.OrganizationSecurityScore;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListOrganizationSecurityScoresResponseUnmarshaller {
public static ListOrganizationSecurityScoresResponse unmarshall(ListOrganizationSecurityScoresResponse listOrganizationSecurityScoresResponse, UnmarshallerContext _ctx) {
listOrganizationSecurityScoresResponse.setRequestId(_ctx.stringValue("ListOrganizationSecurityScoresResponse.RequestId"));
listOrganizationSecurityScoresResponse.setErrorCode(_ctx.stringValue("ListOrganizationSecurityScoresResponse.ErrorCode"));
listOrganizationSecurityScoresResponse.setErrorMessage(_ctx.stringValue("ListOrganizationSecurityScoresResponse.ErrorMessage"));
listOrganizationSecurityScoresResponse.setSuccess(_ctx.booleanValue("ListOrganizationSecurityScoresResponse.Success"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListOrganizationSecurityScoresResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setEnable(_ctx.booleanValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].Enable"));
resultItem.setId(_ctx.longValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].Id"));
resultItem.setOrganizationId(_ctx.stringValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].OrganizationId"));
OrganizationSecurityScore organizationSecurityScore = new OrganizationSecurityScore();
organizationSecurityScore.setAuthorityControlScore(_ctx.integerValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].OrganizationSecurityScore.AuthorityControlScore"));
organizationSecurityScore.setCodeContentScore(_ctx.integerValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].OrganizationSecurityScore.CodeContentScore"));
organizationSecurityScore.setMemberBehaviorScore(_ctx.integerValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].OrganizationSecurityScore.MemberBehaviorScore"));
organizationSecurityScore.setLevel(_ctx.stringValue("ListOrganizationSecurityScoresResponse.Result["+ i +"].OrganizationSecurityScore.Level"));
resultItem.setOrganizationSecurityScore(organizationSecurityScore);
result.add(resultItem);
}
listOrganizationSecurityScoresResponse.setResult(result);
return listOrganizationSecurityScoresResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListOrganizationsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListOrganizationsResponse;
import com.aliyuncs.codeup.model.v20200414.ListOrganizationsResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListOrganizationsResponseUnmarshaller {
public static ListOrganizationsResponse unmarshall(ListOrganizationsResponse listOrganizationsResponse, UnmarshallerContext _ctx) {
listOrganizationsResponse.setRequestId(_ctx.stringValue("ListOrganizationsResponse.RequestId"));
listOrganizationsResponse.setErrorCode(_ctx.stringValue("ListOrganizationsResponse.ErrorCode"));
listOrganizationsResponse.setSuccess(_ctx.booleanValue("ListOrganizationsResponse.Success"));
listOrganizationsResponse.setErrorMessage(_ctx.stringValue("ListOrganizationsResponse.ErrorMessage"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListOrganizationsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setOrganizationId(_ctx.stringValue("ListOrganizationsResponse.Result["+ i +"].OrganizationId"));
resultItem.setOrganizationName(_ctx.stringValue("ListOrganizationsResponse.Result["+ i +"].OrganizationName"));
resultItem.setOrganizationRole(_ctx.stringValue("ListOrganizationsResponse.Result["+ i +"].OrganizationRole"));
resultItem.setAccessLevel(_ctx.integerValue("ListOrganizationsResponse.Result["+ i +"].AccessLevel"));
result.add(resultItem);
}
listOrganizationsResponse.setResult(result);
return listOrganizationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoriesResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoriesResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoriesResponseUnmarshaller {
public static ListRepositoriesResponse unmarshall(ListRepositoriesResponse listRepositoriesResponse, UnmarshallerContext _ctx) {
listRepositoriesResponse.setRequestId(_ctx.stringValue("ListRepositoriesResponse.RequestId"));
listRepositoriesResponse.setErrorCode(_ctx.integerValue("ListRepositoriesResponse.ErrorCode"));
listRepositoriesResponse.setErrorMessage(_ctx.stringValue("ListRepositoriesResponse.ErrorMessage"));
listRepositoriesResponse.setSuccess(_ctx.booleanValue("ListRepositoriesResponse.Success"));
listRepositoriesResponse.setTotal(_ctx.longValue("ListRepositoriesResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoriesResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setId(_ctx.longValue("ListRepositoriesResponse.Result["+ i +"].Id"));
resultItem.setDescription(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].Description"));
resultItem.setVisibilityLevel(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].VisibilityLevel"));
resultItem.setWebUrl(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].WebUrl"));
resultItem.setName(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].Name"));
resultItem.setNameWithNamespace(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].NameWithNamespace"));
resultItem.setPath(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].Path"));
resultItem.setPathWithNamespace(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].PathWithNamespace"));
resultItem.setCreatedAt(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].CreatedAt"));
resultItem.setLastActivityAt(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].LastActivityAt"));
resultItem.setArchive(_ctx.booleanValue("ListRepositoriesResponse.Result["+ i +"].Archive"));
resultItem.setAvatarUrl(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].AvatarUrl"));
resultItem.setDemoProjectStatus(_ctx.booleanValue("ListRepositoriesResponse.Result["+ i +"].DemoProjectStatus"));
resultItem.setAccessLevel(_ctx.integerValue("ListRepositoriesResponse.Result["+ i +"].AccessLevel"));
resultItem.setImportStatus(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].ImportStatus"));
resultItem.setNamespaceId(_ctx.longValue("ListRepositoriesResponse.Result["+ i +"].NamespaceId"));
resultItem.setUpdatedAt(_ctx.stringValue("ListRepositoriesResponse.Result["+ i +"].UpdatedAt"));
resultItem.setStarCount(_ctx.longValue("ListRepositoriesResponse.Result["+ i +"].StarCount"));
resultItem.setStar(_ctx.booleanValue("ListRepositoriesResponse.Result["+ i +"].Star"));
result.add(resultItem);
}
listRepositoriesResponse.setResult(result);
return listRepositoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryBranchesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryBranchesResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryBranchesResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryBranchesResponse.ResultItem.CommitInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryBranchesResponseUnmarshaller {
public static ListRepositoryBranchesResponse unmarshall(ListRepositoryBranchesResponse listRepositoryBranchesResponse, UnmarshallerContext _ctx) {
listRepositoryBranchesResponse.setRequestId(_ctx.stringValue("ListRepositoryBranchesResponse.RequestId"));
listRepositoryBranchesResponse.setErrorCode(_ctx.stringValue("ListRepositoryBranchesResponse.ErrorCode"));
listRepositoryBranchesResponse.setSuccess(_ctx.booleanValue("ListRepositoryBranchesResponse.Success"));
listRepositoryBranchesResponse.setErrorMessage(_ctx.stringValue("ListRepositoryBranchesResponse.ErrorMessage"));
listRepositoryBranchesResponse.setTotal(_ctx.longValue("ListRepositoryBranchesResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryBranchesResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setBranchName(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].BranchName"));
resultItem.setProtectedBranch(_ctx.booleanValue("ListRepositoryBranchesResponse.Result["+ i +"].ProtectedBranch"));
CommitInfo commitInfo = new CommitInfo();
commitInfo.setId(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.Id"));
commitInfo.setShortId(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.ShortId"));
commitInfo.setTitle(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.Title"));
commitInfo.setAuthorName(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.AuthorName"));
commitInfo.setAuthorEmail(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.AuthorEmail"));
commitInfo.setCreatedAt(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.CreatedAt"));
commitInfo.setMessage(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.Message"));
commitInfo.setAuthorDate(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.AuthorDate"));
commitInfo.setCommittedDate(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.CommittedDate"));
commitInfo.setCommitterEmail(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.CommitterEmail"));
commitInfo.setCommitterName(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.CommitterName"));
List<String> parentIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.ParentIds.Length"); j++) {
parentIds.add(_ctx.stringValue("ListRepositoryBranchesResponse.Result["+ i +"].CommitInfo.ParentIds["+ j +"]"));
}
commitInfo.setParentIds(parentIds);
resultItem.setCommitInfo(commitInfo);
result.add(resultItem);
}
listRepositoryBranchesResponse.setResult(result);
return listRepositoryBranchesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryCommitDiffResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryCommitDiffResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryCommitDiffResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryCommitDiffResponseUnmarshaller {
public static ListRepositoryCommitDiffResponse unmarshall(ListRepositoryCommitDiffResponse listRepositoryCommitDiffResponse, UnmarshallerContext _ctx) {
listRepositoryCommitDiffResponse.setRequestId(_ctx.stringValue("ListRepositoryCommitDiffResponse.RequestId"));
listRepositoryCommitDiffResponse.setErrorCode(_ctx.stringValue("ListRepositoryCommitDiffResponse.ErrorCode"));
listRepositoryCommitDiffResponse.setErrorMessage(_ctx.stringValue("ListRepositoryCommitDiffResponse.ErrorMessage"));
listRepositoryCommitDiffResponse.setSuccess(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Success"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryCommitDiffResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAMode(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].AMode"));
resultItem.setBMode(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].BMode"));
resultItem.setDeletedFile(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].DeletedFile"));
resultItem.setDiff(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].Diff"));
resultItem.setIsBinary(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].IsBinary"));
resultItem.setIsNewLfs(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].IsNewLfs"));
resultItem.setIsOldLfs(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].IsOldLfs"));
resultItem.setNewFile(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].NewFile"));
resultItem.setNewId(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].NewId"));
resultItem.setNewPath(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].NewPath"));
resultItem.setOldId(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].OldId"));
resultItem.setOldPath(_ctx.stringValue("ListRepositoryCommitDiffResponse.Result["+ i +"].OldPath"));
resultItem.setRenamedFile(_ctx.booleanValue("ListRepositoryCommitDiffResponse.Result["+ i +"].RenamedFile"));
result.add(resultItem);
}
listRepositoryCommitDiffResponse.setResult(result);
return listRepositoryCommitDiffResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryCommitsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryCommitsResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryCommitsResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryCommitsResponse.ResultItem.Signature;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryCommitsResponseUnmarshaller {
public static ListRepositoryCommitsResponse unmarshall(ListRepositoryCommitsResponse listRepositoryCommitsResponse, UnmarshallerContext _ctx) {
listRepositoryCommitsResponse.setRequestId(_ctx.stringValue("ListRepositoryCommitsResponse.RequestId"));
listRepositoryCommitsResponse.setErrorCode(_ctx.stringValue("ListRepositoryCommitsResponse.ErrorCode"));
listRepositoryCommitsResponse.setErrorMessage(_ctx.stringValue("ListRepositoryCommitsResponse.ErrorMessage"));
listRepositoryCommitsResponse.setSuccess(_ctx.booleanValue("ListRepositoryCommitsResponse.Success"));
listRepositoryCommitsResponse.setTotal(_ctx.longValue("ListRepositoryCommitsResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryCommitsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAuthorDate(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].AuthorDate"));
resultItem.setAuthorEmail(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].AuthorEmail"));
resultItem.setAuthorName(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].AuthorName"));
resultItem.setCommittedDate(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].CommittedDate"));
resultItem.setCommitterEmail(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].CommitterEmail"));
resultItem.setCommitterName(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].CommitterName"));
resultItem.setCreatedAt(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].CreatedAt"));
resultItem.setId(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].Id"));
resultItem.setMessage(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].Message"));
resultItem.setShortId(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].ShortId"));
resultItem.setTitle(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].Title"));
List<String> parentIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListRepositoryCommitsResponse.Result["+ i +"].ParentIds.Length"); j++) {
parentIds.add(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].ParentIds["+ j +"]"));
}
resultItem.setParentIds(parentIds);
Signature signature = new Signature();
signature.setGpgKeyId(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].Signature.GpgKeyId"));
signature.setVerificationStatus(_ctx.stringValue("ListRepositoryCommitsResponse.Result["+ i +"].Signature.VerificationStatus"));
resultItem.setSignature(signature);
result.add(resultItem);
}
listRepositoryCommitsResponse.setResult(result);
return listRepositoryCommitsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryMemberResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryMemberResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryMemberResponseUnmarshaller {
public static ListRepositoryMemberResponse unmarshall(ListRepositoryMemberResponse listRepositoryMemberResponse, UnmarshallerContext _ctx) {
listRepositoryMemberResponse.setRequestId(_ctx.stringValue("ListRepositoryMemberResponse.RequestId"));
listRepositoryMemberResponse.setErrorCode(_ctx.stringValue("ListRepositoryMemberResponse.ErrorCode"));
listRepositoryMemberResponse.setSuccess(_ctx.booleanValue("ListRepositoryMemberResponse.Success"));
listRepositoryMemberResponse.setErrorMessage(_ctx.stringValue("ListRepositoryMemberResponse.ErrorMessage"));
listRepositoryMemberResponse.setTotal(_ctx.longValue("ListRepositoryMemberResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryMemberResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAccessLevel(_ctx.integerValue("ListRepositoryMemberResponse.Result["+ i +"].AccessLevel"));
resultItem.setExternUserId(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].ExternUserId"));
resultItem.setId(_ctx.longValue("ListRepositoryMemberResponse.Result["+ i +"].Id"));
resultItem.setState(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].State"));
resultItem.setAvatarUrl(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].AvatarUrl"));
resultItem.setEmail(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].Email"));
resultItem.setName(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].Name"));
resultItem.setUsername(_ctx.stringValue("ListRepositoryMemberResponse.Result["+ i +"].Username"));
result.add(resultItem);
}
listRepositoryMemberResponse.setResult(result);
return listRepositoryMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryMemberWithInheritedResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryMemberWithInheritedResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryMemberWithInheritedResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryMemberWithInheritedResponse.ResultItem.Inherited;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryMemberWithInheritedResponseUnmarshaller {
public static ListRepositoryMemberWithInheritedResponse unmarshall(ListRepositoryMemberWithInheritedResponse listRepositoryMemberWithInheritedResponse, UnmarshallerContext _ctx) {
listRepositoryMemberWithInheritedResponse.setRequestId(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.RequestId"));
listRepositoryMemberWithInheritedResponse.setErrorCode(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.ErrorCode"));
listRepositoryMemberWithInheritedResponse.setSuccess(_ctx.booleanValue("ListRepositoryMemberWithInheritedResponse.Success"));
listRepositoryMemberWithInheritedResponse.setErrorMessage(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.ErrorMessage"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryMemberWithInheritedResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAccessLevel(_ctx.integerValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].AccessLevel"));
resultItem.setExternUserId(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].ExternUserId"));
resultItem.setId(_ctx.longValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Id"));
resultItem.setState(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].State"));
resultItem.setAvatarUrl(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].AvatarUrl"));
resultItem.setEmail(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Email"));
resultItem.setName(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Name"));
resultItem.setUsername(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Username"));
Inherited inherited = new Inherited();
inherited.setId(_ctx.longValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.Id"));
inherited.setName(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.Name"));
inherited.setPath(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.Path"));
inherited.setNameWithNamespace(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.NameWithNamespace"));
inherited.setPathWithNamespace(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.PathWithNamespace"));
inherited.setType(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.Type"));
inherited.setVisibilityLevel(_ctx.stringValue("ListRepositoryMemberWithInheritedResponse.Result["+ i +"].Inherited.VisibilityLevel"));
resultItem.setInherited(inherited);
result.add(resultItem);
}
listRepositoryMemberWithInheritedResponse.setResult(result);
return listRepositoryMemberWithInheritedResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryTagsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTagsResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTagsResponse.ResultItem;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTagsResponse.ResultItem.Commit;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTagsResponse.ResultItem.Commit.Signature1;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTagsResponse.ResultItem.Signature;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryTagsResponseUnmarshaller {
public static ListRepositoryTagsResponse unmarshall(ListRepositoryTagsResponse listRepositoryTagsResponse, UnmarshallerContext _ctx) {
listRepositoryTagsResponse.setRequestId(_ctx.stringValue("ListRepositoryTagsResponse.RequestId"));
listRepositoryTagsResponse.setErrorCode(_ctx.stringValue("ListRepositoryTagsResponse.ErrorCode"));
listRepositoryTagsResponse.setSuccess(_ctx.booleanValue("ListRepositoryTagsResponse.Success"));
listRepositoryTagsResponse.setErrorMessage(_ctx.stringValue("ListRepositoryTagsResponse.ErrorMessage"));
listRepositoryTagsResponse.setTotal(_ctx.longValue("ListRepositoryTagsResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryTagsResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setId(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Id"));
resultItem.setName(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Name"));
resultItem.setMessage(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Message"));
Commit commit = new Commit();
commit.setId(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.Id"));
commit.setShortId(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.ShortId"));
commit.setTitle(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.Title"));
commit.setAuthorName(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.AuthorName"));
commit.setAuthorEmail(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.AuthorEmail"));
commit.setCreatedAt(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.CreatedAt"));
commit.setMessage(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.Message"));
commit.setAuthoredDate(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.AuthoredDate"));
commit.setCommittedDate(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.CommittedDate"));
commit.setCommitterEmail(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.CommitterEmail"));
commit.setCommitterName(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.CommitterName"));
List<String> parentIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.ParentIds.Length"); j++) {
parentIds.add(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.ParentIds["+ j +"]"));
}
commit.setParentIds(parentIds);
Signature1 signature1 = new Signature1();
signature1.setGpgKeyId(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.Signature.GpgKeyId"));
signature1.setVerificationStatus(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Commit.Signature.VerificationStatus"));
commit.setSignature1(signature1);
resultItem.setCommit(commit);
Signature signature = new Signature();
signature.setGpgKeyId(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Signature.GpgKeyId"));
signature.setVerificationStatus(_ctx.stringValue("ListRepositoryTagsResponse.Result["+ i +"].Signature.VerificationStatus"));
resultItem.setSignature(signature);
result.add(resultItem);
}
listRepositoryTagsResponse.setResult(result);
return listRepositoryTagsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryTreeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTreeResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryTreeResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryTreeResponseUnmarshaller {
public static ListRepositoryTreeResponse unmarshall(ListRepositoryTreeResponse listRepositoryTreeResponse, UnmarshallerContext _ctx) {
listRepositoryTreeResponse.setRequestId(_ctx.stringValue("ListRepositoryTreeResponse.RequestId"));
listRepositoryTreeResponse.setErrorCode(_ctx.stringValue("ListRepositoryTreeResponse.ErrorCode"));
listRepositoryTreeResponse.setSuccess(_ctx.booleanValue("ListRepositoryTreeResponse.Success"));
listRepositoryTreeResponse.setErrorMessage(_ctx.stringValue("ListRepositoryTreeResponse.ErrorMessage"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryTreeResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setPath(_ctx.stringValue("ListRepositoryTreeResponse.Result["+ i +"].Path"));
resultItem.setId(_ctx.stringValue("ListRepositoryTreeResponse.Result["+ i +"].Id"));
resultItem.setName(_ctx.stringValue("ListRepositoryTreeResponse.Result["+ i +"].Name"));
resultItem.setMode(_ctx.stringValue("ListRepositoryTreeResponse.Result["+ i +"].Mode"));
resultItem.setType(_ctx.stringValue("ListRepositoryTreeResponse.Result["+ i +"].Type"));
result.add(resultItem);
}
listRepositoryTreeResponse.setResult(result);
return listRepositoryTreeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/ListRepositoryWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryWebhookResponse;
import com.aliyuncs.codeup.model.v20200414.ListRepositoryWebhookResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRepositoryWebhookResponseUnmarshaller {
public static ListRepositoryWebhookResponse unmarshall(ListRepositoryWebhookResponse listRepositoryWebhookResponse, UnmarshallerContext _ctx) {
listRepositoryWebhookResponse.setRequestId(_ctx.stringValue("ListRepositoryWebhookResponse.RequestId"));
listRepositoryWebhookResponse.setErrorCode(_ctx.stringValue("ListRepositoryWebhookResponse.ErrorCode"));
listRepositoryWebhookResponse.setSuccess(_ctx.booleanValue("ListRepositoryWebhookResponse.Success"));
listRepositoryWebhookResponse.setErrorMessage(_ctx.stringValue("ListRepositoryWebhookResponse.ErrorMessage"));
listRepositoryWebhookResponse.setTotal(_ctx.longValue("ListRepositoryWebhookResponse.Total"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRepositoryWebhookResponse.Result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setId(_ctx.longValue("ListRepositoryWebhookResponse.Result["+ i +"].Id"));
resultItem.setUrl(_ctx.stringValue("ListRepositoryWebhookResponse.Result["+ i +"].Url"));
resultItem.setCreatedAt(_ctx.stringValue("ListRepositoryWebhookResponse.Result["+ i +"].CreatedAt"));
resultItem.setProjectId(_ctx.longValue("ListRepositoryWebhookResponse.Result["+ i +"].ProjectId"));
resultItem.setPushEvents(_ctx.booleanValue("ListRepositoryWebhookResponse.Result["+ i +"].PushEvents"));
resultItem.setMergeRequestsEvents(_ctx.booleanValue("ListRepositoryWebhookResponse.Result["+ i +"].MergeRequestsEvents"));
resultItem.setTagPushEvents(_ctx.booleanValue("ListRepositoryWebhookResponse.Result["+ i +"].TagPushEvents"));
resultItem.setNoteEvents(_ctx.booleanValue("ListRepositoryWebhookResponse.Result["+ i +"].NoteEvents"));
resultItem.setEnableSslVerification(_ctx.booleanValue("ListRepositoryWebhookResponse.Result["+ i +"].EnableSslVerification"));
resultItem.setLastTestResult(_ctx.stringValue("ListRepositoryWebhookResponse.Result["+ i +"].LastTestResult"));
resultItem.setDescription(_ctx.stringValue("ListRepositoryWebhookResponse.Result["+ i +"].Description"));
resultItem.setSecretToken(_ctx.stringValue("ListRepositoryWebhookResponse.Result["+ i +"].SecretToken"));
result.add(resultItem);
}
listRepositoryWebhookResponse.setResult(result);
return listRepositoryWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/MergeMergeRequestResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.MergeMergeRequestResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class MergeMergeRequestResponseUnmarshaller {
public static MergeMergeRequestResponse unmarshall(MergeMergeRequestResponse mergeMergeRequestResponse, UnmarshallerContext _ctx) {
mergeMergeRequestResponse.setRequestId(_ctx.stringValue("MergeMergeRequestResponse.RequestId"));
mergeMergeRequestResponse.setErrorCode(_ctx.stringValue("MergeMergeRequestResponse.ErrorCode"));
mergeMergeRequestResponse.setSuccess(_ctx.booleanValue("MergeMergeRequestResponse.Success"));
mergeMergeRequestResponse.setErrorMessage(_ctx.stringValue("MergeMergeRequestResponse.ErrorMessage"));
Result result = new Result();
result.setId(_ctx.longValue("MergeMergeRequestResponse.Result.Id"));
result.setProjectId(_ctx.longValue("MergeMergeRequestResponse.Result.ProjectId"));
result.setTitle(_ctx.stringValue("MergeMergeRequestResponse.Result.Title"));
result.setDescription(_ctx.stringValue("MergeMergeRequestResponse.Result.Description"));
result.setState(_ctx.stringValue("MergeMergeRequestResponse.Result.State"));
result.setMergeStatus(_ctx.stringValue("MergeMergeRequestResponse.Result.MergeStatus"));
result.setCreatedAt(_ctx.stringValue("MergeMergeRequestResponse.Result.CreatedAt"));
result.setUpdatedAt(_ctx.stringValue("MergeMergeRequestResponse.Result.UpdatedAt"));
result.setTargetBranch(_ctx.stringValue("MergeMergeRequestResponse.Result.TargetBranch"));
result.setSourceBranch(_ctx.stringValue("MergeMergeRequestResponse.Result.SourceBranch"));
result.setWebUrl(_ctx.stringValue("MergeMergeRequestResponse.Result.WebUrl"));
result.setAcceptedRevision(_ctx.stringValue("MergeMergeRequestResponse.Result.AcceptedRevision"));
result.setMergeError(_ctx.stringValue("MergeMergeRequestResponse.Result.MergeError"));
result.setMergedRevision(_ctx.stringValue("MergeMergeRequestResponse.Result.MergedRevision"));
result.setNameWithNamespace(_ctx.stringValue("MergeMergeRequestResponse.Result.NameWithNamespace"));
result.setMergeType(_ctx.stringValue("MergeMergeRequestResponse.Result.MergeType"));
result.setAheadCommitCount(_ctx.integerValue("MergeMergeRequestResponse.Result.AheadCommitCount"));
result.setBehindCommitCount(_ctx.integerValue("MergeMergeRequestResponse.Result.BehindCommitCount"));
Author author = new Author();
author.setId(_ctx.longValue("MergeMergeRequestResponse.Result.Author.Id"));
author.setExternUserId(_ctx.stringValue("MergeMergeRequestResponse.Result.Author.ExternUserId"));
author.setAvatarUrl(_ctx.stringValue("MergeMergeRequestResponse.Result.Author.AvatarUrl"));
author.setName(_ctx.stringValue("MergeMergeRequestResponse.Result.Author.Name"));
result.setAuthor(author);
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults.Length"); i++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckName"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems.add(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems.add(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setId(_ctx.longValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem.setExternUserId(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem.setAvatarUrl(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem.setName(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults.Length"); i++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems1.add(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems2.add(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int j = 0; j < _ctx.lengthValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setId(_ctx.longValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem4.setExternUserId(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem4.setAvatarUrl(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem4.setName(_ctx.stringValue("MergeMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
result.setApproveCheckResult(approveCheckResult);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int i = 0; i < _ctx.lengthValue("MergeMergeRequestResponse.Result.AssigneeList.Length"); i++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setId(_ctx.stringValue("MergeMergeRequestResponse.Result.AssigneeList["+ i +"].Id"));
assigneeListItem.setExternUserId(_ctx.stringValue("MergeMergeRequestResponse.Result.AssigneeList["+ i +"].ExternUserId"));
assigneeListItem.setAvatarUrl(_ctx.stringValue("MergeMergeRequestResponse.Result.AssigneeList["+ i +"].AvatarUrl"));
assigneeListItem.setName(_ctx.stringValue("MergeMergeRequestResponse.Result.AssigneeList["+ i +"].Name"));
assigneeList.add(assigneeListItem);
}
result.setAssigneeList(assigneeList);
mergeMergeRequestResponse.setResult(result);
return mergeMergeRequestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateFileResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateFileResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateFileResponseUnmarshaller {
public static UpdateFileResponse unmarshall(UpdateFileResponse updateFileResponse, UnmarshallerContext _ctx) {
updateFileResponse.setRequestId(_ctx.stringValue("UpdateFileResponse.RequestId"));
updateFileResponse.setErrorCode(_ctx.stringValue("UpdateFileResponse.ErrorCode"));
updateFileResponse.setSuccess(_ctx.booleanValue("UpdateFileResponse.Success"));
updateFileResponse.setErrorMessage(_ctx.stringValue("UpdateFileResponse.ErrorMessage"));
Result result = new Result();
result.setBranchName(_ctx.stringValue("UpdateFileResponse.Result.BranchName"));
result.setFilePath(_ctx.stringValue("UpdateFileResponse.Result.FilePath"));
updateFileResponse.setResult(result);
return updateFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateGroupMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateGroupMemberResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateGroupMemberResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateGroupMemberResponseUnmarshaller {
public static UpdateGroupMemberResponse unmarshall(UpdateGroupMemberResponse updateGroupMemberResponse, UnmarshallerContext _ctx) {
updateGroupMemberResponse.setRequestId(_ctx.stringValue("UpdateGroupMemberResponse.RequestId"));
updateGroupMemberResponse.setErrorCode(_ctx.stringValue("UpdateGroupMemberResponse.ErrorCode"));
updateGroupMemberResponse.setSuccess(_ctx.booleanValue("UpdateGroupMemberResponse.Success"));
updateGroupMemberResponse.setErrorMessage(_ctx.stringValue("UpdateGroupMemberResponse.ErrorMessage"));
Result result = new Result();
result.setAccessLevel(_ctx.integerValue("UpdateGroupMemberResponse.Result.AccessLevel"));
result.setExternUserId(_ctx.stringValue("UpdateGroupMemberResponse.Result.ExternUserId"));
result.setId(_ctx.longValue("UpdateGroupMemberResponse.Result.Id"));
result.setState(_ctx.stringValue("UpdateGroupMemberResponse.Result.State"));
result.setAvatarUrl(_ctx.stringValue("UpdateGroupMemberResponse.Result.AvatarUrl"));
result.setEmail(_ctx.stringValue("UpdateGroupMemberResponse.Result.Email"));
updateGroupMemberResponse.setResult(result);
return updateGroupMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateMergeRequestCommentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestCommentResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestCommentResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateMergeRequestCommentResponseUnmarshaller {
public static UpdateMergeRequestCommentResponse unmarshall(UpdateMergeRequestCommentResponse updateMergeRequestCommentResponse, UnmarshallerContext _ctx) {
updateMergeRequestCommentResponse.setRequestId(_ctx.stringValue("UpdateMergeRequestCommentResponse.RequestId"));
updateMergeRequestCommentResponse.setErrorCode(_ctx.stringValue("UpdateMergeRequestCommentResponse.ErrorCode"));
updateMergeRequestCommentResponse.setErrorMessage(_ctx.stringValue("UpdateMergeRequestCommentResponse.ErrorMessage"));
updateMergeRequestCommentResponse.setSuccess(_ctx.booleanValue("UpdateMergeRequestCommentResponse.Success"));
Result result = new Result();
result.setResult(_ctx.booleanValue("UpdateMergeRequestCommentResponse.Result.Result"));
updateMergeRequestCommentResponse.setResult(result);
return updateMergeRequestCommentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateMergeRequestResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.ApproveCheckResult;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResultsItem.ExtraUsersItem;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResultsItem.ExtraUsersItem4;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.AssigneeListItem;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestResponse.Result.Author;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateMergeRequestResponseUnmarshaller {
public static UpdateMergeRequestResponse unmarshall(UpdateMergeRequestResponse updateMergeRequestResponse, UnmarshallerContext _ctx) {
updateMergeRequestResponse.setRequestId(_ctx.stringValue("UpdateMergeRequestResponse.RequestId"));
updateMergeRequestResponse.setErrorCode(_ctx.stringValue("UpdateMergeRequestResponse.ErrorCode"));
updateMergeRequestResponse.setErrorMessage(_ctx.stringValue("UpdateMergeRequestResponse.ErrorMessage"));
updateMergeRequestResponse.setSuccess(_ctx.booleanValue("UpdateMergeRequestResponse.Success"));
Result result = new Result();
result.setAcceptedRevision(_ctx.stringValue("UpdateMergeRequestResponse.Result.AcceptedRevision"));
result.setAheadCommitCount(_ctx.integerValue("UpdateMergeRequestResponse.Result.AheadCommitCount"));
result.setBehindCommitCount(_ctx.integerValue("UpdateMergeRequestResponse.Result.BehindCommitCount"));
result.setCreatedAt(_ctx.stringValue("UpdateMergeRequestResponse.Result.CreatedAt"));
result.setDescription(_ctx.stringValue("UpdateMergeRequestResponse.Result.Description"));
result.setId(_ctx.longValue("UpdateMergeRequestResponse.Result.Id"));
result.setMergeError(_ctx.stringValue("UpdateMergeRequestResponse.Result.MergeError"));
result.setMergeStatus(_ctx.stringValue("UpdateMergeRequestResponse.Result.MergeStatus"));
result.setMergeType(_ctx.stringValue("UpdateMergeRequestResponse.Result.MergeType"));
result.setMergedRevision(_ctx.stringValue("UpdateMergeRequestResponse.Result.MergedRevision"));
result.setNameWithNamespace(_ctx.stringValue("UpdateMergeRequestResponse.Result.NameWithNamespace"));
result.setProjectId(_ctx.longValue("UpdateMergeRequestResponse.Result.ProjectId"));
result.setSourceBranch(_ctx.stringValue("UpdateMergeRequestResponse.Result.SourceBranch"));
result.setState(_ctx.stringValue("UpdateMergeRequestResponse.Result.State"));
result.setTargetBranch(_ctx.stringValue("UpdateMergeRequestResponse.Result.TargetBranch"));
result.setTitle(_ctx.stringValue("UpdateMergeRequestResponse.Result.Title"));
result.setUpdatedAt(_ctx.stringValue("UpdateMergeRequestResponse.Result.UpdatedAt"));
result.setWebUrl(_ctx.stringValue("UpdateMergeRequestResponse.Result.WebUrl"));
ApproveCheckResult approveCheckResult = new ApproveCheckResult();
approveCheckResult.setTotalCheckResult(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.TotalCheckResult"));
List<SatisfiedCheckResultsItem> satisfiedCheckResults = new ArrayList<SatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults.Length"); i++) {
SatisfiedCheckResultsItem satisfiedCheckResultsItem = new SatisfiedCheckResultsItem();
satisfiedCheckResultsItem.setCheckName(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckName"));
satisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckStatus"));
satisfiedCheckResultsItem.setCheckType(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems.add(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setSatisfiedItems(satisfiedItems);
List<String> unsatisfiedItems = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems.add(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
satisfiedCheckResultsItem.setUnsatisfiedItems(unsatisfiedItems);
List<ExtraUsersItem> extraUsers = new ArrayList<ExtraUsersItem>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem extraUsersItem = new ExtraUsersItem();
extraUsersItem.setAvatarUrl(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem.setExternUserId(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem.setId(_ctx.longValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem.setName(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.SatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers.add(extraUsersItem);
}
satisfiedCheckResultsItem.setExtraUsers(extraUsers);
satisfiedCheckResults.add(satisfiedCheckResultsItem);
}
approveCheckResult.setSatisfiedCheckResults(satisfiedCheckResults);
List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults = new ArrayList<UnsatisfiedCheckResultsItem>();
for (int i = 0; i < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults.Length"); i++) {
UnsatisfiedCheckResultsItem unsatisfiedCheckResultsItem = new UnsatisfiedCheckResultsItem();
unsatisfiedCheckResultsItem.setCheckName(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckName"));
unsatisfiedCheckResultsItem.setCheckStatus(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckStatus"));
unsatisfiedCheckResultsItem.setCheckType(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].CheckType"));
List<String> satisfiedItems1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems.Length"); j++) {
satisfiedItems1.add(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].SatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setSatisfiedItems1(satisfiedItems1);
List<String> unsatisfiedItems2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems.Length"); j++) {
unsatisfiedItems2.add(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].UnsatisfiedItems["+ j +"]"));
}
unsatisfiedCheckResultsItem.setUnsatisfiedItems2(unsatisfiedItems2);
List<ExtraUsersItem4> extraUsers3 = new ArrayList<ExtraUsersItem4>();
for (int j = 0; j < _ctx.lengthValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers.Length"); j++) {
ExtraUsersItem4 extraUsersItem4 = new ExtraUsersItem4();
extraUsersItem4.setAvatarUrl(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].AvatarUrl"));
extraUsersItem4.setExternUserId(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].ExternUserId"));
extraUsersItem4.setId(_ctx.longValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Id"));
extraUsersItem4.setName(_ctx.stringValue("UpdateMergeRequestResponse.Result.ApproveCheckResult.UnsatisfiedCheckResults["+ i +"].ExtraUsers["+ j +"].Name"));
extraUsers3.add(extraUsersItem4);
}
unsatisfiedCheckResultsItem.setExtraUsers3(extraUsers3);
unsatisfiedCheckResults.add(unsatisfiedCheckResultsItem);
}
approveCheckResult.setUnsatisfiedCheckResults(unsatisfiedCheckResults);
result.setApproveCheckResult(approveCheckResult);
Author author = new Author();
author.setAvatarUrl(_ctx.stringValue("UpdateMergeRequestResponse.Result.Author.AvatarUrl"));
author.setExternUserId(_ctx.stringValue("UpdateMergeRequestResponse.Result.Author.ExternUserId"));
author.setId(_ctx.longValue("UpdateMergeRequestResponse.Result.Author.Id"));
author.setName(_ctx.stringValue("UpdateMergeRequestResponse.Result.Author.Name"));
result.setAuthor(author);
List<AssigneeListItem> assigneeList = new ArrayList<AssigneeListItem>();
for (int i = 0; i < _ctx.lengthValue("UpdateMergeRequestResponse.Result.AssigneeList.Length"); i++) {
AssigneeListItem assigneeListItem = new AssigneeListItem();
assigneeListItem.setAvatarUrl(_ctx.stringValue("UpdateMergeRequestResponse.Result.AssigneeList["+ i +"].AvatarUrl"));
assigneeListItem.setExternUserId(_ctx.stringValue("UpdateMergeRequestResponse.Result.AssigneeList["+ i +"].ExternUserId"));
assigneeListItem.setId(_ctx.stringValue("UpdateMergeRequestResponse.Result.AssigneeList["+ i +"].Id"));
assigneeListItem.setName(_ctx.stringValue("UpdateMergeRequestResponse.Result.AssigneeList["+ i +"].Name"));
assigneeList.add(assigneeListItem);
}
result.setAssigneeList(assigneeList);
updateMergeRequestResponse.setResult(result);
return updateMergeRequestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateMergeRequestSettingResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestSettingResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateMergeRequestSettingResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateMergeRequestSettingResponseUnmarshaller {
public static UpdateMergeRequestSettingResponse unmarshall(UpdateMergeRequestSettingResponse updateMergeRequestSettingResponse, UnmarshallerContext _ctx) {
updateMergeRequestSettingResponse.setRequestId(_ctx.stringValue("UpdateMergeRequestSettingResponse.RequestId"));
updateMergeRequestSettingResponse.setErrorCode(_ctx.stringValue("UpdateMergeRequestSettingResponse.ErrorCode"));
updateMergeRequestSettingResponse.setErrorMessage(_ctx.stringValue("UpdateMergeRequestSettingResponse.ErrorMessage"));
updateMergeRequestSettingResponse.setSuccess(_ctx.booleanValue("UpdateMergeRequestSettingResponse.Success"));
Result result = new Result();
result.setResult(_ctx.booleanValue("UpdateMergeRequestSettingResponse.Result.Result"));
updateMergeRequestSettingResponse.setResult(result);
return updateMergeRequestSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateRepositoryMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateRepositoryMemberResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateRepositoryMemberResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateRepositoryMemberResponseUnmarshaller {
public static UpdateRepositoryMemberResponse unmarshall(UpdateRepositoryMemberResponse updateRepositoryMemberResponse, UnmarshallerContext _ctx) {
updateRepositoryMemberResponse.setRequestId(_ctx.stringValue("UpdateRepositoryMemberResponse.RequestId"));
updateRepositoryMemberResponse.setErrorCode(_ctx.stringValue("UpdateRepositoryMemberResponse.ErrorCode"));
updateRepositoryMemberResponse.setSuccess(_ctx.booleanValue("UpdateRepositoryMemberResponse.Success"));
updateRepositoryMemberResponse.setErrorMessage(_ctx.stringValue("UpdateRepositoryMemberResponse.ErrorMessage"));
Result result = new Result();
result.setAccessLevel(_ctx.integerValue("UpdateRepositoryMemberResponse.Result.AccessLevel"));
result.setExternUserId(_ctx.stringValue("UpdateRepositoryMemberResponse.Result.ExternUserId"));
result.setId(_ctx.longValue("UpdateRepositoryMemberResponse.Result.Id"));
result.setState(_ctx.stringValue("UpdateRepositoryMemberResponse.Result.State"));
result.setAvatarUrl(_ctx.stringValue("UpdateRepositoryMemberResponse.Result.AvatarUrl"));
result.setEmail(_ctx.stringValue("UpdateRepositoryMemberResponse.Result.Email"));
updateRepositoryMemberResponse.setResult(result);
return updateRepositoryMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/transform/v20200414/UpdateRepositoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.transform.v20200414;
import com.aliyuncs.codeup.model.v20200414.UpdateRepositoryResponse;
import com.aliyuncs.codeup.model.v20200414.UpdateRepositoryResponse.Result;
import com.aliyuncs.codeup.model.v20200414.UpdateRepositoryResponse.Result.Namespace;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateRepositoryResponseUnmarshaller {
public static UpdateRepositoryResponse unmarshall(UpdateRepositoryResponse updateRepositoryResponse, UnmarshallerContext _ctx) {
updateRepositoryResponse.setRequestId(_ctx.stringValue("UpdateRepositoryResponse.RequestId"));
updateRepositoryResponse.setErrorCode(_ctx.stringValue("UpdateRepositoryResponse.ErrorCode"));
updateRepositoryResponse.setErrorMessage(_ctx.stringValue("UpdateRepositoryResponse.ErrorMessage"));
updateRepositoryResponse.setSuccess(_ctx.booleanValue("UpdateRepositoryResponse.Success"));
Result result = new Result();
result.setArchive(_ctx.booleanValue("UpdateRepositoryResponse.Result.Archive"));
result.setAvatarUrl(_ctx.stringValue("UpdateRepositoryResponse.Result.AvatarUrl"));
result.setCreatedAt(_ctx.stringValue("UpdateRepositoryResponse.Result.CreatedAt"));
result.setCreatorId(_ctx.longValue("UpdateRepositoryResponse.Result.CreatorId"));
result.setDefaultBranch(_ctx.stringValue("UpdateRepositoryResponse.Result.DefaultBranch"));
result.setDescription(_ctx.stringValue("UpdateRepositoryResponse.Result.Description"));
result.setHttpUrlToRepo(_ctx.stringValue("UpdateRepositoryResponse.Result.HttpUrlToRepo"));
result.setId(_ctx.longValue("UpdateRepositoryResponse.Result.Id"));
result.setLastActivityAt(_ctx.stringValue("UpdateRepositoryResponse.Result.LastActivityAt"));
result.setName(_ctx.stringValue("UpdateRepositoryResponse.Result.Name"));
result.setNameWithNamespace(_ctx.stringValue("UpdateRepositoryResponse.Result.NameWithNamespace"));
result.setPath(_ctx.stringValue("UpdateRepositoryResponse.Result.Path"));
result.setPathWithNamespace(_ctx.stringValue("UpdateRepositoryResponse.Result.PathWithNamespace"));
result.setSshUrlToRepo(_ctx.stringValue("UpdateRepositoryResponse.Result.SshUrlToRepo"));
result.setVisibilityLevel(_ctx.stringValue("UpdateRepositoryResponse.Result.VisibilityLevel"));
result.setWebUrl(_ctx.stringValue("UpdateRepositoryResponse.Result.WebUrl"));
Namespace namespace = new Namespace();
namespace.setAvatar(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.Avatar"));
namespace.setCreatedAt(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.CreatedAt"));
namespace.setDescription(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.Description"));
namespace.setId(_ctx.longValue("UpdateRepositoryResponse.Result.Namespace.Id"));
namespace.setName(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.Name"));
namespace.setOwnerId(_ctx.longValue("UpdateRepositoryResponse.Result.Namespace.OwnerId"));
namespace.setPath(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.Path"));
namespace.set_Public(_ctx.booleanValue("UpdateRepositoryResponse.Result.Namespace.Public"));
namespace.setUpdatedAt(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.UpdatedAt"));
namespace.setVisibilityLevel(_ctx.stringValue("UpdateRepositoryResponse.Result.Namespace.VisibilityLevel"));
result.setNamespace(namespace);
updateRepositoryResponse.setResult(result);
return updateRepositoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/ActiveProductRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ActiveProductRequest extends RpcAcsRequest<ActiveProductResponse> {
private String corpId;
private String itemCode;
private String appId;
private String activeCode;
private String commodityCode;
public ActiveProductRequest() {
super("Commondriver", "2016-07-12", "ActiveProduct");
setMethod(MethodType.POST);
}
public String getCorpId() {
return this.corpId;
}
public void setCorpId(String corpId) {
this.corpId = corpId;
if(corpId != null){
putBodyParameter("CorpId", corpId);
}
}
public String getItemCode() {
return this.itemCode;
}
public void setItemCode(String itemCode) {
this.itemCode = itemCode;
if(itemCode != null){
putBodyParameter("ItemCode", itemCode);
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putBodyParameter("AppId", appId);
}
}
public String getActiveCode() {
return this.activeCode;
}
public void setActiveCode(String activeCode) {
this.activeCode = activeCode;
if(activeCode != null){
putBodyParameter("ActiveCode", activeCode);
}
}
public String getCommodityCode() {
return this.commodityCode;
}
public void setCommodityCode(String commodityCode) {
this.commodityCode = commodityCode;
if(commodityCode != null){
putBodyParameter("CommodityCode", commodityCode);
}
}
@Override
public Class<ActiveProductResponse> getResponseClass() {
return ActiveProductResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/ActiveProductResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.ActiveProductResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ActiveProductResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public ActiveProductResponse getInstance(UnmarshallerContext context) {
return ActiveProductResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/CreateOrderIapRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateOrderIapRequest extends RpcAcsRequest<CreateOrderIapResponse> {
private String paramString;
public CreateOrderIapRequest() {
super("Commondriver", "2016-07-12", "CreateOrderIap");
setMethod(MethodType.POST);
}
public String getParamString() {
return this.paramString;
}
public void setParamString(String paramString) {
this.paramString = paramString;
if(paramString != null){
putBodyParameter("ParamString", paramString);
}
}
@Override
public Class<CreateOrderIapResponse> getResponseClass() {
return CreateOrderIapResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/CreateOrderIapResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.CreateOrderIapResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrderIapResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public CreateOrderIapResponse getInstance(UnmarshallerContext context) {
return CreateOrderIapResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetInstanceIdsFromTokenRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetInstanceIdsFromTokenRequest extends RpcAcsRequest<GetInstanceIdsFromTokenResponse> {
private String fromApp;
private String requestId;
private String token;
public GetInstanceIdsFromTokenRequest() {
super("Commondriver", "2016-07-12", "GetInstanceIdsFromToken");
setMethod(MethodType.GET);
}
public String getFromApp() {
return this.fromApp;
}
public void setFromApp(String fromApp) {
this.fromApp = fromApp;
if(fromApp != null){
putQueryParameter("FromApp", fromApp);
}
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
if(requestId != null){
putQueryParameter("RequestId", requestId);
}
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
if(token != null){
putQueryParameter("Token", token);
}
}
@Override
public Class<GetInstanceIdsFromTokenResponse> getResponseClass() {
return GetInstanceIdsFromTokenResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetInstanceIdsFromTokenResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GetInstanceIdsFromTokenResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetInstanceIdsFromTokenResponse extends AcsResponse {
private String message;
private String requestId;
private String data;
private String i18nKey;
private String code;
private Boolean success;
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public String getI18nKey() {
return this.i18nKey;
}
public void setI18nKey(String i18nKey) {
this.i18nKey = i18nKey;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public GetInstanceIdsFromTokenResponse getInstance(UnmarshallerContext context) {
return GetInstanceIdsFromTokenResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetPlanItemSpecificationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetPlanItemSpecificationRequest extends RpcAcsRequest<GetPlanItemSpecificationResponse> {
private String accessKey;
private String secretKey;
private String fromApp;
private String clientToken;
private String payerId;
private String planItemId;
private String buyerId;
private String childId;
private String userId;
public GetPlanItemSpecificationRequest() {
super("Commondriver", "2016-07-12", "GetPlanItemSpecification");
setMethod(MethodType.POST);
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
if(secretKey != null){
putQueryParameter("SecretKey", secretKey);
}
}
public String getFromApp() {
return this.fromApp;
}
public void setFromApp(String fromApp) {
this.fromApp = fromApp;
if(fromApp != null){
putQueryParameter("FromApp", fromApp);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getPayerId() {
return this.payerId;
}
public void setPayerId(String payerId) {
this.payerId = payerId;
if(payerId != null){
putQueryParameter("PayerId", payerId);
}
}
public String getPlanItemId() {
return this.planItemId;
}
public void setPlanItemId(String planItemId) {
this.planItemId = planItemId;
if(planItemId != null){
putQueryParameter("PlanItemId", planItemId);
}
}
public String getBuyerId() {
return this.buyerId;
}
public void setBuyerId(String buyerId) {
this.buyerId = buyerId;
if(buyerId != null){
putQueryParameter("BuyerId", buyerId);
}
}
public String getChildId() {
return this.childId;
}
public void setChildId(String childId) {
this.childId = childId;
if(childId != null){
putQueryParameter("ChildId", childId);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putQueryParameter("UserId", userId);
}
}
@Override
public Class<GetPlanItemSpecificationResponse> getResponseClass() {
return GetPlanItemSpecificationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetPlanItemSpecificationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GetPlanItemSpecificationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPlanItemSpecificationResponse extends AcsResponse {
private String code;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public GetPlanItemSpecificationResponse getInstance(UnmarshallerContext context) {
return GetPlanItemSpecificationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetPlanSpecificationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetPlanSpecificationRequest extends RpcAcsRequest<GetPlanSpecificationResponse> {
private String regionCode;
private String secretKey;
private String fromApp;
private String clientToken;
private String payerId;
private Boolean needItemSpecification;
private String buyerId;
private String childId;
private String userId;
private String planCode;
private String accessKey;
private Long planId;
public GetPlanSpecificationRequest() {
super("Commondriver", "2016-07-12", "GetPlanSpecification");
setMethod(MethodType.POST);
}
public String getRegionCode() {
return this.regionCode;
}
public void setRegionCode(String regionCode) {
this.regionCode = regionCode;
if(regionCode != null){
putQueryParameter("RegionCode", regionCode);
}
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
if(secretKey != null){
putQueryParameter("SecretKey", secretKey);
}
}
public String getFromApp() {
return this.fromApp;
}
public void setFromApp(String fromApp) {
this.fromApp = fromApp;
if(fromApp != null){
putQueryParameter("FromApp", fromApp);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getPayerId() {
return this.payerId;
}
public void setPayerId(String payerId) {
this.payerId = payerId;
if(payerId != null){
putQueryParameter("PayerId", payerId);
}
}
public Boolean getNeedItemSpecification() {
return this.needItemSpecification;
}
public void setNeedItemSpecification(Boolean needItemSpecification) {
this.needItemSpecification = needItemSpecification;
if(needItemSpecification != null){
putQueryParameter("NeedItemSpecification", needItemSpecification.toString());
}
}
public String getBuyerId() {
return this.buyerId;
}
public void setBuyerId(String buyerId) {
this.buyerId = buyerId;
if(buyerId != null){
putQueryParameter("BuyerId", buyerId);
}
}
public String getChildId() {
return this.childId;
}
public void setChildId(String childId) {
this.childId = childId;
if(childId != null){
putQueryParameter("ChildId", childId);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putQueryParameter("UserId", userId);
}
}
public String getPlanCode() {
return this.planCode;
}
public void setPlanCode(String planCode) {
this.planCode = planCode;
if(planCode != null){
putQueryParameter("PlanCode", planCode);
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public Long getPlanId() {
return this.planId;
}
public void setPlanId(Long planId) {
this.planId = planId;
if(planId != null){
putQueryParameter("PlanId", planId.toString());
}
}
@Override
public Class<GetPlanSpecificationResponse> getResponseClass() {
return GetPlanSpecificationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetPlanSpecificationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GetPlanSpecificationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPlanSpecificationResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private String success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSuccess() {
return this.success;
}
public void setSuccess(String success) {
this.success = success;
}
@Override
public GetPlanSpecificationResponse getInstance(UnmarshallerContext context) {
return GetPlanSpecificationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetSpecificationsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetSpecificationsRequest extends RpcAcsRequest<GetSpecificationsResponse> {
private String paramStr;
public GetSpecificationsRequest() {
super("Commondriver", "2016-07-12", "GetSpecifications");
setMethod(MethodType.POST);
}
public String getParamStr() {
return this.paramStr;
}
public void setParamStr(String paramStr) {
this.paramStr = paramStr;
if(paramStr != null){
putQueryParameter("paramStr", paramStr);
}
}
@Override
public Class<GetSpecificationsResponse> getResponseClass() {
return GetSpecificationsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GetSpecificationsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GetSpecificationsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetSpecificationsResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public GetSpecificationsResponse getInstance(UnmarshallerContext context) {
return GetSpecificationsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GlobalSyncSubDataRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GlobalSyncSubDataRequest extends RpcAcsRequest<GlobalSyncSubDataResponse> {
private String paramStr;
public GlobalSyncSubDataRequest() {
super("Commondriver", "2016-07-12", "GlobalSyncSubData");
setMethod(MethodType.POST);
}
public String getParamStr() {
return this.paramStr;
}
public void setParamStr(String paramStr) {
this.paramStr = paramStr;
if(paramStr != null){
putQueryParameter("paramStr", paramStr);
}
}
@Override
public Class<GlobalSyncSubDataResponse> getResponseClass() {
return GlobalSyncSubDataResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GlobalSyncSubDataResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GlobalSyncSubDataResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GlobalSyncSubDataResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public GlobalSyncSubDataResponse getInstance(UnmarshallerContext context) {
return GlobalSyncSubDataResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GlobalSyncSubReleaseRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GlobalSyncSubReleaseRequest extends RpcAcsRequest<GlobalSyncSubReleaseResponse> {
private String paramStr;
public GlobalSyncSubReleaseRequest() {
super("Commondriver", "2016-07-12", "GlobalSyncSubRelease");
setMethod(MethodType.POST);
}
public String getParamStr() {
return this.paramStr;
}
public void setParamStr(String paramStr) {
this.paramStr = paramStr;
if(paramStr != null){
putQueryParameter("paramStr", paramStr);
}
}
@Override
public Class<GlobalSyncSubReleaseResponse> getResponseClass() {
return GlobalSyncSubReleaseResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/GlobalSyncSubReleaseResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.GlobalSyncSubReleaseResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GlobalSyncSubReleaseResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public GlobalSyncSubReleaseResponse getInstance(UnmarshallerContext context) {
return GlobalSyncSubReleaseResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/HostBindRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class HostBindRequest extends RpcAcsRequest<HostBindResponse> {
private String param;
public HostBindRequest() {
super("Commondriver", "2016-07-12", "HostBind");
setMethod(MethodType.POST);
}
public String getParam() {
return this.param;
}
public void setParam(String param) {
this.param = param;
if(param != null){
putQueryParameter("Param", param);
}
}
@Override
public Class<HostBindResponse> getResponseClass() {
return HostBindResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/HostBindResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.commondriver.transform.v20160712.HostBindResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class HostBindResponse extends AcsResponse {
private String code;
private String message;
private String data;
private String requestId;
private Boolean success;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
@Override
public HostBindResponse getInstance(UnmarshallerContext context) {
return HostBindResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model
|
java-sources/com/aliyun/aliyun-java-sdk-commondriver/2.2.8/com/aliyuncs/commondriver/model/v20160712/PutInstanceIdsToTokenRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.commondriver.model.v20160712;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class PutInstanceIdsToTokenRequest extends RpcAcsRequest<PutInstanceIdsToTokenResponse> {
private String fromApp;
private String requestId;
private String commodityCode;
private String body;
private String token;
public PutInstanceIdsToTokenRequest() {
super("Commondriver", "2016-07-12", "PutInstanceIdsToToken");
setMethod(MethodType.POST);
}
public String getFromApp() {
return this.fromApp;
}
public void setFromApp(String fromApp) {
this.fromApp = fromApp;
if(fromApp != null){
putQueryParameter("FromApp", fromApp);
}
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
if(requestId != null){
putQueryParameter("RequestId", requestId);
}
}
public String getCommodityCode() {
return this.commodityCode;
}
public void setCommodityCode(String commodityCode) {
this.commodityCode = commodityCode;
if(commodityCode != null){
putQueryParameter("CommodityCode", commodityCode);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
if(token != null){
putQueryParameter("Token", token);
}
}
@Override
public Class<PutInstanceIdsToTokenResponse> getResponseClass() {
return PutInstanceIdsToTokenResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.