Segment.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright 2018 JDCLOUD.COM
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. //
  15. // NOTE: This class is auto generated by the jdcloud code generator program.
  16. package models
  17. type Segment struct {
  18. /* 网段的Id (Optional) */
  19. SegmentId string `json:"segmentId"`
  20. /* 网段名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) */
  21. SegmentName string `json:"segmentName"`
  22. /* 网段描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */
  23. Description string `json:"description"`
  24. /* 网络地址段 (Optional) */
  25. AddressPrefix string `json:"addressPrefix"`
  26. /* 网段可用ip数量 (Optional) */
  27. AvailableIpCount int `json:"availableIpCount"`
  28. /* IP服务商,取值为bgp或no_bgp,cn-north-1:bgp;cn-south-1:bgp;cn-east-1:bgp;cn-east-2:bgp (Optional) */
  29. Provider string `json:"provider"`
  30. /* 网段的起始地址 (Optional) */
  31. StartIp string `json:"startIp"`
  32. /* 网段的结束地址 (Optional) */
  33. EndIp string `json:"endIp"`
  34. }