package nlb

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

// ListenerInfo is a nested struct in nlb response
type ListenerInfo struct {
	LoadBalancerId       string      `json:"LoadBalancerId" xml:"LoadBalancerId"`
	ListenerId           string      `json:"ListenerId" xml:"ListenerId"`
	ListenerProtocol     string      `json:"ListenerProtocol" xml:"ListenerProtocol"`
	ListenerPort         int         `json:"ListenerPort" xml:"ListenerPort"`
	StartPort            string      `json:"StartPort" xml:"StartPort"`
	EndPort              string      `json:"EndPort" xml:"EndPort"`
	ListenerDescription  string      `json:"ListenerDescription" xml:"ListenerDescription"`
	ServerGroupId        string      `json:"ServerGroupId" xml:"ServerGroupId"`
	IdleTimeout          int         `json:"IdleTimeout" xml:"IdleTimeout"`
	SecurityPolicyId     string      `json:"SecurityPolicyId" xml:"SecurityPolicyId"`
	CaEnabled            bool        `json:"CaEnabled" xml:"CaEnabled"`
	ListenerStatus       string      `json:"ListenerStatus" xml:"ListenerStatus"`
	RegionId             string      `json:"RegionId" xml:"RegionId"`
	AlpnEnabled          bool        `json:"AlpnEnabled" xml:"AlpnEnabled"`
	AlpnPolicy           string      `json:"AlpnPolicy" xml:"AlpnPolicy"`
	SecSensorEnabled     bool        `json:"SecSensorEnabled" xml:"SecSensorEnabled"`
	ProxyProtocolEnabled bool        `json:"ProxyProtocolEnabled" xml:"ProxyProtocolEnabled"`
	Cps                  int         `json:"Cps" xml:"Cps"`
	Mss                  int         `json:"Mss" xml:"Mss"`
	CertificateIds       []string    `json:"CertificateIds" xml:"CertificateIds"`
	CaCertificateIds     []string    `json:"CaCertificateIds" xml:"CaCertificateIds"`
	Tags                 []TagModels `json:"Tags" xml:"Tags"`
}
