package sddp

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

// Rule is a nested struct in sddp response
type Rule struct {
	Name                string          `json:"Name" xml:"Name"`
	ProductId           int64           `json:"ProductId" xml:"ProductId"`
	TemplateId          int64           `json:"TemplateId" xml:"TemplateId"`
	RuleName            string          `json:"RuleName" xml:"RuleName"`
	InstanceDescription string          `json:"InstanceDescription" xml:"InstanceDescription"`
	CategoryName        string          `json:"CategoryName" xml:"CategoryName"`
	DataType            string          `json:"DataType" xml:"DataType"`
	ColumnName          string          `json:"ColumnName" xml:"ColumnName"`
	InstanceId          string          `json:"InstanceId" xml:"InstanceId"`
	ColumnComment       string          `json:"ColumnComment" xml:"ColumnComment"`
	RuleId              int64           `json:"RuleId" xml:"RuleId"`
	Id                  string          `json:"Id" xml:"Id"`
	PrimaryKey          bool            `json:"PrimaryKey" xml:"PrimaryKey"`
	Path                string          `json:"Path" xml:"Path"`
	RiskLevelName       string          `json:"RiskLevelName" xml:"RiskLevelName"`
	RegionName          string          `json:"RegionName" xml:"RegionName"`
	ProductCode         string          `json:"ProductCode" xml:"ProductCode"`
	LastScanTime        int64           `json:"LastScanTime" xml:"LastScanTime"`
	DisplayName         string          `json:"DisplayName" xml:"DisplayName"`
	Count               int64           `json:"Count" xml:"Count"`
	ObjectType          string          `json:"ObjectType" xml:"ObjectType"`
	Category            int             `json:"Category" xml:"Category"`
	RiskLevelId         int64           `json:"RiskLevelId" xml:"RiskLevelId"`
	ObjectFileCategory  string          `json:"ObjectFileCategory" xml:"ObjectFileCategory"`
	SensitiveCount      int             `json:"SensitiveCount" xml:"SensitiveCount"`
	Categories          []string        `json:"Categories" xml:"Categories"`
	SampleList          []string        `json:"SampleList" xml:"SampleList"`
	RuleList            []RuleListItem  `json:"RuleList" xml:"RuleList"`
	ModelTags           []ModelTagsItem `json:"ModelTags" xml:"ModelTags"`
}
