Class: TencentCloud::Chc::V20230418::WorkOrderTinyInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::WorkOrderTinyInfo
- Defined in:
- lib/v20230418/models.rb
Overview
工单信息的简要,一般用于工单创建的返回
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(workorderid = nil, servicetype = nil, ordertype = nil) ⇒ WorkOrderTinyInfo
constructor
A new instance of WorkOrderTinyInfo.
Constructor Details
#initialize(workorderid = nil, servicetype = nil, ordertype = nil) ⇒ WorkOrderTinyInfo
Returns a new instance of WorkOrderTinyInfo.
4063 4064 4065 4066 4067 |
# File 'lib/v20230418/models.rb', line 4063 def initialize(workorderid=nil, servicetype=nil, ordertype=nil) @WorkOrderId = workorderid @ServiceType = servicetype @OrderType = ordertype end |
Instance Attribute Details
#OrderType ⇒ Object
4061 4062 4063 |
# File 'lib/v20230418/models.rb', line 4061 def OrderType @OrderType end |
#ServiceType ⇒ Object
4061 4062 4063 |
# File 'lib/v20230418/models.rb', line 4061 def ServiceType @ServiceType end |
#WorkOrderId ⇒ Object
4061 4062 4063 |
# File 'lib/v20230418/models.rb', line 4061 def WorkOrderId @WorkOrderId end |
Instance Method Details
#deserialize(params) ⇒ Object
4069 4070 4071 4072 4073 |
# File 'lib/v20230418/models.rb', line 4069 def deserialize(params) @WorkOrderId = params['WorkOrderId'] @ServiceType = params['ServiceType'] @OrderType = params['OrderType'] end |