struct_chaincode_vo.go 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package baas
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // ChaincodeVO is a nested struct in baas response
  17. type ChaincodeVO struct {
  18. Name string `json:"Name" xml:"Name"`
  19. Version string `json:"Version" xml:"Version"`
  20. Input string `json:"Input" xml:"Input"`
  21. Type int `json:"Type" xml:"Type"`
  22. State string `json:"State" xml:"State"`
  23. Path string `json:"Path" xml:"Path"`
  24. ChaincodeId string `json:"ChaincodeId" xml:"ChaincodeId"`
  25. Install bool `json:"Install" xml:"Install"`
  26. Message string `json:"Message" xml:"Message"`
  27. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  28. DeployTime string `json:"DeployTime" xml:"DeployTime"`
  29. ChannelName string `json:"ChannelName" xml:"ChannelName"`
  30. EndorsePolicy string `json:"EndorsePolicy" xml:"EndorsePolicy"`
  31. ConsortiumId string `json:"ConsortiumId" xml:"ConsortiumId"`
  32. ProviderId string `json:"ProviderId" xml:"ProviderId"`
  33. ProviderName string `json:"ProviderName" xml:"ProviderName"`
  34. ChannelId string `json:"ChannelId" xml:"ChannelId"`
  35. }