Class: Lib::TL1::Huawei::Message::LstOntEthVlanSwitchPair
- Inherits:
-
Input
- Object
- Message::Input
- Input
- Lib::TL1::Huawei::Message::LstOntEthVlanSwitchPair
- Defined in:
- lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb
Instance Attribute Summary collapse
-
#dev ⇒ Object
readonly
Returns the value of attribute dev.
-
#did ⇒ Object
readonly
Returns the value of attribute did.
-
#frame_number ⇒ Object
(also: #fn)
readonly
Returns the value of attribute frame_number.
-
#ont_id ⇒ Object
readonly
Returns the value of attribute ont_id.
-
#ont_port_id ⇒ Object
readonly
Returns the value of attribute ont_port_id.
-
#ont_port_type ⇒ Object
readonly
Returns the value of attribute ont_port_type.
-
#port_number ⇒ Object
(also: #pn)
readonly
Returns the value of attribute port_number.
-
#slot_number ⇒ Object
(also: #sn)
readonly
Returns the value of attribute slot_number.
Instance Method Summary collapse
-
#initialize(did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_port_type: :eth, ont_port_id: nil) ⇒ LstOntEthVlanSwitchPair
constructor
A new instance of LstOntEthVlanSwitchPair.
Constructor Details
#initialize(did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_port_type: :eth, ont_port_id: nil) ⇒ LstOntEthVlanSwitchPair
Returns a new instance of LstOntEthVlanSwitchPair.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 13 def initialize( did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_port_type: :eth, ont_port_id: nil ) @did = did @dev = dev @frame_number = frame_number @slot_number = slot_number @port_number = port_number @ont_id = ont_id @ont_port_id = ont_port_id @ont_port_type = ont_port_type super( aid: hash_to_string( did: did, dev: dev, fn: frame_number, sn: slot_number, pn: port_number, ont_id: ont_id, ont_port_type: ont_port_type, ont_port_id: ont_port_id ) ) end |
Instance Attribute Details
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def dev @dev end |
#did ⇒ Object (readonly)
Returns the value of attribute did.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def did @did end |
#frame_number ⇒ Object (readonly) Also known as: fn
Returns the value of attribute frame_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def frame_number @frame_number end |
#ont_id ⇒ Object (readonly)
Returns the value of attribute ont_id.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def ont_id @ont_id end |
#ont_port_id ⇒ Object (readonly)
Returns the value of attribute ont_port_id.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def ont_port_id @ont_port_id end |
#ont_port_type ⇒ Object (readonly)
Returns the value of attribute ont_port_type.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def ont_port_type @ont_port_type end |
#port_number ⇒ Object (readonly) Also known as: pn
Returns the value of attribute port_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def port_number @port_number end |
#slot_number ⇒ Object (readonly) Also known as: sn
Returns the value of attribute slot_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_ont_eth_vlan_switch_pair.rb', line 11 def slot_number @slot_number end |