Class: Lib::TL1::Huawei::Message::LstGponSrvProfile

Inherits:
Input
  • Object
show all
Defined in:
lib/lib/tl1/huawei/message/lst_gpon_srv_profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(did: nil, dev: nil, prof_id: nil) ⇒ LstGponSrvProfile

Returns a new instance of LstGponSrvProfile.



12
13
14
15
16
17
18
19
20
21
# File 'lib/lib/tl1/huawei/message/lst_gpon_srv_profile.rb', line 12

def initialize(did: nil, dev: nil, prof_id: nil)
  @did = did
  @dev = dev
  @prof_id = prof_id
  super(
    payload: hash_to_string(
      did: did, dev: dev, prof_id: prof_id
    )
  )
end

Instance Attribute Details

#devObject (readonly)

Returns the value of attribute dev.



10
11
12
# File 'lib/lib/tl1/huawei/message/lst_gpon_srv_profile.rb', line 10

def dev
  @dev
end

#didObject (readonly)

Returns the value of attribute did.



10
11
12
# File 'lib/lib/tl1/huawei/message/lst_gpon_srv_profile.rb', line 10

def did
  @did
end

#prof_idObject (readonly)

Returns the value of attribute prof_id.



10
11
12
# File 'lib/lib/tl1/huawei/message/lst_gpon_srv_profile.rb', line 10

def prof_id
  @prof_id
end