Class: TencentCloud::Chc::V20230418::WorkOrderTinyInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230418/models.rb

Overview

工单信息的简要,一般用于工单创建的返回

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#OrderTypeObject

Parameters:

  • WorkOrderId:

    工单id

  • ServiceType:

    服务类型,一个服务可能会产生多个工单

  • OrderType:

    工单类型



4061
4062
4063
# File 'lib/v20230418/models.rb', line 4061

def OrderType
  @OrderType
end

#ServiceTypeObject

Parameters:

  • WorkOrderId:

    工单id

  • ServiceType:

    服务类型,一个服务可能会产生多个工单

  • OrderType:

    工单类型



4061
4062
4063
# File 'lib/v20230418/models.rb', line 4061

def ServiceType
  @ServiceType
end

#WorkOrderIdObject

Parameters:

  • WorkOrderId:

    工单id

  • ServiceType:

    服务类型,一个服务可能会产生多个工单

  • OrderType:

    工单类型



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