package ecs

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

// Permission is a nested struct in ecs response
type Permission struct {
	SecurityGroupRuleId     string `json:"SecurityGroupRuleId" xml:"SecurityGroupRuleId"`
	Direction               string `json:"Direction" xml:"Direction"`
	SourceGroupId           string `json:"SourceGroupId" xml:"SourceGroupId"`
	DestGroupOwnerAccount   string `json:"DestGroupOwnerAccount" xml:"DestGroupOwnerAccount"`
	DestPrefixListId        string `json:"DestPrefixListId" xml:"DestPrefixListId"`
	DestPrefixListName      string `json:"DestPrefixListName" xml:"DestPrefixListName"`
	SourceCidrIp            string `json:"SourceCidrIp" xml:"SourceCidrIp"`
	Ipv6DestCidrIp          string `json:"Ipv6DestCidrIp" xml:"Ipv6DestCidrIp"`
	CreateTime              string `json:"CreateTime" xml:"CreateTime"`
	Ipv6SourceCidrIp        string `json:"Ipv6SourceCidrIp" xml:"Ipv6SourceCidrIp"`
	DestGroupId             string `json:"DestGroupId" xml:"DestGroupId"`
	DestCidrIp              string `json:"DestCidrIp" xml:"DestCidrIp"`
	IpProtocol              string `json:"IpProtocol" xml:"IpProtocol"`
	Priority                string `json:"Priority" xml:"Priority"`
	DestGroupName           string `json:"DestGroupName" xml:"DestGroupName"`
	NicType                 string `json:"NicType" xml:"NicType"`
	Policy                  string `json:"Policy" xml:"Policy"`
	Description             string `json:"Description" xml:"Description"`
	PortRange               string `json:"PortRange" xml:"PortRange"`
	SourcePrefixListName    string `json:"SourcePrefixListName" xml:"SourcePrefixListName"`
	SourcePrefixListId      string `json:"SourcePrefixListId" xml:"SourcePrefixListId"`
	SourceGroupOwnerAccount string `json:"SourceGroupOwnerAccount" xml:"SourceGroupOwnerAccount"`
	SourceGroupName         string `json:"SourceGroupName" xml:"SourceGroupName"`
	SourcePortRange         string `json:"SourcePortRange" xml:"SourcePortRange"`
}
