Class: Lib::TL1::Huawei::Message::LstOntDetail
- Defined in:
- lib/lib/tl1/huawei/message/lst_ont_detail.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_alias ⇒ Object
readonly
Returns the value of attribute ont_alias.
-
#ont_id ⇒ Object
readonly
Returns the value of attribute ont_id.
-
#ont_name ⇒ Object
readonly
Returns the value of attribute ont_name.
-
#port_number ⇒ Object
readonly
Returns the value of attribute port_number.
-
#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(did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_name: nil, ont_alias: nil, show_option: []) ⇒ LstOntDetail
constructor
A new instance of LstOntDetail.
Constructor Details
#initialize(did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_name: nil, ont_alias: nil, show_option: []) ⇒ LstOntDetail
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 12 def initialize( did: nil, dev: nil, frame_number: nil, slot_number: nil, port_number: nil, ont_id: nil, ont_name: nil, ont_alias: nil, show_option: [] ) @did = did @dev = dev @frame_number = frame_number @slot_number = slot_number @port_number = port_number @ont_id = ont_id @ont_name = ont_name @ont_alias = ont_alias @show_option = show_option super( aid: hash_to_string( did: did, dev: dev, fn: frame_number, sn: slot_number, pn: port_number, ont_id: ont_id, ont_name: ont_name, ont_alias: ont_alias ), payload: hash_to_string( show_option: __show_option(*show_option) ) ) end |
Instance Attribute Details
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def dev @dev end |
#did ⇒ Object (readonly)
Returns the value of attribute did.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def did @did end |
#frame_number ⇒ Object (readonly)
Returns the value of attribute frame_number.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def frame_number @frame_number end |
#ont_alias ⇒ Object (readonly)
Returns the value of attribute ont_alias.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def ont_alias @ont_alias end |
#ont_id ⇒ Object (readonly)
Returns the value of attribute ont_id.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def ont_id @ont_id end |
#ont_name ⇒ Object (readonly)
Returns the value of attribute ont_name.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def ont_name @ont_name end |
#port_number ⇒ Object (readonly)
Returns the value of attribute port_number.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def port_number @port_number end |
#show_option ⇒ Object (readonly)
Returns the value of attribute show_option.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def show_option @show_option end |
#slot_number ⇒ Object (readonly)
Returns the value of attribute slot_number.
9 10 11 |
# File 'lib/lib/tl1/huawei/message/lst_ont_detail.rb', line 9 def slot_number @slot_number end |