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.
 
 
 

56 lines
992 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 DeleteDocPath struct {
  10. position.Path
  11. // 文档 Id
  12. DocId *string `json:"docId,omitempty"`
  13. }
  14. func (s DeleteDocPath) String() string {
  15. return utils.Beautify(s)
  16. }
  17. func (s DeleteDocPath) GoString() string {
  18. return s.String()
  19. }
  20. func (s DeleteDocPath) ToJsonString() string {
  21. return utils.ToJsonString(s)
  22. }
  23. func (s *DeleteDocPath) SetDocId(v string) *DeleteDocPath {
  24. s.DocId = &v
  25. return s
  26. }
  27. type DeleteDocPathBuilder struct {
  28. s *DeleteDocPath
  29. }
  30. func NewDeleteDocPathBuilder() *DeleteDocPathBuilder {
  31. s := &DeleteDocPath{}
  32. b := &DeleteDocPathBuilder{s: s}
  33. return b
  34. }
  35. func (b *DeleteDocPathBuilder) DocId(v string) *DeleteDocPathBuilder {
  36. b.s.DocId = &v
  37. return b
  38. }
  39. func (b *DeleteDocPathBuilder) Build() *DeleteDocPath {
  40. return b.s
  41. }