Class: TencentCloud::Tcm::V20210413::AccessLogConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::AccessLogConfig
- Defined in:
- lib/v20210413/models.rb
Overview
AccessLog 配置
Instance Attribute Summary collapse
- #Address ⇒ Object
- #CLS ⇒ Object
- #Enable ⇒ Object
- #EnableServer ⇒ Object
- #EnableStdout ⇒ Object
- #Encoding ⇒ Object
- #Format ⇒ Object
- #SelectedRange ⇒ Object
- #Template ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enable = nil, template = nil, selectedrange = nil, cls = nil, encoding = nil, format = nil, address = nil, enableserver = nil, enablestdout = nil) ⇒ AccessLogConfig
constructor
A new instance of AccessLogConfig.
Constructor Details
#initialize(enable = nil, template = nil, selectedrange = nil, cls = nil, encoding = nil, format = nil, address = nil, enableserver = nil, enablestdout = nil) ⇒ AccessLogConfig
Returns a new instance of AccessLogConfig.
74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/v20210413/models.rb', line 74 def initialize(enable=nil, template=nil, selectedrange=nil, cls=nil, encoding=nil, format=nil, address=nil, enableserver=nil, enablestdout=nil) @Enable = enable @Template = template @SelectedRange = selectedrange @CLS = cls @Encoding = encoding @Format = format @Address = address @EnableServer = enableserver @EnableStdout = enablestdout end |
Instance Attribute Details
#Address ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def Address @Address end |
#CLS ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def CLS @CLS end |
#Enable ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def Enable @Enable end |
#EnableServer ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def EnableServer @EnableServer end |
#EnableStdout ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def EnableStdout @EnableStdout end |
#Encoding ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def Encoding @Encoding end |
#Format ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def Format @Format end |
#SelectedRange ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def SelectedRange @SelectedRange end |
#Template ⇒ Object
72 73 74 |
# File 'lib/v20210413/models.rb', line 72 def Template @Template end |
Instance Method Details
#deserialize(params) ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20210413/models.rb', line 86 def deserialize(params) @Enable = params['Enable'] @Template = params['Template'] unless params['SelectedRange'].nil? @SelectedRange = SelectedRange.new @SelectedRange.deserialize(params['SelectedRange']) end unless params['CLS'].nil? @CLS = CLS.new @CLS.deserialize(params['CLS']) end @Encoding = params['Encoding'] @Format = params['Format'] @Address = params['Address'] @EnableServer = params['EnableServer'] @EnableStdout = params['EnableStdout'] end |