Class: TencentCloud::Ivld::V20210903::PersonInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::PersonInfo
- Defined in:
- lib/v20210903/models.rb
Overview
人物信息
Instance Attribute Summary collapse
-
#AppearInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AppearRect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FirstAppear ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Job ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PersonId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, job = nil, firstappear = nil, appearinfo = nil, appearrect = nil, personid = nil) ⇒ PersonInfo
constructor
A new instance of PersonInfo.
Constructor Details
#initialize(name = nil, job = nil, firstappear = nil, appearinfo = nil, appearrect = nil, personid = nil) ⇒ PersonInfo
Returns a new instance of PersonInfo.
2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'lib/v20210903/models.rb', line 2281 def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil, appearrect=nil, personid=nil) @Name = name @Job = job @FirstAppear = firstappear @AppearInfo = appearinfo @AppearRect = appearrect @PersonId = personid end |
Instance Attribute Details
#AppearInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def AppearInfo @AppearInfo end |
#AppearRect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def AppearRect @AppearRect end |
#FirstAppear ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def FirstAppear @FirstAppear end |
#Job ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def Job @Job end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def Name @Name end |
#PersonId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2279 2280 2281 |
# File 'lib/v20210903/models.rb', line 2279 def PersonId @PersonId end |
Instance Method Details
#deserialize(params) ⇒ Object
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 |
# File 'lib/v20210903/models.rb', line 2290 def deserialize(params) @Name = params['Name'] @Job = params['Job'] @FirstAppear = params['FirstAppear'] unless params['AppearInfo'].nil? @AppearInfo = AppearInfo.new @AppearInfo.deserialize(params['AppearInfo']) end unless params['AppearRect'].nil? @AppearRect = Rectf.new @AppearRect.deserialize(params['AppearRect']) end @PersonId = params['PersonId'] end |