-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
668 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...rket/src/main/java/com/aliyuncs/market/model/v20151101/DescribeInstanceForIsvRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* 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.market.model.v20151101; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.market.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeInstanceForIsvRequest extends RpcAcsRequest<DescribeInstanceForIsvResponse> { | ||
|
||
|
||
private String instanceId; | ||
public DescribeInstanceForIsvRequest() { | ||
super("Market", "2015-11-01", "DescribeInstanceForIsv", "yunmarket"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
if(instanceId != null){ | ||
putQueryParameter("InstanceId", instanceId); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<DescribeInstanceForIsvResponse> getResponseClass() { | ||
return DescribeInstanceForIsvResponse.class; | ||
} | ||
|
||
} |
209 changes: 209 additions & 0 deletions
209
...ket/src/main/java/com/aliyuncs/market/model/v20151101/DescribeInstanceForIsvResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
/* | ||
* 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.market.model.v20151101; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.market.transform.v20151101.DescribeInstanceForIsvResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeInstanceForIsvResponse extends AcsResponse { | ||
|
||
private String status; | ||
|
||
private String productName; | ||
|
||
private Long instanceId; | ||
|
||
private String extendJson; | ||
|
||
private Boolean isTrial; | ||
|
||
private Long beganOn; | ||
|
||
private String componentJson; | ||
|
||
private String productType; | ||
|
||
private String productSkuCode; | ||
|
||
private Long createdOn; | ||
|
||
private Long endOn; | ||
|
||
private Long orderId; | ||
|
||
private String productCode; | ||
|
||
private String supplierName; | ||
|
||
private String requestId; | ||
|
||
private RelationalData relationalData; | ||
|
||
public String getStatus() { | ||
return this.status; | ||
} | ||
|
||
public void setStatus(String status) { | ||
this.status = status; | ||
} | ||
|
||
public String getProductName() { | ||
return this.productName; | ||
} | ||
|
||
public void setProductName(String productName) { | ||
this.productName = productName; | ||
} | ||
|
||
public Long getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(Long instanceId) { | ||
this.instanceId = instanceId; | ||
} | ||
|
||
public String getExtendJson() { | ||
return this.extendJson; | ||
} | ||
|
||
public void setExtendJson(String extendJson) { | ||
this.extendJson = extendJson; | ||
} | ||
|
||
public Boolean getIsTrial() { | ||
return this.isTrial; | ||
} | ||
|
||
public void setIsTrial(Boolean isTrial) { | ||
this.isTrial = isTrial; | ||
} | ||
|
||
public Long getBeganOn() { | ||
return this.beganOn; | ||
} | ||
|
||
public void setBeganOn(Long beganOn) { | ||
this.beganOn = beganOn; | ||
} | ||
|
||
public String getComponentJson() { | ||
return this.componentJson; | ||
} | ||
|
||
public void setComponentJson(String componentJson) { | ||
this.componentJson = componentJson; | ||
} | ||
|
||
public String getProductType() { | ||
return this.productType; | ||
} | ||
|
||
public void setProductType(String productType) { | ||
this.productType = productType; | ||
} | ||
|
||
public String getProductSkuCode() { | ||
return this.productSkuCode; | ||
} | ||
|
||
public void setProductSkuCode(String productSkuCode) { | ||
this.productSkuCode = productSkuCode; | ||
} | ||
|
||
public Long getCreatedOn() { | ||
return this.createdOn; | ||
} | ||
|
||
public void setCreatedOn(Long createdOn) { | ||
this.createdOn = createdOn; | ||
} | ||
|
||
public Long getEndOn() { | ||
return this.endOn; | ||
} | ||
|
||
public void setEndOn(Long endOn) { | ||
this.endOn = endOn; | ||
} | ||
|
||
public Long getOrderId() { | ||
return this.orderId; | ||
} | ||
|
||
public void setOrderId(Long orderId) { | ||
this.orderId = orderId; | ||
} | ||
|
||
public String getProductCode() { | ||
return this.productCode; | ||
} | ||
|
||
public void setProductCode(String productCode) { | ||
this.productCode = productCode; | ||
} | ||
|
||
public String getSupplierName() { | ||
return this.supplierName; | ||
} | ||
|
||
public void setSupplierName(String supplierName) { | ||
this.supplierName = supplierName; | ||
} | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public RelationalData getRelationalData() { | ||
return this.relationalData; | ||
} | ||
|
||
public void setRelationalData(RelationalData relationalData) { | ||
this.relationalData = relationalData; | ||
} | ||
|
||
public static class RelationalData { | ||
|
||
private String serviceStatus; | ||
|
||
public String getServiceStatus() { | ||
return this.serviceStatus; | ||
} | ||
|
||
public void setServiceStatus(String serviceStatus) { | ||
this.serviceStatus = serviceStatus; | ||
} | ||
} | ||
|
||
@Override | ||
public DescribeInstanceForIsvResponse getInstance(UnmarshallerContext context) { | ||
return DescribeInstanceForIsvResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...-market/src/main/java/com/aliyuncs/market/model/v20151101/DescribeOrderForIsvRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* 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.market.model.v20151101; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.market.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeOrderForIsvRequest extends RpcAcsRequest<DescribeOrderForIsvResponse> { | ||
|
||
|
||
private String orderId; | ||
public DescribeOrderForIsvRequest() { | ||
super("Market", "2015-11-01", "DescribeOrderForIsv", "yunmarket"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getOrderId() { | ||
return this.orderId; | ||
} | ||
|
||
public void setOrderId(String orderId) { | ||
this.orderId = orderId; | ||
if(orderId != null){ | ||
putQueryParameter("OrderId", orderId); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<DescribeOrderForIsvResponse> getResponseClass() { | ||
return DescribeOrderForIsvResponse.class; | ||
} | ||
|
||
} |
Oops, something went wrong.