Class: TencentCloud::Apigateway::V20180808::AvailableApiInfo

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

Overview

插件相关的API信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(apiid = nil, apiname = nil, apitype = nil, path = nil, method = nil, attachedotherplugin = nil, isattached = nil) ⇒ AvailableApiInfo

Returns a new instance of AvailableApiInfo.



1300
1301
1302
1303
1304
1305
1306
1307
1308
# File 'lib/v20180808/models.rb', line 1300

def initialize(apiid=nil, apiname=nil, apitype=nil, path=nil, method=nil, attachedotherplugin=nil, isattached=nil)
  @ApiId = apiid
  @ApiName = apiname
  @ApiType = apitype
  @Path = path
  @Method = method
  @AttachedOtherPlugin = attachedotherplugin
  @IsAttached = isattached
end

Instance Attribute Details

#ApiIdObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def ApiId
  @ApiId
end

#ApiNameObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def ApiName
  @ApiName
end

#ApiTypeObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def ApiType
  @ApiType
end

#AttachedOtherPluginObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def AttachedOtherPlugin
  @AttachedOtherPlugin
end

#IsAttachedObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def IsAttached
  @IsAttached
end

#MethodObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def Method
  @Method
end

#PathObject

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

Parameters:

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiType:

    API类型。

  • Path:

    API路径。

  • Method:

    API方法。

  • AttachedOtherPlugin:

    API是否绑定其他插件。

  • IsAttached:

    API是否绑定当前插件。



1298
1299
1300
# File 'lib/v20180808/models.rb', line 1298

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'lib/v20180808/models.rb', line 1310

def deserialize(params)
  @ApiId = params['ApiId']
  @ApiName = params['ApiName']
  @ApiType = params['ApiType']
  @Path = params['Path']
  @Method = params['Method']
  @AttachedOtherPlugin = params['AttachedOtherPlugin']
  @IsAttached = params['IsAttached']
end