class TencentCloud::Tsf::V20180326::UnitRule

微服务网关单元化规则

def deserialize(params)

def deserialize(params)
  @Name = params['Name']
  @Id = params['Id']
  @GatewayInstanceId = params['GatewayInstanceId']
  @Description = params['Description']
  @Status = params['Status']
  unless params['UnitRuleItemList'].nil?
    @UnitRuleItemList = []
    params['UnitRuleItemList'].each do |i|
      unitruleitem_tmp = UnitRuleItem.new
      unitruleitem_tmp.deserialize(i)
      @UnitRuleItemList << unitruleitem_tmp
    end
  end
  @CreatedTime = params['CreatedTime']
  @UpdatedTime = params['UpdatedTime']
end

def initialize(name=nil, id=nil, gatewayinstanceid=nil, description=nil, status=nil, unitruleitemlist=nil, createdtime=nil, updatedtime=nil)

def initialize(name=nil, id=nil, gatewayinstanceid=nil, description=nil, status=nil, unitruleitemlist=nil, createdtime=nil, updatedtime=nil)
  @Name = name
  @Id = id
  @GatewayInstanceId = gatewayinstanceid
  @Description = description
  @Status = status
  @UnitRuleItemList = unitruleitemlist
  @CreatedTime = createdtime
  @UpdatedTime = updatedtime
end