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 line
947 B

  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 DetailRequest struct {
  9. DetailPath *DetailPath `json:"detailPath,omitempty"`
  10. }
  11. func (s DetailRequest) String() string {
  12. return utils.Beautify(s)
  13. }
  14. func (s DetailRequest) GoString() string {
  15. return s.String()
  16. }
  17. func (s DetailRequest) ToJsonString() string {
  18. return utils.ToJsonString(s)
  19. }
  20. func (s *DetailRequest) SetDetailPath(v *DetailPath) *DetailRequest {
  21. s.DetailPath = v
  22. return s
  23. }
  24. type DetailRequestBuilder struct {
  25. s *DetailRequest
  26. }
  27. func NewDetailRequestBuilder() *DetailRequestBuilder {
  28. s := &DetailRequest{}
  29. b := &DetailRequestBuilder{s: s}
  30. return b
  31. }
  32. func (b *DetailRequestBuilder) DetailPath(v *DetailPath) *DetailRequestBuilder {
  33. b.s.DetailPath = v
  34. return b
  35. }
  36. func (b *DetailRequestBuilder) Build() *DetailRequest {
  37. return b.s
  38. }