Class: TencentCloud::Apigateway::V20180808::AttachedApiInfo

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(serviceid = nil, servicename = nil, servicedesc = nil, apiid = nil, apiname = nil, apidesc = nil, environment = nil, attachedtime = nil) ⇒ AttachedApiInfo

Returns a new instance of AttachedApiInfo.



1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
# File 'lib/v20180808/models.rb', line 1162

def initialize(serviceid=nil, servicename=nil, servicedesc=nil, apiid=nil, apiname=nil, apidesc=nil, environment=nil, attachedtime=nil)
  @ServiceId = serviceid
  @ServiceName = servicename
  @ServiceDesc = servicedesc
  @ApiId = apiid
  @ApiName = apiname
  @ApiDesc = apidesc
  @Environment = environment
  @AttachedTime = attachedtime
end

Instance Attribute Details

#ApiDescObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ApiDesc
  @ApiDesc
end

#ApiIdObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ApiId
  @ApiId
end

#ApiNameObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ApiName
  @ApiName
end

#AttachedTimeObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def AttachedTime
  @AttachedTime
end

#EnvironmentObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def Environment
  @Environment
end

#ServiceDescObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ServiceDesc
  @ServiceDesc
end

#ServiceIdObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ServiceId
  @ServiceId
end

#ServiceNameObject

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

Parameters:

  • ServiceId:

    API所在服务ID。

  • ServiceName:

    API所在服务名称。

  • ServiceDesc:

    API所在服务描述信息。

  • ApiId:

    API ID。

  • ApiName:

    API名称。

  • ApiDesc:

    API描述。

  • Environment:

    插件绑定API的环境。

  • AttachedTime:

    插件和API绑定时间。



1160
1161
1162
# File 'lib/v20180808/models.rb', line 1160

def ServiceName
  @ServiceName
end

Instance Method Details

#deserialize(params) ⇒ Object



1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/v20180808/models.rb', line 1173

def deserialize(params)
  @ServiceId = params['ServiceId']
  @ServiceName = params['ServiceName']
  @ServiceDesc = params['ServiceDesc']
  @ApiId = params['ApiId']
  @ApiName = params['ApiName']
  @ApiDesc = params['ApiDesc']
  @Environment = params['Environment']
  @AttachedTime = params['AttachedTime']
end