選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

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