Class: PortfolioManager::Xml::HeyType

Inherits:
Object
  • Object
show all
Defined in:
lib/portfolio_manager/xml.rb

Overview

{}heyType

Defined Under Namespace

Classes: Meter, PropertyInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(propertyInfo = nil, meter = []) ⇒ HeyType

Returns a new instance of HeyType.



7628
7629
7630
7631
# File 'lib/portfolio_manager/xml.rb', line 7628

def initialize(propertyInfo = nil, meter = [])
  @propertyInfo = propertyInfo
  @meter = meter
end

Instance Attribute Details

#meterPortfolioManager::Xml::HeyType::Meter



7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/portfolio_manager/xml.rb', line 7577

class HeyType

  # inner class for member: propertyInfo
  # {}propertyInfo
  # @!attribute [rw] postalCode
  #   @return [SOAP::SOAPString]
  # @!attribute [rw] numberOfOccupants
  #   @return [SOAP::SOAPInt]
  # @!attribute [rw] grossFloorArea
  #   @return [PortfolioManager::Xml::GrossFloorAreaType]
  class PropertyInfo
    attr_accessor :postalCode
    attr_accessor :numberOfOccupants
    attr_accessor :grossFloorArea

    def initialize(postalCode = nil, numberOfOccupants = nil, grossFloorArea = nil)
      @postalCode = postalCode
      @numberOfOccupants = numberOfOccupants
      @grossFloorArea = grossFloorArea
    end
  end

  # inner class for member: meter
  # {}meter
  # @!attribute [rw] type
  #   @return [PortfolioManager::Xml::AllEnergyMetersType]
  # @!attribute [rw] unitOfMeasure
  #   @return [PortfolioManager::Xml::DesignUnitOfMeasure]
  # @!attribute [rw] meterData
  #   @return [PortfolioManager::Xml::HeyType::Meter::MeterData]
  class Meter

    # inner class for member: meterData
    # {}meterData
    class MeterData < ::Array
    end

    attr_accessor :type
    attr_accessor :unitOfMeasure
    attr_accessor :meterData

    def initialize(type = nil, unitOfMeasure = nil, meterData = nil)
      @type = type
      @unitOfMeasure = unitOfMeasure
      @meterData = meterData
    end
  end

  attr_accessor :propertyInfo
  attr_accessor :meter

  def initialize(propertyInfo = nil, meter = [])
    @propertyInfo = propertyInfo
    @meter = meter
  end
end

#propertyInfoPortfolioManager::Xml::HeyType::PropertyInfo



7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/portfolio_manager/xml.rb', line 7577

class HeyType

  # inner class for member: propertyInfo
  # {}propertyInfo
  # @!attribute [rw] postalCode
  #   @return [SOAP::SOAPString]
  # @!attribute [rw] numberOfOccupants
  #   @return [SOAP::SOAPInt]
  # @!attribute [rw] grossFloorArea
  #   @return [PortfolioManager::Xml::GrossFloorAreaType]
  class PropertyInfo
    attr_accessor :postalCode
    attr_accessor :numberOfOccupants
    attr_accessor :grossFloorArea

    def initialize(postalCode = nil, numberOfOccupants = nil, grossFloorArea = nil)
      @postalCode = postalCode
      @numberOfOccupants = numberOfOccupants
      @grossFloorArea = grossFloorArea
    end
  end

  # inner class for member: meter
  # {}meter
  # @!attribute [rw] type
  #   @return [PortfolioManager::Xml::AllEnergyMetersType]
  # @!attribute [rw] unitOfMeasure
  #   @return [PortfolioManager::Xml::DesignUnitOfMeasure]
  # @!attribute [rw] meterData
  #   @return [PortfolioManager::Xml::HeyType::Meter::MeterData]
  class Meter

    # inner class for member: meterData
    # {}meterData
    class MeterData < ::Array
    end

    attr_accessor :type
    attr_accessor :unitOfMeasure
    attr_accessor :meterData

    def initialize(type = nil, unitOfMeasure = nil, meterData = nil)
      @type = type
      @unitOfMeasure = unitOfMeasure
      @meterData = meterData
    end
  end

  attr_accessor :propertyInfo
  attr_accessor :meter

  def initialize(propertyInfo = nil, meter = [])
    @propertyInfo = propertyInfo
    @meter = meter
  end
end