package adb

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

// PatternDetailsItem is a nested struct in adb response
type PatternDetailsItem struct {
	SQLPattern           string `json:"SQLPattern" xml:"SQLPattern"`
	PatternId            string `json:"PatternId" xml:"PatternId"`
	User                 string `json:"User" xml:"User"`
	AccessIp             string `json:"AccessIp" xml:"AccessIp"`
	Tables               string `json:"Tables" xml:"Tables"`
	PatternCreationTime  string `json:"PatternCreationTime" xml:"PatternCreationTime"`
	AverageQueryTime     string `json:"AverageQueryTime" xml:"AverageQueryTime"`
	MaxQueryTime         int64  `json:"MaxQueryTime" xml:"MaxQueryTime"`
	AverageExecutionTime string `json:"AverageExecutionTime" xml:"AverageExecutionTime"`
	MaxExecutionTime     int64  `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
	AveragePeakMemory    string `json:"AveragePeakMemory" xml:"AveragePeakMemory"`
	MaxPeakMemory        int64  `json:"MaxPeakMemory" xml:"MaxPeakMemory"`
	AverageScanSize      string `json:"AverageScanSize" xml:"AverageScanSize"`
	MaxScanSize          int64  `json:"MaxScanSize" xml:"MaxScanSize"`
	QueryCount           int64  `json:"QueryCount" xml:"QueryCount"`
	FailedCount          int64  `json:"FailedCount" xml:"FailedCount"`
	Blockable            bool   `json:"Blockable" xml:"Blockable"`
}
