-
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
18 changed files
with
770 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
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
77 changes: 77 additions & 0 deletions
77
...csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsRequest.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,77 @@ | ||
/* | ||
* 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.csas.model.v20230120; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class ListPopTrafficStatisticsRequest extends RpcAcsRequest<ListPopTrafficStatisticsResponse> { | ||
|
||
|
||
private String endTime; | ||
|
||
private String startTime; | ||
|
||
private String region; | ||
public ListPopTrafficStatisticsRequest() { | ||
super("csas", "2023-01-20", "ListPopTrafficStatistics"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.GET); | ||
} | ||
|
||
public String getEndTime() { | ||
return this.endTime; | ||
} | ||
|
||
public void setEndTime(String endTime) { | ||
this.endTime = endTime; | ||
if(endTime != null){ | ||
putQueryParameter("EndTime", endTime); | ||
} | ||
} | ||
|
||
public String getStartTime() { | ||
return this.startTime; | ||
} | ||
|
||
public void setStartTime(String startTime) { | ||
this.startTime = startTime; | ||
if(startTime != null){ | ||
putQueryParameter("StartTime", startTime); | ||
} | ||
} | ||
|
||
public String getRegion() { | ||
return this.region; | ||
} | ||
|
||
public void setRegion(String region) { | ||
this.region = region; | ||
if(region != null){ | ||
putQueryParameter("Region", region); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<ListPopTrafficStatisticsResponse> getResponseClass() { | ||
return ListPopTrafficStatisticsResponse.class; | ||
} | ||
|
||
} |
103 changes: 103 additions & 0 deletions
103
...sas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsResponse.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,103 @@ | ||
/* | ||
* 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.csas.model.v20230120; | ||
|
||
import java.util.List; | ||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.csas.transform.v20230120.ListPopTrafficStatisticsResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class ListPopTrafficStatisticsResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private List<Data> trafficData; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public List<Data> getTrafficData() { | ||
return this.trafficData; | ||
} | ||
|
||
public void setTrafficData(List<Data> trafficData) { | ||
this.trafficData = trafficData; | ||
} | ||
|
||
public static class Data { | ||
|
||
private String metricName; | ||
|
||
private List<Point> datapoints; | ||
|
||
public String getMetricName() { | ||
return this.metricName; | ||
} | ||
|
||
public void setMetricName(String metricName) { | ||
this.metricName = metricName; | ||
} | ||
|
||
public List<Point> getDatapoints() { | ||
return this.datapoints; | ||
} | ||
|
||
public void setDatapoints(List<Point> datapoints) { | ||
this.datapoints = datapoints; | ||
} | ||
|
||
public static class Point { | ||
|
||
private String dateTime; | ||
|
||
private Double average; | ||
|
||
public String getDateTime() { | ||
return this.dateTime; | ||
} | ||
|
||
public void setDateTime(String dateTime) { | ||
this.dateTime = dateTime; | ||
} | ||
|
||
public Double getAverage() { | ||
return this.average; | ||
} | ||
|
||
public void setAverage(Double average) { | ||
this.average = average; | ||
} | ||
} | ||
} | ||
|
||
@Override | ||
public ListPopTrafficStatisticsResponse getInstance(UnmarshallerContext context) { | ||
return ListPopTrafficStatisticsResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
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
Oops, something went wrong.