Class: Lib::TL1::Huawei::Message::LstOnt
- Defined in:
- lib/lib/tl1/huawei/message/lst_ont.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
readonly
Returns the value of attribute frame_number.
-
#ont_id ⇒ Object
readonly
Returns the value of attribute ont_id.
-
#ont_pwd ⇒ Object
readonly
Returns the value of attribute ont_pwd.
-
#ont_sn ⇒ Object
readonly
Returns the value of attribute ont_sn.
-
#onu_dev ⇒ Object
readonly
Returns the value of attribute onu_dev.
-
#onu_did ⇒ Object
readonly
Returns the value of attribute onu_did.
-
#onu_name ⇒ Object
readonly
Returns the value of attribute onu_name.
-
#port_number ⇒ Object
readonly
Returns the value of attribute port_number.
-
#run_state ⇒ Object
readonly
Returns the value of attribute run_state.
-
#show_option ⇒ Object
readonly
Returns the value of attribute show_option.
-
#slot_number ⇒ Object
readonly
Returns the value of attribute slot_number.
Instance Method Summary collapse
-
#initialize(onu_name: nil, ont_sn: nil, ont_pwd: nil, did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, run_stat: nil, onu_did: nil, onu_dev: nil, show_option: []) ⇒ LstOnt
constructor
A new instance of LstOnt.
Constructor Details
#initialize(onu_name: nil, ont_sn: nil, ont_pwd: nil, did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, run_stat: nil, onu_did: nil, onu_dev: nil, show_option: []) ⇒ LstOnt
Returns a new instance of LstOnt.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 13 def initialize( onu_name: nil, ont_sn: nil, ont_pwd: nil, did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, run_stat: nil, onu_did: nil, onu_dev: nil, show_option: [] ) @onu_name = onu_name @ont_sn = ont_sn @ont_pwd = ont_pwd @did = did @dev = dev @frame_number = frame_number @slot_number = slot_number @port_number = port_number @ont_id = ont_id @run_state = run_stat @onu_did = onu_did @onu_dev = onu_dev @show_option = show_option super( aid: hash_to_string( name: onu_name, ont_sn: ont_sn, ont_pwd: ont_pwd, did: did, dev: dev, fn: frame_number, sn: slot_number, pn: port_number, ont_id: ont_id, run_stat: run_stat, onu_did: onu_did, onu_dev: onu_dev ), payload: hash_to_string( show_option: __show_option(*show_option) ) ) end |
Instance Attribute Details
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def dev @dev end |
#did ⇒ Object (readonly)
Returns the value of attribute did.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def did @did end |
#frame_number ⇒ Object (readonly)
Returns the value of attribute frame_number.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def frame_number @frame_number end |
#ont_id ⇒ Object (readonly)
Returns the value of attribute ont_id.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def ont_id @ont_id end |
#ont_pwd ⇒ Object (readonly)
Returns the value of attribute ont_pwd.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def ont_pwd @ont_pwd end |
#ont_sn ⇒ Object (readonly)
Returns the value of attribute ont_sn.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def ont_sn @ont_sn end |
#onu_dev ⇒ Object (readonly)
Returns the value of attribute onu_dev.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def onu_dev @onu_dev end |
#onu_did ⇒ Object (readonly)
Returns the value of attribute onu_did.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def onu_did @onu_did end |
#onu_name ⇒ Object (readonly)
Returns the value of attribute onu_name.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def onu_name @onu_name end |
#port_number ⇒ Object (readonly)
Returns the value of attribute port_number.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def port_number @port_number end |
#run_state ⇒ Object (readonly)
Returns the value of attribute run_state.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def run_state @run_state end |
#show_option ⇒ Object (readonly)
Returns the value of attribute show_option.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def show_option @show_option end |
#slot_number ⇒ Object (readonly)
Returns the value of attribute slot_number.
10 11 12 |
# File 'lib/lib/tl1/huawei/message/lst_ont.rb', line 10 def slot_number @slot_number end |