package emr

//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.

// Component is a nested struct in emr response
type Component struct {
	HostId               string `json:"HostId" xml:"HostId"`
	PublicIp             string `json:"PublicIp" xml:"PublicIp"`
	NeedRestart          bool   `json:"NeedRestart" xml:"NeedRestart"`
	InstanceType         string `json:"InstanceType" xml:"InstanceType"`
	WorkloadType         string `json:"WorkloadType" xml:"WorkloadType"`
	ComponentDisplayName string `json:"ComponentDisplayName" xml:"ComponentDisplayName"`
	SerialNumber         string `json:"SerialNumber" xml:"SerialNumber"`
	Role                 string `json:"Role" xml:"Role"`
	PrivateIp            string `json:"PrivateIp" xml:"PrivateIp"`
	ServiceDisplayName   string `json:"ServiceDisplayName" xml:"ServiceDisplayName"`
	WorkloadName         string `json:"WorkloadName" xml:"WorkloadName"`
	ServiceName          string `json:"ServiceName" xml:"ServiceName"`
	HealthReportTime     int64  `json:"HealthReportTime" xml:"HealthReportTime"`
	HostInstanceId       string `json:"HostInstanceId" xml:"HostInstanceId"`
	Memory               int    `json:"Memory" xml:"Memory"`
	ComponentName        string `json:"ComponentName" xml:"ComponentName"`
	CommissionStatus     string `json:"CommissionStatus" xml:"CommissionStatus"`
	State                string `json:"State" xml:"State"`
	PodName              string `json:"PodName" xml:"PodName"`
	ServerStatus         string `json:"ServerStatus" xml:"ServerStatus"`
	Namespace            string `json:"Namespace" xml:"Namespace"`
	HealthStatus         string `json:"HealthStatus" xml:"HealthStatus"`
	HostName             string `json:"HostName" xml:"HostName"`
	DesiredCount         int    `json:"DesiredCount" xml:"DesiredCount"`
	Status               string `json:"Status" xml:"Status"`
	Cpu                  int    `json:"Cpu" xml:"Cpu"`
}
