-
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
20 changed files
with
794 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2024-06-30 Version: 1.0.3 | ||
- Add UsageMetric. | ||
|
||
2023-09-18 Version: 1.0.2 | ||
Support QuotaApplications For Template. | ||
|
||
|
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
54 changes: 54 additions & 0 deletions
54
...src/main/java/com/aliyuncs/quotas/model/v20200510/GetQuotaApplicationApprovalRequest.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,54 @@ | ||
/* | ||
* 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.quotas.model.v20200510; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.quotas.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetQuotaApplicationApprovalRequest extends RpcAcsRequest<GetQuotaApplicationApprovalResponse> { | ||
|
||
|
||
private String applicationId; | ||
public GetQuotaApplicationApprovalRequest() { | ||
super("quotas", "2020-05-10", "GetQuotaApplicationApproval", "quotas"); | ||
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 getApplicationId() { | ||
return this.applicationId; | ||
} | ||
|
||
public void setApplicationId(String applicationId) { | ||
this.applicationId = applicationId; | ||
if(applicationId != null){ | ||
putBodyParameter("ApplicationId", applicationId); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<GetQuotaApplicationApprovalResponse> getResponseClass() { | ||
return GetQuotaApplicationApprovalResponse.class; | ||
} | ||
|
||
} |
180 changes: 180 additions & 0 deletions
180
...rc/main/java/com/aliyuncs/quotas/model/v20200510/GetQuotaApplicationApprovalResponse.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,180 @@ | ||
/* | ||
* 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.quotas.model.v20200510; | ||
|
||
import java.util.List; | ||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.quotas.transform.v20200510.GetQuotaApplicationApprovalResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetQuotaApplicationApprovalResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private Integer httpStatusCode; | ||
|
||
private String dynamicCode; | ||
|
||
private String dynamicMessage; | ||
|
||
private String errorMsg; | ||
|
||
private String errorCode; | ||
|
||
private Boolean success; | ||
|
||
private Boolean allowRetry; | ||
|
||
private List<String> errorArgs; | ||
|
||
private Module module; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public Integer getHttpStatusCode() { | ||
return this.httpStatusCode; | ||
} | ||
|
||
public void setHttpStatusCode(Integer httpStatusCode) { | ||
this.httpStatusCode = httpStatusCode; | ||
} | ||
|
||
public String getDynamicCode() { | ||
return this.dynamicCode; | ||
} | ||
|
||
public void setDynamicCode(String dynamicCode) { | ||
this.dynamicCode = dynamicCode; | ||
} | ||
|
||
public String getDynamicMessage() { | ||
return this.dynamicMessage; | ||
} | ||
|
||
public void setDynamicMessage(String dynamicMessage) { | ||
this.dynamicMessage = dynamicMessage; | ||
} | ||
|
||
public String getErrorMsg() { | ||
return this.errorMsg; | ||
} | ||
|
||
public void setErrorMsg(String errorMsg) { | ||
this.errorMsg = errorMsg; | ||
} | ||
|
||
public String getErrorCode() { | ||
return this.errorCode; | ||
} | ||
|
||
public void setErrorCode(String errorCode) { | ||
this.errorCode = errorCode; | ||
} | ||
|
||
public Boolean getSuccess() { | ||
return this.success; | ||
} | ||
|
||
public void setSuccess(Boolean success) { | ||
this.success = success; | ||
} | ||
|
||
public Boolean getAllowRetry() { | ||
return this.allowRetry; | ||
} | ||
|
||
public void setAllowRetry(Boolean allowRetry) { | ||
this.allowRetry = allowRetry; | ||
} | ||
|
||
public List<String> getErrorArgs() { | ||
return this.errorArgs; | ||
} | ||
|
||
public void setErrorArgs(List<String> errorArgs) { | ||
this.errorArgs = errorArgs; | ||
} | ||
|
||
public Module getModule() { | ||
return this.module; | ||
} | ||
|
||
public void setModule(Module module) { | ||
this.module = module; | ||
} | ||
|
||
public static class Module { | ||
|
||
private Integer approvalHours; | ||
|
||
private Boolean supportReminder; | ||
|
||
private String unsupportReminderReason; | ||
|
||
private Integer reminderIntervalHours; | ||
|
||
public Integer getApprovalHours() { | ||
return this.approvalHours; | ||
} | ||
|
||
public void setApprovalHours(Integer approvalHours) { | ||
this.approvalHours = approvalHours; | ||
} | ||
|
||
public Boolean getSupportReminder() { | ||
return this.supportReminder; | ||
} | ||
|
||
public void setSupportReminder(Boolean supportReminder) { | ||
this.supportReminder = supportReminder; | ||
} | ||
|
||
public String getUnsupportReminderReason() { | ||
return this.unsupportReminderReason; | ||
} | ||
|
||
public void setUnsupportReminderReason(String unsupportReminderReason) { | ||
this.unsupportReminderReason = unsupportReminderReason; | ||
} | ||
|
||
public Integer getReminderIntervalHours() { | ||
return this.reminderIntervalHours; | ||
} | ||
|
||
public void setReminderIntervalHours(Integer reminderIntervalHours) { | ||
this.reminderIntervalHours = reminderIntervalHours; | ||
} | ||
} | ||
|
||
@Override | ||
public GetQuotaApplicationApprovalResponse getInstance(UnmarshallerContext context) { | ||
return GetQuotaApplicationApprovalResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
Oops, something went wrong.