Class: TencentCloud::Eis::V20200715::DescribeEisConnectorConfigResponse

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

Overview

DescribeEisConnectorConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connectorparameter = nil, requestid = nil) ⇒ DescribeEisConnectorConfigResponse

Returns a new instance of DescribeEisConnectorConfigResponse.



223
224
225
226
# File 'lib/v20200715/models.rb', line 223

def initialize(connectorparameter=nil, requestid=nil)
  @ConnectorParameter = connectorparameter
  @RequestId = requestid
end

Instance Attribute Details

#ConnectorParameter ⇒ Object

{ "attributes":{ "description":"测试", // 连接器的描述 "displayName":"测试", // 连接器的展示名 "name":"test", // 连接器的名称 "version":"1.0.0" // 连接器的版本号 }, "properties":[ { "attributes":{ "displayName":"企业ID", // 参数的展示名 "name":"para1", // 参数名 "required":"true", // 是否必填 "type":"int" // 参数的类型 } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para2", "required":"true", "type":"float" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para3", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"企业ID", "name":"para4", "required":"true", "type":"decimal" } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para5", "required":"true", "type":"bool" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para6", "required":"true", "type":"date" } }, { "attributes":{ "displayName":"企业ID", "name":"para7", "required":"true", "type":"time" } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para8", "required":"true", "type":"datetime" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para9", "required":"true", "type":"map" }, "children":[ { "attributes":{ "displayName":"key", "name":"key", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"value", "name":"value", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"企业ID", "name":"para10", "required":"true", "type":"list" // list,list里元素的类型是结构体,children里是结构体的描述 }, "children":[ { "attributes":{ "displayName":"field1", "name":"field1", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"field2", "name":"field2", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"成员管理密钥", "name":"para11", "required":"true", "type":"struct" }, "children":[ { "attributes":{ "displayName":"field1", // 结构体属性的展示名 "name":"field1", // 结构体属性的名称 "required":"true", // 是否必填 "type":"string" // 属性的类型 } }, { "attributes":{ "displayName":"field2", "name":"field2", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"应用管理密钥", "name":"para12", "required":"true", "type":"enum" }, "children":[ { "attributes":{ "displayName":"PC", // 枚举值的展示名 "name":"PC" // 枚举值的名称 } }, { "attributes":{ "displayName":"MAC", "name":"MAC" } } ] } ] }

Parameters:

  • ConnectorParameter: —

    连接器配置参数描述(json结构),示例如下:

  • RequestId: —

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



221
222
223
# File 'lib/v20200715/models.rb', line 221

def ConnectorParameter
  @ConnectorParameter
end

#RequestId ⇒ Object

{ "attributes":{ "description":"测试", // 连接器的描述 "displayName":"测试", // 连接器的展示名 "name":"test", // 连接器的名称 "version":"1.0.0" // 连接器的版本号 }, "properties":[ { "attributes":{ "displayName":"企业ID", // 参数的展示名 "name":"para1", // 参数名 "required":"true", // 是否必填 "type":"int" // 参数的类型 } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para2", "required":"true", "type":"float" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para3", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"企业ID", "name":"para4", "required":"true", "type":"decimal" } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para5", "required":"true", "type":"bool" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para6", "required":"true", "type":"date" } }, { "attributes":{ "displayName":"企业ID", "name":"para7", "required":"true", "type":"time" } }, { "attributes":{ "displayName":"成员管理密钥", "name":"para8", "required":"true", "type":"datetime" } }, { "attributes":{ "displayName":"应用管理密钥", "name":"para9", "required":"true", "type":"map" }, "children":[ { "attributes":{ "displayName":"key", "name":"key", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"value", "name":"value", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"企业ID", "name":"para10", "required":"true", "type":"list" // list,list里元素的类型是结构体,children里是结构体的描述 }, "children":[ { "attributes":{ "displayName":"field1", "name":"field1", "required":"true", "type":"string" } }, { "attributes":{ "displayName":"field2", "name":"field2", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"成员管理密钥", "name":"para11", "required":"true", "type":"struct" }, "children":[ { "attributes":{ "displayName":"field1", // 结构体属性的展示名 "name":"field1", // 结构体属性的名称 "required":"true", // 是否必填 "type":"string" // 属性的类型 } }, { "attributes":{ "displayName":"field2", "name":"field2", "required":"true", "type":"any" } } ] }, { "attributes":{ "displayName":"应用管理密钥", "name":"para12", "required":"true", "type":"enum" }, "children":[ { "attributes":{ "displayName":"PC", // 枚举值的展示名 "name":"PC" // 枚举值的名称 } }, { "attributes":{ "displayName":"MAC", "name":"MAC" } } ] } ] }

Parameters:

  • ConnectorParameter: —

    连接器配置参数描述(json结构),示例如下:

  • RequestId: —

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



221
222
223
# File 'lib/v20200715/models.rb', line 221

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



228
229
230
231
# File 'lib/v20200715/models.rb', line 228

def deserialize(params)
  @ConnectorParameter = params['ConnectorParameter']
  @RequestId = params['RequestId']
end