Class: TencentCloud::Wedata::V20210820::RegisterDsEventPublisherReq

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

Overview

RegisterDsEventPublisher注册事件发布者参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, key = nil, type = nil, properties = nil, description = nil) ⇒ RegisterDsEventPublisherReq

Returns a new instance of RegisterDsEventPublisherReq.



29421
29422
29423
29424
29425
29426
29427
# File 'lib/v20210820/models.rb', line 29421

def initialize(projectid=nil, key=nil, type=nil, properties=nil, description=nil)
  @ProjectId = projectid
  @Key = key
  @Type = type
  @Properties = properties
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • ProjectId:

    项目id

  • Key:

    任务id

  • Type:

    类型 REST_API、KAFKA

  • Properties:

    配置信息

  • Description:

    描述信息



29419
29420
29421
# File 'lib/v20210820/models.rb', line 29419

def Description
  @Description
end

#KeyObject

Parameters:

  • ProjectId:

    项目id

  • Key:

    任务id

  • Type:

    类型 REST_API、KAFKA

  • Properties:

    配置信息

  • Description:

    描述信息



29419
29420
29421
# File 'lib/v20210820/models.rb', line 29419

def Key
  @Key
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • Key:

    任务id

  • Type:

    类型 REST_API、KAFKA

  • Properties:

    配置信息

  • Description:

    描述信息



29419
29420
29421
# File 'lib/v20210820/models.rb', line 29419

def ProjectId
  @ProjectId
end

#PropertiesObject

Parameters:

  • ProjectId:

    项目id

  • Key:

    任务id

  • Type:

    类型 REST_API、KAFKA

  • Properties:

    配置信息

  • Description:

    描述信息



29419
29420
29421
# File 'lib/v20210820/models.rb', line 29419

def Properties
  @Properties
end

#TypeObject

Parameters:

  • ProjectId:

    项目id

  • Key:

    任务id

  • Type:

    类型 REST_API、KAFKA

  • Properties:

    配置信息

  • Description:

    描述信息



29419
29420
29421
# File 'lib/v20210820/models.rb', line 29419

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
# File 'lib/v20210820/models.rb', line 29429

def deserialize(params)
  @ProjectId = params['ProjectId']
  @Key = params['Key']
  @Type = params['Type']
  unless params['Properties'].nil?
    @Properties = []
    params['Properties'].each do |i|
      paraminfods_tmp = ParamInfoDs.new
      paraminfods_tmp.deserialize(i)
      @Properties << paraminfods_tmp
    end
  end
  @Description = params['Description']
end