package baas

//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// ResultInUpgradeFabricChaincode is a nested struct in baas response
type ResultInUpgradeFabricChaincode struct {
	ChaincodeName    string `json:"ChaincodeName" xml:"ChaincodeName"`
	ChaincodeVersion string `json:"ChaincodeVersion" xml:"ChaincodeVersion"`
	Input            string `json:"Input" xml:"Input"`
	Type             int    `json:"Type" xml:"Type"`
	State            string `json:"State" xml:"State"`
	Path             string `json:"Path" xml:"Path"`
	ChaincodeId      string `json:"ChaincodeId" xml:"ChaincodeId"`
	Install          bool   `json:"Install" xml:"Install"`
	Message          string `json:"Message" xml:"Message"`
	CreateTime       string `json:"CreateTime" xml:"CreateTime"`
	DeployTime       string `json:"DeployTime" xml:"DeployTime"`
	ChannelName      string `json:"ChannelName" xml:"ChannelName"`
	EndorsePolicy    string `json:"EndorsePolicy" xml:"EndorsePolicy"`
	ConsortiumId     string `json:"ConsortiumId" xml:"ConsortiumId"`
	ProviderId       string `json:"ProviderId" xml:"ProviderId"`
	ProviderName     string `json:"ProviderName" xml:"ProviderName"`
}
