text: # MIT LICENSE
  #
  # Copyright 1997 - 2020 by IXIA Keysight
  #
  # Permission is hereby granted, free of charge, to any person obtaining a copy
  # of this software and associated documentation files (the "Software"),
  # to deal in the Software without restriction, including without limitation
  # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  # and/or sell copies of the Software, and to permit persons to whom the
  # Software is furnished to do so, subject to the following conditions:
  #
  # The above copyright notice and this permission notice shall be included in
  # all copies or substantial portions of the Software.
  #
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  # THE SOFTWARE. 
  from ixnetwork_restpy.base import Base
  from ixnetwork_restpy.files import Files
  
  
  class SwitchFlowLearnedInfo(Base):
      """This object allows to configure the switch flow learned information parameters.
      The SwitchFlowLearnedInfo class encapsulates a list of switchFlowLearnedInfo resources that are managed by the system.
      A list of resources can be retrieved from the server using the SwitchFlowLearnedInfo.find() method.
      """
  
      __slots__ = ()
      _SDM_NAME = 'switchFlowLearnedInfo'
      _SDM_ATT_MAP = {
          'ActiveNanoSeconds': 'activeNanoSeconds',
          'ActiveSeconds': 'activeSeconds',
          'ArpDstHwAddress': 'arpDstHwAddress',
          'ArpDstHwAddressMask': 'arpDstHwAddressMask',
          'ArpDstIpv4Address': 'arpDstIpv4Address',
          'ArpDstIpv4AddressMask': 'arpDstIpv4AddressMask',
          'ArpOpcode': 'arpOpcode',
          'ArpSrcHwAddress': 'arpSrcHwAddress',
          'ArpSrcHwAddressMask': 'arpSrcHwAddressMask',
          'ArpSrcIpv4Address': 'arpSrcIpv4Address',
          'ArpSrcIpv4AddressMask': 'arpSrcIpv4AddressMask',
          'BytesCount': 'bytesCount',
          'Cookie': 'cookie',
          'CookieMask': 'cookieMask',
          'DataPathId': 'dataPathId',
          'DataPathIdAsHex': 'dataPathIdAsHex',
          'EthernetDestination': 'ethernetDestination',
          'EthernetDestinationMask': 'ethernetDestinationMask',
          'EthernetSource': 'ethernetSource',
          'EthernetSourceMask': 'ethernetSourceMask',
          'EthernetType': 'ethernetType',
          'ExperimenterData': 'experimenterData',
          'ExperimenterDataLength': 'experimenterDataLength',
          'ExperimenterField': 'experimenterField',
          'ExperimenterHashMask': 'experimenterHashMask',
          'ExperimenterId': 'experimenterId',
          'Flags': 'flags',
          'HardTimeout': 'hardTimeout',
          'Icmpv4Code': 'icmpv4Code',
          'Icmpv4Type': 'icmpv4Type',
          'Icmpv6Code': 'icmpv6Code',
          'Icmpv6Type': 'icmpv6Type',
          'IdleTimeout': 'idleTimeout',
          'InPort': 'inPort',
          'IpDscp': 'ipDscp',
          'IpEcn': 'ipEcn',
          'IpProtocol': 'ipProtocol',
          'Ipv4Destination': 'ipv4Destination',
          'Ipv4Source': 'ipv4Source',
          'Ipv6Destination': 'ipv6Destination',
          'Ipv6DestinationMask': 'ipv6DestinationMask',
          'Ipv6ExtHeader': 'ipv6ExtHeader',
          'Ipv6ExtHeaderMask': 'ipv6ExtHeaderMask',
          'Ipv6FlowLabel': 'ipv6FlowLabel',
          'Ipv6FlowLabelMask': 'ipv6FlowLabelMask',
          'Ipv6NdDll': 'ipv6NdDll',
          'Ipv6NdSll': 'ipv6NdSll',
          'Ipv6NdTarget': 'ipv6NdTarget',
          'Ipv6Source': 'ipv6Source',
          'Ipv6SourceMask': 'ipv6SourceMask',
          'LocalIp': 'localIp',
          'Metadata': 'metadata',
          'MetadataMask': 'metadataMask',
          'MplsBos': 'mplsBos',
          'MplsLabel': 'mplsLabel',
          'MplsTc': 'mplsTc',
          'NegotiatedVersion': 'negotiatedVersion',
          'NumberOfInstructions': 'numberOfInstructions',
          'NumberofActions': 'numberofActions',
          'OutGroup': 'outGroup',
          'OutPort': 'outPort',
          'PacketsCount': 'packetsCount',
          'PbbIsid': 'pbbIsid',
          'PbbIsidMask': 'pbbIsidMask',
          'PhysicalInPort': 'physicalInPort',
          'Priority': 'priority',
          'RemoteIp': 'remoteIp',
          'SctpDestination': 'sctpDestination',
          'SctpSource': 'sctpSource',
          'TableId': 'tableId',
          'TcpDestination': 'tcpDestination',
          'TcpSource': 'tcpSource',
          'TransportDestination': 'transportDestination',
          'TransportSource': 'transportSource',
          'TunnelId': 'tunnelId',
          'TunnelIdMask': 'tunnelIdMask',
          'UdpDestination': 'udpDestination',
          'UdpSource': 'udpSource',
          'VlanId': 'vlanId',
          'VlanMask': 'vlanMask',
          'VlanPriority': 'vlanPriority',
      }
  
      def __init__(self, parent):
          super(SwitchFlowLearnedInfo, self).__init__(parent)
  
      @property
      def SwitchActionLearnedInfo(self):
          """
          Returns
          -------
          - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.switchactionlearnedinfo_bdf22d3ada1e6a5c89980c5bf98ceac9.SwitchActionLearnedInfo): An instance of the SwitchActionLearnedInfo class
  
          Raises
          ------
          - ServerError: The server has encountered an uncategorized error condition
          """
          from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.switchactionlearnedinfo_bdf22d3ada1e6a5c89980c5bf98ceac9 import SwitchActionLearnedInfo
          if self._properties.get('SwitchActionLearnedInfo', None) is None:
              return SwitchActionLearnedInfo(self)
          else:
              return self._properties.get('SwitchActionLearnedInfo')
  
      @property
      def SwitchFlowInstructionLearnedInfo(self):
          """
          Returns
          -------
          - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.switchflowinstructionlearnedinfo_5451e83ce696adc1d992ab98b9315891.SwitchFlowInstructionLearnedInfo): An instance of the SwitchFlowInstructionLearnedInfo class
  
          Raises
          ------
          - ServerError: The server has encountered an uncategorized error condition
          """
          from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.switchflowinstructionlearnedinfo_5451e83ce696adc1d992ab98b9315891 import SwitchFlowInstructionLearnedInfo
          if self._properties.get('SwitchFlowInstructionLearnedInfo', None) is None:
              return SwitchFlowInstructionLearnedInfo(self)
          else:
              return self._properties.get('SwitchFlowInstructionLearnedInfo')
  
      @property
      def ActiveNanoSeconds(self):
          """
          Returns
          -------
          - number: This describes the duration (in ns) for which the flow entry is active.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ActiveNanoSeconds'])
  
      @property
      def ActiveSeconds(self):
          """
          Returns
          -------
          - number: This describes the duration (in sec) for which the flow entry is active.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ActiveSeconds'])
  
      @property
      def ArpDstHwAddress(self):
          """
          Returns
          -------
          - str: This describes the target hardware address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpDstHwAddress'])
  
      @property
      def ArpDstHwAddressMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of the target hardware address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpDstHwAddressMask'])
  
      @property
      def ArpDstIpv4Address(self):
          """
          Returns
          -------
          - str: This describes the target IPv4 address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpDstIpv4Address'])
  
      @property
      def ArpDstIpv4AddressMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of the target IPv4 address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpDstIpv4AddressMask'])
  
      @property
      def ArpOpcode(self):
          """
          Returns
          -------
          - str: This describes the ARP opcode.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpOpcode'])
  
      @property
      def ArpSrcHwAddress(self):
          """
          Returns
          -------
          - str: This describes the source hardware address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpSrcHwAddress'])
  
      @property
      def ArpSrcHwAddressMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of the source hardware address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpSrcHwAddressMask'])
  
      @property
      def ArpSrcIpv4Address(self):
          """
          Returns
          -------
          - str: This describes the source IPv4 address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpSrcIpv4Address'])
  
      @property
      def ArpSrcIpv4AddressMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of the source IPv4 address in the ARP payload.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ArpSrcIpv4AddressMask'])
  
      @property
      def BytesCount(self):
          """
          Returns
          -------
          - str: This describes the number of bytes in flow.
          """
          return self._get_attribute(self._SDM_ATT_MAP['BytesCount'])
  
      @property
      def Cookie(self):
          """
          Returns
          -------
          - str: This describes the opaque controller-issued identifier.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Cookie'])
  
      @property
      def CookieMask(self):
          """
          Returns
          -------
          - str: This describes the mask used to restrict the cookie bits.
          """
          return self._get_attribute(self._SDM_ATT_MAP['CookieMask'])
  
      @property
      def DataPathId(self):
          """
          Returns
          -------
          - str: This describes the datapath ID of the switch.
          """
          return self._get_attribute(self._SDM_ATT_MAP['DataPathId'])
  
      @property
      def DataPathIdAsHex(self):
          """
          Returns
          -------
          - str: This describes the datapath ID, in hexadecimal format, of the switch.
          """
          return self._get_attribute(self._SDM_ATT_MAP['DataPathIdAsHex'])
  
      @property
      def EthernetDestination(self):
          """
          Returns
          -------
          - str: This describes the ethernet destination address of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['EthernetDestination'])
  
      @property
      def EthernetDestinationMask(self):
          """
          Returns
          -------
          - str: This describes the Ethernet destination mask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['EthernetDestinationMask'])
  
      @property
      def EthernetSource(self):
          """
          Returns
          -------
          - str: This describes the ethernet source address of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['EthernetSource'])
  
      @property
      def EthernetSourceMask(self):
          """
          Returns
          -------
          - str: This describes the Ethernet Source mask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['EthernetSourceMask'])
  
      @property
      def EthernetType(self):
          """
          Returns
          -------
          - str: This describes the Ethernet type of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['EthernetType'])
  
      @property
      def ExperimenterData(self):
          """
          Returns
          -------
          - str: This describes the data of the Experimenter.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ExperimenterData'])
  
      @property
      def ExperimenterDataLength(self):
          """
          Returns
          -------
          - number: This describes the data length of the Experimenter.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ExperimenterDataLength'])
  
      @property
      def ExperimenterField(self):
          """
          Returns
          -------
          - number: This describes the field type for experimenter match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ExperimenterField'])
  
      @property
      def ExperimenterHashMask(self):
          """
          Returns
          -------
          - bool: This describes the experimenter hash mask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ExperimenterHashMask'])
  
      @property
      def ExperimenterId(self):
          """
          Returns
          -------
          - str: This describes the unique identifier for the Experimenter.
          """
          return self._get_attribute(self._SDM_ATT_MAP['ExperimenterId'])
  
      @property
      def Flags(self):
          """
          Returns
          -------
          - number: This describes the flags used for this configuration.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Flags'])
  
      @property
      def HardTimeout(self):
          """
          Returns
          -------
          - number: This describes the duration (in sec) before expiration.
          """
          return self._get_attribute(self._SDM_ATT_MAP['HardTimeout'])
  
      @property
      def Icmpv4Code(self):
          """
          Returns
          -------
          - str: This describes the ICMP code.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Icmpv4Code'])
  
      @property
      def Icmpv4Type(self):
          """
          Returns
          -------
          - str: This describes the ICMP type.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Icmpv4Type'])
  
      @property
      def Icmpv6Code(self):
          """
          Returns
          -------
          - str: This describes the ICMPv6 code.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Icmpv6Code'])
  
      @property
      def Icmpv6Type(self):
          """
          Returns
          -------
          - str: This describes the ICMPv6 type.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Icmpv6Type'])
  
      @property
      def IdleTimeout(self):
          """
          Returns
          -------
          - number: This describes the duration (in sec) for which the switch is idle before expiration.
          """
          return self._get_attribute(self._SDM_ATT_MAP['IdleTimeout'])
  
      @property
      def InPort(self):
          """
          Returns
          -------
          - str: This describes the input port of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['InPort'])
  
      @property
      def IpDscp(self):
          """
          Returns
          -------
          - str: This describes the IP ToS of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['IpDscp'])
  
      @property
      def IpEcn(self):
          """
          Returns
          -------
          - str: This describes the ECN bits of the IP header.
          """
          return self._get_attribute(self._SDM_ATT_MAP['IpEcn'])
  
      @property
      def IpProtocol(self):
          """
          Returns
          -------
          - str: This describes the IP Protocol type of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['IpProtocol'])
  
      @property
      def Ipv4Destination(self):
          """
          Returns
          -------
          - str: This describes the IPv4 destination of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv4Destination'])
  
      @property
      def Ipv4Source(self):
          """
          Returns
          -------
          - str: This describes the IPv4 source address of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv4Source'])
  
      @property
      def Ipv6Destination(self):
          """
          Returns
          -------
          - str: This describes the IPv6 destination address.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6Destination'])
  
      @property
      def Ipv6DestinationMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of IPv6 destination address.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6DestinationMask'])
  
      @property
      def Ipv6ExtHeader(self):
          """
          Returns
          -------
          - number: The IPv6 Extension Header pseudo-field.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6ExtHeader'])
  
      @property
      def Ipv6ExtHeaderMask(self):
          """
          Returns
          -------
          - number: This describes the mask value of the IPv6 Extension Header.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6ExtHeaderMask'])
  
      @property
      def Ipv6FlowLabel(self):
          """
          Returns
          -------
          - str: This describes the IPv6 Flow label.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6FlowLabel'])
  
      @property
      def Ipv6FlowLabelMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of IPv6 Flow label.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6FlowLabelMask'])
  
      @property
      def Ipv6NdDll(self):
          """
          Returns
          -------
          - str: The target link-layer address option in an IPv6 Neighbor Discovery message.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6NdDll'])
  
      @property
      def Ipv6NdSll(self):
          """
          Returns
          -------
          - str: This describes the source link-layer address option in an IPv6 Neighbor Discovery message.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6NdSll'])
  
      @property
      def Ipv6NdTarget(self):
          """
          Returns
          -------
          - str: This describes the target address in an IPv6 Neighbor Discovery message.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6NdTarget'])
  
      @property
      def Ipv6Source(self):
          """
          Returns
          -------
          - str: This describes the IPv6 source address.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6Source'])
  
      @property
      def Ipv6SourceMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of IPv6 source address.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Ipv6SourceMask'])
  
      @property
      def LocalIp(self):
          """
          Returns
          -------
          - str: This describes the local IP address of the switch.
          """
          return self._get_attribute(self._SDM_ATT_MAP['LocalIp'])
  
      @property
      def Metadata(self):
          """
          Returns
          -------
          - str: This describes the table metadata value used to pass information between tables.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Metadata'])
  
      @property
      def MetadataMask(self):
          """
          Returns
          -------
          - str: This describes the metadata bitmask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['MetadataMask'])
  
      @property
      def MplsBos(self):
          """
          Returns
          -------
          - str: This describes the BoS bit in the first MPLS shim header.
          """
          return self._get_attribute(self._SDM_ATT_MAP['MplsBos'])
  
      @property
      def MplsLabel(self):
          """
          Returns
          -------
          - str: This describes the LABEL in the first MPLS shim header.
          """
          return self._get_attribute(self._SDM_ATT_MAP['MplsLabel'])
  
      @property
      def MplsTc(self):
          """
          Returns
          -------
          - str: This describes the TC in the first MPLS shim header.
          """
          return self._get_attribute(self._SDM_ATT_MAP['MplsTc'])
  
      @property
      def NegotiatedVersion(self):
          """
          Returns
          -------
          - str: This describes the OpenFlow version supported by this configuration.
          """
          return self._get_attribute(self._SDM_ATT_MAP['NegotiatedVersion'])
  
      @property
      def NumberOfInstructions(self):
          """
          Returns
          -------
          - str: This describes the number of instructions for this Flow range. The default value is 0. The minimum value is 0 and the maximum value is 10.
          """
          return self._get_attribute(self._SDM_ATT_MAP['NumberOfInstructions'])
  
      @property
      def NumberofActions(self):
          """
          Returns
          -------
          - str: This describes the number of actions associated with the flow entry.
          """
          return self._get_attribute(self._SDM_ATT_MAP['NumberofActions'])
  
      @property
      def OutGroup(self):
          """
          Returns
          -------
          - number: This describes the out group value. It requires matching entries to include this as an output group.
          """
          return self._get_attribute(self._SDM_ATT_MAP['OutGroup'])
  
      @property
      def OutPort(self):
          """
          Returns
          -------
          - number: This describes the out port value. It requires matching entries to include this as an output port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['OutPort'])
  
      @property
      def PacketsCount(self):
          """
          Returns
          -------
          - str: This describes the number of packets in flow.
          """
          return self._get_attribute(self._SDM_ATT_MAP['PacketsCount'])
  
      @property
      def PbbIsid(self):
          """
          Returns
          -------
          - str: This describes the I-SID in the first PBB service instance tag.
          """
          return self._get_attribute(self._SDM_ATT_MAP['PbbIsid'])
  
      @property
      def PbbIsidMask(self):
          """
          Returns
          -------
          - str: This describes the mask value of PBB I-SID.
          """
          return self._get_attribute(self._SDM_ATT_MAP['PbbIsidMask'])
  
      @property
      def PhysicalInPort(self):
          """
          Returns
          -------
          - str: This describes the physical In port value for this flow range. It is the underlying physical port when packet is received on a logical port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['PhysicalInPort'])
  
      @property
      def Priority(self):
          """
          Returns
          -------
          - number: This describes the Priority of the flow entry.
          """
          return self._get_attribute(self._SDM_ATT_MAP['Priority'])
  
      @property
      def RemoteIp(self):
          """
          Returns
          -------
          - str: This describes the IP address of the remote end of the OF Channel.
          """
          return self._get_attribute(self._SDM_ATT_MAP['RemoteIp'])
  
      @property
      def SctpDestination(self):
          """
          Returns
          -------
          - str: This describes the SCTP target port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['SctpDestination'])
  
      @property
      def SctpSource(self):
          """
          Returns
          -------
          - str: This describes the SCTP source port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['SctpSource'])
  
      @property
      def TableId(self):
          """
          Returns
          -------
          - str: This describes the ID of the table in which the entry is stored.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TableId'])
  
      @property
      def TcpDestination(self):
          """
          Returns
          -------
          - str: This describes the TCP destination port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TcpDestination'])
  
      @property
      def TcpSource(self):
          """
          Returns
          -------
          - str: This describes the TCP source port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TcpSource'])
  
      @property
      def TransportDestination(self):
          """
          Returns
          -------
          - str: This describes the transport destination port of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TransportDestination'])
  
      @property
      def TransportSource(self):
          """
          Returns
          -------
          - str: This describes the transport source port of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TransportSource'])
  
      @property
      def TunnelId(self):
          """
          Returns
          -------
          - str: This describes the unique identifier used for the Tunnel.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TunnelId'])
  
      @property
      def TunnelIdMask(self):
          """
          Returns
          -------
          - str: This describes the Tunnel ID mask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['TunnelIdMask'])
  
      @property
      def UdpDestination(self):
          """
          Returns
          -------
          - str: This describes the UDP destination port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['UdpDestination'])
  
      @property
      def UdpSource(self):
          """
          Returns
          -------
          - str: This describes the UDP source port.
          """
          return self._get_attribute(self._SDM_ATT_MAP['UdpSource'])
  
      @property
      def VlanId(self):
          """
          Returns
          -------
          - str: This describes the VLAN ID of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['VlanId'])
  
      @property
      def VlanMask(self):
          """
          Returns
          -------
          - number: This describes the VLAN mask value.
          """
          return self._get_attribute(self._SDM_ATT_MAP['VlanMask'])
  
      @property
      def VlanPriority(self):
          """
          Returns
          -------
          - str: This describes the VLAN Priority of the flow match.
          """
          return self._get_attribute(self._SDM_ATT_MAP['VlanPriority'])
  
      def find(self, ActiveNanoSeconds=None, ActiveSeconds=None, ArpDstHwAddress=None, ArpDstHwAddressMask=None, ArpDstIpv4Address=None, ArpDstIpv4AddressMask=None, ArpOpcode=None, ArpSrcHwAddress=None, ArpSrcHwAddressMask=None, ArpSrcIpv4Address=None, ArpSrcIpv4AddressMask=None, BytesCount=None, Cookie=None, CookieMask=None, DataPathId=None, DataPathIdAsHex=None, EthernetDestination=None, EthernetDestinationMask=None, EthernetSource=None, EthernetSourceMask=None, EthernetType=None, ExperimenterData=None, ExperimenterDataLength=None, ExperimenterField=None, ExperimenterHashMask=None, ExperimenterId=None, Flags=None, HardTimeout=None, Icmpv4Code=None, Icmpv4Type=None, Icmpv6Code=None, Icmpv6Type=None, IdleTimeout=None, InPort=None, IpDscp=None, IpEcn=None, IpProtocol=None, Ipv4Destination=None, Ipv4Source=None, Ipv6Destination=None, Ipv6DestinationMask=None, Ipv6ExtHeader=None, Ipv6ExtHeaderMask=None, Ipv6FlowLabel=None, Ipv6FlowLabelMask=None, Ipv6NdDll=None, Ipv6NdSll=None, Ipv6NdTarget=None, Ipv6Source=None, Ipv6SourceMask=None, LocalIp=None, Metadata=None, MetadataMask=None, MplsBos=None, MplsLabel=None, MplsTc=None, NegotiatedVersion=None, NumberOfInstructions=None, NumberofActions=None, OutGroup=None, OutPort=None, PacketsCount=None, PbbIsid=None, PbbIsidMask=None, PhysicalInPort=None, Priority=None, RemoteIp=None, SctpDestination=None, SctpSource=None, TableId=None, TcpDestination=None, TcpSource=None, TransportDestination=None, TransportSource=None, TunnelId=None, TunnelIdMask=None, UdpDestination=None, UdpSource=None, VlanId=None, VlanMask=None, VlanPriority=None):
          """Finds and retrieves switchFlowLearnedInfo resources from the server.
  
          All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve switchFlowLearnedInfo resources from the server.
          To retrieve an exact match ensure the parameter value starts with ^ and ends with $
          By default the find method takes no parameters and will retrieve all switchFlowLearnedInfo resources from the server.
  
          Args
          ----
          - ActiveNanoSeconds (number): This describes the duration (in ns) for which the flow entry is active.
          - ActiveSeconds (number): This describes the duration (in sec) for which the flow entry is active.
          - ArpDstHwAddress (str): This describes the target hardware address in the ARP payload.
          - ArpDstHwAddressMask (str): This describes the mask value of the target hardware address in the ARP payload.
          - ArpDstIpv4Address (str): This describes the target IPv4 address in the ARP payload.
          - ArpDstIpv4AddressMask (str): This describes the mask value of the target IPv4 address in the ARP payload.
          - ArpOpcode (str): This describes the ARP opcode.
          - ArpSrcHwAddress (str): This describes the source hardware address in the ARP payload.
          - ArpSrcHwAddressMask (str): This describes the mask value of the source hardware address in the ARP payload.
          - ArpSrcIpv4Address (str): This describes the source IPv4 address in the ARP payload.
          - ArpSrcIpv4AddressMask (str): This describes the mask value of the source IPv4 address in the ARP payload.
          - BytesCount (str): This describes the number of bytes in flow.
          - Cookie (str): This describes the opaque controller-issued identifier.
          - CookieMask (str): This describes the mask used to restrict the cookie bits.
          - DataPathId (str): This describes the datapath ID of the switch.
          - DataPathIdAsHex (str): This describes the datapath ID, in hexadecimal format, of the switch.
          - EthernetDestination (str): This describes the ethernet destination address of the flow match.
          - EthernetDestinationMask (str): This describes the Ethernet destination mask value.
          - EthernetSource (str): This describes the ethernet source address of the flow match.
          - EthernetSourceMask (str): This describes the Ethernet Source mask value.
          - EthernetType (str): This describes the Ethernet type of the flow match.
          - ExperimenterData (str): This describes the data of the Experimenter.
          - ExperimenterDataLength (number): This describes the data length of the Experimenter.
          - ExperimenterField (number): This describes the field type for experimenter match.
          - ExperimenterHashMask (bool): This describes the experimenter hash mask value.
          - ExperimenterId (str): This describes the unique identifier for the Experimenter.
          - Flags (number): This describes the flags used for this configuration.
          - HardTimeout (number): This describes the duration (in sec) before expiration.
          - Icmpv4Code (str): This describes the ICMP code.
          - Icmpv4Type (str): This describes the ICMP type.
          - Icmpv6Code (str): This describes the ICMPv6 code.
          - Icmpv6Type (str): This describes the ICMPv6 type.
          - IdleTimeout (number): This describes the duration (in sec) for which the switch is idle before expiration.
          - InPort (str): This describes the input port of the flow match.
          - IpDscp (str): This describes the IP ToS of the flow match.
          - IpEcn (str): This describes the ECN bits of the IP header.
          - IpProtocol (str): This describes the IP Protocol type of the flow match.
          - Ipv4Destination (str): This describes the IPv4 destination of the flow match.
          - Ipv4Source (str): This describes the IPv4 source address of the flow match.
          - Ipv6Destination (str): This describes the IPv6 destination address.
          - Ipv6DestinationMask (str): This describes the mask value of IPv6 destination address.
          - Ipv6ExtHeader (number): The IPv6 Extension Header pseudo-field.
          - Ipv6ExtHeaderMask (number): This describes the mask value of the IPv6 Extension Header.
          - Ipv6FlowLabel (str): This describes the IPv6 Flow label.
          - Ipv6FlowLabelMask (str): This describes the mask value of IPv6 Flow label.
          - Ipv6NdDll (str): The target link-layer address option in an IPv6 Neighbor Discovery message.
          - Ipv6NdSll (str): This describes the source link-layer address option in an IPv6 Neighbor Discovery message.
          - Ipv6NdTarget (str): This describes the target address in an IPv6 Neighbor Discovery message.
          - Ipv6Source (str): This describes the IPv6 source address.
          - Ipv6SourceMask (str): This describes the mask value of IPv6 source address.
          - LocalIp (str): This describes the local IP address of the switch.
          - Metadata (str): This describes the table metadata value used to pass information between tables.
          - MetadataMask (str): This describes the metadata bitmask value.
          - MplsBos (str): This describes the BoS bit in the first MPLS shim header.
          - MplsLabel (str): This describes the LABEL in the first MPLS shim header.
          - MplsTc (str): This describes the TC in the first MPLS shim header.
          - NegotiatedVersion (str): This describes the OpenFlow version supported by this configuration.
          - NumberOfInstructions (str): This describes the number of instructions for this Flow range. The default value is 0. The minimum value is 0 and the maximum value is 10.
          - NumberofActions (str): This describes the number of actions associated with the flow entry.
          - OutGroup (number): This describes the out group value. It requires matching entries to include this as an output group.
          - OutPort (number): This describes the out port value. It requires matching entries to include this as an output port.
          - PacketsCount (str): This describes the number of packets in flow.
          - PbbIsid (str): This describes the I-SID in the first PBB service instance tag.
          - PbbIsidMask (str): This describes the mask value of PBB I-SID.
          - PhysicalInPort (str): This describes the physical In port value for this flow range. It is the underlying physical port when packet is received on a logical port.
          - Priority (number): This describes the Priority of the flow entry.
          - RemoteIp (str): This describes the IP address of the remote end of the OF Channel.
          - SctpDestination (str): This describes the SCTP target port.
          - SctpSource (str): This describes the SCTP source port.
          - TableId (str): This describes the ID of the table in which the entry is stored.
          - TcpDestination (str): This describes the TCP destination port.
          - TcpSource (str): This describes the TCP source port.
          - TransportDestination (str): This describes the transport destination port of the flow match.
          - TransportSource (str): This describes the transport source port of the flow match.
          - TunnelId (str): This describes the unique identifier used for the Tunnel.
          - TunnelIdMask (str): This describes the Tunnel ID mask value.
          - UdpDestination (str): This describes the UDP destination port.
          - UdpSource (str): This describes the UDP source port.
          - VlanId (str): This describes the VLAN ID of the flow match.
          - VlanMask (number): This describes the VLAN mask value.
          - VlanPriority (str): This describes the VLAN Priority of the flow match.
  
          Returns
          -------
          - self: This instance with matching switchFlowLearnedInfo resources retrieved from the server available through an iterator or index
  
          Raises
          ------
          - ServerError: The server has encountered an uncategorized error condition
          """
          return self._select(self._map_locals(self._SDM_ATT_MAP, locals()))
  
      def read(self, href):
          """Retrieves a single instance of switchFlowLearnedInfo data from the server.
  
          Args
          ----
          - href (str): An href to the instance to be retrieved
  
          Returns
          -------
          - self: This instance with the switchFlowLearnedInfo resources from the server available through an iterator or index
  
          Raises
          ------
          - NotFoundError: The requested resource does not exist on the server
          - ServerError: The server has encountered an uncategorized error condition
          """
          return self._read(href)
  