Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

56 Zeilen
979 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/position"
  7. "gitlab.ecloud.com/ecloud/ecloudsdkcore/utils"
  8. )
  9. type DetailPath struct {
  10. position.Path
  11. // 智能体Id(URL路径参数)
  12. AgentId *string `json:"agentId,omitempty"`
  13. }
  14. func (s DetailPath) String() string {
  15. return utils.Beautify(s)
  16. }
  17. func (s DetailPath) GoString() string {
  18. return s.String()
  19. }
  20. func (s DetailPath) ToJsonString() string {
  21. return utils.ToJsonString(s)
  22. }
  23. func (s *DetailPath) SetAgentId(v string) *DetailPath {
  24. s.AgentId = &v
  25. return s
  26. }
  27. type DetailPathBuilder struct {
  28. s *DetailPath
  29. }
  30. func NewDetailPathBuilder() *DetailPathBuilder {
  31. s := &DetailPath{}
  32. b := &DetailPathBuilder{s: s}
  33. return b
  34. }
  35. func (b *DetailPathBuilder) AgentId(v string) *DetailPathBuilder {
  36. b.s.AgentId = &v
  37. return b
  38. }
  39. func (b *DetailPathBuilder) Build() *DetailPath {
  40. return b.s
  41. }