index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Disks.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Disks { @JsonProperty("SystemDisk") private SystemDisk systemDisk; @JsonProperty("DataDisk") private DataDisk dataDisk; @JsonIgnore public DataDisk getDataDisk() { return dataDisk; } @JsonIgnore public void setDataDisk(DataDisk data) { this.dataDisk = data; } @JsonIgnore public SystemDisk getSystemDisk() { return systemDisk; } @JsonIgnore public void setSystemDisk(SystemDisk system) { this.systemDisk = system; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Group.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/7. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Group { @JsonProperty("DesiredVMCount") private int desiredVMCount; @JsonProperty("ActualVMCount") private int actualVMCount; @JsonProperty("InstanceType") private String instanceType; @JsonProperty("ResourceType") private String resourceType; @JsonProperty("ImageId") private String imageId; @JsonProperty("HostnamePrefix") private String hostnamePrefix; @JsonProperty("Disks") private Disks disks; @JsonProperty("SpotStrategy") private String spotStrategy; @JsonProperty("SpotPriceLimit") private float spotPriceLimit; @JsonIgnore public String getImageId() { return imageId; } @JsonIgnore public void setImageId(String imageId) { this.imageId = imageId; } @JsonIgnore public String getHostnamePrefix() { return hostnamePrefix; } @JsonIgnore public void setHostnamePrefix(String hostnamePrefix) { this.hostnamePrefix = hostnamePrefix; } @JsonIgnore public String getSpotStrategy() { return spotStrategy; } @JsonIgnore public void setSpotStrategy(String spotStrategy) { this.spotStrategy = spotStrategy; } @JsonIgnore public float getSpotPriceLimit() { return spotPriceLimit; } @JsonIgnore public void setSpotPriceLimit(float spotPriceLimit) { this.spotPriceLimit = spotPriceLimit; } @JsonIgnore public Disks getDisks() { return disks; } @JsonIgnore public void setDisks(Disks disks) { this.disks = disks; } @JsonIgnore public int getDesiredVMCount() { return desiredVMCount; } @JsonIgnore public void setDesiredVMCount(int desiredVMCount) { this.desiredVMCount = desiredVMCount; } @JsonIgnore public int getActualVMCount() { return actualVMCount; } @JsonIgnore public void setActualVMCount(int actualVMCount) { this.actualVMCount = actualVMCount; } @JsonIgnore public String getInstanceType() { return instanceType; } @JsonIgnore public void setInstanceType(String instanceType) { this.instanceType = instanceType; } @JsonIgnore public String getResourceType() { return resourceType; } @JsonIgnore public void setResourceType(String resourceType) { this.resourceType = resourceType; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/GroupDescription.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/7. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class GroupDescription { @JsonProperty("DesiredVMCount") private int desiredVMCount = -1; @JsonProperty("InstanceType") private String instanceType; @JsonProperty("ImageId") private String imageId; @JsonProperty("ResourceType") private String resourceType; @JsonProperty("SpotStrategy") private String spotStrategy; @JsonProperty("SpotPriceLimit") private float spotPriceLimit; @JsonProperty("HostnamePrefix") private String hostnamePrefix; @JsonIgnore public String getImageId() { return imageId; } @JsonIgnore public void setImageId(String imageId) { this.imageId = imageId; } @JsonIgnore public String getHostnamePrefix() { return hostnamePrefix; } @JsonIgnore public void setHostnamePrefix(String hostnamePrefix) { this.hostnamePrefix = hostnamePrefix; } @JsonIgnore public String getSpotStrategy() { return spotStrategy; } @JsonIgnore public void setSpotStrategy(String spotStrategy) { this.spotStrategy = spotStrategy; } @JsonIgnore public float getSpotPriceLimit() { return spotPriceLimit; } @JsonIgnore public void setSpotPriceLimit(float spotPriceLimit) { this.spotPriceLimit = spotPriceLimit; } @JsonIgnore public int getDesiredVMCount() { return desiredVMCount; } @JsonIgnore public void setDesiredVMCount(int desiredVMCount) { this.desiredVMCount = desiredVMCount; } @JsonIgnore public String getInstanceType() { return instanceType; } @JsonIgnore public void setInstanceType(String instanceType) { this.instanceType = instanceType; } @JsonIgnore public String getResourceType() { return resourceType; } @JsonIgnore public void setResourceType(String resourceType) { this.resourceType = resourceType; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Image.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.aliyuncs.batchcompute.main.v20151111.CustomJsonDateDeserializer; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Date; /** * Created by guangchun.luo on 2016-6-12. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Image { public final static String LINUX = "Linux"; public final static String WINDOWS = "Windows"; @JsonProperty("Name") private String name; @JsonIgnore public String getPlatform() { return Platform; } @JsonIgnore public void setPlatform(String platform) { Platform = platform; } @JsonProperty("Platform") private String Platform; @JsonIgnore public String getName() { return name; } @JsonIgnore public void setName(String name) { this.name = name; } @JsonIgnore public String getId() { return Id; } @JsonIgnore public void setId(String id) { Id = id; } @JsonIgnore public String getDescription() { return Description; } @JsonIgnore public void setDescription(String description) { Description = description; } @JsonIgnore public String getEcsImageId() { return EcsImageId; } @JsonIgnore public void setEcsImageId(String ecsImageId) { EcsImageId = ecsImageId; } @JsonIgnore public String getOwnerId() { return OwnerId; } @JsonIgnore public void setOwnerId(String ownerId) { OwnerId = ownerId; } @JsonIgnore public Date getCreationTime() { return creationTime; } @JsonIgnore public void setCreationTime(Date creationTime) { this.creationTime = creationTime; } @JsonIgnore public String getType() { return type; } @JsonIgnore public void setType(String type) { this.type = type; } @JsonProperty("Id") private String Id; @JsonProperty("Description") private String Description; @JsonProperty("EcsImageId") private String EcsImageId; @JsonProperty("OwnerId") private String OwnerId; @JsonProperty("Type") private String type; @JsonProperty("CreationTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date creationTime; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/ImageDescription.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 2016-6-12. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class ImageDescription { public final static String LINUX = "Linux"; public final static String WINDOWS = "Windows"; @JsonProperty("Name") private String name; @JsonIgnore public String getPlatform() { return Platform; } @JsonIgnore public void setPlatform(String platform) { Platform = platform; } @JsonProperty("Platform") private String Platform; @JsonIgnore public String getName() { return name; } @JsonIgnore public void setName(String name) { this.name = name; } @JsonIgnore public String getDescription() { return Description; } @JsonIgnore public void setDescription(String description) { Description = description; } @JsonIgnore public String getEcsImageId() { return EcsImageId; } @JsonIgnore public void setEcsImageId(String ecsImageId) { EcsImageId = ecsImageId; } @JsonProperty("Description") private String Description; @JsonProperty("EcsImageId") private String EcsImageId; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/InputMappingConfig.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/5. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class InputMappingConfig { @JsonProperty("Locale") private String locale; @JsonProperty("Lock") private boolean lock; @JsonIgnore public boolean isLock() { return lock; } @JsonIgnore public void setLock(boolean lock) { this.lock = lock; } @JsonIgnore public String getLocale() { return locale; } @JsonIgnore public void setLocale(String locale) { this.locale = locale; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Instance.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.pojo.v20151111; import com.aliyuncs.batchcompute.main.v20151111.CustomJsonDateDeserializer; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Date; import java.util.Map; /** * Created by guangchun.luo on 15/12/05. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Instance{ @JsonProperty("InstanceId") private int instanceId; @JsonProperty("NodeIp") private String nodeIp; @JsonProperty("State") private String state; @JsonProperty("StartTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date startTime; @JsonProperty("EndTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date endTime; @JsonProperty("RetryCount") private int retryCount; @JsonProperty("Progress") private int progress; @JsonProperty("StdoutRedirectPath") private String stdoutRedirectPath; @JsonProperty("StderrRedirectPath") private String stderrRedirectPath; @JsonProperty("Result") private InstanceResult result; @JsonProperty("Error") private InstanceError error; @JsonProperty("Outputs") private Map<String, Object> outputs; @JsonIgnore public Map<String, Object> getOutputs() { return outputs; } @JsonIgnore public void setOutputs(Map<String, Object> outputs) { this.outputs = outputs; } @JsonIgnore public InstanceError getError() { return error; } @JsonIgnore public void setError(InstanceError error) { this.error = error; } @JsonIgnore public int getInstanceId() { return instanceId; } @JsonIgnore public void setInstanceId(int instanceId) { this.instanceId = instanceId; } @JsonIgnore public int getRetryCount() { return retryCount; } @JsonIgnore public void setRetryCount(int retryCount) { this.retryCount = retryCount; } @JsonIgnore public int getProgress() { return progress; } @JsonIgnore public void setProgress(int progress) { this.progress = progress; } @JsonIgnore public String getStdoutRedirectPath() { return stdoutRedirectPath; } @JsonIgnore public void setStdoutRedirectPath(String stdoutRedirectPath) { this.stdoutRedirectPath = stdoutRedirectPath; } @JsonIgnore public String getStderrRedirectPath() { return stderrRedirectPath; } @JsonIgnore public void setStderrRedirectPath(String stderrRedirectPath) { this.stderrRedirectPath = stderrRedirectPath; } @JsonIgnore public InstanceResult getResult() { return result; } @JsonIgnore public void setResult(InstanceResult result) { this.result = result; } @JsonIgnore public String getState() { return state; } @JsonIgnore public void setState(String state) { this.state = state; } @JsonIgnore public Date getStartTime() { return startTime; } @JsonIgnore public void setStartTime(Date startTime) { this.startTime = startTime; } @JsonIgnore public Date getEndTime() { return endTime; } @JsonIgnore public void setEndTime(Date endTime) { this.endTime = endTime; } @JsonIgnore public void setNodeIp(String nodeIp) { this.nodeIp = nodeIp; } @JsonIgnore public String getNodeIp() { return nodeIp; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/InstanceError.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 2017/10/13. */ public class InstanceError { @JsonProperty("Code") private String code; @JsonProperty("Message") private String message; @JsonIgnore public String getCode() { return code; } @JsonIgnore public void setCode(String code) { this.code = code; } @JsonIgnore public String getMessage() { return message; } @JsonIgnore public void setMessage(String message) { this.message = message; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/InstanceResult.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/7. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class InstanceResult { @JsonProperty("ExitCode") private int exitCode; @JsonProperty("ErrorCode") private String errorCode; @JsonProperty("ErrorMessage") private String errorMessage; @JsonProperty("Detail") private String detail; @JsonIgnore public int getExitCode() { return exitCode; } @JsonIgnore public void setExitCode(int exitCode) { this.exitCode = exitCode; } @JsonIgnore public String getErrorCode() { return errorCode; } @JsonIgnore public void setErrorCode(String errorCode) { this.errorCode = errorCode; } @JsonIgnore public String getErrorMessage() { return this.errorMessage; } @JsonIgnore public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } @JsonIgnore public String getDetail() { return this.detail; } @JsonIgnore public void setDetail(String detail) { this.detail = detail; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Job.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.pojo.v20151111; import com.aliyuncs.batchcompute.main.v20151111.CustomJsonDateDeserializer; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Date; /** * Created by guangchun.luo on 15/12/05. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Job{ @JsonProperty("Id") private String id; @JsonProperty("Name") private String name; @JsonProperty("OwnerId") private long ownerId; @JsonProperty("CreationTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date creationTime; @JsonProperty("State") private String state; @JsonProperty("Message") private String message; @JsonProperty("StartTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date startTime; @JsonProperty("EndTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date endTime; @JsonProperty("TaskMetrics") private Matrics taskMetrics; @JsonProperty("InstanceMetrics") private Matrics instanceMetrics; @JsonIgnore public String getId() { return id; } @JsonIgnore public void setId(String id) { this.id = id; } @JsonIgnore public String getName() { return name; } @JsonIgnore public void setName(String name) { this.name = name; } @JsonIgnore public long getOwnerId() { return ownerId; } @JsonIgnore public void setOwnerId(long ownerId) { this.ownerId = ownerId; } @JsonIgnore public Date getCreationTime() { return creationTime; } @JsonIgnore public void setCreationTime(Date creationTime) { this.creationTime = creationTime; } @JsonIgnore public String getState() { return state; } @JsonIgnore public void setState(String state) { this.state = state; } @JsonIgnore public String getMessage() { return message; } @JsonIgnore public void setMessage(String message) { this.message = message; } @JsonIgnore public Date getStartTime() { return startTime; } @JsonIgnore public void setStartTime(Date startTime) { this.startTime = startTime; } @JsonIgnore public Date getEndTime() { return endTime; } @JsonIgnore public void setEndTime(Date endTime) { this.endTime = endTime; } @JsonIgnore public Matrics getTaskMetrics() { return taskMetrics; } @JsonIgnore public void setTaskMetrics(Matrics taskMetrics) { this.taskMetrics = taskMetrics; } @JsonIgnore public Matrics getInstanceMetrics() { return instanceMetrics; } @JsonIgnore public void setInstanceMetrics(Matrics instanceMetrics) { this.instanceMetrics = instanceMetrics; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/JobDescription.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/05. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class JobDescription { @JsonProperty("Name") private String name; @JsonProperty("Priority") private int priority; @JsonProperty("Description") private String description; @JsonProperty("App") private AppJobDescription app; @JsonProperty("DAG") private DAG dag; @JsonProperty("JobFailOnInstanceFail") private boolean jobFailOnInstanceFail=true; @JsonProperty("AutoRelease") private boolean autoRelease; @JsonProperty("Type") private String type; @JsonProperty("Notification") private Notification notification; @JsonIgnore public boolean isAutoRelease() { return autoRelease; } @JsonIgnore public void setAutoRelease(boolean autoRelease) { this.autoRelease = autoRelease; } @JsonIgnore public Notification getNotification() { return notification; } @JsonIgnore public void setNotification(Notification notification) { this.notification = notification; } @JsonIgnore public AppJobDescription getApp() { return app; } @JsonIgnore public void setApp(AppJobDescription app) { this.app = app; } @JsonIgnore public String getName() { return name; } @JsonIgnore public void setName(String name) { this.name = name; } @JsonIgnore public int getPriority() { return priority; } @JsonIgnore public void setPriority(int priority) { this.priority = priority; } @JsonIgnore public String getDescription() { return description; } @JsonIgnore public void setDescription(String description) { this.description = description; } @JsonIgnore public DAG getDag() { return dag; } @JsonIgnore public void setDag(DAG dag) { this.dag = dag; } @JsonIgnore public boolean isJobFailOnInstanceFail() { return jobFailOnInstanceFail; } @JsonIgnore public void setJobFailOnInstanceFail(boolean jobFailOnInstanceFail) { this.jobFailOnInstanceFail = jobFailOnInstanceFail; } @JsonIgnore public String getType() { return type; } @JsonIgnore public void setType(String type) { this.type = type; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/MarkableResult.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * Created by guangchun.luo on 15/12/7. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class MarkableResult<T> { @JsonProperty("NextMarker") private String nextMarker; @JsonProperty("Items") private List<T> items; @JsonIgnore public String getNextMarker() { return nextMarker; } @JsonIgnore public void setNextMarker(String nextMarker) { this.nextMarker = nextMarker; } @JsonIgnore public List<T> getItems() { return items; } @JsonIgnore public void setItems(List<T> items) { this.items = items; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Matrics.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/7. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Matrics { @JsonProperty("WaitingCount") private long waitingCount; @JsonProperty("RunningCount") private long runningCount; @JsonProperty("FinishedCount") private long finishedCount; @JsonProperty("FailedCount") private long failedCount; @JsonProperty("StoppedCount") private long stoppedCount; @JsonIgnore public long getWaitingCount() { return waitingCount; } @JsonIgnore public void setWaitingCount(long waitingCount) { this.waitingCount = waitingCount; } @JsonIgnore public long getRunningCount() { return runningCount; } @JsonIgnore public void setRunningCount(long runningCount) { this.runningCount = runningCount; } @JsonIgnore public long getFinishedCount() { return finishedCount; } @JsonIgnore public void setFinishedCount(long finishedCount) { this.finishedCount = finishedCount; } @JsonIgnore public long getFailedCount() { return failedCount; } @JsonIgnore public void setFailedCount(long failedCount) { this.failedCount = failedCount; } @JsonIgnore public long getStoppedCount() { return stoppedCount; } @JsonIgnore public void setStoppedCount(long stoppedCount) { this.stoppedCount = stoppedCount; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/MountEntry.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class MountEntry { @JsonIgnore public String getDestination() { return destination; } @JsonIgnore public void setDestination(String destination) { this.destination = destination; } @JsonIgnore public String getSource() { return Source; } @JsonIgnore public void setSource(String source) { Source = source; } @JsonIgnore public boolean isWriteSupport() { return writeSupport; } @JsonIgnore public void setWriteSupport(boolean writeSupport) { this.writeSupport = writeSupport; } @JsonProperty("Destination") private String destination; @JsonProperty("Source") private String Source; @JsonProperty("WriteSupport") private boolean writeSupport; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Mounts.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Mounts { @JsonProperty("Locale") private String locale = "GBK"; @JsonProperty("Lock") private boolean lock = false; //控制ossmounter是否开启分布式缓存,Job级别的设置会被忽略,只有cluster和AutoCluster级别的有效 @JsonProperty("CacheSupport") private boolean cacheSupport = true; @JsonProperty("CacheBlockSize") private long cacheBlockSize = 262144L; @JsonProperty("CacheTotalSize") private long cacheTotalSize = 536870912L; @JsonProperty("NAS") private NASConfig nas; @JsonProperty("OSS") private OSSConfig oss; @JsonProperty("Entries") private List<MountEntry> entries; @JsonIgnore public long getCacheBlockSize() { return cacheBlockSize; } @JsonIgnore public void setCacheBlockSize(long cacheBlockSize) { this.cacheBlockSize = cacheBlockSize; } @JsonIgnore public long getCacheTotalSize() { return cacheTotalSize; } @JsonIgnore public void setCacheTotalSize(long cacheTotalSize) { this.cacheTotalSize = cacheTotalSize; } @JsonIgnore public boolean isCacheSupport() { return cacheSupport; } @JsonIgnore public void setCacheSupport(boolean cacheSupport) { this.cacheSupport = cacheSupport; } @JsonIgnore public NASConfig getNas() { return nas; } @JsonIgnore public void setNas(NASConfig nas) { this.nas = nas; } @JsonIgnore public OSSConfig getOss() { return oss; } @JsonIgnore public void setOss(OSSConfig oss) { this.oss = oss; } @JsonIgnore public List<MountEntry> getEntries() { return entries; } @JsonIgnore public void setEntries(List<MountEntry> entries) { this.entries = entries; } public void addEntries(MountEntry e) { if(entries==null){ entries = new ArrayList<MountEntry>(); } entries.add(e); } @JsonIgnore public String getLocale() { return locale; } @JsonIgnore public void setLocale(String locale) { this.locale = locale; } @JsonIgnore public boolean isLock() { return lock; } @JsonIgnore public void setLock(boolean lock) { this.lock = lock; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/NASConfig.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class NASConfig { @JsonProperty("AccessGroup") private List<String> accessGroup; @JsonProperty("FileSystem") private List<String> fileSystem; @JsonIgnore public List<String> getAccessGroup() { return accessGroup; } @JsonIgnore public void setAccessGroup(List<String> accessGroup) { this.accessGroup = accessGroup; } @JsonIgnore public List<String> getFileSystem() { return fileSystem; } @JsonIgnore public void setFileSystem(List<String> fileSystem) { this.fileSystem = fileSystem; } public void addFileSystem(String item) { if(fileSystem==null){ fileSystem = new ArrayList<String>(); } fileSystem.add(item); } public void addAccessGroup(String item) { if(accessGroup==null){ accessGroup = new ArrayList<String>(); } accessGroup.add(item); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Networks.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Networks { @JsonIgnore public ClassicNetWork getClassic() { return classic; } @JsonIgnore public void setClassic(ClassicNetWork classic) { this.classic = classic; } @JsonProperty("Classic") private ClassicNetWork classic; public VPC getVpc() { return vpc; } public void setVpc(VPC vpc) { this.vpc = vpc; } @JsonProperty("VPC") private VPC vpc; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Notification.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/12/1. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Notification { @JsonIgnore public Topic getTopic() { return topic; } @JsonIgnore public void setTopic(Topic topic) { this.topic = topic; } @JsonProperty("Topic") private Topic topic; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/OSSConfig.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class OSSConfig { @JsonProperty("AccessKeyId") private String accessKeyId; @JsonProperty("AccessKeySecret") private String accessKeySecret; @JsonProperty("SecurityToken") private String securityToken; @JsonIgnore public String getAccessKeyId() { return accessKeyId; } @JsonIgnore public void setAccessKeyId(String accessKeyId) { this.accessKeyId = accessKeyId; } @JsonIgnore public String getAccessKeySecret() { return accessKeySecret; } @JsonIgnore public void setAccessKeySecret(String accessKeySecret) { this.accessKeySecret = accessKeySecret; } @JsonIgnore public String getSecurityToken() { return securityToken; } @JsonIgnore public void setSecurityToken(String securityToken) { this.securityToken = securityToken; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Parameters.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 15/12/5. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Parameters { @JsonProperty("Command") private Command command; @JsonProperty("InputMappingConfig") private InputMappingConfig inputMappingConfig; @JsonProperty("StdoutRedirectPath") private String stdoutRedirectPath; @JsonProperty("StderrRedirectPath") private String stderrRedirectPath; @JsonIgnore public Command getCommand() { return command; } @JsonIgnore public void setCommand(Command command) { this.command = command; } @JsonIgnore public InputMappingConfig getInputMappingConfig() { return inputMappingConfig; } @JsonIgnore public void setInputMappingConfig(InputMappingConfig inputMappingConfig) { this.inputMappingConfig = inputMappingConfig; } @JsonIgnore public String getStdoutRedirectPath() { return stdoutRedirectPath; } @JsonIgnore public void setStdoutRedirectPath(String stdoutRedirectPath) { this.stdoutRedirectPath = stdoutRedirectPath; } @JsonIgnore public String getStderrRedirectPath() { return stderrRedirectPath; } @JsonIgnore public void setStderrRedirectPath(String stderrRedirectPath) { this.stderrRedirectPath = stderrRedirectPath; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Quotas.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Quotas { @JsonProperty("AvailableClusterInstanceType") private List<String> availableClusterInstanceType; @JsonProperty("AvailableClusterInstanceSystemDiskType") private List<String> availableClusterInstanceSystemDiskType; @JsonProperty("AvailableClusterInstanceDataDiskType") private List<String> availableClusterInstanceDataDiskType; @JsonProperty("AvailableSpotInstanceType") private List<String> availableSpotInstanceType; @JsonProperty("AvailableClusterResourceType") private List<String> availableClusterResourceType; @JsonIgnore public List<String> getAvailableClusterResourceType() { return availableClusterResourceType; } @JsonIgnore public void setAvailableClusterResourceType(List<String> availableClusterResourceType) { this.availableClusterResourceType = availableClusterResourceType; } @JsonIgnore public List<String> getAvailableSpotInstanceType() { return availableSpotInstanceType; } @JsonIgnore public void setAvailableSpotInstanceType(List<String> availableSpotInstanceType) { this.availableSpotInstanceType = availableSpotInstanceType; } @JsonIgnore public List<String> getAvailableClusterInstanceType() { return availableClusterInstanceType; } @JsonIgnore public void setAvailableClusterInstanceType(List<String> availableClusterInstanceType) { this.availableClusterInstanceType = availableClusterInstanceType; } @JsonIgnore public List<String> getAvailableClusterInstanceSystemDiskType() { return availableClusterInstanceSystemDiskType; } @JsonIgnore public void setAvailableClusterInstanceSystemDiskType(List<String> availableClusterInstanceSystemDiskType) { this.availableClusterInstanceSystemDiskType = availableClusterInstanceSystemDiskType; } @JsonIgnore public List<String> getAvailableClusterInstanceDataDiskType() { return availableClusterInstanceDataDiskType; } @JsonIgnore public void setAvailableClusterInstanceDataDiskType(List<String> availableClusterInstanceDataDiskType) { this.availableClusterInstanceDataDiskType = availableClusterInstanceDataDiskType; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/SystemDisk.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 16/3/2. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class SystemDisk { @JsonProperty("Type") private String type; @JsonProperty("Size") private int size; //GB @JsonIgnore public String getType() { return type; } @JsonIgnore public void setType(String type) { this.type = type; } @JsonIgnore public int getSize() { return size; } @JsonIgnore public void setSize(int size) { this.size = size; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Task.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.pojo.v20151111; import com.aliyuncs.batchcompute.main.v20151111.CustomJsonDateDeserializer; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Date; /** * Created by guangchun.luo on 15/12/05. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Task{ @JsonProperty("TaskName") private String taskName; @JsonProperty("State") private String state; @JsonProperty("StartTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date startTime; @JsonProperty("EndTime") @JsonDeserialize(using = CustomJsonDateDeserializer.class) private Date endTime; @JsonProperty("InstanceMetrics") private Matrics instanceMetrics; @JsonIgnore public String getTaskName() { return taskName; } @JsonIgnore public void setTaskName(String taskName) { this.taskName = taskName; } @JsonIgnore public String getState() { return state; } @JsonIgnore public void setState(String state) { this.state = state; } @JsonIgnore public Date getStartTime() { return startTime; } @JsonIgnore public void setStartTime(Date startTime) { this.startTime = startTime; } @JsonIgnore public Date getEndTime() { return endTime; } @JsonIgnore public void setEndTime(Date endTime) { this.endTime = endTime; } @JsonIgnore public Matrics getInstanceMetrics() { return instanceMetrics; } @JsonIgnore public void setInstanceMetrics(Matrics instanceMetrics) { this.instanceMetrics = instanceMetrics; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/TaskDescription.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by guangchun.luo on 15/4/15. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class TaskDescription { @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public static class ChainInfo { @JsonIgnore public String getRole() { return role; } @JsonIgnore public void setRole(String role) { this.role = role; } @JsonProperty("Role") private String role; @JsonIgnore public int getUserId() { return userId; } @JsonIgnore public void setUserId(int userId) { this.userId = userId; } @JsonProperty("UserId") private int userId; } @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public static class CredentialConfig { @JsonIgnore public void setServiceRole(String serviceRole) { this.serviceRole = serviceRole; } @JsonIgnore public String getServiceRole() { return serviceRole; } @JsonProperty("ServiceRole") private String serviceRole; @JsonIgnore public List<ChainInfo> getChains() { return chains; } @JsonIgnore public void setChains(List<ChainInfo> chains) { this.chains = chains; } @JsonIgnore public void addChainInfo(ChainInfo index) { if(this.chains == null){ this.chains = new ArrayList<ChainInfo>(); } this.chains.add(index); } @JsonProperty("Chain") private List<ChainInfo> chains; } @JsonProperty("TaskName") private String taskName; @JsonProperty("ClusterId") private String clusterId; @JsonProperty("AutoCluster") private AutoCluster autoCluster; @JsonProperty("InputMapping") private Map<String, String> inputMapping; @JsonProperty("OutputMapping") private Map<String, String> outputMapping; @JsonProperty("LogMapping") private Map<String, String> logMapping; @JsonProperty("Timeout") private long timeout; @JsonProperty("InstanceCount") private int instanceCount = -1; @JsonProperty("MaxRetryCount") private int maxRetryCount; @JsonProperty("Parameters") private Parameters parameters; @JsonProperty("WriteSupport") private boolean writeSupport; @JsonProperty("Mounts") private Mounts mounts; @JsonIgnore public Mounts getMounts() { return mounts; } @JsonIgnore public void setMounts(Mounts mounts) { this.mounts = mounts; } @JsonIgnore public boolean isWriteSupport() { return writeSupport; } @JsonIgnore public void setWriteSupport(boolean writeSupport) { this.writeSupport = writeSupport; } @JsonIgnore public AutoCluster getAutoCluster() { return autoCluster; } @JsonIgnore public void setAutoCluster(AutoCluster autoCluster) { this.autoCluster = autoCluster; } @JsonIgnore public String getTaskName() { return taskName; } @JsonIgnore public void setTaskName(String taskName) { this.taskName = taskName; } @JsonIgnore public String getClusterId() { return clusterId; } @JsonIgnore public void setClusterId(String clusterId) { this.clusterId = clusterId; } @JsonIgnore public Map<String, String> getInputMapping() { return inputMapping; } @JsonIgnore public void setInputMapping(Map<String, String> inputMapping) { this.inputMapping = inputMapping; } public void addInputMapping(String ossPath, String path) { if (null == inputMapping) { inputMapping = new HashMap(); } inputMapping.put(ossPath, path); } @JsonIgnore public Map<String, String> getOutputMapping() { return outputMapping; } public void addOutputMapping(String path, String ossPath) { if (null == outputMapping) { outputMapping = new HashMap(); } this.outputMapping.put(path, ossPath); } @Deprecated public void addOutputtMapping(String path, String ossPath) { addInputMapping(path,ossPath); } @JsonIgnore public void setOutputMapping(Map<String, String> outputMapping) { this.outputMapping = outputMapping; } @JsonIgnore public Map<String, String> getLogMapping() { return logMapping; } public void addLogMapping(String path, String ossPath) { if (null == logMapping) { logMapping = new HashMap(); } this.logMapping.put(path,ossPath); } @JsonIgnore public void setLogMapping(Map<String, String> logMapping) { this.logMapping = logMapping; } @JsonIgnore public long getTimeout() { return this.timeout; } @JsonIgnore public void setTimeout(long timeout) { this.timeout = timeout; } @JsonIgnore public int getInstanceCount() { return this.instanceCount; } @JsonIgnore public void setInstanceCount(int instanceCount) { this.instanceCount = instanceCount; } @JsonIgnore public int getMaxRetryCount() { return maxRetryCount; } @JsonIgnore public void setMaxRetryCount(int maxRetryCount) { this.maxRetryCount = maxRetryCount; } @JsonIgnore public Parameters getParameters() { return parameters; } @JsonIgnore public void setParameters(Parameters parameters) { this.parameters = parameters; } @JsonIgnore public CredentialConfig getCredentialConfig() { return credentialConfig; } @JsonIgnore public void setCredentialConfig(CredentialConfig credentialConfig) { this.credentialConfig = credentialConfig; } @JsonProperty("CredentialConfig") private CredentialConfig credentialConfig; }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/Topic.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; /** * Created by guangchun.luo on 16/12/1. */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class Topic { //cluster相关事件 public final static String ON_CLUSTER_DELETED = "OnClusterDeleted"; public final static String ON_CLUSTER_INSTANCE_CREATED = "OnInstanceCreated"; public final static String ON_CLUSTER_INSTANCE_ACTIVE = "OnInstanceActive"; //job相关事件 public final static String ON_JOB_WAITING = "OnJobWaiting"; public final static String ON_JOB_RUNNING = "OnJobRunning"; public final static String ON_JOB_STOPPED = "OnJobStopped"; public final static String ON_JOB_FINISHED = "OnJobFinished"; public final static String ON_JOB_FAILED = "OnJobFailed"; public final static String ON_TASK_WAITING = "OnTaskWaiting"; public final static String ON_TASK_RUNNING = "OnTaskRunning"; public final static String ON_TASK_STOPPED = "OnTaskStopped"; public final static String ON_TASK_FINISHED = "OnTaskFinished"; public final static String ON_TASK_FAILED = "OnTaskFailed"; public final static String ON_INSTANCE_WAITING = "OnInstanceWaiting"; public final static String ON_INSTANCE_RUNNING = "OnInstanceRunning"; public final static String ON_INSTANCE_STOPPED = "OnInstanceStopped"; public final static String ON_INSTANCE_FINISHED = "OnInstanceFinished"; public final static String ON_INSTANCE_FAILED = "OnInstanceFailed"; public final static String ON_PRIORITY_CHANGE = "OnPriorityChange"; @JsonProperty("Name") private String name; @JsonProperty("Endpoint") private String endpoint; @JsonProperty("Events") private List<String> events; @JsonIgnore public String getName() { return name; } @JsonIgnore public void setName(String name) { this.name = name; } @JsonIgnore public String getEndpoint() { return endpoint; } @JsonIgnore public void setEndpoint(String endpoint) { this.endpoint = endpoint; } @JsonIgnore public List<String> getEvents() { return events; } @JsonIgnore public void setEvents(List<String> events) { this.events = events; } public void addEvent(String event) { if(this.events==null){ this.events = new ArrayList<String>(); } this.events.add(event); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/pojo/v20151111/VPC.java
package com.aliyuncs.batchcompute.pojo.v20151111; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by guangchun.luo on 2017-5-3 */ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class VPC { @JsonProperty("CidrBlock") private String cidrBlock; @JsonProperty("VpcId") private String vpcId; @JsonProperty("ExpressConnectSpec") private String expressConnectSpec; @JsonProperty("OppositeRegionId") private String oppositeRegionId; @JsonProperty("OppositeAccessPointId") private String oppositeAccessPointId; @JsonProperty("OppositeRouterType") private String oppositeRouterType; @JsonProperty("OppositeRouterId") private String oppositeRouterId; @JsonProperty("OppositeInterfaceId") private String oppositeInterfaceId; @JsonIgnore public String getVpcId() { return vpcId; } @JsonIgnore public void setVpcId(String vpcId) { this.vpcId = vpcId; } @JsonIgnore public String getCidrBlock() { return cidrBlock; } @JsonIgnore public void setCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; } @JsonIgnore public String getExpressConnectSpec() { return expressConnectSpec; } @JsonIgnore public void setExpressConnectSpec(String expressConnectSpec) { this.expressConnectSpec = expressConnectSpec; } @JsonIgnore public String getOppositeRegionId() { return oppositeRegionId; } @JsonIgnore public void setOppositeRegionId(String oppositeRegionId) { this.oppositeRegionId = oppositeRegionId; } @JsonIgnore public String getOppositeAccessPointId() { return oppositeAccessPointId; } @JsonIgnore public void setOppositeAccessPointId(String oppositeAccessPointId) { this.oppositeAccessPointId = oppositeAccessPointId; } @JsonIgnore public String getOppositeRouterType() { return oppositeRouterType; } @JsonIgnore public void setOppositeRouterType(String oppositeRouterType) { this.oppositeRouterType = oppositeRouterType; } @JsonIgnore public String getOppositeRouterId() { return oppositeRouterId; } @JsonIgnore public void setOppositeRouterId(String oppositeRouterId) { this.oppositeRouterId = oppositeRouterId; } @JsonIgnore public String getOppositeInterfaceId() { return oppositeInterfaceId; } @JsonIgnore public void setOppositeInterfaceId(String oppositeInterfaceId) { this.oppositeInterfaceId = oppositeInterfaceId; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ChangeClusterDesiredVMCountRequestMarshaller.java
package com.aliyuncs.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ChangeClusterDesiredVMCountRequest; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; /** * Created by guangchun.luo on 16/1/12. */ public class ChangeClusterDesiredVMCountRequestMarshaller { public static ChangeClusterDesiredVMCountRequest marshall(ChangeClusterDesiredVMCountRequest req) { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getClusterDescription()); } catch (IOException e) { e.printStackTrace(); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ChangeClusterDesiredVMCountResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ChangeClusterDesiredVMCountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeClusterDesiredVMCountResponseUnmarshaller { public static ChangeClusterDesiredVMCountResponse unmarshall(ChangeClusterDesiredVMCountResponse res, UnmarshallerContext context) { res.setHttpResponse(context.getHttpResponse()); return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ChangeJobPriorityRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ChangeJobPriorityRequest; public class ChangeJobPriorityRequestMarshaller { public static ChangeJobPriorityRequest marshall(ChangeJobPriorityRequest req) { String contentString = ""; if (req._useInteger) { contentString = "{\"Priority\":" + req.getPriority() + "}"; } else { contentString = "{\"Priority\":\"" + req.getPriority() + "\"}"; } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ChangeJobPriorityResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ChangeJobPriorityResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeJobPriorityResponseUnmarshaller { public static ChangeJobPriorityResponse unmarshall(ChangeJobPriorityResponse changeJobPriorityResponse, UnmarshallerContext context) { changeJobPriorityResponse.setHttpResponse(context.getHttpResponse()); return changeJobPriorityResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateAppRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateAppRequest; import com.aliyuncs.exceptions.ClientException; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class CreateAppRequestMarshaller { public static CreateAppRequest marshall(CreateAppRequest req) throws ClientException { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getAppDescription()); } catch (IOException e) { throw new ClientException("API.EncodeError", "encode request body error"); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateAppResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateAppResponse; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; public class CreateAppResponseUnmarshaller { public static CreateAppResponse unmarshall(CreateAppResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Map<String, String> map = mapper.readValue(body, Map.class); res.setAppName(map.get("Name")); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateClusterRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateClusterRequest; import com.aliyuncs.exceptions.ClientException; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class CreateClusterRequestMarshaller { public static CreateClusterRequest marshall(CreateClusterRequest req) throws ClientException { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getClusterDescription()); } catch (IOException e) { //e.printStackTrace(); throw new ClientException("API.EncodeError", "encode request body error"); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateClusterResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateClusterResponse; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; public class CreateClusterResponseUnmarshaller { public static CreateClusterResponse unmarshall(CreateClusterResponse createClusterResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); createClusterResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Map<String, String> map = mapper.readValue(body, Map.class); createClusterResponse.setClusterId(map.get("Id")); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error", createClusterResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", createClusterResponse.getRequestId()); } return createClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateImageRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateImageRequest; import com.aliyuncs.exceptions.ClientException; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class CreateImageRequestMarshaller { public static CreateImageRequest marshall(CreateImageRequest req) throws ClientException { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getImageDescription()); } catch (IOException e) { //e.printStackTrace(); throw new ClientException("API.EncodeError", "encode request body error"); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateImageResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateImageResponse; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; public class CreateImageResponseUnmarshaller { public static CreateImageResponse unmarshall(CreateImageResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Map<String, String> map = mapper.readValue(body, Map.class); res.setImageId(map.get("Id")); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateJobRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateJobRequest; import com.aliyuncs.exceptions.ClientException; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class CreateJobRequestMarshaller { public static CreateJobRequest marshall(CreateJobRequest req) throws ClientException { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getJobDescription()); } catch (IOException e) { //e.printStackTrace(); throw new ClientException("API.EncodeError", "encode request body error"); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/CreateJobResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.CreateJobResponse; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; public class CreateJobResponseUnmarshaller { public static CreateJobResponse unmarshall(CreateJobResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Map<String, String> map = mapper.readValue(body, Map.class); res.setJobId(map.get("Id")); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/DeleteAppResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.DeleteAppResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAppResponseUnmarshaller { public static DeleteAppResponse unmarshall(DeleteAppResponse deleteAppResponse, UnmarshallerContext context) { deleteAppResponse.setHttpResponse(context.getHttpResponse()); return deleteAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/DeleteClusterInstanceResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.DeleteClusterInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteClusterInstanceResponseUnmarshaller { public static DeleteClusterInstanceResponse unmarshall(DeleteClusterInstanceResponse deleteClusterInstanceResponse, UnmarshallerContext context) { deleteClusterInstanceResponse.setHttpResponse(context.getHttpResponse()); return deleteClusterInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/DeleteClusterResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.DeleteClusterResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteClusterResponseUnmarshaller { public static DeleteClusterResponse unmarshall(DeleteClusterResponse deleteClusterResponse, UnmarshallerContext context) { deleteClusterResponse.setHttpResponse(context.getHttpResponse()); return deleteClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/DeleteImageResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.DeleteImageResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteImageResponseUnmarshaller { public static DeleteImageResponse unmarshall(DeleteImageResponse deleteImageResponse, UnmarshallerContext context) { deleteImageResponse.setHttpResponse(context.getHttpResponse()); return deleteImageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/DeleteJobResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.DeleteJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteJobResponseUnmarshaller { public static DeleteJobResponse unmarshall(DeleteJobResponse deleteJobResponse, UnmarshallerContext context) { deleteJobResponse.setHttpResponse(context.getHttpResponse()); return deleteJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetAppDetailResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetAppDetailResponse; import com.aliyuncs.batchcompute.pojo.v20151111.AppDescription; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetAppDetailResponseUnmarshaller { public static GetAppDetailResponse unmarshall(GetAppDetailResponse getAppDetailResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getAppDetailResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); AppDescription appDetail = mapper.readValue(body, AppDescription.class); getAppDetailResponse.setAppDetail(appDetail); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getAppDetailResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getAppDetailResponse.getRequestId()); } return getAppDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetAppResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetAppResponse; import com.aliyuncs.batchcompute.pojo.v20151111.App; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetAppResponseUnmarshaller { public static GetAppResponse unmarshall(GetAppResponse getAppResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getAppResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); App app = mapper.readValue(body, App.class); getAppResponse.setApp(app); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getAppResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getAppResponse.getRequestId()); } return getAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetAppRevisionsResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetAppRevisionsResponse; import com.aliyuncs.batchcompute.pojo.v20151111.AppRevision; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.util.List; public class GetAppRevisionsResponseUnmarshaller { public static GetAppRevisionsResponse unmarshall(GetAppRevisionsResponse getAppRevisionsResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getAppRevisionsResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, getAppRevisionsResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getAppRevisionsResponse.getRequestId()); } return getAppRevisionsResponse; } private static void setContent(String body, GetAppRevisionsResponse getAppRevisionsResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); List<AppRevision> result = mapper.readValue(body, new TypeReference<List<AppRevision>>() { }); getAppRevisionsResponse.setAppRevisions(result); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetAvailableResourceResponseUnmarshaller.java
package com.aliyuncs.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetAvailableResourceResponse; import com.aliyuncs.batchcompute.pojo.v20151111.AvailableResource; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetAvailableResourceResponseUnmarshaller { public static GetAvailableResourceResponse unmarshall(GetAvailableResourceResponse getAvailableResourceResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getAvailableResourceResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); AvailableResource availableResource = mapper.readValue(body, AvailableResource.class); getAvailableResourceResponse.setAvailableResource(availableResource); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getAvailableResourceResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getAvailableResourceResponse.getRequestId()); } return getAvailableResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetClusterInstanceResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetClusterInstanceResponse; import com.aliyuncs.batchcompute.pojo.v20151111.ClusterInstance; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetClusterInstanceResponseUnmarshaller { public static GetClusterInstanceResponse unmarshall(GetClusterInstanceResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); ClusterInstance ins = mapper.readValue(body, ClusterInstance.class); res.setClusterInstance(ins); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",res.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",res.getRequestId()); } return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetClusterResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetClusterResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Cluster; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetClusterResponseUnmarshaller { public static GetClusterResponse unmarshall(GetClusterResponse getClusterResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getClusterResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Cluster cluster = mapper.readValue(body, Cluster.class); getClusterResponse.setCluster(cluster); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getClusterResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getClusterResponse.getRequestId()); } return getClusterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetImageResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetImageResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Image; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetImageResponseUnmarshaller { public static GetImageResponse unmarshall(GetImageResponse getImageResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getImageResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Image image = mapper.readValue(body, Image.class); getImageResponse.setImage(image); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getImageResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getImageResponse.getRequestId()); } return getImageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetInstanceResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetInstanceResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Instance; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetInstanceResponseUnmarshaller { public static GetInstanceResponse unmarshall(GetInstanceResponse getInstanceResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getInstanceResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Instance instance = mapper.readValue(body, Instance.class); getInstanceResponse.setInstance(instance); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getInstanceResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getInstanceResponse.getRequestId()); } return getInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetJobDescriptionResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetJobDescriptionResponse; import com.aliyuncs.batchcompute.pojo.v20151111.JobDescription; import com.aliyuncs.batchcompute.pojo.v20151111.TaskDescription; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; import java.util.Set; public class GetJobDescriptionResponseUnmarshaller { public static GetJobDescriptionResponse unmarshall(GetJobDescriptionResponse getJobDescriptionResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getJobDescriptionResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); JobDescription desc = mapper.readValue(body, JobDescription.class); getJobDescriptionResponse.setJobDescription(desc); //add taskName Map<String, TaskDescription> taskMap = desc.getDag().getTasks(); Set<String> taskNames = taskMap.keySet(); for(String taskName : taskNames){ TaskDescription taskDesc = taskMap.get(taskName); taskDesc.setTaskName(taskName); } } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getJobDescriptionResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getJobDescriptionResponse.getRequestId()); } return getJobDescriptionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetJobResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetJobResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Job; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetJobResponseUnmarshaller { public static GetJobResponse unmarshall(GetJobResponse getJobResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getJobResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Job job = mapper.readValue(body, Job.class); getJobResponse.setJob(job); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getJobResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getJobResponse.getRequestId()); } return getJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetQuotasResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetQuotasResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Quotas; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetQuotasResponseUnmarshaller { public static GetQuotasResponse unmarshall(GetQuotasResponse getQuotasResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getQuotasResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Quotas quotas = mapper.readValue(body, Quotas.class); getQuotasResponse.setQuotas(quotas); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getQuotasResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getQuotasResponse.getRequestId()); } return getQuotasResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/GetTaskResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.GetTaskResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Task; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.UnsupportedEncodingException; public class GetTaskResponseUnmarshaller { public static GetTaskResponse unmarshall(GetTaskResponse getTaskResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); getTaskResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); ObjectMapper mapper = new ObjectMapper(); Task task = mapper.readValue(body, Task.class); getTaskResponse.setTask(task); } catch (UnsupportedEncodingException e) { throw new ServerException("API.EncodeError", "encode response body error",getTaskResponse.getRequestId()); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error",getTaskResponse.getRequestId()); } return getTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListAppsResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListAppsResponse; import com.aliyuncs.batchcompute.pojo.v20151111.App; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListAppsResponseUnmarshaller { public static ListAppsResponse unmarshall(ListAppsResponse listAppsResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listAppsResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listAppsResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listAppsResponse.getRequestId()); } return listAppsResponse; } private static void setContent(String body, ListAppsResponse listAppsResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<App> result = mapper.readValue(body, new TypeReference<MarkableResult<App>>() { }); listAppsResponse.setItems(result.getItems()); listAppsResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListClusterInstancesResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListClusterInstancesResponse; import com.aliyuncs.batchcompute.pojo.v20151111.ClusterInstance; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListClusterInstancesResponseUnmarshaller { public static ListClusterInstancesResponse unmarshall(ListClusterInstancesResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, res); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", res.getRequestId()); } return res; } private static void setContent(String body, ListClusterInstancesResponse res) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<ClusterInstance> result = mapper.readValue(body, new TypeReference<MarkableResult<ClusterInstance>>() { }); res.setItems(result.getItems()); res.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListClustersResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListClustersResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Cluster; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListClustersResponseUnmarshaller { public static ListClustersResponse unmarshall(ListClustersResponse listClustersResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listClustersResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listClustersResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listClustersResponse.getRequestId()); } return listClustersResponse; } private static void setContent(String body, ListClustersResponse listClustersResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<Cluster> result = mapper.readValue(body, new TypeReference<MarkableResult<Cluster>>() { }); listClustersResponse.setItems(result.getItems()); listClustersResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListImagesResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListImagesResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Image; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListImagesResponseUnmarshaller { public static ListImagesResponse unmarshall(ListImagesResponse listImagesResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listImagesResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listImagesResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listImagesResponse.getRequestId()); } return listImagesResponse; } private static void setContent(String body, ListImagesResponse listImagesResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<Image> result = mapper.readValue(body, new TypeReference<MarkableResult<Image>>() { }); listImagesResponse.setItems(result.getItems()); listImagesResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListInstancesResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListInstancesResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Instance; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListInstancesResponseUnmarshaller { public static ListInstancesResponse unmarshall(ListInstancesResponse listInstancesResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listInstancesResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listInstancesResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listInstancesResponse.getRequestId()); } return listInstancesResponse; } private static void setContent(String body, ListInstancesResponse listInstancesResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<Instance> result = mapper.readValue(body, new TypeReference<MarkableResult<Instance>>() { }); listInstancesResponse.setItems(result.getItems()); listInstancesResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListJobsResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListJobsResponse; import com.aliyuncs.batchcompute.pojo.v20151111.Job; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListJobsResponseUnmarshaller { public static ListJobsResponse unmarshall(ListJobsResponse listJobsResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listJobsResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listJobsResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listJobsResponse.getRequestId()); } return listJobsResponse; } private static void setContent(String body, ListJobsResponse listJobsResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<Job> result = mapper.readValue(body, new TypeReference<MarkableResult<Job>>() { }); listJobsResponse.setItems(result.getItems()); listJobsResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/ListTasksResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.ListTasksResponse; import com.aliyuncs.batchcompute.pojo.v20151111.MarkableResult; import com.aliyuncs.batchcompute.pojo.v20151111.Task; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; public class ListTasksResponseUnmarshaller { public static ListTasksResponse unmarshall(ListTasksResponse listTasksResponse, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); listTasksResponse.setHttpResponse(httpResponse); try { String body = new String(httpResponse.getHttpContent(), httpResponse.getEncoding()); setContent(body, listTasksResponse); } catch (IOException e) { throw new ServerException("API.EncodeError", "encode response body error", listTasksResponse.getRequestId()); } return listTasksResponse; } private static void setContent(String body, ListTasksResponse listTasksResponse) throws IOException { ObjectMapper mapper = new ObjectMapper(); MarkableResult<Task> result = mapper.readValue(body, new TypeReference<MarkableResult<Task>>() { }); listTasksResponse.setItems(result.getItems()); listTasksResponse.setNextMarker(result.getNextMarker()); } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/RecreateClusterInstanceRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.RecreateClusterInstanceRequest; public class RecreateClusterInstanceRequestMarshaller { public static RecreateClusterInstanceRequest marshall(RecreateClusterInstanceRequest req) { req.setHttpContent("{}".getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/RecreateClusterInstanceResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.RecreateClusterInstanceResponse; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.HttpResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RecreateClusterInstanceResponseUnmarshaller { public static RecreateClusterInstanceResponse unmarshall(RecreateClusterInstanceResponse res, UnmarshallerContext context) throws ServerException { HttpResponse httpResponse = context.getHttpResponse(); res.setHttpResponse(httpResponse); return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/StartJobRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.StartJobRequest; public class StartJobRequestMarshaller { public static StartJobRequest marshall(StartJobRequest startJobRequest) { startJobRequest.setHttpContent(new byte[]{}, startJobRequest.getEncoding(), startJobRequest.getAcceptFormat()); return startJobRequest; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/StartJobResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.StartJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StartJobResponseUnmarshaller { public static StartJobResponse unmarshall(StartJobResponse startJobResponse, UnmarshallerContext context) { startJobResponse.setHttpResponse(context.getHttpResponse()); return startJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/StopJobRequestMarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.StopJobRequest; public class StopJobRequestMarshaller { public static StopJobRequest marshall(StopJobRequest stopJobRequest) { stopJobRequest.setHttpContent("".getBytes(), stopJobRequest.getEncoding(), stopJobRequest.getAcceptFormat()); return stopJobRequest; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/StopJobResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.StopJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StopJobResponseUnmarshaller { public static StopJobResponse unmarshall(StopJobResponse stopJobResponse, UnmarshallerContext context) { stopJobResponse.setHttpResponse(context.getHttpResponse()); return stopJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/UpdateAppRequestMarshaller.java
package com.aliyuncs.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.UpdateAppRequest; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; /** * Created by guangchun.luo on 17/10/12. */ public class UpdateAppRequestMarshaller { public static UpdateAppRequest marshall(UpdateAppRequest req) { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getAppDescription()); } catch (IOException e) { e.printStackTrace(); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/UpdateAppResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.UpdateAppResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateAppResponseUnmarshaller { public static UpdateAppResponse unmarshall(UpdateAppResponse res, UnmarshallerContext context) { res.setHttpResponse(context.getHttpResponse()); return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/UpdateClusterRequestMarshaller.java
package com.aliyuncs.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.UpdateClusterRequest; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; /** * Created by guangchun.luo on 16/1/12. */ public class UpdateClusterRequestMarshaller { public static UpdateClusterRequest marshall(UpdateClusterRequest req) { ObjectMapper mapper = new ObjectMapper(); //默认值不序列化 mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); String contentString = null; try { contentString = mapper.writeValueAsString(req.getClusterDescription()); } catch (IOException e) { e.printStackTrace(); } req.setHttpContent(contentString.getBytes(), req.getEncoding(), req.getAcceptFormat()); return req; } }
0
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform
java-sources/com/aliyun/aliyun-java-sdk-batchcompute/6.2.4/com/aliyuncs/batchcompute/transform/v20151111/UpdateClusterResponseUnmarshaller.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.batchcompute.transform.v20151111; import com.aliyuncs.batchcompute.model.v20151111.UpdateClusterResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateClusterResponseUnmarshaller { public static UpdateClusterResponse unmarshall(UpdateClusterResponse res, UnmarshallerContext context) { res.setHttpResponse(context.getHttpResponse()); return res; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model/v20230808/DescribeProductsRequest.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.bdrc.model.v20230808; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DescribeProductsRequest extends RoaAcsRequest<DescribeProductsResponse> { public DescribeProductsRequest() { super("BDRC", "2023-08-08", "DescribeProducts"); setUriPattern("/api/v1/products"); setMethod(MethodType.GET); } @Override public Class<DescribeProductsResponse> getResponseClass() { return DescribeProductsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model/v20230808/DescribeProductsResponse.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.bdrc.model.v20230808; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bdrc.transform.v20230808.DescribeProductsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeProductsResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String nextToken; private Integer maxResults; private Long totalCount; private List<ContentItem> content; public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public Long getTotalCount() { return this.totalCount; } public void setTotalCount(Long totalCount) { this.totalCount = totalCount; } public List<ContentItem> getContent() { return this.content; } public void setContent(List<ContentItem> content) { this.content = content; } public static class ContentItem { private String productType; private Boolean enableCheck; private Integer protectionScore; private Long protectionScoreUpdatedTime; private Long totalResourceCount; private Long riskyResourceCount; private Long checkFailedResourceCount; private Long disableCheckResourceCount; private Long riskCount; private Long checkFailedCount; private List<ProtectionScoreDistributionItem> protectionScoreDistribution; public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public Boolean getEnableCheck() { return this.enableCheck; } public void setEnableCheck(Boolean enableCheck) { this.enableCheck = enableCheck; } public Integer getProtectionScore() { return this.protectionScore; } public void setProtectionScore(Integer protectionScore) { this.protectionScore = protectionScore; } public Long getProtectionScoreUpdatedTime() { return this.protectionScoreUpdatedTime; } public void setProtectionScoreUpdatedTime(Long protectionScoreUpdatedTime) { this.protectionScoreUpdatedTime = protectionScoreUpdatedTime; } public Long getTotalResourceCount() { return this.totalResourceCount; } public void setTotalResourceCount(Long totalResourceCount) { this.totalResourceCount = totalResourceCount; } public Long getRiskyResourceCount() { return this.riskyResourceCount; } public void setRiskyResourceCount(Long riskyResourceCount) { this.riskyResourceCount = riskyResourceCount; } public Long getCheckFailedResourceCount() { return this.checkFailedResourceCount; } public void setCheckFailedResourceCount(Long checkFailedResourceCount) { this.checkFailedResourceCount = checkFailedResourceCount; } public Long getDisableCheckResourceCount() { return this.disableCheckResourceCount; } public void setDisableCheckResourceCount(Long disableCheckResourceCount) { this.disableCheckResourceCount = disableCheckResourceCount; } public Long getRiskCount() { return this.riskCount; } public void setRiskCount(Long riskCount) { this.riskCount = riskCount; } public Long getCheckFailedCount() { return this.checkFailedCount; } public void setCheckFailedCount(Long checkFailedCount) { this.checkFailedCount = checkFailedCount; } public List<ProtectionScoreDistributionItem> getProtectionScoreDistribution() { return this.protectionScoreDistribution; } public void setProtectionScoreDistribution(List<ProtectionScoreDistributionItem> protectionScoreDistribution) { this.protectionScoreDistribution = protectionScoreDistribution; } public static class ProtectionScoreDistributionItem { private Long count; private Range range; public Long getCount() { return this.count; } public void setCount(Long count) { this.count = count; } public Range getRange() { return this.range; } public void setRange(Range range) { this.range = range; } public static class Range { private Integer from; private Integer to; public Integer getFrom() { return this.from; } public void setFrom(Integer from) { this.from = from; } public Integer getTo() { return this.to; } public void setTo(Integer to) { this.to = to; } } } } } @Override public DescribeProductsResponse getInstance(UnmarshallerContext context) { return DescribeProductsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model/v20230808/DescribeTopRiskyResourcesRequest.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.bdrc.model.v20230808; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DescribeTopRiskyResourcesRequest extends RoaAcsRequest<DescribeTopRiskyResourcesResponse> { private String resourceType; public DescribeTopRiskyResourcesRequest() { super("BDRC", "2023-08-08", "DescribeTopRiskyResources"); setUriPattern("/api/v1/resources/top-risky"); setMethod(MethodType.GET); } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; if(resourceType != null){ putQueryParameter("ResourceType", resourceType); } } @Override public Class<DescribeTopRiskyResourcesResponse> getResponseClass() { return DescribeTopRiskyResourcesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/model/v20230808/DescribeTopRiskyResourcesResponse.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.bdrc.model.v20230808; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bdrc.transform.v20230808.DescribeTopRiskyResourcesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeTopRiskyResourcesResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String nextToken; private Integer maxResults; private Long totalCount; private List<ContentItem> content; public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public Long getTotalCount() { return this.totalCount; } public void setTotalCount(Long totalCount) { this.totalCount = totalCount; } public List<ContentItem> getContent() { return this.content; } public void setContent(List<ContentItem> content) { this.content = content; } public static class ContentItem { private String resourceArn; private String productType; private String resourceType; private String resourceId; private String resourceName; private String regionId; private String zoneId; private String vpcId; private String vSwitchId; private Long createTime; private String status; private Long totalDataSize; private Long standardDataSize; private Long iaDataSize; private Long archiveDataSize; private Long coldArchiveDataSize; private String resourceAttr; private Boolean enableCheck; private Integer protectionScore; private Long protectionScoreUpdatedTime; private Long riskCount; private Long checkFailedCount; public String getResourceArn() { return this.resourceArn; } public void setResourceArn(String resourceArn) { this.resourceArn = resourceArn; } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; } public String getResourceId() { return this.resourceId; } public void setResourceId(String resourceId) { this.resourceId = resourceId; } public String getResourceName() { return this.resourceName; } public void setResourceName(String resourceName) { this.resourceName = resourceName; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getZoneId() { return this.zoneId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public String getVpcId() { return this.vpcId; } public void setVpcId(String vpcId) { this.vpcId = vpcId; } public String getVSwitchId() { return this.vSwitchId; } public void setVSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; } public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public Long getTotalDataSize() { return this.totalDataSize; } public void setTotalDataSize(Long totalDataSize) { this.totalDataSize = totalDataSize; } public Long getStandardDataSize() { return this.standardDataSize; } public void setStandardDataSize(Long standardDataSize) { this.standardDataSize = standardDataSize; } public Long getIaDataSize() { return this.iaDataSize; } public void setIaDataSize(Long iaDataSize) { this.iaDataSize = iaDataSize; } public Long getArchiveDataSize() { return this.archiveDataSize; } public void setArchiveDataSize(Long archiveDataSize) { this.archiveDataSize = archiveDataSize; } public Long getColdArchiveDataSize() { return this.coldArchiveDataSize; } public void setColdArchiveDataSize(Long coldArchiveDataSize) { this.coldArchiveDataSize = coldArchiveDataSize; } public String getResourceAttr() { return this.resourceAttr; } public void setResourceAttr(String resourceAttr) { this.resourceAttr = resourceAttr; } public Boolean getEnableCheck() { return this.enableCheck; } public void setEnableCheck(Boolean enableCheck) { this.enableCheck = enableCheck; } public Integer getProtectionScore() { return this.protectionScore; } public void setProtectionScore(Integer protectionScore) { this.protectionScore = protectionScore; } public Long getProtectionScoreUpdatedTime() { return this.protectionScoreUpdatedTime; } public void setProtectionScoreUpdatedTime(Long protectionScoreUpdatedTime) { this.protectionScoreUpdatedTime = protectionScoreUpdatedTime; } public Long getRiskCount() { return this.riskCount; } public void setRiskCount(Long riskCount) { this.riskCount = riskCount; } public Long getCheckFailedCount() { return this.checkFailedCount; } public void setCheckFailedCount(Long checkFailedCount) { this.checkFailedCount = checkFailedCount; } } } @Override public DescribeTopRiskyResourcesResponse getInstance(UnmarshallerContext context) { return DescribeTopRiskyResourcesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/transform
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/transform/v20230808/DescribeProductsResponseUnmarshaller.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.bdrc.transform.v20230808; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bdrc.model.v20230808.DescribeProductsResponse; import com.aliyuncs.bdrc.model.v20230808.DescribeProductsResponse.Data; import com.aliyuncs.bdrc.model.v20230808.DescribeProductsResponse.Data.ContentItem; import com.aliyuncs.bdrc.model.v20230808.DescribeProductsResponse.Data.ContentItem.ProtectionScoreDistributionItem; import com.aliyuncs.bdrc.model.v20230808.DescribeProductsResponse.Data.ContentItem.ProtectionScoreDistributionItem.Range; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeProductsResponseUnmarshaller { public static DescribeProductsResponse unmarshall(DescribeProductsResponse describeProductsResponse, UnmarshallerContext _ctx) { describeProductsResponse.setRequestId(_ctx.stringValue("DescribeProductsResponse.RequestId")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeProductsResponse.Data.NextToken")); data.setMaxResults(_ctx.integerValue("DescribeProductsResponse.Data.MaxResults")); data.setTotalCount(_ctx.longValue("DescribeProductsResponse.Data.TotalCount")); List<ContentItem> content = new ArrayList<ContentItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeProductsResponse.Data.Content.Length"); i++) { ContentItem contentItem = new ContentItem(); contentItem.setProductType(_ctx.stringValue("DescribeProductsResponse.Data.Content["+ i +"].ProductType")); contentItem.setEnableCheck(_ctx.booleanValue("DescribeProductsResponse.Data.Content["+ i +"].EnableCheck")); contentItem.setProtectionScore(_ctx.integerValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScore")); contentItem.setProtectionScoreUpdatedTime(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScoreUpdatedTime")); contentItem.setTotalResourceCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].TotalResourceCount")); contentItem.setRiskyResourceCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].RiskyResourceCount")); contentItem.setCheckFailedResourceCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].CheckFailedResourceCount")); contentItem.setDisableCheckResourceCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].DisableCheckResourceCount")); contentItem.setRiskCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].RiskCount")); contentItem.setCheckFailedCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].CheckFailedCount")); List<ProtectionScoreDistributionItem> protectionScoreDistribution = new ArrayList<ProtectionScoreDistributionItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScoreDistribution.Length"); j++) { ProtectionScoreDistributionItem protectionScoreDistributionItem = new ProtectionScoreDistributionItem(); protectionScoreDistributionItem.setCount(_ctx.longValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScoreDistribution["+ j +"].Count")); Range range = new Range(); range.setFrom(_ctx.integerValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScoreDistribution["+ j +"].Range.From")); range.setTo(_ctx.integerValue("DescribeProductsResponse.Data.Content["+ i +"].ProtectionScoreDistribution["+ j +"].Range.To")); protectionScoreDistributionItem.setRange(range); protectionScoreDistribution.add(protectionScoreDistributionItem); } contentItem.setProtectionScoreDistribution(protectionScoreDistribution); content.add(contentItem); } data.setContent(content); describeProductsResponse.setData(data); return describeProductsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/transform
java-sources/com/aliyun/aliyun-java-sdk-bdrc/1.0.0/com/aliyuncs/bdrc/transform/v20230808/DescribeTopRiskyResourcesResponseUnmarshaller.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.bdrc.transform.v20230808; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bdrc.model.v20230808.DescribeTopRiskyResourcesResponse; import com.aliyuncs.bdrc.model.v20230808.DescribeTopRiskyResourcesResponse.Data; import com.aliyuncs.bdrc.model.v20230808.DescribeTopRiskyResourcesResponse.Data.ContentItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeTopRiskyResourcesResponseUnmarshaller { public static DescribeTopRiskyResourcesResponse unmarshall(DescribeTopRiskyResourcesResponse describeTopRiskyResourcesResponse, UnmarshallerContext _ctx) { describeTopRiskyResourcesResponse.setRequestId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.RequestId")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.NextToken")); data.setMaxResults(_ctx.integerValue("DescribeTopRiskyResourcesResponse.Data.MaxResults")); data.setTotalCount(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.TotalCount")); List<ContentItem> content = new ArrayList<ContentItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeTopRiskyResourcesResponse.Data.Content.Length"); i++) { ContentItem contentItem = new ContentItem(); contentItem.setResourceArn(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ResourceArn")); contentItem.setProductType(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ProductType")); contentItem.setResourceType(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ResourceType")); contentItem.setResourceId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ResourceId")); contentItem.setResourceName(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ResourceName")); contentItem.setRegionId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].RegionId")); contentItem.setZoneId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ZoneId")); contentItem.setVpcId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].VpcId")); contentItem.setVSwitchId(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].VSwitchId")); contentItem.setCreateTime(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].CreateTime")); contentItem.setStatus(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].Status")); contentItem.setTotalDataSize(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].TotalDataSize")); contentItem.setStandardDataSize(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].StandardDataSize")); contentItem.setIaDataSize(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].IaDataSize")); contentItem.setArchiveDataSize(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ArchiveDataSize")); contentItem.setColdArchiveDataSize(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ColdArchiveDataSize")); contentItem.setResourceAttr(_ctx.stringValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ResourceAttr")); contentItem.setEnableCheck(_ctx.booleanValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].EnableCheck")); contentItem.setProtectionScore(_ctx.integerValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ProtectionScore")); contentItem.setProtectionScoreUpdatedTime(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].ProtectionScoreUpdatedTime")); contentItem.setRiskCount(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].RiskCount")); contentItem.setCheckFailedCount(_ctx.longValue("DescribeTopRiskyResourcesResponse.Data.Content["+ i +"].CheckFailedCount")); content.add(contentItem); } data.setContent(content); describeTopRiskyResourcesResponse.setData(data); return describeTopRiskyResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/DeleteUnbeianIpCheckTypeRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteUnbeianIpCheckTypeRequest extends RpcAcsRequest<DeleteUnbeianIpCheckTypeResponse> { private String ip; private String remark; private Integer checkType; private String caller; public DeleteUnbeianIpCheckTypeRequest() { super("Beian", "2016-08-10", "DeleteUnbeianIpCheckType"); setMethod(MethodType.POST); } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; if(ip != null){ putQueryParameter("Ip", ip); } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public Integer getCheckType() { return this.checkType; } public void setCheckType(Integer checkType) { this.checkType = checkType; if(checkType != null){ putQueryParameter("CheckType", checkType.toString()); } } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } @Override public Class<DeleteUnbeianIpCheckTypeResponse> getResponseClass() { return DeleteUnbeianIpCheckTypeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/DeleteUnbeianIpCheckTypeResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.DeleteUnbeianIpCheckTypeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteUnbeianIpCheckTypeResponse extends AcsResponse { private String errorMessage; private String requestId; private Boolean success; private Integer errorCode; private HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO; 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 Integer getErrorCode() { return this.errorCode; } public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } public HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO() { return this.huntressIpCheckTypeResultDO; } public void setHuntressIpCheckTypeResultDO(HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO) { this.huntressIpCheckTypeResultDO = huntressIpCheckTypeResultDO; } public static class HuntressIpCheckTypeResultDO { private String msg; private Boolean success; public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } } @Override public DeleteUnbeianIpCheckTypeResponse getInstance(UnmarshallerContext context) { return DeleteUnbeianIpCheckTypeResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/GetMainDomainRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetMainDomainRequest extends RpcAcsRequest<GetMainDomainResponse> { private String domain; public GetMainDomainRequest() { super("Beian", "2016-08-10", "GetMainDomain"); setMethod(MethodType.POST); } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } @Override public Class<GetMainDomainResponse> getResponseClass() { return GetMainDomainResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/GetMainDomainResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.GetMainDomainResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetMainDomainResponse extends AcsResponse { private String requestId; private String code; private String message; private String data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } 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; } @Override public GetMainDomainResponse getInstance(UnmarshallerContext context) { return GetMainDomainResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/InsertUnbeianIpCheckTypeRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class InsertUnbeianIpCheckTypeRequest extends RpcAcsRequest<InsertUnbeianIpCheckTypeResponse> { private String ip; private String remark; private Integer checkType; private String caller; public InsertUnbeianIpCheckTypeRequest() { super("Beian", "2016-08-10", "InsertUnbeianIpCheckType"); setMethod(MethodType.POST); } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; if(ip != null){ putQueryParameter("Ip", ip); } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public Integer getCheckType() { return this.checkType; } public void setCheckType(Integer checkType) { this.checkType = checkType; if(checkType != null){ putQueryParameter("CheckType", checkType.toString()); } } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } @Override public Class<InsertUnbeianIpCheckTypeResponse> getResponseClass() { return InsertUnbeianIpCheckTypeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/InsertUnbeianIpCheckTypeResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.InsertUnbeianIpCheckTypeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class InsertUnbeianIpCheckTypeResponse extends AcsResponse { private String errorMessage; private String requestId; private Boolean success; private Integer errorCode; private HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO; 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 Integer getErrorCode() { return this.errorCode; } public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } public HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO() { return this.huntressIpCheckTypeResultDO; } public void setHuntressIpCheckTypeResultDO(HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO) { this.huntressIpCheckTypeResultDO = huntressIpCheckTypeResultDO; } public static class HuntressIpCheckTypeResultDO { private String msg; private Boolean success; public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } } @Override public InsertUnbeianIpCheckTypeResponse getInstance(UnmarshallerContext context) { return InsertUnbeianIpCheckTypeResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ListUnbeianIpCheckTypeRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListUnbeianIpCheckTypeRequest extends RpcAcsRequest<ListUnbeianIpCheckTypeResponse> { private String ip; private String remark; private Integer checkType; private String caller; private Integer limit; private Integer page; public ListUnbeianIpCheckTypeRequest() { super("Beian", "2016-08-10", "ListUnbeianIpCheckType"); setMethod(MethodType.POST); } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; if(ip != null){ putQueryParameter("Ip", ip); } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public Integer getCheckType() { return this.checkType; } public void setCheckType(Integer checkType) { this.checkType = checkType; if(checkType != null){ putQueryParameter("CheckType", checkType.toString()); } } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public Integer getLimit() { return this.limit; } public void setLimit(Integer limit) { this.limit = limit; if(limit != null){ putQueryParameter("Limit", limit.toString()); } } public Integer getPage() { return this.page; } public void setPage(Integer page) { this.page = page; if(page != null){ putQueryParameter("Page", page.toString()); } } @Override public Class<ListUnbeianIpCheckTypeResponse> getResponseClass() { return ListUnbeianIpCheckTypeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ListUnbeianIpCheckTypeResponse.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.beian.model.v20160810; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.ListUnbeianIpCheckTypeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListUnbeianIpCheckTypeResponse extends AcsResponse { private String errorMessage; private String requestId; private Boolean success; private Integer errorCode; private HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO; 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 Integer getErrorCode() { return this.errorCode; } public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } public HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO() { return this.huntressIpCheckTypeResultDO; } public void setHuntressIpCheckTypeResultDO(HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO) { this.huntressIpCheckTypeResultDO = huntressIpCheckTypeResultDO; } public static class HuntressIpCheckTypeResultDO { private String msg; private Boolean success; private List<ListItem> list; public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public List<ListItem> getList() { return this.list; } public void setList(List<ListItem> list) { this.list = list; } public static class ListItem { private String ip; private Long aliuid; private Integer checkType; private String caller; private String remark; public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; } public Long getAliuid() { return this.aliuid; } public void setAliuid(Long aliuid) { this.aliuid = aliuid; } public Integer getCheckType() { return this.checkType; } public void setCheckType(Integer checkType) { this.checkType = checkType; } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; } } } @Override public ListUnbeianIpCheckTypeResponse getInstance(UnmarshallerContext context) { return ListUnbeianIpCheckTypeResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorDomainRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ManageAccessorDomainRequest extends RpcAcsRequest<ManageAccessorDomainResponse> { private String caller; private String domain; private String operation; public ManageAccessorDomainRequest() { super("Beian", "2016-08-10", "ManageAccessorDomain"); setMethod(MethodType.POST); } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } public String getOperation() { return this.operation; } public void setOperation(String operation) { this.operation = operation; if(operation != null){ putQueryParameter("Operation", operation); } } @Override public Class<ManageAccessorDomainResponse> getResponseClass() { return ManageAccessorDomainResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorDomainResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.ManageAccessorDomainResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ManageAccessorDomainResponse extends AcsResponse { private String requestId; private Integer code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ManageAccessorDomainResponse getInstance(UnmarshallerContext context) { return ManageAccessorDomainResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorDomainWhiteListRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ManageAccessorDomainWhiteListRequest extends RpcAcsRequest<ManageAccessorDomainWhiteListResponse> { private String endTime; private List<String> domainss; private String remark; private String startTime; private String caller; private String operation; public ManageAccessorDomainWhiteListRequest() { super("Beian", "2016-08-10", "ManageAccessorDomainWhiteList"); setMethod(MethodType.POST); } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } public List<String> getDomainss() { return this.domainss; } public void setDomainss(List<String> domainss) { this.domainss = domainss; if (domainss != null) { for (int i = 0; i < domainss.size(); i++) { putQueryParameter("Domains." + (i + 1) , domainss.get(i)); } } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; if(startTime != null){ putQueryParameter("StartTime", startTime); } } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public String getOperation() { return this.operation; } public void setOperation(String operation) { this.operation = operation; if(operation != null){ putQueryParameter("Operation", operation); } } @Override public Class<ManageAccessorDomainWhiteListResponse> getResponseClass() { return ManageAccessorDomainWhiteListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorDomainWhiteListResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.ManageAccessorDomainWhiteListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ManageAccessorDomainWhiteListResponse extends AcsResponse { private String requestId; private Integer code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ManageAccessorDomainWhiteListResponse getInstance(UnmarshallerContext context) { return ManageAccessorDomainWhiteListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorIpRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ManageAccessorIpRequest extends RpcAcsRequest<ManageAccessorIpResponse> { private String ip; private String remark; private String caller; private Integer ipVersion; private String operation; public ManageAccessorIpRequest() { super("Beian", "2016-08-10", "ManageAccessorIp"); setMethod(MethodType.POST); } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; if(ip != null){ putQueryParameter("Ip", ip); } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public Integer getIpVersion() { return this.ipVersion; } public void setIpVersion(Integer ipVersion) { this.ipVersion = ipVersion; if(ipVersion != null){ putQueryParameter("IpVersion", ipVersion.toString()); } } public String getOperation() { return this.operation; } public void setOperation(String operation) { this.operation = operation; if(operation != null){ putQueryParameter("Operation", operation); } } @Override public Class<ManageAccessorIpResponse> getResponseClass() { return ManageAccessorIpResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/ManageAccessorIpResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.ManageAccessorIpResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ManageAccessorIpResponse extends AcsResponse { private String requestId; private Integer code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ManageAccessorIpResponse getInstance(UnmarshallerContext context) { return ManageAccessorIpResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainListRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class QueryAccessorDomainListRequest extends RpcAcsRequest<QueryAccessorDomainListResponse> { private String caller; private Integer pageNo; private String domain; private Integer pageSize; public QueryAccessorDomainListRequest() { super("Beian", "2016-08-10", "QueryAccessorDomainList"); setMethod(MethodType.POST); } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public Integer getPageNo() { return this.pageNo; } public void setPageNo(Integer pageNo) { this.pageNo = pageNo; if(pageNo != null){ putQueryParameter("PageNo", pageNo.toString()); } } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } @Override public Class<QueryAccessorDomainListResponse> getResponseClass() { return QueryAccessorDomainListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainListResponse.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.beian.model.v20160810; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.QueryAccessorDomainListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryAccessorDomainListResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private List<String> domains; public List<String> getDomains() { return this.domains; } public void setDomains(List<String> domains) { this.domains = domains; } } @Override public QueryAccessorDomainListResponse getInstance(UnmarshallerContext context) { return QueryAccessorDomainListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class QueryAccessorDomainRequest extends RpcAcsRequest<QueryAccessorDomainResponse> { private String caller; private String domain; public QueryAccessorDomainRequest() { super("Beian", "2016-08-10", "QueryAccessorDomain"); setMethod(MethodType.POST); } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } @Override public Class<QueryAccessorDomainResponse> getResponseClass() { return QueryAccessorDomainResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.QueryAccessorDomainResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryAccessorDomainResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Boolean data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } @Override public QueryAccessorDomainResponse getInstance(UnmarshallerContext context) { return QueryAccessorDomainResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainStatusRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class QueryAccessorDomainStatusRequest extends RpcAcsRequest<QueryAccessorDomainStatusResponse> { private String caller; private String domain; public QueryAccessorDomainStatusRequest() { super("Beian", "2016-08-10", "QueryAccessorDomainStatus"); setMethod(MethodType.POST); } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } @Override public Class<QueryAccessorDomainStatusResponse> getResponseClass() { return QueryAccessorDomainStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainStatusResponse.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.beian.model.v20160810; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.QueryAccessorDomainStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryAccessorDomainStatusResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String domain; private String status; private Integer reasonCode; private String reason; public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public Integer getReasonCode() { return this.reasonCode; } public void setReasonCode(Integer reasonCode) { this.reasonCode = reasonCode; } public String getReason() { return this.reason; } public void setReason(String reason) { this.reason = reason; } } @Override public QueryAccessorDomainStatusResponse getInstance(UnmarshallerContext context) { return QueryAccessorDomainStatusResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainWhiteListRequest.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.beian.model.v20160810; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class QueryAccessorDomainWhiteListRequest extends RpcAcsRequest<QueryAccessorDomainWhiteListResponse> { private String caller; private String domain; public QueryAccessorDomainWhiteListRequest() { super("Beian", "2016-08-10", "QueryAccessorDomainWhiteList"); setMethod(MethodType.POST); } public String getCaller() { return this.caller; } public void setCaller(String caller) { this.caller = caller; if(caller != null){ putQueryParameter("Caller", caller); } } public String getDomain() { return this.domain; } public void setDomain(String domain) { this.domain = domain; if(domain != null){ putQueryParameter("Domain", domain); } } @Override public Class<QueryAccessorDomainWhiteListResponse> getResponseClass() { return QueryAccessorDomainWhiteListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model
java-sources/com/aliyun/aliyun-java-sdk-beian/2.0.16/com/aliyuncs/beian/model/v20160810/QueryAccessorDomainWhiteListResponse.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.beian.model.v20160810; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.beian.transform.v20160810.QueryAccessorDomainWhiteListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryAccessorDomainWhiteListResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Boolean white; private List<ItemsItem> items; public Boolean getWhite() { return this.white; } public void setWhite(Boolean white) { this.white = white; } public List<ItemsItem> getItems() { return this.items; } public void setItems(List<ItemsItem> items) { this.items = items; } public static class ItemsItem { private String type; private String createTime; private String startTime; private String endTime; private Boolean valid; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getCreateTime() { return this.createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public Boolean getValid() { return this.valid; } public void setValid(Boolean valid) { this.valid = valid; } } } @Override public QueryAccessorDomainWhiteListResponse getInstance(UnmarshallerContext context) { return QueryAccessorDomainWhiteListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }