class TencentCloud::Sqlserver::V20180328::SpecSellStatus

售卖配置状态

def deserialize(params)

def deserialize(params)
  @Id = params['Id']
  @SpecId = params['SpecId']
  @PayModeStatus = params['PayModeStatus']
  @InstanceType = params['InstanceType']
  @MultiZonesStatus = params['MultiZonesStatus']
  @Architecture = params['Architecture']
  @Style = params['Style']
  @Version = params['Version']
  unless params['ZoneStatusSet'].nil?
    @ZoneStatusSet = []
    params['ZoneStatusSet'].each do |i|
      zonestatus_tmp = ZoneStatus.new
      zonestatus_tmp.deserialize(i)
      @ZoneStatusSet << zonestatus_tmp
    end
  end
  unless params['Price'].nil?
    @Price = Price.new
    @Price.deserialize(params['Price'])
  end
  @Status = params['Status']
end

def initialize(id=nil, specid=nil, paymodestatus=nil, instancetype=nil, multizonesstatus=nil, architecture=nil, style=nil, version=nil, zonestatusset=nil, price=nil, status=nil)

def initialize(id=nil, specid=nil, paymodestatus=nil, instancetype=nil, multizonesstatus=nil, architecture=nil, style=nil, version=nil, zonestatusset=nil, price=nil, status=nil)
  @Id = id
  @SpecId = specid
  @PayModeStatus = paymodestatus
  @InstanceType = instancetype
  @MultiZonesStatus = multizonesstatus
  @Architecture = architecture
  @Style = style
  @Version = version
  @ZoneStatusSet = zonestatusset
  @Price = price
  @Status = status
end