Class: TencentCloud::Apigateway::V20180808::ApiUsagePlan

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

Overview

api或service绑定使用计划详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(serviceid = nil, apiid = nil, apiname = nil, path = nil, method = nil, usageplanid = nil, usageplanname = nil, usageplandesc = nil, environment = nil, inuserequestnum = nil, maxrequestnum = nil, maxrequestnumpresec = nil, createdtime = nil, modifiedtime = nil, servicename = nil, tags = nil) ⇒ ApiUsagePlan

Returns a new instance of ApiUsagePlan.



1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'lib/v20180808/models.rb', line 1005

def initialize(serviceid=nil, apiid=nil, apiname=nil, path=nil, method=nil, usageplanid=nil, usageplanname=nil, usageplandesc=nil, environment=nil, inuserequestnum=nil, maxrequestnum=nil, maxrequestnumpresec=nil, createdtime=nil, modifiedtime=nil, servicename=nil, tags=nil)
  @ServiceId = serviceid
  @ApiId = apiid
  @ApiName = apiname
  @Path = path
  @Method = method
  @UsagePlanId = usageplanid
  @UsagePlanName = usageplanname
  @UsagePlanDesc = usageplandesc
  @Environment = environment
  @InUseRequestNum = inuserequestnum
  @MaxRequestNum = maxrequestnum
  @MaxRequestNumPreSec = maxrequestnumpresec
  @CreatedTime = createdtime
  @ModifiedTime = modifiedtime
  @ServiceName = servicename
  @Tags = tags
end

Instance Attribute Details

#ApiIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def ApiId
  @ApiId
end

#ApiNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def ApiName
  @ApiName
end

#CreatedTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def CreatedTime
  @CreatedTime
end

#EnvironmentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def Environment
  @Environment
end

#InUseRequestNumObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def InUseRequestNum
  @InUseRequestNum
end

#MaxRequestNumObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def MaxRequestNum
  @MaxRequestNum
end

#MaxRequestNumPreSecObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def MaxRequestNumPreSec
  @MaxRequestNumPreSec
end

#MethodObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def Method
  @Method
end

#ModifiedTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def ModifiedTime
  @ModifiedTime
end

#PathObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def Path
  @Path
end

#ServiceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def ServiceId
  @ServiceId
end

#ServiceNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def ServiceName
  @ServiceName
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def Tags
  @Tags
end

#UsagePlanDescObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def UsagePlanDesc
  @UsagePlanDesc
end

#UsagePlanIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def UsagePlanId
  @UsagePlanId
end

#UsagePlanNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ServiceId:

    服务唯一ID。

  • ApiId:

    API 唯一 ID。

  • ApiName:

    API 名称。

  • Path:

    API 路径。

  • Method:

    API 方法。

  • UsagePlanId:

    使用计划的唯一 ID。

  • UsagePlanName:

    使用计划的名称。

  • UsagePlanDesc:

    使用计划的描述。

  • Environment:

    使用计划绑定的服务环境。

  • InUseRequestNum:

    已经使用的配额。

  • MaxRequestNum:

    请求配额总量,-1表示没有限制。

  • MaxRequestNumPreSec:

    请求 QPS 上限,-1 表示没有限制。

  • CreatedTime:

    使用计划创建时间。

  • ModifiedTime:

    使用计划最后修改时间。

  • ServiceName:

    服务名称。

  • Tags:

    标签



1003
1004
1005
# File 'lib/v20180808/models.rb', line 1003

def UsagePlanName
  @UsagePlanName
end

Instance Method Details

#deserialize(params) ⇒ Object



1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
# File 'lib/v20180808/models.rb', line 1024

def deserialize(params)
  @ServiceId = params['ServiceId']
  @ApiId = params['ApiId']
  @ApiName = params['ApiName']
  @Path = params['Path']
  @Method = params['Method']
  @UsagePlanId = params['UsagePlanId']
  @UsagePlanName = params['UsagePlanName']
  @UsagePlanDesc = params['UsagePlanDesc']
  @Environment = params['Environment']
  @InUseRequestNum = params['InUseRequestNum']
  @MaxRequestNum = params['MaxRequestNum']
  @MaxRequestNumPreSec = params['MaxRequestNumPreSec']
  @CreatedTime = params['CreatedTime']
  @ModifiedTime = params['ModifiedTime']
  @ServiceName = params['ServiceName']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end