Class: TencentCloud::Eb::V20210416::CreateEventBusRequest

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

Overview

CreateEventBus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventbusname = nil, description = nil, savedays = nil, enablestore = nil) ⇒ CreateEventBusRequest

Returns a new instance of CreateEventBusRequest.



387
388
389
390
391
392
# File 'lib/v20210416/models.rb', line 387

def initialize(eventbusname=nil, description=nil, savedays=nil, enablestore=nil)
  @EventBusName = eventbusname
  @Description = description
  @SaveDays = savedays
  @EnableStore = enablestore
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • EventBusName:

    事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符

  • Description:

    事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符

  • SaveDays:

    EB存储时长

  • EnableStore:

    EB是否开启存储



385
386
387
# File 'lib/v20210416/models.rb', line 385

def Description
  @Description
end

#EnableStoreObject

Parameters:

  • EventBusName:

    事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符

  • Description:

    事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符

  • SaveDays:

    EB存储时长

  • EnableStore:

    EB是否开启存储



385
386
387
# File 'lib/v20210416/models.rb', line 385

def EnableStore
  @EnableStore
end

#EventBusNameObject

Parameters:

  • EventBusName:

    事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符

  • Description:

    事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符

  • SaveDays:

    EB存储时长

  • EnableStore:

    EB是否开启存储



385
386
387
# File 'lib/v20210416/models.rb', line 385

def EventBusName
  @EventBusName
end

#SaveDaysObject

Parameters:

  • EventBusName:

    事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符

  • Description:

    事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符

  • SaveDays:

    EB存储时长

  • EnableStore:

    EB是否开启存储



385
386
387
# File 'lib/v20210416/models.rb', line 385

def SaveDays
  @SaveDays
end

Instance Method Details

#deserialize(params) ⇒ Object



394
395
396
397
398
399
# File 'lib/v20210416/models.rb', line 394

def deserialize(params)
  @EventBusName = params['EventBusName']
  @Description = params['Description']
  @SaveDays = params['SaveDays']
  @EnableStore = params['EnableStore']
end