Class: TencentCloud::Aca::V20210323::Department
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::Department
- Defined in:
- lib/v20210323/models.rb
Overview
科室信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, scope = nil, outpatienton = nil, inhospitalon = nil) ⇒ Department
constructor
A new instance of Department.
Constructor Details
#initialize(id = nil, name = nil, scope = nil, outpatienton = nil, inhospitalon = nil) ⇒ Department
Returns a new instance of Department.
123 124 125 126 127 128 129 |
# File 'lib/v20210323/models.rb', line 123 def initialize(id=nil, name=nil, scope=nil, outpatienton=nil, inhospitalon=nil) @Id = id @Name = name @Scope = scope @OutpatientOn = outpatienton @InHospitalOn = inhospitalon end |
Instance Attribute Details
#Id ⇒ Object
121 122 123 |
# File 'lib/v20210323/models.rb', line 121 def Id @Id end |
#InHospitalOn ⇒ Object
121 122 123 |
# File 'lib/v20210323/models.rb', line 121 def InHospitalOn @InHospitalOn end |
#Name ⇒ Object
121 122 123 |
# File 'lib/v20210323/models.rb', line 121 def Name @Name end |
#OutpatientOn ⇒ Object
121 122 123 |
# File 'lib/v20210323/models.rb', line 121 def OutpatientOn @OutpatientOn end |
#Scope ⇒ Object
121 122 123 |
# File 'lib/v20210323/models.rb', line 121 def Scope @Scope end |
Instance Method Details
#deserialize(params) ⇒ Object
131 132 133 134 135 136 137 |
# File 'lib/v20210323/models.rb', line 131 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @Scope = params['Scope'] @OutpatientOn = params['OutpatientOn'] @InHospitalOn = params['InHospitalOn'] end |