Class: TencentCloud::Wedata::V20210820::RegisterDsEventPublisherReq
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::RegisterDsEventPublisherReq
- Defined in:
- lib/v20210820/models.rb
Overview
RegisterDsEventPublisher注册事件发布者参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, key = nil, type = nil, properties = nil, description = nil) ⇒ RegisterDsEventPublisherReq
constructor
A new instance of RegisterDsEventPublisherReq.
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
#Description ⇒ Object
29419 29420 29421 |
# File 'lib/v20210820/models.rb', line 29419 def Description @Description end |
#Key ⇒ Object
29419 29420 29421 |
# File 'lib/v20210820/models.rb', line 29419 def Key @Key end |
#ProjectId ⇒ Object
29419 29420 29421 |
# File 'lib/v20210820/models.rb', line 29419 def ProjectId @ProjectId end |
#Properties ⇒ Object
29419 29420 29421 |
# File 'lib/v20210820/models.rb', line 29419 def Properties @Properties end |
#Type ⇒ Object
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 |