Class: TencentCloud::Cls::V20201016::WebCallback

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20201016/models.rb

Overview

回调地址

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(callbacktype = nil, url = nil, webcallbackid = nil, method = nil, noticecontentid = nil, remindtype = nil, mobiles = nil, userids = nil, headers = nil, body = nil, index = nil) ⇒ WebCallback

Returns a new instance of WebCallback.



18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
# File 'lib/v20201016/models.rb', line 18010

def initialize(callbacktype=nil, url=nil, webcallbackid=nil, method=nil, noticecontentid=nil, remindtype=nil, mobiles=nil, userids=nil, headers=nil, body=nil, index=nil)
  @CallbackType = callbacktype
  @Url = url
  @WebCallbackId = webcallbackid
  @Method = method
  @NoticeContentId = noticecontentid
  @RemindType = remindtype
  @Mobiles = mobiles
  @UserIds = userids
  @Headers = headers
  @Body = body
  @Index = index
end

Instance Attribute Details

#Body ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Body
  @Body
end

#CallbackType ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def CallbackType
  @CallbackType
end

#Headers ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Headers
  @Headers
end

#Index ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Index
  @Index
end

#Method ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Method
  @Method
end

#Mobiles ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Mobiles
  @Mobiles
end

#NoticeContentId ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def NoticeContentId
  @NoticeContentId
end

#RemindType ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def RemindType
  @RemindType
end

#Url ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def Url
  @Url
end

#UserIds ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def UserIds
  @UserIds
end

#WebCallbackId ⇒ Object

0:不提醒;1:指定人;2:所有人 注意:此字段可能返回 null,表示取不到有效值。

  • 入参无效。
  • 出参有效。

Parameters:

  • Mobiles: —

    电话列表。

  • UserIds: —

    用户ID列表。

  • Headers: —

    该参数已废弃,请使用NoticeContentId。

  • Body: —

    该参数已废弃,请使用NoticeContentId。

  • Index: —

    序号。



18003
18004
18005
# File 'lib/v20201016/models.rb', line 18003

def WebCallbackId
  @WebCallbackId
end

Instance Method Details

#deserialize(params) ⇒ Object



18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
# File 'lib/v20201016/models.rb', line 18024

def deserialize(params)
  @CallbackType = params['CallbackType']
  @Url = params['Url']
  @WebCallbackId = params['WebCallbackId']
  @Method = params['Method']
  @NoticeContentId = params['NoticeContentId']
  @RemindType = params['RemindType']
  @Mobiles = params['Mobiles']
  @UserIds = params['UserIds']
  @Headers = params['Headers']
  @Body = params['Body']
  @Index = params['Index']
end