Skip to content

Commit

Permalink
Generated 2017-08-01 for polardb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 18, 2024
1 parent db0d2da commit e733207
Show file tree
Hide file tree
Showing 76 changed files with 3,667 additions and 342 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-polardb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-11-18 Version: 1.8.48
- Generated 2017-08-01 for `polardb`.

2024-04-24 Version: 1.8.47
- Support new feature.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-polardb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-polardb</artifactId>
<packaging>jar</packaging>
<version>1.8.47</version>
<version>1.8.48</version>
<name>aliyun-java-sdk-polardb</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public class Endpoint {
put("cn-hongkong", "polardb.aliyuncs.com");
put("cn-beijing-finance-pop", "polardb.aliyuncs.com");
put("cn-wuhan", "polardb.aliyuncs.com");
put("us-west-1", "polardb.aliyuncs.com");
put("cn-zhangbei", "polardb.aliyuncs.com");
put("cn-shenzhen", "polardb.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "polardb.aliyuncs.com");
Expand All @@ -55,11 +54,10 @@ public class Endpoint {
put("cn-hangzhou-test-306", "polardb.aliyuncs.com");
put("cn-huhehaote-nebula-1", "polardb.aliyuncs.com");
put("cn-shanghai-et2-b01", "polardb.aliyuncs.com");
put("cn-guangzhou", "polardb.aliyuncs.com");
put("cn-hangzhou-finance", "polardb.aliyuncs.com");
put("ap-southeast-1", "polardb.aliyuncs.com");
put("cn-beijing-nu16-b01", "polardb.aliyuncs.com");
put("cn-edge-1", "polardb.aliyuncs.com");
put("us-east-1", "polardb.aliyuncs.com");
put("cn-fujian", "polardb.aliyuncs.com");
put("ap-northeast-2-pop", "polardb.aliyuncs.com");
put("cn-shenzhen-inner", "polardb.aliyuncs.com");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/*
* 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.polardb.model.v20170801;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.polardb.Endpoint;

/**
* @author auto create
* @version
*/
public class CreateActivationCodeRequest extends RpcAcsRequest<CreateActivationCodeResponse> {


private Long resourceOwnerId;

private String description;

private String aliyunOrderId;

private String macAddress;

private String systemIdentifier;

private String resourceOwnerAccount;

private String ownerAccount;

private Long ownerId;

private String name;
public CreateActivationCodeRequest() {
super("polardb", "2017-08-01", "CreateActivationCode", "polardb");
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 Long getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}

public String getAliyunOrderId() {
return this.aliyunOrderId;
}

public void setAliyunOrderId(String aliyunOrderId) {
this.aliyunOrderId = aliyunOrderId;
if(aliyunOrderId != null){
putQueryParameter("AliyunOrderId", aliyunOrderId);
}
}

public String getMacAddress() {
return this.macAddress;
}

public void setMacAddress(String macAddress) {
this.macAddress = macAddress;
if(macAddress != null){
putQueryParameter("MacAddress", macAddress);
}
}

public String getSystemIdentifier() {
return this.systemIdentifier;
}

public void setSystemIdentifier(String systemIdentifier) {
this.systemIdentifier = systemIdentifier;
if(systemIdentifier != null){
putQueryParameter("SystemIdentifier", systemIdentifier);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

public String getOwnerAccount() {
return this.ownerAccount;
}

public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public String getName() {
return this.name;
}

public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}

@Override
public Class<CreateActivationCodeResponse> getResponseClass() {
return CreateActivationCodeResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
/*
* 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.polardb.model.v20170801;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.polardb.transform.v20170801.CreateActivationCodeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateActivationCodeResponse extends AcsResponse {

private String activateAt;

private String certContentB64;

private String description;

private String expireAt;

private String gmtCreated;

private String gmtModified;

private Integer id;

private String macAddress;

private String name;

private String requestId;

private String systemIdentifier;

public String getActivateAt() {
return this.activateAt;
}

public void setActivateAt(String activateAt) {
this.activateAt = activateAt;
}

public String getCertContentB64() {
return this.certContentB64;
}

public void setCertContentB64(String certContentB64) {
this.certContentB64 = certContentB64;
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
}

public String getExpireAt() {
return this.expireAt;
}

public void setExpireAt(String expireAt) {
this.expireAt = expireAt;
}

public String getGmtCreated() {
return this.gmtCreated;
}

public void setGmtCreated(String gmtCreated) {
this.gmtCreated = gmtCreated;
}

public String getGmtModified() {
return this.gmtModified;
}

public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}

public Integer getId() {
return this.id;
}

public void setId(Integer id) {
this.id = id;
}

public String getMacAddress() {
return this.macAddress;
}

public void setMacAddress(String macAddress) {
this.macAddress = macAddress;
}

public String getName() {
return this.name;
}

public void setName(String name) {
this.name = name;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getSystemIdentifier() {
return this.systemIdentifier;
}

public void setSystemIdentifier(String systemIdentifier) {
this.systemIdentifier = systemIdentifier;
}

@Override
public CreateActivationCodeResponse getInstance(UnmarshallerContext context) {
return CreateActivationCodeResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Loading

0 comments on commit e733207

Please sign in to comment.