Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

55 строки
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 DisableSegmentRequest struct {
  9. DisableSegmentPath *DisableSegmentPath `json:"disableSegmentPath,omitempty"`
  10. }
  11. func (s DisableSegmentRequest) String() string {
  12. return utils.Beautify(s)
  13. }
  14. func (s DisableSegmentRequest) GoString() string {
  15. return s.String()
  16. }
  17. func (s DisableSegmentRequest) ToJsonString() string {
  18. return utils.ToJsonString(s)
  19. }
  20. func (s *DisableSegmentRequest) SetDisableSegmentPath(v *DisableSegmentPath) *DisableSegmentRequest {
  21. s.DisableSegmentPath = v
  22. return s
  23. }
  24. type DisableSegmentRequestBuilder struct {
  25. s *DisableSegmentRequest
  26. }
  27. func NewDisableSegmentRequestBuilder() *DisableSegmentRequestBuilder {
  28. s := &DisableSegmentRequest{}
  29. b := &DisableSegmentRequestBuilder{s: s}
  30. return b
  31. }
  32. func (b *DisableSegmentRequestBuilder) DisableSegmentPath(v *DisableSegmentPath) *DisableSegmentRequestBuilder {
  33. b.s.DisableSegmentPath = v
  34. return b
  35. }
  36. func (b *DisableSegmentRequestBuilder) Build() *DisableSegmentRequest {
  37. return b.s
  38. }