Class: Lib::TL1::Huawei::Message::LstPort
- Defined in:
- lib/lib/tl1/huawei/message/lst_port.rb
Instance Attribute Summary collapse
-
#db_only ⇒ Object
readonly
Returns the value of attribute db_only.
-
#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.
-
#onu_locate_info ⇒ Object
readonly
Returns the value of attribute onu_locate_info.
-
#port_alias ⇒ Object
readonly
Returns the value of attribute port_alias.
-
#port_number ⇒ Object
readonly
Returns the value of attribute port_number.
-
#port_status ⇒ Object
readonly
Returns the value of attribute port_status.
-
#port_type ⇒ Object
readonly
Returns the value of attribute port_type.
-
#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(port_alias: nil, dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, port_number: nil, port_type: nil, port_status: nil, db_only: nil, show_option: nil) ⇒ LstPort
constructor
A new instance of LstPort.
Constructor Details
#initialize(port_alias: nil, dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, port_number: nil, port_type: nil, port_status: nil, db_only: nil, show_option: nil) ⇒ LstPort
Returns a new instance of LstPort.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 14 def initialize( port_alias: nil, dev: nil, did: nil, onu_locate_info: nil, frame_number: nil, slot_number: nil, port_number: nil, port_type: nil, port_status: nil, db_only: nil, show_option: nil ) @port_alias = port_alias @dev = dev @did = did @onu_locate_info = onu_locate_info @frame_number = frame_number @slot_number = slot_number @port_number = port_number @port_type = port_type @port_status = port_status @db_only = db_only @show_option = show_option super( aid: hash_to_string( alias: port_alias, dev: dev, did: did, onu_locate_info: onu_locate_info, fn: frame_number, sn: slot_number, pn: port_number, pt: port_type, pstat: port_status, db_only: db_only ), payload: __show_option(*show_option) ) end |
Instance Attribute Details
#db_only ⇒ Object (readonly)
Returns the value of attribute db_only.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def db_only @db_only end |
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.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_port.rb', line 11 def did @did end |
#frame_number ⇒ Object (readonly)
Returns the value of attribute frame_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def frame_number @frame_number end |
#onu_locate_info ⇒ Object (readonly)
Returns the value of attribute onu_locate_info.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def onu_locate_info @onu_locate_info end |
#port_alias ⇒ Object (readonly)
Returns the value of attribute port_alias.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def port_alias @port_alias end |
#port_number ⇒ Object (readonly)
Returns the value of attribute port_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def port_number @port_number end |
#port_status ⇒ Object (readonly)
Returns the value of attribute port_status.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def port_status @port_status end |
#port_type ⇒ Object (readonly)
Returns the value of attribute port_type.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def port_type @port_type end |
#show_option ⇒ Object (readonly)
Returns the value of attribute show_option.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def show_option @show_option end |
#slot_number ⇒ Object (readonly)
Returns the value of attribute slot_number.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_port.rb', line 11 def slot_number @slot_number end |