Class: TencentCloud::Partners::V20180321::DescribeClientSwitchTraTaskInfoResponse

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

Overview

DescribeClientSwitchTraTaskInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clientuin = nil, switchtype = nil, result = nil, switchurl = nil, resultmsg = nil, requestid = nil) ⇒ DescribeClientSwitchTraTaskInfoResponse

Returns a new instance of DescribeClientSwitchTraTaskInfoResponse.



1450
1451
1452
1453
1454
1455
1456
1457
# File 'lib/v20180321/models.rb', line 1450

def initialize(clientuin=nil, switchtype=nil, result=nil, switchurl=nil, resultmsg=nil, requestid=nil)
  @ClientUin = clientuin
  @SwitchType = switchtype
  @Result = result
  @SwitchUrl = switchurl
  @ResultMsg = resultmsg
  @RequestId = requestid
end

Instance Attribute Details

#ClientUinObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def ClientUin
  @ClientUin
end

#RequestIdObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def Result
  @Result
end

#ResultMsgObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def ResultMsg
  @ResultMsg
end

#SwitchTypeObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def SwitchType
  @SwitchType
end

#SwitchUrlObject

Parameters:

  • ClientUin:

    客户UIN

  • SwitchType:

    切换类型:代理,代采

  • Result:

    ok,符合,fail,不符合

  • SwitchUrl:

    切换链接

  • ResultMsg:

    不符合的原因

  • RequestId:

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



1448
1449
1450
# File 'lib/v20180321/models.rb', line 1448

def SwitchUrl
  @SwitchUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/v20180321/models.rb', line 1459

def deserialize(params)
  @ClientUin = params['ClientUin']
  @SwitchType = params['SwitchType']
  @Result = params['Result']
  @SwitchUrl = params['SwitchUrl']
  @ResultMsg = params['ResultMsg']
  @RequestId = params['RequestId']
end