Class: TencentCloud::Chc::V20230418::CreateCommonServiceWorkOrderRequest

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

Overview

CreateCommonServiceWorkOrder请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(devicepositionset = nil, servicelevel = nil, preauthorization = nil, contactname = nil, contactphone = nil, devicetype = nil, instructions = nil) ⇒ CreateCommonServiceWorkOrderRequest

Returns a new instance of CreateCommonServiceWorkOrderRequest.



171
172
173
174
175
176
177
178
179
# File 'lib/v20230418/models.rb', line 171

def initialize(devicepositionset=nil, servicelevel=nil, preauthorization=nil, contactname=nil, contactphone=nil, devicetype=nil, instructions=nil)
  @DevicePositionSet = devicepositionset
  @ServiceLevel = servicelevel
  @PreAuthorization = preauthorization
  @ContactName = contactname
  @ContactPhone = contactphone
  @DeviceType = devicetype
  @Instructions = instructions
end

Instance Attribute Details

#ContactNameObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def ContactName
  @ContactName
end

#ContactPhoneObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def ContactPhone
  @ContactPhone
end

#DevicePositionSetObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def DevicePositionSet
  @DevicePositionSet
end

#DeviceTypeObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def DeviceType
  @DeviceType
end

#InstructionsObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def Instructions
  @Instructions
end

#PreAuthorizationObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def PreAuthorization
  @PreAuthorization
end

#ServiceLevelObject

Parameters:

  • DevicePositionSet:

    设备及位置信息列表

  • ServiceLevel:

    服务级别,只支持传入 1、2、3,分别对应 L1、L2、L3

  • PreAuthorization:

    操作预授权

  • ContactName:

    业务联系人

  • ContactPhone:

    联系人电话

  • DeviceType:

    设备类型 server 服务器,netDevice 网络设备

  • Instructions:

    操作说明



169
170
171
# File 'lib/v20230418/models.rb', line 169

def ServiceLevel
  @ServiceLevel
end

Instance Method Details

#deserialize(params) ⇒ Object



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/v20230418/models.rb', line 181

def deserialize(params)
  unless params['DevicePositionSet'].nil?
    @DevicePositionSet = []
    params['DevicePositionSet'].each do |i|
      deviceposition_tmp = DevicePosition.new
      deviceposition_tmp.deserialize(i)
      @DevicePositionSet << deviceposition_tmp
    end
  end
  @ServiceLevel = params['ServiceLevel']
  @PreAuthorization = params['PreAuthorization']
  @ContactName = params['ContactName']
  @ContactPhone = params['ContactPhone']
  @DeviceType = params['DeviceType']
  @Instructions = params['Instructions']
end