Class: TencentCloud::Weilingwith::V20230427::ReportAppMessageRequest

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

Overview

ReportAppMessage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ReportAppMessageRequest.



6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
# File 'lib/v20230427/models.rb', line 6572

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

Instance Attribute Details

#ApplicationTokenObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def ApplicationToken
  @ApplicationToken
end

#EchoObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def Echo
  @Echo
end

#EventSetObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def EventSet
  @EventSet
end

#ExtendTwoObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def ExtendTwo
  @ExtendTwo
end

#ProfileObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def Profile
  @Profile
end

#PropertiesObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def Properties
  @Properties
end

#ReportTsObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def ReportTs
  @ReportTs
end

#ServiceSetObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def ServiceSet
  @ServiceSet
end

#WorkspaceIdObject

Parameters:

  • WorkspaceId:

    工作空间Id

  • Profile:

    消息定义

  • ReportTs:

    数据上报时间

  • Properties:

    属性定义 - KV的json格式,有效字段为x-json:后的字段

  • ApplicationToken:

    应用token

  • EventSet:

    事件定义 - KKV的json格式,有效字段为x-json:后的字段

  • ServiceSet:

    服务定义 - KKV的json格式,有效字段为x-json:后的字段

  • ExtendTwo:

    扩展字段2,如:算法上报id,若为json格式,需传x-json:{},有效字段为x-json:后的字段

  • Echo:

    透传信息,若为json格式,需传x-json:{},有效字段为x-json:后的字段



6570
6571
6572
# File 'lib/v20230427/models.rb', line 6570

def WorkspaceId
  @WorkspaceId
end

Instance Method Details

#deserialize(params) ⇒ Object



6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
# File 'lib/v20230427/models.rb', line 6584

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