lib/v20190822/models.rb in tencentcloud-sdk-smpn-3.0.590 vs lib/v20190822/models.rb in tencentcloud-sdk-smpn-3.0.591
- old
+ new
@@ -21,11 +21,11 @@
class CHPRequest < TencentCloud::Common::AbstractModel
# @param PhoneNumber: 电话号码
# @type PhoneNumber: String
attr_accessor :PhoneNumber
-
+
def initialize(phonenumber=nil)
@PhoneNumber = phonenumber
end
def deserialize(params)
@@ -47,11 +47,11 @@
# @type TagType: Integer
# @param TagCount: 标记次数
# @type TagCount: Integer
attr_accessor :TagType, :TagCount
-
+
def initialize(tagtype=nil, tagcount=nil)
@TagType = tagtype
@TagCount = tagcount
end
@@ -67,11 +67,11 @@
# @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.EPARequest`
# @param ResourceId: 用于计费的资源ID
# @type ResourceId: String
attr_accessor :RequestData, :ResourceId
-
+
def initialize(requestdata=nil, resourceid=nil)
@RequestData = requestdata
@ResourceId = resourceid
end
@@ -90,11 +90,11 @@
# @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.EPAResponse`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ResponseData, :RequestId
-
+
def initialize(responsedata=nil, requestid=nil)
@ResponseData = responsedata
@RequestId = requestid
end
@@ -113,11 +113,11 @@
# @type ResourceId: String
# @param RequestData: 终端骚扰保护请求
# @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.CHPRequest`
attr_accessor :ResourceId, :RequestData
-
+
def initialize(resourceid=nil, requestdata=nil)
@ResourceId = resourceid
@RequestData = requestdata
end
@@ -136,11 +136,11 @@
# @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.CHPResponse`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ResponseData, :RequestId
-
+
def initialize(responsedata=nil, requestid=nil)
@ResponseData = responsedata
@RequestId = requestid
end
@@ -159,11 +159,11 @@
# @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.FNRRequest`
# @param ResourceId: 用于计费的资源ID
# @type ResourceId: String
attr_accessor :RequestData, :ResourceId
-
+
def initialize(requestdata=nil, resourceid=nil)
@RequestData = requestdata
@ResourceId = resourceid
end
@@ -182,11 +182,11 @@
# @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.FNRResponse`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ResponseData, :RequestId
-
+
def initialize(responsedata=nil, requestid=nil)
@ResponseData = responsedata
@RequestId = requestid
end
@@ -205,11 +205,11 @@
# @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.MHMRequest`
# @param ResourceId: 用于计费的资源ID
# @type ResourceId: String
attr_accessor :RequestData, :ResourceId
-
+
def initialize(requestdata=nil, resourceid=nil)
@RequestData = requestdata
@ResourceId = resourceid
end
@@ -228,11 +228,11 @@
# @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.MHMResponse`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ResponseData, :RequestId
-
+
def initialize(responsedata=nil, requestid=nil)
@ResponseData = responsedata
@RequestId = requestid
end
@@ -251,11 +251,11 @@
# @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.MRLRequest`
# @param ResourceId: 用于计费的资源ID
# @type ResourceId: String
attr_accessor :RequestData, :ResourceId
-
+
def initialize(requestdata=nil, resourceid=nil)
@RequestData = requestdata
@ResourceId = resourceid
end
@@ -274,11 +274,11 @@
# @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.MRLResponse`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ResponseData, :RequestId
-
+
def initialize(responsedata=nil, requestid=nil)
@ResponseData = responsedata
@RequestId = requestid
end
@@ -297,11 +297,11 @@
# @type PhoneNumber: String
# @param Name: 黄页名称
# @type Name: String
attr_accessor :PhoneNumber, :Name
-
+
def initialize(phonenumber=nil, name=nil)
@PhoneNumber = phonenumber
@Name = name
end
@@ -315,11 +315,11 @@
class EPAResponse < TencentCloud::Common::AbstractModel
# @param RetCode: 0成功 其他失败
# @type RetCode: Integer
attr_accessor :RetCode
-
+
def initialize(retcode=nil)
@RetCode = retcode
end
def deserialize(params)
@@ -331,11 +331,11 @@
class FNRRequest < TencentCloud::Common::AbstractModel
# @param PhoneNumber: 电话号码
# @type PhoneNumber: String
attr_accessor :PhoneNumber
-
+
def initialize(phonenumber=nil)
@PhoneNumber = phonenumber
end
def deserialize(params)
@@ -347,11 +347,11 @@
class FNRResponse < TencentCloud::Common::AbstractModel
# @param Status: 虚假号码描述
# @type Status: Integer
attr_accessor :Status
-
+
def initialize(status=nil)
@Status = status
end
def deserialize(params)
@@ -363,11 +363,11 @@
class MHMRequest < TencentCloud::Common::AbstractModel
# @param PhoneNumber: 电话号码
# @type PhoneNumber: String
attr_accessor :PhoneNumber
-
+
def initialize(phonenumber=nil)
@PhoneNumber = phonenumber
end
def deserialize(params)
@@ -389,11 +389,11 @@
# @type TagType: Integer
# @param TagCount: 标记次数
# @type TagCount: Integer
attr_accessor :TagType, :TagCount
-
+
def initialize(tagtype=nil, tagcount=nil)
@TagType = tagtype
@TagCount = tagcount
end
@@ -407,11 +407,11 @@
class MRLRequest < TencentCloud::Common::AbstractModel
# @param PhoneNumber: 电话号码
# @type PhoneNumber: String
attr_accessor :PhoneNumber
-
+
def initialize(phonenumber=nil)
@PhoneNumber = phonenumber
end
def deserialize(params)
@@ -431,10 +431,10 @@
# @type SalesLevel: Integer
# @param CheatLevel: 诈骗电话恶意标记等级
# @type CheatLevel: Integer
attr_accessor :DisturbLevel, :HouseAgentLevel, :InsuranceLevel, :SalesLevel, :CheatLevel
-
+
def initialize(disturblevel=nil, houseagentlevel=nil, insurancelevel=nil, saleslevel=nil, cheatlevel=nil)
@DisturbLevel = disturblevel
@HouseAgentLevel = houseagentlevel
@InsuranceLevel = insurancelevel
@SalesLevel = saleslevel