Class: TencentCloud::Dbbrain::V20210527::SQLFilter
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::SQLFilter
- Defined in:
- lib/v20210527/models.rb
Overview
实例SQL限流任务。
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #CurrentConcurrency ⇒ Object
- #CurrentTime ⇒ Object
- #ExpireTime ⇒ Object
- #Id ⇒ Object
- #MaxConcurrency ⇒ Object
- #OriginKeys ⇒ Object
- #OriginRule ⇒ Object
- #RejectedSqlCount ⇒ Object
- #SqlType ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, status = nil, sqltype = nil, originkeys = nil, originrule = nil, rejectedsqlcount = nil, currentconcurrency = nil, maxconcurrency = nil, createtime = nil, currenttime = nil, expiretime = nil) ⇒ SQLFilter
constructor
A new instance of SQLFilter.
Constructor Details
#initialize(id = nil, status = nil, sqltype = nil, originkeys = nil, originrule = nil, rejectedsqlcount = nil, currentconcurrency = nil, maxconcurrency = nil, createtime = nil, currenttime = nil, expiretime = nil) ⇒ SQLFilter
Returns a new instance of SQLFilter.
7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 |
# File 'lib/v20210527/models.rb', line 7072 def initialize(id=nil, status=nil, sqltype=nil, originkeys=nil, originrule=nil, rejectedsqlcount=nil, currentconcurrency=nil, maxconcurrency=nil, createtime=nil, currenttime=nil, expiretime=nil) @Id = id @Status = status @SqlType = sqltype @OriginKeys = originkeys @OriginRule = originrule @RejectedSqlCount = rejectedsqlcount @CurrentConcurrency = currentconcurrency @MaxConcurrency = maxconcurrency @CreateTime = createtime @CurrentTime = currenttime @ExpireTime = expiretime end |
Instance Attribute Details
#CreateTime ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def CreateTime @CreateTime end |
#CurrentConcurrency ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def CurrentConcurrency @CurrentConcurrency end |
#CurrentTime ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def CurrentTime @CurrentTime end |
#ExpireTime ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def ExpireTime @ExpireTime end |
#Id ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def Id @Id end |
#MaxConcurrency ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def MaxConcurrency @MaxConcurrency end |
#OriginKeys ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def OriginKeys @OriginKeys end |
#OriginRule ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def OriginRule @OriginRule end |
#RejectedSqlCount ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def RejectedSqlCount @RejectedSqlCount end |
#SqlType ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def SqlType @SqlType end |
#Status ⇒ Object
7070 7071 7072 |
# File 'lib/v20210527/models.rb', line 7070 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 |
# File 'lib/v20210527/models.rb', line 7086 def deserialize(params) @Id = params['Id'] @Status = params['Status'] @SqlType = params['SqlType'] @OriginKeys = params['OriginKeys'] @OriginRule = params['OriginRule'] @RejectedSqlCount = params['RejectedSqlCount'] @CurrentConcurrency = params['CurrentConcurrency'] @MaxConcurrency = params['MaxConcurrency'] @CreateTime = params['CreateTime'] @CurrentTime = params['CurrentTime'] @ExpireTime = params['ExpireTime'] end |