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.
 
 
 

55 lines
1.1 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/utils"
  7. )
  8. type EnableSegmentRequest struct {
  9. EnableSegmentPath *EnableSegmentPath `json:"enableSegmentPath,omitempty"`
  10. }
  11. func (s EnableSegmentRequest) String() string {
  12. return utils.Beautify(s)
  13. }
  14. func (s EnableSegmentRequest) GoString() string {
  15. return s.String()
  16. }
  17. func (s EnableSegmentRequest) ToJsonString() string {
  18. return utils.ToJsonString(s)
  19. }
  20. func (s *EnableSegmentRequest) SetEnableSegmentPath(v *EnableSegmentPath) *EnableSegmentRequest {
  21. s.EnableSegmentPath = v
  22. return s
  23. }
  24. type EnableSegmentRequestBuilder struct {
  25. s *EnableSegmentRequest
  26. }
  27. func NewEnableSegmentRequestBuilder() *EnableSegmentRequestBuilder {
  28. s := &EnableSegmentRequest{}
  29. b := &EnableSegmentRequestBuilder{s: s}
  30. return b
  31. }
  32. func (b *EnableSegmentRequestBuilder) EnableSegmentPath(v *EnableSegmentPath) *EnableSegmentRequestBuilder {
  33. b.s.EnableSegmentPath = v
  34. return b
  35. }
  36. func (b *EnableSegmentRequestBuilder) Build() *EnableSegmentRequest {
  37. return b.s
  38. }