package slb

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

// Listener is a nested struct in slb response
type Listener struct {
	AclType             string                                `json:"AclType" xml:"AclType"`
	Port                int                                   `json:"Port" xml:"Port"`
	Protocol            string                                `json:"Protocol" xml:"Protocol"`
	ServiceManagedMode  string                                `json:"ServiceManagedMode" xml:"ServiceManagedMode"`
	AclId               string                                `json:"AclId" xml:"AclId"`
	AclStatus           string                                `json:"AclStatus" xml:"AclStatus"`
	ListenerProtocol    string                                `json:"ListenerProtocol" xml:"ListenerProtocol"`
	LoadBalancerId      string                                `json:"LoadBalancerId" xml:"LoadBalancerId"`
	Scheduler           string                                `json:"Scheduler" xml:"Scheduler"`
	BackendServerPort   int                                   `json:"BackendServerPort" xml:"BackendServerPort"`
	VServerGroupId      string                                `json:"VServerGroupId" xml:"VServerGroupId"`
	Bandwidth           int                                   `json:"Bandwidth" xml:"Bandwidth"`
	BackendProtocol     string                                `json:"BackendProtocol" xml:"BackendProtocol"`
	Status              string                                `json:"Status" xml:"Status"`
	ListenerPort        int                                   `json:"ListenerPort" xml:"ListenerPort"`
	Description         string                                `json:"Description" xml:"Description"`
	AclIds              AclIdsInDescribeLoadBalancerListeners `json:"AclIds" xml:"AclIds"`
	HTTPSListenerConfig HTTPSListenerConfig                   `json:"HTTPSListenerConfig" xml:"HTTPSListenerConfig"`
	TCPListenerConfig   TCPListenerConfig                     `json:"TCPListenerConfig" xml:"TCPListenerConfig"`
	UDPListenerConfig   UDPListenerConfig                     `json:"UDPListenerConfig" xml:"UDPListenerConfig"`
	HTTPListenerConfig  HTTPListenerConfig                    `json:"HTTPListenerConfig" xml:"HTTPListenerConfig"`
	TCPSListenerConfig  TCPSListenerConfig                    `json:"TCPSListenerConfig" xml:"TCPSListenerConfig"`
	Tags                []Tag                                 `json:"Tags" xml:"Tags"`
}
