Class: PortfolioManager::Xml::BarracksType

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

Overview

{}barracksType

Defined Under Namespace

Classes: UseDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, useDetails = nil, audit = nil) ⇒ BarracksType

Returns a new instance of BarracksType.



5474
5475
5476
5477
5478
# File 'lib/portfolio_manager/xml.rb', line 5474

def initialize(name = nil, useDetails = nil, audit = nil)
  @name = name
  @useDetails = useDetails
  @audit = audit
end

Instance Attribute Details

#auditPortfolioManager::Xml::LogType



5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
# File 'lib/portfolio_manager/xml.rb', line 5436

class BarracksType

  # inner class for member: useDetails
  # {}useDetails
  # @!attribute [rw] totalGrossFloorArea
  #   @return [PortfolioManager::Xml::GrossFloorAreaType]
  # @!attribute [rw] hasComputerLab
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] hasDiningHall
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] numberOfRooms
  #   @return [PortfolioManager::Xml::UseDecimalType]
  # @!attribute [rw] percentCooled
  #   @return [PortfolioManager::Xml::PercentCooledType]
  # @!attribute [rw] percentHeated
  #   @return [PortfolioManager::Xml::PercentHeatedType]
  class UseDetails
    attr_accessor :totalGrossFloorArea
    attr_accessor :hasComputerLab
    attr_accessor :hasDiningHall
    attr_accessor :numberOfRooms
    attr_accessor :percentCooled
    attr_accessor :percentHeated

    def initialize(totalGrossFloorArea = nil, hasComputerLab = nil, hasDiningHall = nil, numberOfRooms = nil, percentCooled = nil, percentHeated = nil)
      @totalGrossFloorArea = totalGrossFloorArea
      @hasComputerLab = hasComputerLab
      @hasDiningHall = hasDiningHall
      @numberOfRooms = numberOfRooms
      @percentCooled = percentCooled
      @percentHeated = percentHeated
    end
  end

  attr_accessor :name
  attr_accessor :useDetails
  attr_accessor :audit

  def initialize(name = nil, useDetails = nil, audit = nil)
    @name = name
    @useDetails = useDetails
    @audit = audit
  end
end

#nameObject

Returns:

  • (Object)


5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
# File 'lib/portfolio_manager/xml.rb', line 5436

class BarracksType

  # inner class for member: useDetails
  # {}useDetails
  # @!attribute [rw] totalGrossFloorArea
  #   @return [PortfolioManager::Xml::GrossFloorAreaType]
  # @!attribute [rw] hasComputerLab
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] hasDiningHall
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] numberOfRooms
  #   @return [PortfolioManager::Xml::UseDecimalType]
  # @!attribute [rw] percentCooled
  #   @return [PortfolioManager::Xml::PercentCooledType]
  # @!attribute [rw] percentHeated
  #   @return [PortfolioManager::Xml::PercentHeatedType]
  class UseDetails
    attr_accessor :totalGrossFloorArea
    attr_accessor :hasComputerLab
    attr_accessor :hasDiningHall
    attr_accessor :numberOfRooms
    attr_accessor :percentCooled
    attr_accessor :percentHeated

    def initialize(totalGrossFloorArea = nil, hasComputerLab = nil, hasDiningHall = nil, numberOfRooms = nil, percentCooled = nil, percentHeated = nil)
      @totalGrossFloorArea = totalGrossFloorArea
      @hasComputerLab = hasComputerLab
      @hasDiningHall = hasDiningHall
      @numberOfRooms = numberOfRooms
      @percentCooled = percentCooled
      @percentHeated = percentHeated
    end
  end

  attr_accessor :name
  attr_accessor :useDetails
  attr_accessor :audit

  def initialize(name = nil, useDetails = nil, audit = nil)
    @name = name
    @useDetails = useDetails
    @audit = audit
  end
end

#useDetailsPortfolioManager::Xml::BarracksType::UseDetails



5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
# File 'lib/portfolio_manager/xml.rb', line 5436

class BarracksType

  # inner class for member: useDetails
  # {}useDetails
  # @!attribute [rw] totalGrossFloorArea
  #   @return [PortfolioManager::Xml::GrossFloorAreaType]
  # @!attribute [rw] hasComputerLab
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] hasDiningHall
  #   @return [PortfolioManager::Xml::UseYesNoType]
  # @!attribute [rw] numberOfRooms
  #   @return [PortfolioManager::Xml::UseDecimalType]
  # @!attribute [rw] percentCooled
  #   @return [PortfolioManager::Xml::PercentCooledType]
  # @!attribute [rw] percentHeated
  #   @return [PortfolioManager::Xml::PercentHeatedType]
  class UseDetails
    attr_accessor :totalGrossFloorArea
    attr_accessor :hasComputerLab
    attr_accessor :hasDiningHall
    attr_accessor :numberOfRooms
    attr_accessor :percentCooled
    attr_accessor :percentHeated

    def initialize(totalGrossFloorArea = nil, hasComputerLab = nil, hasDiningHall = nil, numberOfRooms = nil, percentCooled = nil, percentHeated = nil)
      @totalGrossFloorArea = totalGrossFloorArea
      @hasComputerLab = hasComputerLab
      @hasDiningHall = hasDiningHall
      @numberOfRooms = numberOfRooms
      @percentCooled = percentCooled
      @percentHeated = percentHeated
    end
  end

  attr_accessor :name
  attr_accessor :useDetails
  attr_accessor :audit

  def initialize(name = nil, useDetails = nil, audit = nil)
    @name = name
    @useDetails = useDetails
    @audit = audit
  end
end