package dataworks_public

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

// RuleChecksItem is a nested struct in dataworks_public response
type RuleChecksItem struct {
	Open              bool                 `json:"Open" xml:"Open"`
	MethodName        string               `json:"MethodName" xml:"MethodName"`
	CheckerId         int                  `json:"CheckerId" xml:"CheckerId"`
	TemplateName      string               `json:"TemplateName" xml:"TemplateName"`
	Op                string               `json:"Op" xml:"Op"`
	RuleName          string               `json:"RuleName" xml:"RuleName"`
	TemplateId        int                  `json:"TemplateId" xml:"TemplateId"`
	IsPrediction      bool                 `json:"IsPrediction" xml:"IsPrediction"`
	WhereCondition    string               `json:"WhereCondition" xml:"WhereCondition"`
	BlockType         int                  `json:"BlockType" xml:"BlockType"`
	EndTime           int64                `json:"EndTime" xml:"EndTime"`
	Property          string               `json:"Property" xml:"Property"`
	TimeCost          string               `json:"TimeCost" xml:"TimeCost"`
	BizDate           int64                `json:"BizDate" xml:"BizDate"`
	Comment           string               `json:"Comment" xml:"Comment"`
	TaskId            string               `json:"TaskId" xml:"TaskId"`
	WarningThreshold  float64              `json:"WarningThreshold" xml:"WarningThreshold"`
	CheckResult       int                  `json:"CheckResult" xml:"CheckResult"`
	CheckerType       int                  `json:"CheckerType" xml:"CheckerType"`
	ProjectName       string               `json:"ProjectName" xml:"ProjectName"`
	RuleId            int64                `json:"RuleId" xml:"RuleId"`
	ExpectValue       float64              `json:"ExpectValue" xml:"ExpectValue"`
	CriticalThreshold float64              `json:"CriticalThreshold" xml:"CriticalThreshold"`
	MatchExpression   string               `json:"MatchExpression" xml:"MatchExpression"`
	DateType          string               `json:"DateType" xml:"DateType"`
	LowerValue        float64              `json:"LowerValue" xml:"LowerValue"`
	Id                int64                `json:"Id" xml:"Id"`
	ExternalId        string               `json:"ExternalId" xml:"ExternalId"`
	TableName         string               `json:"TableName" xml:"TableName"`
	ActualExpression  string               `json:"ActualExpression" xml:"ActualExpression"`
	Trend             string               `json:"Trend" xml:"Trend"`
	EntityId          int64                `json:"EntityId" xml:"EntityId"`
	BeginTime         int64                `json:"BeginTime" xml:"BeginTime"`
	ExternalType      string               `json:"ExternalType" xml:"ExternalType"`
	DiscreteCheck     bool                 `json:"DiscreteCheck" xml:"DiscreteCheck"`
	ResultString      string               `json:"ResultString" xml:"ResultString"`
	CheckerName       string               `json:"CheckerName" xml:"CheckerName"`
	UpperValue        float64              `json:"UpperValue" xml:"UpperValue"`
	CheckResultStatus int                  `json:"CheckResultStatus" xml:"CheckResultStatus"`
	FixedCheck        bool                 `json:"FixedCheck" xml:"FixedCheck"`
	SampleValue       []SampleValueItem    `json:"SampleValue" xml:"SampleValue"`
	ReferenceValue    []ReferenceValueItem `json:"ReferenceValue" xml:"ReferenceValue"`
}
