Class: TencentCloud::Cwp::V20180228::DescribeAvailableExpertServiceDetailResponse

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

Overview

DescribeAvailableExpertServiceDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expertservice = nil, emergencyresponse = nil, protectnet = nil, expertservicebuy = nil, emergencyresponsebuy = nil, protectnetbuy = nil, requestid = nil) ⇒ DescribeAvailableExpertServiceDetailResponse

Returns a new instance of DescribeAvailableExpertServiceDetailResponse.



11438
11439
11440
11441
11442
11443
11444
11445
11446
# File 'lib/v20180228/models.rb', line 11438

def initialize(expertservice=nil, emergencyresponse=nil, protectnet=nil, expertservicebuy=nil, emergencyresponsebuy=nil, protectnetbuy=nil, requestid=nil)
  @ExpertService = expertservice
  @EmergencyResponse = emergencyresponse
  @ProtectNet = protectnet
  @ExpertServiceBuy = expertservicebuy
  @EmergencyResponseBuy = emergencyresponsebuy
  @ProtectNetBuy = protectnetbuy
  @RequestId = requestid
end

Instance Attribute Details

#EmergencyResponseObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def EmergencyResponse
  @EmergencyResponse
end

#EmergencyResponseBuyObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def EmergencyResponseBuy
  @EmergencyResponseBuy
end

#ExpertServiceObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def ExpertService
  @ExpertService
end

#ExpertServiceBuyObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def ExpertServiceBuy
  @ExpertServiceBuy
end

#ProtectNetObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def ProtectNet
  @ProtectNet
end

#ProtectNetBuyObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def ProtectNetBuy
  @ProtectNetBuy
end

#RequestIdObject

Parameters:

  • ExpertService:

    安全管家订单

  • EmergencyResponse:

    应急响应可用次数

  • ProtectNet:

    旗舰护网可用次数

  • ExpertServiceBuy:

    是否购买过安全管家

  • EmergencyResponseBuy:

    是否购买过应急响应

  • ProtectNetBuy:

    是否购买过旗舰护网

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11436
11437
11438
# File 'lib/v20180228/models.rb', line 11436

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
# File 'lib/v20180228/models.rb', line 11448

def deserialize(params)
  unless params['ExpertService'].nil?
    @ExpertService = []
    params['ExpertService'].each do |i|
      expertserviceorderinfo_tmp = ExpertServiceOrderInfo.new
      expertserviceorderinfo_tmp.deserialize(i)
      @ExpertService << expertserviceorderinfo_tmp
    end
  end
  @EmergencyResponse = params['EmergencyResponse']
  @ProtectNet = params['ProtectNet']
  @ExpertServiceBuy = params['ExpertServiceBuy']
  @EmergencyResponseBuy = params['EmergencyResponseBuy']
  @ProtectNetBuy = params['ProtectNetBuy']
  @RequestId = params['RequestId']
end