Class: TencentCloud::Dayu::V20180709::CreateUnblockIpResponse

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

Overview

CreateUnblockIp返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, actiontype = nil, unblocktime = nil, requestid = nil) ⇒ CreateUnblockIpResponse

Returns a new instance of CreateUnblockIpResponse.



1489
1490
1491
1492
1493
1494
# File 'lib/v20180709/models.rb', line 1489

def initialize(ip=nil, actiontype=nil, unblocktime=nil, requestid=nil)
  @Ip = ip
  @ActionType = actiontype
  @UnblockTime = unblocktime
  @RequestId = requestid
end

Instance Attribute Details

#ActionTypeObject

Parameters:

  • Ip:

    IP

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)

  • UnblockTime:

    解封时间(预计解封时间)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1487
1488
1489
# File 'lib/v20180709/models.rb', line 1487

def ActionType
  @ActionType
end

#IpObject

Parameters:

  • Ip:

    IP

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)

  • UnblockTime:

    解封时间(预计解封时间)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1487
1488
1489
# File 'lib/v20180709/models.rb', line 1487

def Ip
  @Ip
end

#RequestIdObject

Parameters:

  • Ip:

    IP

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)

  • UnblockTime:

    解封时间(预计解封时间)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1487
1488
1489
# File 'lib/v20180709/models.rb', line 1487

def RequestId
  @RequestId
end

#UnblockTimeObject

Parameters:

  • Ip:

    IP

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)

  • UnblockTime:

    解封时间(预计解封时间)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1487
1488
1489
# File 'lib/v20180709/models.rb', line 1487

def UnblockTime
  @UnblockTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1496
1497
1498
1499
1500
1501
# File 'lib/v20180709/models.rb', line 1496

def deserialize(params)
  @Ip = params['Ip']
  @ActionType = params['ActionType']
  @UnblockTime = params['UnblockTime']
  @RequestId = params['RequestId']
end