Class: TencentCloud::Cwp::V20180228::Broadcasts

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

Overview

安全播报列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title = nil, type = nil, subtitle = nil, createtime = nil, id = nil, level = nil) ⇒ Broadcasts

Returns a new instance of Broadcasts.



4525
4526
4527
4528
4529
4530
4531
4532
# File 'lib/v20180228/models.rb', line 4525

def initialize(title=nil, type=nil, subtitle=nil, createtime=nil, id=nil, level=nil)
  @Title = title
  @Type = type
  @Subtitle = subtitle
  @CreateTime = createtime
  @Id = id
  @Level = level
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def CreateTime
  @CreateTime
end

#IdObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def Id
  @Id
end

#LevelObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def Level
  @Level
end

#SubtitleObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def Subtitle
  @Subtitle
end

#TitleObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def Title
  @Title
end

#TypeObject

Parameters:

  • Title:

    文章名字

  • Type:

    类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Id:

    文章唯一id

  • Level:

    危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危



4523
4524
4525
# File 'lib/v20180228/models.rb', line 4523

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4534
4535
4536
4537
4538
4539
4540
4541
# File 'lib/v20180228/models.rb', line 4534

def deserialize(params)
  @Title = params['Title']
  @Type = params['Type']
  @Subtitle = params['Subtitle']
  @CreateTime = params['CreateTime']
  @Id = params['Id']
  @Level = params['Level']
end