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
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/position"
  7. "gitlab.ecloud.com/ecloud/ecloudsdkcore/utils"
  8. )
  9. type BatchDeleteDocBody struct {
  10. position.Body
  11. // 文档id列表
  12. DocIds []string `json:"docIds,omitempty"`
  13. }
  14. func (s BatchDeleteDocBody) String() string {
  15. return utils.Beautify(s)
  16. }
  17. func (s BatchDeleteDocBody) GoString() string {
  18. return s.String()
  19. }
  20. func (s BatchDeleteDocBody) ToJsonString() string {
  21. return utils.ToJsonString(s)
  22. }
  23. func (s *BatchDeleteDocBody) SetDocIds(v []string) *BatchDeleteDocBody {
  24. s.DocIds = v
  25. return s
  26. }
  27. type BatchDeleteDocBodyBuilder struct {
  28. s *BatchDeleteDocBody
  29. }
  30. func NewBatchDeleteDocBodyBuilder() *BatchDeleteDocBodyBuilder {
  31. s := &BatchDeleteDocBody{}
  32. b := &BatchDeleteDocBodyBuilder{s: s}
  33. return b
  34. }
  35. func (b *BatchDeleteDocBodyBuilder) DocIds(v []string) *BatchDeleteDocBodyBuilder {
  36. b.s.DocIds = v
  37. return b
  38. }
  39. func (b *BatchDeleteDocBodyBuilder) Build() *BatchDeleteDocBody {
  40. return b.s
  41. }