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
1007 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 GetAssetPath struct {
  10. position.Path
  11. // 素材ID(火山素材ID)
  12. AssetId *string `json:"assetId,omitempty"`
  13. }
  14. func (s GetAssetPath) String() string {
  15. return utils.Beautify(s)
  16. }
  17. func (s GetAssetPath) GoString() string {
  18. return s.String()
  19. }
  20. func (s GetAssetPath) ToJsonString() string {
  21. return utils.ToJsonString(s)
  22. }
  23. func (s *GetAssetPath) SetAssetId(v string) *GetAssetPath {
  24. s.AssetId = &v
  25. return s
  26. }
  27. type GetAssetPathBuilder struct {
  28. s *GetAssetPath
  29. }
  30. func NewGetAssetPathBuilder() *GetAssetPathBuilder {
  31. s := &GetAssetPath{}
  32. b := &GetAssetPathBuilder{s: s}
  33. return b
  34. }
  35. func (b *GetAssetPathBuilder) AssetId(v string) *GetAssetPathBuilder {
  36. b.s.AssetId = &v
  37. return b
  38. }
  39. func (b *GetAssetPathBuilder) Build() *GetAssetPath {
  40. return b.s
  41. }