lib/v20200721/models.rb in tencentcloud-sdk-advisor-3.0.590 vs lib/v20200721/models.rb in tencentcloud-sdk-advisor-3.0.591

- old
+ new

@@ -46,11 +46,11 @@ # @param Conditions: 评估项风险列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Conditions: Array attr_accessor :StrategyId, :Name, :Desc, :Product, :ProductDesc, :Repair, :GroupId, :GroupName, :Conditions - + def initialize(strategyid=nil, name=nil, desc=nil, product=nil, productdesc=nil, repair=nil, groupid=nil, groupname=nil, conditions=nil) @StrategyId = strategyid @Name = name @Desc = desc @Product = product @@ -94,11 +94,11 @@ # @type LevelDesc: String # @param Desc: 警告条件描述 # @type Desc: String attr_accessor :ConditionId, :Level, :LevelDesc, :Desc - + def initialize(conditionid=nil, level=nil, leveldesc=nil, desc=nil) @ConditionId = conditionid @Level = level @LevelDesc = leveldesc @Desc = desc @@ -113,11 +113,11 @@ end # DescribeStrategies请求参数结构体 class DescribeStrategiesRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -130,11 +130,11 @@ # @type Strategies: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Strategies, :RequestId - + def initialize(strategies=nil, requestid=nil) @Strategies = strategies @RequestId = requestid end @@ -163,11 +163,11 @@ # @type Env: String # @param TaskType: 任务类型 # @type TaskType: String attr_accessor :StrategyId, :Limit, :Offset, :Env, :TaskType - + def initialize(strategyid=nil, limit=nil, offset=nil, env=nil, tasktype=nil) @StrategyId = strategyid @Limit = limit @Offset = offset @Env = env @@ -203,11 +203,11 @@ # @type ResourceCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RiskFieldsDesc, :StrategyId, :RiskTotalCount, :Risks, :ResourceCount, :RequestId - + def initialize(riskfieldsdesc=nil, strategyid=nil, risktotalcount=nil, risks=nil, resourcecount=nil, requestid=nil) @RiskFieldsDesc = riskfieldsdesc @StrategyId = strategyid @RiskTotalCount = risktotalcount @Risks = risks @@ -238,11 +238,11 @@ # @type Key: String # @param Value: 键名对应值 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -267,10 +267,10 @@ # @param FieldDict: 字段值对应字典 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FieldDict: Array attr_accessor :Field, :FieldName, :FieldType, :FieldDict - + def initialize(field=nil, fieldname=nil, fieldtype=nil, fielddict=nil) @Field = field @FieldName = fieldname @FieldType = fieldtype @FieldDict = fielddict