Class: TencentCloud::Dayu::V20180709::DescribeDDoSIpLogResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeDDoSIpLogResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeDDoSIpLog返回参数结构体
Instance Attribute Summary collapse
-
#Business ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#Data ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#EndTime ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#Id ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#Ip ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#RequestId ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
-
#StartTime ⇒ Object
Key为“LogTime”时,Value值为IP日志时间 Key为“LogMessage”时,Value值为Ip日志内容.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, id = nil, ip = nil, starttime = nil, endtime = nil, data = nil, requestid = nil) ⇒ DescribeDDoSIpLogResponse
constructor
A new instance of DescribeDDoSIpLogResponse.
Constructor Details
#initialize(business = nil, id = nil, ip = nil, starttime = nil, endtime = nil, data = nil, requestid = nil) ⇒ DescribeDDoSIpLogResponse
Returns a new instance of DescribeDDoSIpLogResponse.
3932 3933 3934 3935 3936 3937 3938 3939 3940 |
# File 'lib/v20180709/models.rb', line 3932 def initialize(business=nil, id=nil, ip=nil, starttime=nil, endtime=nil, data=nil, requestid=nil) @Business = business @Id = id @Ip = ip @StartTime = starttime @EndTime = endtime @Data = data @RequestId = requestid end |
Instance Attribute Details
#Business ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def Business @Business end |
#Data ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def Data @Data end |
#EndTime ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def EndTime @EndTime end |
#Id ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def Id @Id end |
#Ip ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def Ip @Ip end |
#RequestId ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def RequestId @RequestId end |
#StartTime ⇒ Object
Key为“LogTime”时,Value值为IP日志时间Key为“LogMessage”时,Value值为Ip日志内容
3930 3931 3932 |
# File 'lib/v20180709/models.rb', line 3930 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 |
# File 'lib/v20180709/models.rb', line 3942 def deserialize(params) @Business = params['Business'] @Id = params['Id'] @Ip = params['Ip'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| keyvaluerecord_tmp = KeyValueRecord.new keyvaluerecord_tmp.deserialize(i) @Data << keyvaluerecord_tmp end end @RequestId = params['RequestId'] end |