Class: TencentCloud::Cwp::V20180228::BroadcastInfo

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, gototype = nil, subtitle = nil, createtime = nil, content = nil, id = nil, type = nil) ⇒ BroadcastInfo

Returns a new instance of BroadcastInfo.



4487
4488
4489
4490
4491
4492
4493
4494
4495
# File 'lib/v20180228/models.rb', line 4487

def initialize(title=nil, gototype=nil, subtitle=nil, createtime=nil, content=nil, id=nil, type=nil)
  @Title = title
  @GotoType = gototype
  @Subtitle = subtitle
  @CreateTime = createtime
  @Content = content
  @Id = id
  @Type = type
end

Instance Attribute Details

#ContentObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def Content
  @Content
end

#CreateTimeObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def CreateTime
  @CreateTime
end

#GotoTypeObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def GotoType
  @GotoType
end

#IdObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def Id
  @Id
end

#SubtitleObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def Subtitle
  @Subtitle
end

#TitleObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def Title
  @Title
end

#TypeObject

Parameters:

  • Title:

    文章名字

  • GotoType:

    跳转位置:0=不跳转,1=文件查杀,2=漏洞扫描,3=安全基线

  • Subtitle:

    副标题

  • CreateTime:

    发布时间

  • Content:

    富文本内容信息

  • Id:

    文章唯一Id

  • Type:

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



4485
4486
4487
# File 'lib/v20180228/models.rb', line 4485

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4497
4498
4499
4500
4501
4502
4503
4504
4505
# File 'lib/v20180228/models.rb', line 4497

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