-
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
76 changed files
with
3,667 additions
and
342 deletions.
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
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
160 changes: 160 additions & 0 deletions
160
...lardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateActivationCodeRequest.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,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; | ||
} | ||
|
||
} |
146 changes: 146 additions & 0 deletions
146
...ardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateActivationCodeResponse.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,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; | ||
} | ||
} |
Oops, something went wrong.