Class: TencentCloud::Waf::V20180125::ApiParameterType

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

Overview

api请求参数类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parametername = nil, type = nil, location = nil, label = nil, timestamp = nil, remark = nil, source = nil, ispan = nil, isauth = nil) ⇒ ApiParameterType



1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
# File 'lib/v20180125/models.rb', line 1367

def initialize(parametername=nil, type=nil, location=nil, label=nil, timestamp=nil, remark=nil, source=nil, ispan=nil, isauth=nil)
  @ParameterName = parametername
  @Type = type
  @Location = location
  @Label = label
  @Timestamp = timestamp
  @Remark = remark
  @Source = source
  @IsPan = ispan
  @IsAuth = isauth
end

Instance Attribute Details

#IsAuthObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def IsAuth
  @IsAuth
end

#IsPanObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def IsPan
  @IsPan
end

#LabelObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Label
  @Label
end

#LocationObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Location
  @Location
end

#ParameterNameObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def ParameterName
  @ParameterName
end

#RemarkObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Remark
  @Remark
end

#SourceObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Source
  @Source
end

#TimestampObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Timestamp
  @Timestamp
end

#TypeObject



1365
1366
1367
# File 'lib/v20180125/models.rb', line 1365

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
# File 'lib/v20180125/models.rb', line 1379

def deserialize(params)
  @ParameterName = params['ParameterName']
  @Type = params['Type']
  @Location = params['Location']
  @Label = params['Label']
  @Timestamp = params['Timestamp']
  @Remark = params['Remark']
  @Source = params['Source']
  @IsPan = params['IsPan']
  @IsAuth = params['IsAuth']
end