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.
6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 |
# File 'lib/v20210527/models.rb', line 6978 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
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def CreateTime @CreateTime end |
#CurrentConcurrency ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def CurrentConcurrency @CurrentConcurrency end |
#CurrentTime ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def CurrentTime @CurrentTime end |
#ExpireTime ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def ExpireTime @ExpireTime end |
#Id ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def Id @Id end |
#MaxConcurrency ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def MaxConcurrency @MaxConcurrency end |
#OriginKeys ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def OriginKeys @OriginKeys end |
#OriginRule ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def OriginRule @OriginRule end |
#RejectedSqlCount ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def RejectedSqlCount @RejectedSqlCount end |
#SqlType ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def SqlType @SqlType end |
#Status ⇒ Object
6976 6977 6978 |
# File 'lib/v20210527/models.rb', line 6976 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 |
# File 'lib/v20210527/models.rb', line 6992 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 |