Class: TencentCloud::Scf::V20180416::GetAccountResponse

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

Overview

GetAccount返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountusage = nil, accountlimit = nil, requestid = nil) ⇒ GetAccountResponse

Returns a new instance of GetAccountResponse.



1649
1650
1651
1652
1653
# File 'lib/v20180416/models.rb', line 1649

def initialize(accountusage=nil, accountlimit=nil, requestid=nil)
  @AccountUsage = accountusage
  @AccountLimit = accountlimit
  @RequestId = requestid
end

Instance Attribute Details

#AccountLimit ⇒ Object

Parameters:

  • AccountUsage: —

    命名空间已使用的信息

  • AccountLimit: —

    命名空间限制的信息

  • RequestId: —

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



1647
1648
1649
# File 'lib/v20180416/models.rb', line 1647

def AccountLimit
  @AccountLimit
end

#AccountUsage ⇒ Object

Parameters:

  • AccountUsage: —

    命名空间已使用的信息

  • AccountLimit: —

    命名空间限制的信息

  • RequestId: —

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



1647
1648
1649
# File 'lib/v20180416/models.rb', line 1647

def AccountUsage
  @AccountUsage
end

#RequestId ⇒ Object

Parameters:

  • AccountUsage: —

    命名空间已使用的信息

  • AccountLimit: —

    命名空间限制的信息

  • RequestId: —

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



1647
1648
1649
# File 'lib/v20180416/models.rb', line 1647

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
# File 'lib/v20180416/models.rb', line 1655

def deserialize(params)
  unless params['AccountUsage'].nil?
    @AccountUsage = UsageInfo.new
    @AccountUsage.deserialize(params['AccountUsage'])
  end
  unless params['AccountLimit'].nil?
    @AccountLimit = LimitsInfo.new
    @AccountLimit.deserialize(params['AccountLimit'])
  end
  @RequestId = params['RequestId']
end