|
| 1 | +/** |
| 2 | + * Copyright 2021 UCloud Technology Co., Ltd. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +package cn.ucloud.ufile.models; |
| 18 | + |
| 19 | +import java.util.List; |
| 20 | + |
| 21 | + |
| 22 | +import cn.ucloud.common.request.Request; |
| 23 | +import cn.ucloud.common.annotation.NotEmpty; |
| 24 | +import cn.ucloud.common.annotation.UCloudParam; |
| 25 | + |
| 26 | +public class GetUFileDailyBillRequest extends Request { |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + /** |
| 31 | + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) |
| 32 | + */ |
| 33 | + @NotEmpty |
| 34 | + @UCloudParam("Region") |
| 35 | + private String region; |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + /** |
| 40 | + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) |
| 41 | + */ |
| 42 | + @UCloudParam("ProjectId") |
| 43 | + private String projectId; |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + /** |
| 48 | + * 查询开始时间;unix时间戳,单位s |
| 49 | + */ |
| 50 | + @NotEmpty |
| 51 | + @UCloudParam("StartTime") |
| 52 | + private Integer startTime; |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + /** |
| 57 | + * 查询结束时间;unix时间戳,单位s |
| 58 | + */ |
| 59 | + @NotEmpty |
| 60 | + @UCloudParam("EndTime") |
| 61 | + private Integer endTime; |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + /** |
| 66 | + * 空间名称。此字段不为空,返回此Bucket日账单,否则,返回这个项目的日账单 |
| 67 | + */ |
| 68 | + @UCloudParam("BucketName") |
| 69 | + private String bucketName; |
| 70 | + |
| 71 | + |
| 72 | + public String getRegion() { |
| 73 | + return region; |
| 74 | + } |
| 75 | + |
| 76 | + public void setRegion(String region) { |
| 77 | + this.region = region; |
| 78 | + } |
| 79 | + |
| 80 | + public String getProjectId() { |
| 81 | + return projectId; |
| 82 | + } |
| 83 | + |
| 84 | + public void setProjectId(String projectId) { |
| 85 | + this.projectId = projectId; |
| 86 | + } |
| 87 | + |
| 88 | + public Integer getStartTime() { |
| 89 | + return startTime; |
| 90 | + } |
| 91 | + |
| 92 | + public void setStartTime(Integer startTime) { |
| 93 | + this.startTime = startTime; |
| 94 | + } |
| 95 | + |
| 96 | + public Integer getEndTime() { |
| 97 | + return endTime; |
| 98 | + } |
| 99 | + |
| 100 | + public void setEndTime(Integer endTime) { |
| 101 | + this.endTime = endTime; |
| 102 | + } |
| 103 | + |
| 104 | + public String getBucketName() { |
| 105 | + return bucketName; |
| 106 | + } |
| 107 | + |
| 108 | + public void setBucketName(String bucketName) { |
| 109 | + this.bucketName = bucketName; |
| 110 | + } |
| 111 | + |
| 112 | +} |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
0 commit comments