Class: TencentCloud::Apigateway::V20180808::DescribeUsagePlanEnvironmentsRequest

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

Overview

DescribeUsagePlanEnvironments请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usageplanid = nil, bindtype = nil, limit = nil, offset = nil) ⇒ DescribeUsagePlanEnvironmentsRequest

Returns a new instance of DescribeUsagePlanEnvironmentsRequest.



5918
5919
5920
5921
5922
5923
# File 'lib/v20180808/models.rb', line 5918

def initialize(usageplanid=nil, bindtype=nil, limit=nil, offset=nil)
  @UsagePlanId = usageplanid
  @BindType = bindtype
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#BindTypeObject

Parameters:

  • UsagePlanId:

    待查询的使用计划唯一 ID。

  • BindType:

    定义类型,取值为 API、SERVICE,默认值为 SERVICE。

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • Offset:

    偏移量,默认为 0。



5916
5917
5918
# File 'lib/v20180808/models.rb', line 5916

def BindType
  @BindType
end

#LimitObject

Parameters:

  • UsagePlanId:

    待查询的使用计划唯一 ID。

  • BindType:

    定义类型,取值为 API、SERVICE,默认值为 SERVICE。

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • Offset:

    偏移量,默认为 0。



5916
5917
5918
# File 'lib/v20180808/models.rb', line 5916

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • UsagePlanId:

    待查询的使用计划唯一 ID。

  • BindType:

    定义类型,取值为 API、SERVICE,默认值为 SERVICE。

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • Offset:

    偏移量,默认为 0。



5916
5917
5918
# File 'lib/v20180808/models.rb', line 5916

def Offset
  @Offset
end

#UsagePlanIdObject

Parameters:

  • UsagePlanId:

    待查询的使用计划唯一 ID。

  • BindType:

    定义类型,取值为 API、SERVICE,默认值为 SERVICE。

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • Offset:

    偏移量,默认为 0。



5916
5917
5918
# File 'lib/v20180808/models.rb', line 5916

def UsagePlanId
  @UsagePlanId
end

Instance Method Details

#deserialize(params) ⇒ Object



5925
5926
5927
5928
5929
5930
# File 'lib/v20180808/models.rb', line 5925

def deserialize(params)
  @UsagePlanId = params['UsagePlanId']
  @BindType = params['BindType']
  @Limit = params['Limit']
  @Offset = params['Offset']
end