You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 line
1.2 KiB

  1. // @Title Golang SDK Client
  2. // @Description This code is auto generated
  3. // @Author Ecloud SDK
  4. package model
  5. import (
  6. "gitlab.ecloud.com/ecloud/ecloudsdkcore/position"
  7. "gitlab.ecloud.com/ecloud/ecloudsdkcore/utils"
  8. )
  9. type AutoRenewOrderBody struct {
  10. position.Body
  11. // 自动续订设置列表
  12. AutoRenewList *[]AutoRenewOrderRequestAutoRenewList `json:"autoRenewList,omitempty"`
  13. }
  14. func (s AutoRenewOrderBody) String() string {
  15. return utils.Beautify(s)
  16. }
  17. func (s AutoRenewOrderBody) GoString() string {
  18. return s.String()
  19. }
  20. func (s AutoRenewOrderBody) ToJsonString() string {
  21. return utils.ToJsonString(s)
  22. }
  23. func (s *AutoRenewOrderBody) SetAutoRenewList(v []AutoRenewOrderRequestAutoRenewList) *AutoRenewOrderBody {
  24. s.AutoRenewList = &v
  25. return s
  26. }
  27. type AutoRenewOrderBodyBuilder struct {
  28. s *AutoRenewOrderBody
  29. }
  30. func NewAutoRenewOrderBodyBuilder() *AutoRenewOrderBodyBuilder {
  31. s := &AutoRenewOrderBody{}
  32. b := &AutoRenewOrderBodyBuilder{s: s}
  33. return b
  34. }
  35. func (b *AutoRenewOrderBodyBuilder) AutoRenewList(v []AutoRenewOrderRequestAutoRenewList) *AutoRenewOrderBodyBuilder {
  36. b.s.AutoRenewList = &v
  37. return b
  38. }
  39. func (b *AutoRenewOrderBodyBuilder) Build() *AutoRenewOrderBody {
  40. return b.s
  41. }