Class: PortfolioManager::Xml::GreenPowerType
- Inherits:
-
Object
- Object
- PortfolioManager::Xml::GreenPowerType
- Defined in:
- lib/portfolio_manager/xml.rb
Overview
{}greenPowerType
Defined Under Namespace
Classes: GenerationLocation, Sources
Instance Attribute Summary collapse
- #generationLocation ⇒ PortfolioManager::Xml::GreenPowerType::GenerationLocation
- #sources ⇒ PortfolioManager::Xml::GreenPowerType::Sources
- #value ⇒ SOAP::SOAPDecimal
Instance Method Summary collapse
-
#initialize(value = nil, sources = nil, generationLocation = nil) ⇒ GreenPowerType
constructor
A new instance of GreenPowerType.
Constructor Details
#initialize(value = nil, sources = nil, generationLocation = nil) ⇒ GreenPowerType
Returns a new instance of GreenPowerType.
7224 7225 7226 7227 7228 |
# File 'lib/portfolio_manager/xml.rb', line 7224 def initialize(value = nil, sources = nil, generationLocation = nil) @value = value @sources = sources @generationLocation = generationLocation end |
Instance Attribute Details
#generationLocation ⇒ PortfolioManager::Xml::GreenPowerType::GenerationLocation
7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 |
# File 'lib/portfolio_manager/xml.rb', line 7162 class GreenPowerType # inner class for member: sources # {}sources # @!attribute [rw] biomassPct # @return [Object] # @!attribute [rw] biogasPct # @return [Object] # @!attribute [rw] geothermalPct # @return [Object] # @!attribute [rw] smallHydroPct # @return [Object] # @!attribute [rw] solarPct # @return [Object] # @!attribute [rw] windPct # @return [Object] # @!attribute [rw] unknownPct # @return [Object] class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end # inner class for member: generationLocation # {}generationLocation # @!attribute [rw] generationPlant # @return [Object] # @!attribute [rw] eGridSubRegion # @return [SOAP::SOAPString] # @!attribute [rw] unknown # @return [SOAP::SOAPString] class GenerationLocation attr_accessor :generationPlant attr_accessor :eGridSubRegion attr_accessor :unknown def initialize(generationPlant = nil, eGridSubRegion = nil, unknown = nil) @generationPlant = generationPlant @eGridSubRegion = eGridSubRegion @unknown = unknown end end attr_accessor :value attr_accessor :sources attr_accessor :generationLocation def initialize(value = nil, sources = nil, generationLocation = nil) @value = value @sources = sources @generationLocation = generationLocation end end |
#sources ⇒ PortfolioManager::Xml::GreenPowerType::Sources
7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 |
# File 'lib/portfolio_manager/xml.rb', line 7162 class GreenPowerType # inner class for member: sources # {}sources # @!attribute [rw] biomassPct # @return [Object] # @!attribute [rw] biogasPct # @return [Object] # @!attribute [rw] geothermalPct # @return [Object] # @!attribute [rw] smallHydroPct # @return [Object] # @!attribute [rw] solarPct # @return [Object] # @!attribute [rw] windPct # @return [Object] # @!attribute [rw] unknownPct # @return [Object] class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end # inner class for member: generationLocation # {}generationLocation # @!attribute [rw] generationPlant # @return [Object] # @!attribute [rw] eGridSubRegion # @return [SOAP::SOAPString] # @!attribute [rw] unknown # @return [SOAP::SOAPString] class GenerationLocation attr_accessor :generationPlant attr_accessor :eGridSubRegion attr_accessor :unknown def initialize(generationPlant = nil, eGridSubRegion = nil, unknown = nil) @generationPlant = generationPlant @eGridSubRegion = eGridSubRegion @unknown = unknown end end attr_accessor :value attr_accessor :sources attr_accessor :generationLocation def initialize(value = nil, sources = nil, generationLocation = nil) @value = value @sources = sources @generationLocation = generationLocation end end |
#value ⇒ SOAP::SOAPDecimal
7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 |
# File 'lib/portfolio_manager/xml.rb', line 7162 class GreenPowerType # inner class for member: sources # {}sources # @!attribute [rw] biomassPct # @return [Object] # @!attribute [rw] biogasPct # @return [Object] # @!attribute [rw] geothermalPct # @return [Object] # @!attribute [rw] smallHydroPct # @return [Object] # @!attribute [rw] solarPct # @return [Object] # @!attribute [rw] windPct # @return [Object] # @!attribute [rw] unknownPct # @return [Object] class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end # inner class for member: generationLocation # {}generationLocation # @!attribute [rw] generationPlant # @return [Object] # @!attribute [rw] eGridSubRegion # @return [SOAP::SOAPString] # @!attribute [rw] unknown # @return [SOAP::SOAPString] class GenerationLocation attr_accessor :generationPlant attr_accessor :eGridSubRegion attr_accessor :unknown def initialize(generationPlant = nil, eGridSubRegion = nil, unknown = nil) @generationPlant = generationPlant @eGridSubRegion = eGridSubRegion @unknown = unknown end end attr_accessor :value attr_accessor :sources attr_accessor :generationLocation def initialize(value = nil, sources = nil, generationLocation = nil) @value = value @sources = sources @generationLocation = generationLocation end end |