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.

// ApmAppInfo is a nested struct in emr response
type ApmAppInfo struct {
	ApplicationId       string  `json:"ApplicationId" xml:"ApplicationId"`
	ClusterBizId        string  `json:"ClusterBizId" xml:"ClusterBizId"`
	ApplicationType     string  `json:"ApplicationType" xml:"ApplicationType"`
	Name                string  `json:"Name" xml:"Name"`
	State               string  `json:"State" xml:"State"`
	FinalStatus         string  `json:"FinalStatus" xml:"FinalStatus"`
	Queue               string  `json:"Queue" xml:"Queue"`
	User                string  `json:"User" xml:"User"`
	AllocatedVcore      int64   `json:"AllocatedVcore" xml:"AllocatedVcore"`
	AllocatedMemory     int64   `json:"AllocatedMemory" xml:"AllocatedMemory"`
	Progress            float64 `json:"Progress" xml:"Progress"`
	VcoreSeconds        int64   `json:"VcoreSeconds" xml:"VcoreSeconds"`
	MemorySeconds       int64   `json:"MemorySeconds" xml:"MemorySeconds"`
	StartTime           int64   `json:"StartTime" xml:"StartTime"`
	SubmitTime          int64   `json:"SubmitTime" xml:"SubmitTime"`
	FinishedTime        int64   `json:"FinishedTime" xml:"FinishedTime"`
	Duration            int     `json:"Duration" xml:"Duration"`
	Diagnostics         string  `json:"Diagnostics" xml:"Diagnostics"`
	ClusterUsagePercent float64 `json:"ClusterUsagePercent" xml:"ClusterUsagePercent"`
	QueueUsagePercent   float64 `json:"QueueUsagePercent" xml:"QueueUsagePercent"`
	RunningContainers   int     `json:"RunningContainers" xml:"RunningContainers"`
	RunningDuration     int     `json:"RunningDuration" xml:"RunningDuration"`
	ResourceRequests    string  `json:"ResourceRequests" xml:"ResourceRequests"`
	DiagnoseResult      string  `json:"DiagnoseResult" xml:"DiagnoseResult"`
	DiagnoseCode        string  `json:"DiagnoseCode" xml:"DiagnoseCode"`
}
