Class: Lib::TL1::Huawei::Message::LstDev
- Defined in:
- lib/lib/tl1/huawei/message/lst_dev.rb
Instance Attribute Summary collapse
-
#dev ⇒ Object
readonly
Returns the value of attribute dev.
-
#dev_ip ⇒ Object
readonly
Returns the value of attribute dev_ip.
-
#dev_type ⇒ Object
readonly
Returns the value of attribute dev_type.
-
#dev_ver ⇒ Object
readonly
Returns the value of attribute dev_ver.
-
#did ⇒ Object
readonly
Returns the value of attribute did.
-
#onu_locate_info ⇒ Object
readonly
Returns the value of attribute onu_locate_info.
-
#showoption ⇒ Object
readonly
Returns the value of attribute showoption.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(did: nil, dev: nil, dev_ip: nil, dev_type: nil, dev_ver: nil, onu_locate_info: nil, show_option: [], user_id: nil) ⇒ LstDev
constructor
A new instance of LstDev.
Constructor Details
#initialize(did: nil, dev: nil, dev_ip: nil, dev_type: nil, dev_ver: nil, onu_locate_info: nil, show_option: [], user_id: nil) ⇒ LstDev
Returns a new instance of LstDev.
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 41 42 43 44 45 46 47 48 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 13 def initialize( did: nil, dev: nil, dev_ip: nil, dev_type: nil, dev_ver: nil, onu_locate_info: nil, show_option: [], user_id: nil ) @did = did @dev = dev @dev_ip = dev_ip @dt = dev_type @dev_ver = dev_ver @onu_locate_info = onu_locate_info @show_option = show_option @user_id = user_id super( aid: hash_to_string( did: did, dev: dev, dev_ip: dev_ip, dt: dev_type, dev_ver: dev_ver, onu_locate_info: onu_locate_info ), payload: hash_to_string( show_option: __show_option(*show_option), user_id: user_id ) ) end |
Instance Attribute Details
#dev ⇒ Object (readonly)
Returns the value of attribute dev.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def dev @dev end |
#dev_ip ⇒ Object (readonly)
Returns the value of attribute dev_ip.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def dev_ip @dev_ip end |
#dev_type ⇒ Object (readonly)
Returns the value of attribute dev_type.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def dev_type @dev_type end |
#dev_ver ⇒ Object (readonly)
Returns the value of attribute dev_ver.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def dev_ver @dev_ver end |
#did ⇒ Object (readonly)
Returns the value of attribute did.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def did @did end |
#onu_locate_info ⇒ Object (readonly)
Returns the value of attribute onu_locate_info.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def onu_locate_info @onu_locate_info end |
#showoption ⇒ Object (readonly)
Returns the value of attribute showoption.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def showoption @showoption end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
11 12 13 |
# File 'lib/lib/tl1/huawei/message/lst_dev.rb', line 11 def user_id @user_id end |