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 BatchDeleteDocPath struct {
  10. position.Path
  11. DatasetId *string `json:"datasetId,omitempty"`
  12. }
  13. func (s BatchDeleteDocPath) String() string {
  14. return utils.Beautify(s)
  15. }
  16. func (s BatchDeleteDocPath) GoString() string {
  17. return s.String()
  18. }
  19. func (s BatchDeleteDocPath) ToJsonString() string {
  20. return utils.ToJsonString(s)
  21. }
  22. func (s *BatchDeleteDocPath) SetDatasetId(v string) *BatchDeleteDocPath {
  23. s.DatasetId = &v
  24. return s
  25. }
  26. type BatchDeleteDocPathBuilder struct {
  27. s *BatchDeleteDocPath
  28. }
  29. func NewBatchDeleteDocPathBuilder() *BatchDeleteDocPathBuilder {
  30. s := &BatchDeleteDocPath{}
  31. b := &BatchDeleteDocPathBuilder{s: s}
  32. return b
  33. }
  34. func (b *BatchDeleteDocPathBuilder) DatasetId(v string) *BatchDeleteDocPathBuilder {
  35. b.s.DatasetId = &v
  36. return b
  37. }
  38. func (b *BatchDeleteDocPathBuilder) Build() *BatchDeleteDocPath {
  39. return b.s
  40. }