Class: TencentCloud::Weilingwith::V20230427::ReportAppMessage

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

Overview

单条消息上报请求

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workspaceid = nil, profile = nil, reportts = nil, properties = nil, eventset = nil, serviceset = nil, extendtwo = nil, echo = nil) ⇒ ReportAppMessage

Returns a new instance of ReportAppMessage.



6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
# File 'lib/v20230427/models.rb', line 6523

def initialize(workspaceid=nil, profile=nil, reportts=nil, properties=nil, eventset=nil, serviceset=nil, extendtwo=nil, echo=nil)
  @WorkspaceId = workspaceid
  @Profile = profile
  @ReportTs = reportts
  @Properties = properties
  @EventSet = eventset
  @ServiceSet = serviceset
  @ExtendTwo = extendtwo
  @Echo = echo
end

Instance Attribute Details

#EchoObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def Echo
  @Echo
end

#EventSetObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def EventSet
  @EventSet
end

#ExtendTwoObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def ExtendTwo
  @ExtendTwo
end

#ProfileObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def Profile
  @Profile
end

#PropertiesObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def Properties
  @Properties
end

#ReportTsObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def ReportTs
  @ReportTs
end

#ServiceSetObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def ServiceSet
  @ServiceSet
end

#WorkspaceIdObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • EventSet:

    事件定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需在前加上x-json:

  • Echo:

    透传信息,若为json格式,需在前加上x-json:,有效字段为x-json:后的字段



6521
6522
6523
# File 'lib/v20230427/models.rb', line 6521

def WorkspaceId
  @WorkspaceId
end

Instance Method Details

#deserialize(params) ⇒ Object



6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
# File 'lib/v20230427/models.rb', line 6534

def deserialize(params)
  @WorkspaceId = params['WorkspaceId']
  unless params['Profile'].nil?
    @Profile = MessageProfile.new
    @Profile.deserialize(params['Profile'])
  end
  @ReportTs = params['ReportTs']
  @Properties = params['Properties']
  @EventSet = params['EventSet']
  @ServiceSet = params['ServiceSet']
  @ExtendTwo = params['ExtendTwo']
  @Echo = params['Echo']
end