Class: TencentCloud::Billing::V20180709::AllocationRuleExpression
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::AllocationRuleExpression
- Defined in:
- lib/v20180709/models.rb
Overview
分账规则表达式
Instance Attribute Summary collapse
-
#Children ⇒ Object
枚举值: ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型 枚举值: in - 是 not in - 不是 and - 且 or - 或.
-
#Connectors ⇒ Object
枚举值: ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型 枚举值: in - 是 not in - 不是 and - 且 or - 或.
-
#Operator ⇒ Object
枚举值: ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型 枚举值: in - 是 not in - 不是 and - 且 or - 或.
-
#RuleKey ⇒ Object
枚举值: ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型 枚举值: in - 是 not in - 不是 and - 且 or - 或.
-
#RuleValue ⇒ Object
枚举值: ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型 枚举值: in - 是 not in - 不是 and - 且 or - 或.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulekey = nil, operator = nil, rulevalue = nil, connectors = nil, children = nil) ⇒ AllocationRuleExpression
constructor
A new instance of AllocationRuleExpression.
Constructor Details
#initialize(rulekey = nil, operator = nil, rulevalue = nil, connectors = nil, children = nil) ⇒ AllocationRuleExpression
Returns a new instance of AllocationRuleExpression.
824 825 826 827 828 829 830 |
# File 'lib/v20180709/models.rb', line 824 def initialize(rulekey=nil, operator=nil, rulevalue=nil, connectors=nil, children=nil) @RuleKey = rulekey @Operator = operator @RuleValue = rulevalue @Connectors = connectors @Children = children end |
Instance Attribute Details
#Children ⇒ Object
枚举值:ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型枚举值:in - 是not in - 不是and - 且or - 或
822 823 824 |
# File 'lib/v20180709/models.rb', line 822 def Children @Children end |
#Connectors ⇒ Object
枚举值:ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型枚举值:in - 是not in - 不是and - 且or - 或
822 823 824 |
# File 'lib/v20180709/models.rb', line 822 def Connectors @Connectors end |
#Operator ⇒ Object
枚举值:ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型枚举值:in - 是not in - 不是and - 且or - 或
822 823 824 |
# File 'lib/v20180709/models.rb', line 822 def Operator @Operator end |
#RuleKey ⇒ Object
枚举值:ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型枚举值:in - 是not in - 不是and - 且or - 或
822 823 824 |
# File 'lib/v20180709/models.rb', line 822 def RuleKey @RuleKey end |
#RuleValue ⇒ Object
枚举值:ownerUin - 使用者UIN, operateUin - 操作者UIN, businessCode - 产品一层编码, productCode - 产品二层编码, itemCode - 产品四层编码, projectId - 项目ID, regionId - 地域ID, resourceId - 资源ID, tag - 标签键值对, payMode - 计费模式, instanceType - 实例类型, actionType - 交易类型枚举值:in - 是not in - 不是and - 且or - 或
822 823 824 |
# File 'lib/v20180709/models.rb', line 822 def RuleValue @RuleValue end |
Instance Method Details
#deserialize(params) ⇒ Object
832 833 834 835 836 837 838 839 840 841 842 843 844 845 |
# File 'lib/v20180709/models.rb', line 832 def deserialize(params) @RuleKey = params['RuleKey'] @Operator = params['Operator'] @RuleValue = params['RuleValue'] @Connectors = params['Connectors'] unless params['Children'].nil? @Children = [] params['Children'].each do |i| allocationruleexpression_tmp = AllocationRuleExpression.new allocationruleexpression_tmp.deserialize(i) @Children << allocationruleexpression_tmp end end end |