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