@@ -32,9 +32,6 @@ type DescribeAlarmsRequest struct {
3232 /* 分页大小,默认为20 (Optional) */
3333 PageSize * int `json:"pageSize"`
3434
35- /* 是否查询全部,默认分页 (Optional) */
36- All * int `json:"all"`
37-
3835 /* 资源类型 bandwidth:带宽 (Optional) */
3936 ResourceType * string `json:"resourceType"`
4037
@@ -50,6 +47,7 @@ type DescribeAlarmsRequest struct {
5047 /* alarmId - 规则实施ID,精确匹配,支持多个
5148 (Optional) */
5249 Filters []common.Filter `json:"filters"`
50+
5351}
5452
5553/*
@@ -72,7 +70,6 @@ func NewDescribeAlarmsRequest(
7270/*
7371 * param pageNumber: 页码, 默认为1 (Optional)
7472 * param pageSize: 分页大小,默认为20 (Optional)
75- * param all: 是否查询全部,默认分页 (Optional)
7673 * param resourceType: 资源类型 bandwidth:带宽 (Optional)
7774 * param resourceId: 资源ID,指定resourceId时须指定resourceType (Optional)
7875 * param idc: 机房英文标识 (Optional)
@@ -83,7 +80,6 @@ func NewDescribeAlarmsRequest(
8380func NewDescribeAlarmsRequestWithAllParams (
8481 pageNumber * int ,
8582 pageSize * int ,
86- all * int ,
8783 resourceType * string ,
8884 resourceId * string ,
8985 idc * string ,
@@ -100,7 +96,6 @@ func NewDescribeAlarmsRequestWithAllParams(
10096 },
10197 PageNumber : pageNumber ,
10298 PageSize : pageSize ,
103- All : all ,
10499 ResourceType : resourceType ,
105100 ResourceId : resourceId ,
106101 Idc : idc ,
@@ -132,11 +127,6 @@ func (r *DescribeAlarmsRequest) SetPageSize(pageSize int) {
132127 r .PageSize = & pageSize
133128}
134129
135- /* param all: 是否查询全部,默认分页(Optional) */
136- func (r * DescribeAlarmsRequest ) SetAll (all int ) {
137- r .All = & all
138- }
139-
140130/* param resourceType: 资源类型 bandwidth:带宽(Optional) */
141131func (r * DescribeAlarmsRequest ) SetResourceType (resourceType string ) {
142132 r .ResourceType = & resourceType
@@ -163,6 +153,7 @@ func (r *DescribeAlarmsRequest) SetFilters(filters []common.Filter) {
163153 r .Filters = filters
164154}
165155
156+
166157// GetRegionId returns path parameter 'regionId' if exist,
167158// otherwise return empty string
168159func (r DescribeAlarmsRequest ) GetRegionId () string {
0 commit comments