forked from huaweicloud/huaweicloud-sdk-go-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_list_vpc_channels_v2_request.go
53 lines (37 loc) · 1.65 KB
/
model_list_vpc_channels_v2_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package model
import (
"github.com/dysodeng/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
// ListVpcChannelsV2Request Request Object
type ListVpcChannelsV2Request struct {
// 实例ID,在API网关控制台的“实例信息”中获取。
InstanceId string `json:"instance_id"`
// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
Offset *int64 `json:"offset,omitempty"`
// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
Limit *int32 `json:"limit,omitempty"`
// VPC通道的编号
Id *string `json:"id,omitempty"`
// VPC通道的名称
Name *string `json:"name,omitempty"`
// VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持
DictCode *string `json:"dict_code,omitempty"`
// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。
PreciseSearch *string `json:"precise_search,omitempty"`
// 后端服务地址。默认精确查询,不支持模糊查询。
MemberHost *string `json:"member_host,omitempty"`
// 后端服务器端口
MemberPort *int32 `json:"member_port,omitempty"`
// 后端服务器组名称
MemberGroupName *string `json:"member_group_name,omitempty"`
// 后端服务器组编号
MemberGroupId *string `json:"member_group_id,omitempty"`
}
func (o ListVpcChannelsV2Request) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ListVpcChannelsV2Request struct{}"
}
return strings.Join([]string{"ListVpcChannelsV2Request", string(data)}, " ")
}