class TencentCloud::Cdwpg::V20201230::CreateInstanceByApiRequest

def deserialize(params)

def deserialize(params)
  @InstanceName = params['InstanceName']
  @Zone = params['Zone']
  @UserVPCId = params['UserVPCId']
  @UserSubnetId = params['UserSubnetId']
  unless params['ChargeProperties'].nil?
    @ChargeProperties = ChargeProperties.new
    @ChargeProperties.deserialize(params['ChargeProperties'])
  end
  @AdminPassword = params['AdminPassword']
  unless params['Resources'].nil?
    @Resources = []
    params['Resources'].each do |i|
      resourcespecnew_tmp = ResourceSpecNew.new
      resourcespecnew_tmp.deserialize(i)
      @Resources << resourcespecnew_tmp
    end
  end
  unless params['Tags'].nil?
    @Tags = Tag.new
    @Tags.deserialize(params['Tags'])
  end
  @ProductVersion = params['ProductVersion']
end