portfoliomanager-rb 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,931 @@
1
+ require "net/http"
2
+
3
+ module PortfolioManager
4
+ module Services
5
+ # Property Services
6
+ #
7
+ # The Property Services allow you to manage properties and buildings within
8
+ # Portfolio Manager. You must be already connected to your customers to be
9
+ # able to manage their properties.
10
+ #
11
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property
12
+ module Property
13
+ # Property
14
+ module Property
15
+ # Live Environment
16
+ module Live
17
+ # Add Property
18
+ #
19
+ # This web service creates a property for a specific Portfolio Manager
20
+ # user based on the information provided in the XML request and
21
+ # establishes all of the necessary sharing permissions between you and
22
+ # the Portfolio Manager user. It returns the unique identifier to the
23
+ # newly created property and a link to the corresponding web service
24
+ # to retrieve it.
25
+ #
26
+ # @param account_id [Integer]
27
+ # @param property [PortfolioManager::Xml::PropertyType]
28
+ # @return [PortfolioManager::Xml::ResponseType]
29
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
30
+ # @raise [PortfolioManager::HTTPResponseError]
31
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/property/post
32
+ def add_property(account_id, property)
33
+ request(Net::HTTP::Post, path_for("account", account_id, "property"), {}, {}, property, "property", PortfolioManager::Xml::ResponseType, basic_auth: true)
34
+ end
35
+
36
+ # Delete Property
37
+ #
38
+ # This web service deletes a specified property. The property must
39
+ # already be shared with you. All associated meters and buildings are
40
+ # also deleted.
41
+ #
42
+ # @param property_id [Integer]
43
+ # @return [PortfolioManager::Xml::ResponseType]
44
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
45
+ # @raise [PortfolioManager::HTTPResponseError]
46
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property
47
+ def delete_property(property_id)
48
+ request(Net::HTTP::Delete, path_for("property", property_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
49
+ end
50
+
51
+ # Edit Property
52
+ #
53
+ # This web service updates a property based on the information
54
+ # provided in the XML request. The property must already be shared
55
+ # with you. The service returns the unique identifier to the updated
56
+ # property and a link to the corresponding web service to retrieve it.
57
+ #
58
+ # @param property_id [Integer]
59
+ # @param property [PortfolioManager::Xml::PropertyType]
60
+ # @return [PortfolioManager::Xml::ResponseType]
61
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
62
+ # @raise [PortfolioManager::HTTPResponseError]
63
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/property/put
64
+ def edit_property(property_id, property)
65
+ request(Net::HTTP::Put, path_for("property", property_id), {}, {}, property, "property", PortfolioManager::Xml::ResponseType, basic_auth: true)
66
+ end
67
+
68
+ # Get ID Hierarchy for Property
69
+ #
70
+ # This web service returns the accountId that corresponds to a
71
+ # specific property. The accountId returned is the Property Data
72
+ # Administrator (PDA). The property must already be shared with you or
73
+ # you must have pending share access. If the property is a child
74
+ # property, this web service will not provide its parent property.
75
+ #
76
+ # @param property_id [Integer]
77
+ # @return [PortfolioManager::Xml::HierarchyType, PortfolioManager::Xml::ResponseType]
78
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
79
+ # @raise [PortfolioManager::HTTPResponseError]
80
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property
81
+ def get_id_hierarchy_for_property(property_id)
82
+ request(Net::HTTP::Get, path_for("idHierarchy", "property", property_id), {}, {}, nil, nil, PortfolioManager::Xml::HierarchyType, basic_auth: true)
83
+ end
84
+
85
+ # Get Property
86
+ #
87
+ # This web service retrieves information for a specific property. The
88
+ # property must already be shared with you. This service can also be
89
+ # used for to retrieve information on a building.
90
+ #
91
+ # @param property_id [Integer]
92
+ # @return [PortfolioManager::Xml::PropertyType, PortfolioManager::Xml::ResponseType]
93
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
94
+ # @raise [PortfolioManager::HTTPResponseError]
95
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/property/get
96
+ def get_property(property_id)
97
+ request(Net::HTTP::Get, path_for("property", property_id), {}, {}, nil, nil, PortfolioManager::Xml::PropertyType, basic_auth: true)
98
+ end
99
+
100
+ # Get Property List
101
+ #
102
+ # This web service returns a list of properties for a specific
103
+ # customer that are shared with you. The properties returned may have
104
+ # been shared from other contacts to the specified accountId. The
105
+ # properties may also be owned by the specified accountId.
106
+ #
107
+ # @param account_id [Integer]
108
+ # @return [PortfolioManager::Xml::ResponseType]
109
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
110
+ # @raise [PortfolioManager::HTTPResponseError]
111
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyList/get
112
+ def get_property_list(account_id)
113
+ request(Net::HTTP::Get, path_for("account", account_id, "property", "list"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
114
+ end
115
+
116
+ # Get What Changed Property List
117
+ #
118
+ # This web service returns a list of properties that changed since a
119
+ # user specified date. The list of properties returned are account
120
+ # specific. Results are returned in increments of 1,000 per set. The
121
+ # returned list only shows properties that you have permission to
122
+ # view. Actions that trigger a property to be included in the returned
123
+ # list may have been performed by any user with property access. A
124
+ # list of user actions that trigger a property to be included in the
125
+ # returned list can be found {https://energystar-mesa.force.com/PortfolioManager/s/article/Last-Modified-Metrics-What-types-of-edits-trigger-an-update-1600088554500 here}.
126
+ #
127
+ # @param customer_id [Integer]
128
+ # @param date [Date]
129
+ # @param next_page_key [nil, String]
130
+ # @param previous_page_key [nil, String]
131
+ # @return [PortfolioManager::Xml::ResponseType]
132
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
133
+ # @raise [PortfolioManager::HTTPResponseError]
134
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/getWhatChanged/get
135
+ def get_what_changed_property_list(customer_id, date, next_page_key = nil, previous_page_key = nil)
136
+ request(Net::HTTP::Get, path_for("customer", customer_id, "property", "whatChanged"), {
137
+ "date" => date.strftime("%Y-%m-%d"),
138
+ "nextPageKey" => next_page_key,
139
+ "previousPageKey" => previous_page_key,
140
+ }, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
141
+ end
142
+ end
143
+
144
+ # Test Environment
145
+ module Test
146
+ end
147
+ end
148
+
149
+ # Design
150
+ module Design
151
+ # Live Environment
152
+ module Live
153
+ # Edit Design
154
+ #
155
+ # This web service updates the design characteristics based on the
156
+ # information provided in the XML request for a specified property
157
+ # that already exists. It overwrites all previously existing design
158
+ # characteristics. The property must already be shared with you.
159
+ #
160
+ # @param property_id [Integer]
161
+ # @param design [PortfolioManager::Xml::DesignBaseType]
162
+ # @return [PortfolioManager::Xml::ResponseType]
163
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
164
+ # @raise [PortfolioManager::HTTPResponseError]
165
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/design/put
166
+ def edit_design(property_id, design)
167
+ request(Net::HTTP::Put, path_for("property", property_id, "design"), {}, {}, design, "design", PortfolioManager::Xml::ResponseType, basic_auth: true)
168
+ end
169
+
170
+ # Get Design
171
+ #
172
+ # This web service retrieves the design characteristics for a
173
+ # specified property. The property must already be shared with you.
174
+ #
175
+ # @param property_id [Integer]
176
+ # @return [PortfolioManager::Xml::DesignBaseType, PortfolioManager::Xml::ResponseType]
177
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
178
+ # @raise [PortfolioManager::HTTPResponseError]
179
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/design/get
180
+ def get_design(property_id)
181
+ request(Net::HTTP::Get, path_for("property", property_id, "design"), {}, {}, nil, nil, PortfolioManager::Xml::DesignBaseType, basic_auth: true)
182
+ end
183
+ end
184
+
185
+ # Test Environment
186
+ module Test
187
+ end
188
+ end
189
+
190
+ # Electric Distribution Utility
191
+ module ElectricDistributionUtility
192
+ # Live Environment
193
+ module Live
194
+ # Edit Property EDU
195
+ #
196
+ # This web service sets a specified electric distribution utility
197
+ # (EDU) for a given property. The property must be shared with you.
198
+ #
199
+ # @param property_id [Integer]
200
+ # @param edu_code [Integer]
201
+ # @return [PortfolioManager::Xml::ResponseType]
202
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
203
+ # @raise [PortfolioManager::HTTPResponseError]
204
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/edu/put
205
+ def edit_property_edu(property_id, edu_code)
206
+ request(Net::HTTP::Put, path_for("property", property_id, "edu", edu_code), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
207
+ end
208
+
209
+ # Get Property EDU List
210
+ #
211
+ # This web service returns a list of electric distribution utilities
212
+ # (EDU) that identifies the regional power grid for a specific
213
+ # property. The preferred and currently assigned electric distribution
214
+ # utility to your property is also indicated in the list.
215
+ #
216
+ # @param property_id [Integer]
217
+ # @return [PortfolioManager::Xml::EduList, PortfolioManager::Xml::ResponseType]
218
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
219
+ # @raise [PortfolioManager::HTTPResponseError]
220
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/eduList/get
221
+ def get_property_edu_list(property_id)
222
+ request(Net::HTTP::Get, path_for("property", property_id, "edu", "list"), {}, {}, nil, nil, PortfolioManager::Xml::EduList, basic_auth: true)
223
+ end
224
+ end
225
+
226
+ # Test Environment
227
+ module Test
228
+ end
229
+ end
230
+
231
+ # Power Generation Plant
232
+ module PowerGenerationPlant
233
+ # Live Environment
234
+ module Live
235
+ # Delete Property PGP
236
+ #
237
+ # This web service removes the currently assigned power generation
238
+ # plant (PGP) from the specified property. After the call is
239
+ # completed, the property does not have a power generation plant
240
+ # assigned to it. The property must be shared with you.
241
+ #
242
+ # @param property_id [Integer]
243
+ # @return [PortfolioManager::Xml::ResponseType]
244
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
245
+ # @raise [PortfolioManager::HTTPResponseError]
246
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/pgp/delete
247
+ def delete_property_pgp(property_id)
248
+ request(Net::HTTP::Delete, path_for("property", property_id, "pgp"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
249
+ end
250
+
251
+ # Edit Property PGP
252
+ #
253
+ # This web service sets a specified power generation plant (PGP) for a
254
+ # given property. The property must be shared with you.
255
+ #
256
+ # @param property_id [Integer]
257
+ # @param plant_code [Integer]
258
+ # @return [PortfolioManager::Xml::ResponseType]
259
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
260
+ # @raise [PortfolioManager::HTTPResponseError]
261
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/pgp/put
262
+ def edit_property_pgp(property_id, plant_code)
263
+ request(Net::HTTP::Put, path_for("property", property_id, "pgp", plant_code), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
264
+ end
265
+
266
+ # Get Property PGP List
267
+ #
268
+ # This web service returns a list of power generation plants (PGP)
269
+ # that are within the vicinity of a specific property. The property
270
+ # must be shared with you.
271
+ #
272
+ # @param property_id [Integer]
273
+ # @return [PortfolioManager::Xml::PgpList, PortfolioManager::Xml::ResponseType]
274
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
275
+ # @raise [PortfolioManager::HTTPResponseError]
276
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/pgpList/get
277
+ def get_property_pgp_list(property_id)
278
+ request(Net::HTTP::Get, path_for("property", property_id, "pgp", "list"), {}, {}, nil, nil, PortfolioManager::Xml::PgpList, basic_auth: true)
279
+ end
280
+ end
281
+
282
+ # Test Environment
283
+ module Test
284
+ end
285
+ end
286
+
287
+ # International Weather Station
288
+ module InternationalWeatherStation
289
+ # Live Environment
290
+ module Live
291
+ # Edit Property International Weather Station
292
+ #
293
+ # This web service sets a specified international weather station for
294
+ # a given property. The property cannot be located in the US or CA to
295
+ # set an international weather station. US and CA weather stations are
296
+ # assigned automatically based on the entered postal code. You must
297
+ # have read/write access to set the international weather station.
298
+ #
299
+ # @param property_id [Integer]
300
+ # @param international_weather_station_id [Integer]
301
+ # @return [PortfolioManager::Xml::ResponseType]
302
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
303
+ # @raise [PortfolioManager::HTTPResponseError]
304
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/internationalWeatherStation/put
305
+ def edit_property_international_weather_station(property_id, international_weather_station_id)
306
+ request(Net::HTTP::Put, path_for("property", property_id, "internationalWeatherStation", international_weather_station_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
307
+ end
308
+
309
+ # Get International Weather Station List
310
+ #
311
+ # This web service returns a list of international weather stations
312
+ # for a specified country code. The country code follows the
313
+ # International Organization for Standardization (ISO 3166).
314
+ #
315
+ # @param page [Integer]
316
+ # @param country [nil, String]
317
+ # @return [PortfolioManager::Xml::InternationalWeatherStationList, PortfolioManager::Xml::ResponseType]
318
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
319
+ # @raise [PortfolioManager::HTTPResponseError]
320
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/internationalWeatherStationList/get
321
+ def get_international_weather_station_list(page = 1, country = nil)
322
+ request(Net::HTTP::Get, path_for("property", "internationalWeatherStation", "list"), {
323
+ "page" => page,
324
+ "country" => country,
325
+ }, {}, nil, nil, PortfolioManager::Xml::InternationalWeatherStationList, basic_auth: true)
326
+ end
327
+ end
328
+
329
+ # Test Environment
330
+ module Test
331
+ end
332
+ end
333
+
334
+ # Unique Identifiers
335
+ module UniqueIdentifiers
336
+ # Live Environment
337
+ module Live
338
+ # Add Property Identifier Value
339
+ #
340
+ # This web service adds a name and value to a specific additional
341
+ # property identifier for a given property based on the information
342
+ # provided in the XML request.
343
+ #
344
+ # @param property_id [Integer]
345
+ # @param additional_identifier [PortfolioManager::Xml::AdditionalIdentifier]
346
+ # @return [PortfolioManager::Xml::ResponseType]
347
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
348
+ # @raise [PortfolioManager::HTTPResponseError]
349
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/identifier/post
350
+ def add_property_identifier_value(property_id, additional_identifier)
351
+ request(Net::HTTP::Post, path_for("property", property_id, "identifier"), {}, {}, additional_identifier, "additionalIdentifier", PortfolioManager::Xml::ResponseType, basic_auth: true)
352
+ end
353
+
354
+ # Delete Property Identifier Value
355
+ #
356
+ # This web service deletes the property identifier value for a
357
+ # specific property and property identifier.
358
+ #
359
+ # @param property_id [Integer]
360
+ # @param identifier_id [Integer]
361
+ # @return [PortfolioManager::Xml::ResponseType]
362
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
363
+ # @raise [PortfolioManager::HTTPResponseError]
364
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/identifier/delete
365
+ def delete_property_identifier_value(property_id, identifier_id)
366
+ request(Net::HTTP::Delete, path_for("property", property_id, "identifier", identifier_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
367
+ end
368
+
369
+ # Edit Property Identifier Value
370
+ #
371
+ # This web service updates the property identifier value for a
372
+ # specific property based on the information provided in the XML
373
+ # request.
374
+ #
375
+ # @param property_id [Integer]
376
+ # @param identifier_id [Integer]
377
+ # @param additional_identifier [PortfolioManager::Xml::AdditionalIdentifier]
378
+ # @return [PortfolioManager::Xml::ResponseType]
379
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
380
+ # @raise [PortfolioManager::HTTPResponseError]
381
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/identifier/put
382
+ def edit_property_identifier_value(property_id, identifier_id, additional_identifier)
383
+ request(Net::HTTP::Put, path_for("property", property_id, "identifier", identifier_id), {}, {}, additional_identifier, "additionalIdentifier", PortfolioManager::Xml::ResponseType, basic_auth: true)
384
+ end
385
+
386
+ # Get Property Identifier List
387
+ #
388
+ # This web service retrieves a list of all of the standard and unique
389
+ # identifiers that are currently approved for use by EPA. These
390
+ # identifiers are used to provide additional information on a
391
+ # property.
392
+ #
393
+ # @return [PortfolioManager::Xml::AdditionalIdentifierTypes, PortfolioManager::Xml::ResponseType]
394
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
395
+ # @raise [PortfolioManager::HTTPResponseError]
396
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyIdentifierList/get
397
+ def get_property_identifier_list
398
+ request(Net::HTTP::Get, path_for("property", "identifier", "list"), {}, {}, nil, nil, PortfolioManager::Xml::AdditionalIdentifierTypes, basic_auth: true)
399
+ end
400
+
401
+ # Get Property Identifier Value
402
+ #
403
+ # This web service retrieves the property identifier value for a
404
+ # specific property and property identifier.
405
+ #
406
+ # @param property_id [Integer]
407
+ # @param identifier_id [Integer]
408
+ # @return [PortfolioManager::Xml::AdditionalIdentifier, PortfolioManager::Xml::ResponseType]
409
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
410
+ # @raise [PortfolioManager::HTTPResponseError]
411
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/identifier/get
412
+ def get_property_identifier_value(property_id, identifier_id)
413
+ request(Net::HTTP::Get, path_for("property", property_id, "identifier", identifier_id), {}, {}, nil, nil, PortfolioManager::Xml::AdditionalIdentifier, basic_auth: true)
414
+ end
415
+
416
+ # Get Property Identifier Value List
417
+ #
418
+ # This web service retrieves a list of property identifier values for
419
+ # a specific property specified in the URL.
420
+ #
421
+ # @param property_id [Integer]
422
+ # @return [PortfolioManager::Xml::AdditionalIdentifiers, PortfolioManager::Xml::ResponseType]
423
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
424
+ # @raise [PortfolioManager::HTTPResponseError]
425
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/identifierList/get
426
+ def get_property_identifier_value_list(property_id)
427
+ request(Net::HTTP::Get, path_for("property", property_id, "identifier", "list"), {}, {}, nil, nil, PortfolioManager::Xml::AdditionalIdentifiers, basic_auth: true)
428
+ end
429
+ end
430
+
431
+ # Test Environment
432
+ module Test
433
+ end
434
+ end
435
+
436
+ # Verification Information
437
+ module VerificationInformation
438
+ # Live Environment
439
+ module Live
440
+ # Add Property Verification Information
441
+ #
442
+ # This web service adds verification information for a given property
443
+ # based on the information provided in the XML request.
444
+ #
445
+ # @param property_id [Integer]
446
+ # @param verification [PortfolioManager::Xml::Verification]
447
+ # @return [PortfolioManager::Xml::ResponseType]
448
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
449
+ # @raise [PortfolioManager::HTTPResponseError]
450
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyVerification/post
451
+ def add_property_verification_information(property_id, verification)
452
+ request(Net::HTTP::Post, path_for("property", property_id, "verification"), {}, {}, verification, "verification", PortfolioManager::Xml::ResponseType, basic_auth: true)
453
+ end
454
+
455
+ # Add Property Verification Professional Designation Information
456
+ #
457
+ # This web service adds a specific professional designation to the
458
+ # verification information for a given property based on the
459
+ # information provided in the XML request. The property must have
460
+ # existing verification information.
461
+ #
462
+ # @param property_id [Integer]
463
+ # @param designation_type_id [Integer]
464
+ # @param license_list [PortfolioManager::Xml::LicenseList]
465
+ # @return [PortfolioManager::Xml::ResponseType]
466
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
467
+ # @raise [PortfolioManager::HTTPResponseError]
468
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationType/post
469
+ def add_property_verification_professional_designation_information(property_id, designation_type_id, license_list)
470
+ request(Net::HTTP::Post, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, license_list, "licenseList", PortfolioManager::Xml::ResponseType, basic_auth: true)
471
+ end
472
+
473
+ # Delete Property Verification Information
474
+ #
475
+ # This web service deletes the verification information for a given
476
+ # property.
477
+ #
478
+ # @param property_id [Integer]
479
+ # @return [PortfolioManager::Xml::ResponseType]
480
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
481
+ # @raise [PortfolioManager::HTTPResponseError]
482
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyVerification/delete
483
+ def delete_property_verification_information(property_id)
484
+ request(Net::HTTP::Delete, path_for("property", property_id, "verification"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
485
+ end
486
+
487
+ # Delete Property Verification Professional Designation Information
488
+ #
489
+ # This web service deletes all of the professional designation portion
490
+ # of the verification information for a specific property specified in
491
+ # the URL.
492
+ #
493
+ # @param property_id [Integer]
494
+ # @return [PortfolioManager::Xml::ResponseType]
495
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
496
+ # @raise [PortfolioManager::HTTPResponseError]
497
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignation/delete
498
+ def delete_property_verification_professional_designation_information(property_id)
499
+ request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
500
+ end
501
+
502
+ # Delete Specific Professional Designation License from Property's
503
+ # Verification Information
504
+ #
505
+ # This web service deletes a specific professional designation license
506
+ # from a given property's verification information. Any existing
507
+ # licenses under the specific professional designation are re-indexed.
508
+ #
509
+ # @param property_id [Integer]
510
+ # @param designation_type_id [Integer]
511
+ # @param index [Integer]
512
+ # @return [PortfolioManager::Xml::ResponseType]
513
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
514
+ # @raise [PortfolioManager::HTTPResponseError]
515
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationTypeLicense/delete
516
+ def delete_specific_professional_designation_license_from_property_verification_information(property_id, designation_type_id, index)
517
+ request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id, index), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
518
+ end
519
+
520
+ # Delete Specific Professional Designation Type From Property's
521
+ # Verification Information
522
+ #
523
+ # This web service deletes a specific professional designation type
524
+ # and its licenses from a given property's verification information.
525
+ #
526
+ # @param property_id [Integer]
527
+ # @param designation_type_id [Integer]
528
+ # @return [PortfolioManager::Xml::ResponseType]
529
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
530
+ # @raise [PortfolioManager::HTTPResponseError]
531
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationType/delete
532
+ def delete_specific_professional_designation_type_from_property_verification_information(property_id, designation_type_id)
533
+ request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
534
+ end
535
+
536
+ # Get Professional Designation Types List
537
+ #
538
+ # @return [PortfolioManager::Xml::ProfessionalDesignationList, PortfolioManager::Xml::ResponseType]
539
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
540
+ # @raise [PortfolioManager::HTTPResponseError]
541
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationTypeList/get
542
+ def get_professional_designation_types_list
543
+ request(Net::HTTP::Get, path_for("property", "professionalDesignation", "list"), {}, {}, nil, nil, PortfolioManager::Xml::ProfessionalDesignationList, basic_auth: true)
544
+ end
545
+
546
+ # Get Property Verification Information
547
+ #
548
+ # This web service retrieves verification information for a specific
549
+ # property specified in the URL.
550
+ #
551
+ # @param property_id [Integer]
552
+ # @return [PortfolioManager::Xml::Verification, PortfolioManager::Xml::ResponseType]
553
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
554
+ # @raise [PortfolioManager::HTTPResponseError]
555
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyVerification/get
556
+ def get_property_verification_information(property_id)
557
+ request(Net::HTTP::Get, path_for("property", property_id, "verification"), {}, {}, nil, nil, PortfolioManager::Xml::Verification, basic_auth: true)
558
+ end
559
+
560
+ # Get Property Verification Professional Designation Information
561
+ #
562
+ # This web service retrieves the professional designation portion of
563
+ # the verification information for a specific property specified in
564
+ # the URL.
565
+ #
566
+ # @param property_id [Integer]
567
+ # @return [PortfolioManager::Xml::ProfessionalDesignationList, PortfolioManager::Xml::ResponseType]
568
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
569
+ # @raise [PortfolioManager::HTTPResponseError]
570
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignation/get
571
+ def get_property_verification_professional_designation_information(property_id)
572
+ request(Net::HTTP::Get, path_for("property", property_id, "verification", "professionalDesignation"), {}, {}, nil, nil, PortfolioManager::Xml::ProfessionalDesignationList, basic_auth: true)
573
+ end
574
+
575
+ # Update Property Verification Information
576
+ #
577
+ # This web service updates verification information for a given
578
+ # property based on the information provided in the XML request.
579
+ #
580
+ # @param property_id [Integer]
581
+ # @param verification [PortfolioManager::Xml::Verification]
582
+ # @return [PortfolioManager::Xml::ResponseType]
583
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
584
+ # @raise [PortfolioManager::HTTPResponseError]
585
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/propertyVerification/put
586
+ def update_property_verification_information(property_id, verification)
587
+ request(Net::HTTP::Put, path_for("property", property_id, "verification"), {}, {}, verification, "verification", PortfolioManager::Xml::ResponseType, basic_auth: true)
588
+ end
589
+
590
+ # Update Property Verification Professional Designation Information
591
+ #
592
+ # This web service updates a specific professional designation and its
593
+ # licenses for a given property's verification information by deleting
594
+ # all of the licenses for the specific professional designation and
595
+ # replacing the licenses with the information provided in the XML
596
+ # request. The property must have existing verification information.
597
+ #
598
+ # @param property_id [Integer]
599
+ # @param designation_type_id [Integer]
600
+ # @param license_list [PortfolioManager::Xml::LicenseList]
601
+ # @return [PortfolioManager::Xml::ResponseType]
602
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
603
+ # @raise [PortfolioManager::HTTPResponseError]
604
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationType/put
605
+ def update_property_verification_professional_designation_information(property_id, designation_type_id, license_list)
606
+ request(Net::HTTP::Put, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, license_list, "licenseList", PortfolioManager::Xml::ResponseType, basic_auth: true)
607
+ end
608
+
609
+ # Update Specific Professional Designation License of Property's
610
+ # Verification Information
611
+ #
612
+ # This web service updates a specific professional designation license
613
+ # for a given property's verification information based on the
614
+ # information provided in the XML request. The property must have
615
+ # existing verification information.
616
+ #
617
+ # @param property_id [Integer]
618
+ # @param designation_type_id [Integer]
619
+ # @param index [Integer]
620
+ # @param license [PortfolioManager::Xml::License]
621
+ # @return [PortfolioManager::Xml::ResponseType]
622
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
623
+ # @raise [PortfolioManager::HTTPResponseError]
624
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/professionalDesignationTypeLicense/put
625
+ def update_specific_professional_designation_license_of_property_verification_information(property_id, designation_type_id, index, license)
626
+ request(Net::HTTP::Put, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id, index), {}, {}, license, "license", PortfolioManager::Xml::ResponseType, basic_auth: true)
627
+ end
628
+ end
629
+
630
+ # Test Environment
631
+ module Test
632
+ end
633
+ end
634
+
635
+ # Miscellaneous
636
+ module Miscellaneous
637
+ # Live Environment
638
+ module Live
639
+ # Add Energy Performance Project
640
+ #
641
+ # This web service creates an energy performance project for a
642
+ # specific property based on the information provided in the XML
643
+ # request. The corresponding property must already be shared with you.
644
+ # The service returns the unique identifier to the newly created
645
+ # energy performance project and a link to the corresponding web
646
+ # service to retrieve it.
647
+ #
648
+ # @param property_id [Integer]
649
+ # @param energy_performance_project [PortfolioManager::Xml::EnergyPerformanceProjectType]
650
+ # @return [PortfolioManager::Xml::ResponseType]
651
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
652
+ # @raise [PortfolioManager::HTTPResponseError]
653
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/energyprojects/post
654
+ def add_energy_performance_project(property_id, energy_performance_project)
655
+ request(Net::HTTP::Post, path_for("property", property_id, "energyPerformanceProject"), {}, {}, energy_performance_project, "energyPerformanceProject", PortfolioManager::Xml::ResponseType, basic_auth: true)
656
+ end
657
+
658
+ # Delete Energy Performance Project
659
+ #
660
+ # This web service deletes a specified energy project project. The
661
+ # corresponding property must already be shared to you.
662
+ #
663
+ # @param energy_performance_project_id [Integer]
664
+ # @return [PortfolioManager::Xml::ResponseType]
665
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
666
+ # @raise [PortfolioManager::HTTPResponseError]
667
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/energyprojects/delete
668
+ def delete_energy_performance_project(energy_performance_project_id)
669
+ request(Net::HTTP::Delete, path_for("energyPerformanceProject", energy_performance_project_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
670
+ end
671
+
672
+ # Edit Billboard Setting at Property Level for Account
673
+ #
674
+ # This web service sets a desired "billboard" metric for the
675
+ # authenticated user's account and a specified property. After set,
676
+ # the front-end application will display the chosen metric in the
677
+ # billboard. The billboard is shown in the upper-right section of each
678
+ # property. You must have at least READ access to the property.
679
+ # Individual property level settings will be cleared if account level
680
+ # billboard setting changes are made.
681
+ #
682
+ # For more information on account level billboard metric settings, see
683
+ # the {PortfolioManager::Services::BasicAccount::Accounts::Live#edit_account PUT /account/(accountId)}
684
+ # and {PortfolioManager::Services::BasicAccount::Accounts::Live#edit_customer PUT /customer/(customerId)}
685
+ # documentation sections.
686
+ #
687
+ # @param property_id [Integer]
688
+ # @param billboard_metric_setting [PortfolioManager::Xml::BillboardMetricSetting]
689
+ # @return [PortfolioManager::Xml::ResponseType]
690
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
691
+ # @raise [PortfolioManager::HTTPResponseError]
692
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/accountBillboardMetricSetting/put
693
+ def edit_billboard_setting_at_property_level_for_account(property_id, billboard_metric_setting)
694
+ request(Net::HTTP::Put, path_for("property", property_id, "billboardMetricSetting"), {}, {}, billboard_metric_setting, "billboardMetricSetting", PortfolioManager::Xml::ResponseType, basic_auth: true)
695
+ end
696
+
697
+ # Edit Billboard Setting at Property Level for Customer
698
+ #
699
+ # This web service sets a desired "billboard" metric for a specified
700
+ # account and property combination. After set, the specified front-end
701
+ # customer user will see the selected metric shown in the billboard.
702
+ # The billboard is displayed in the upper-right section of each
703
+ # property. The customer's property must be shared with you with at
704
+ # least READ_WRITE permissions. Individual property level settings
705
+ # will be cleared if account level billboard setting changes are made.
706
+ #
707
+ # For more information on account level billboard metric settings, see
708
+ # the {PortfolioManager::Services::BasicAccount::Accounts::Live#edit_account PUT /account/(accountId)}
709
+ # and {PortfolioManager::Services::BasicAccount::Accounts::Live#edit_customer PUT /customer/(customerId)}
710
+ # documentation sections.
711
+ #
712
+ # @param customer_id [Integer]
713
+ # @param property_id [Integer]
714
+ # @param billboard_metric_setting [PortfolioManager::Xml::BillboardMetricSetting]
715
+ # @return [PortfolioManager::Xml::ResponseType]
716
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
717
+ # @raise [PortfolioManager::HTTPResponseError]
718
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/billboardMetricSetting/put
719
+ def edit_billboard_setting_at_property_level_for_customer(customer_id, property_id, billboard_metric_setting)
720
+ request(Net::HTTP::Put, path_for("customer", customer_id, "property", property_id, "billboardMetricSetting"), {}, {}, billboard_metric_setting, "billboardMetricSetting", PortfolioManager::Xml::ResponseType, basic_auth: true)
721
+ end
722
+
723
+ # Edit Energy Performance Project
724
+ #
725
+ # This web service updates an energy performance project based on the
726
+ # information provided in the XML request. The corresponding property
727
+ # must already be shared with you. The service returns the unique
728
+ # identifier to the updated energy performance project and a link to
729
+ # the corresponding web service to retrieve it.
730
+ #
731
+ # @param energy_performance_project_id [Integer]
732
+ # @param energy_performance_project [PortfolioManager::Xml::EnergyPerformanceProjectType]
733
+ # @return [PortfolioManager::Xml::ResponseType]
734
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
735
+ # @raise [PortfolioManager::HTTPResponseError]
736
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/energyprojects/put
737
+ def edit_energy_performance_project(energy_performance_project_id, energy_performance_project)
738
+ request(Net::HTTP::Put, path_for("energyPerformanceProject", energy_performance_project_id), {}, {}, energy_performance_project, "energyPerformanceProject", PortfolioManager::Xml::ResponseType, basic_auth: true)
739
+ end
740
+
741
+ # Edit Property Baseline and Target
742
+ #
743
+ # This web service updates the energy and water baseline dates and
744
+ # performance target settings for a specific property based on the
745
+ # information provided in the XML request. The corresponding property
746
+ # must already be shared with you. The service returns a link to the
747
+ # corresponding web service to retrieve the information.
748
+ #
749
+ # @param property_id [Integer]
750
+ # @param baseline_and_target [PortfolioManager::Xml::BaselineAndTargetType]
751
+ # @return [PortfolioManager::Xml::ResponseType]
752
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
753
+ # @raise [PortfolioManager::HTTPResponseError]
754
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/baselineAndTarget/put
755
+ def edit_property_baseline_and_target(property_id, baseline_and_target)
756
+ request(Net::HTTP::Put, path_for("property", property_id, "baselineAndTarget"), {}, {}, baseline_and_target, "baselineAndTarget", PortfolioManager::Xml::ResponseType, basic_auth: true)
757
+ end
758
+
759
+ # Get Billboard Metric List
760
+ #
761
+ # This web service returns a list of metrics that can be used for the
762
+ # "billboard" display. For more information on how to set the
763
+ # billboard display, see the "Account" and "Property" documentation
764
+ # sections.
765
+ #
766
+ # @return [PortfolioManager::Xml::BillboardMetricsType, PortfolioManager::Xml::ResponseType]
767
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
768
+ # @raise [PortfolioManager::HTTPResponseError]
769
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/billboardMetricList/get
770
+ def get_billboard_metric_list
771
+ request(Net::HTTP::Get, path_for("billboardMetric", "list"), {}, {}, nil, nil, PortfolioManager::Xml::BillboardMetricsType, basic_auth: true)
772
+ end
773
+
774
+ # Get Billboard Setting at Property Level for Account
775
+ #
776
+ # This web service returns a desired "billboard" metric for the
777
+ # authenticated user's account and a specified property. After set,
778
+ # the front-end application will display the chosen metric in the
779
+ # billboard for the authenticated user. The billboard is shown in the
780
+ # upper-right section of each property. You must have at least READ
781
+ # access to the property to view the billboard setting.
782
+ #
783
+ # @param property_id [Integer]
784
+ # @return [PortfolioManager::Xml::BillboardMetricSetting, PortfolioManager::Xml::ResponseType]
785
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
786
+ # @raise [PortfolioManager::HTTPResponseError]
787
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/accountBillboardMetricSetting/get
788
+ def get_billboard_setting_at_property_level_for_account(property_id)
789
+ request(Net::HTTP::Get, path_for("property", property_id, "billboardMetricSetting"), {}, {}, nil, nil, PortfolioManager::Xml::BillboardMetricSetting, basic_auth: true)
790
+ end
791
+
792
+ # Get Billboard Setting at Property Level for Customer
793
+ #
794
+ # This web service returns the set "billboard" metric for a specified
795
+ # account and property combination. The billboard is displayed in the
796
+ # upper-right section of each property. You must be connected with the
797
+ # customer and must have at least READ permission on the property to
798
+ # view the customer's billboard metric setting.
799
+ #
800
+ # @param customer_id [Integer]
801
+ # @param property_id [Integer]
802
+ # @return [PortfolioManager::Xml::BillboardMetricSetting, PortfolioManager::Xml::ResponseType]
803
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
804
+ # @raise [PortfolioManager::HTTPResponseError]
805
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/billboardMetricSetting/get
806
+ def get_billboard_setting_at_property_level_for_customer(customer_id, property_id)
807
+ request(Net::HTTP::Get, path_for("customer", customer_id, "property", property_id, "billboardMetricSetting"), {}, {}, nil, nil, PortfolioManager::Xml::BillboardMetricSetting, basic_auth: true)
808
+ end
809
+
810
+ # Get eGrid Subregion List
811
+ #
812
+ # This web service retrieves a list of all of the eGrid subregions
813
+ # that a federal property can be associated to.
814
+ #
815
+ # @return [PortfolioManager::Xml::EGridSubregionList, PortfolioManager::Xml::ResponseType]
816
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
817
+ # @raise [PortfolioManager::HTTPResponseError]
818
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/eGridSubregionList/get
819
+ def get_egrid_subregion_list
820
+ request(Net::HTTP::Get, path_for("property", "eGridSubregion", "list"), {}, {}, nil, nil, PortfolioManager::Xml::EGridSubregionList, basic_auth: true)
821
+ end
822
+
823
+ # Get Energy Performance Project
824
+ #
825
+ # This web service returns information for a specific energy
826
+ # performance project. The corresponding property must already be
827
+ # shared to you. The information returned to you does not include any
828
+ # energy performance indicators. To retrieve energy performance
829
+ # indicators, you can call the Get-Metrics web service for the
830
+ # applicable metrics and evaluation periods.
831
+ #
832
+ # @param energy_performance_project_id [Integer]
833
+ # @return [PortfolioManager::Xml::EnergyPerformanceProjectType, PortfolioManager::Xml::ResponseType]
834
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
835
+ # @raise [PortfolioManager::HTTPResponseError]
836
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/energyprojects/get
837
+ def get_energy_performance_project(energy_performance_project_id)
838
+ request(Net::HTTP::Get, path_for("energyPerformanceProject", energy_performance_project_id), {}, {}, nil, nil, PortfolioManager::Xml::EnergyPerformanceProjectType, basic_auth: true)
839
+ end
840
+
841
+ # Get Energy Performance Project List
842
+ #
843
+ # This web service retrieves a list of all the energy performance
844
+ # projects for a specific property. The property must already be
845
+ # shared to you.
846
+ #
847
+ # @param property_id [Integer]
848
+ # @return [PortfolioManager::Xml::ResponseType]
849
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
850
+ # @raise [PortfolioManager::HTTPResponseError]
851
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/energyprojectsList/get
852
+ def get_energy_performance_project_list(property_id)
853
+ request(Net::HTTP::Get, path_for("property", property_id, "energyPerformanceProject", "list"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
854
+ end
855
+
856
+ # Get Federal Agency List
857
+ #
858
+ # This web service retrieves a list of all of the federal agencies
859
+ # that a federal property can be associated to.
860
+ #
861
+ # @return [PortfolioManager::Xml::FederalAgencies, PortfolioManager::Xml::ResponseType]
862
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
863
+ # @raise [PortfolioManager::HTTPResponseError]
864
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/federalAgencyList/get
865
+ def get_federal_agency_list
866
+ request(Net::HTTP::Get, path_for("property", "federalAgency", "list"), {}, {}, nil, nil, PortfolioManager::Xml::FederalAgencies, basic_auth: true)
867
+ end
868
+
869
+ # Get Property Baseline and Target
870
+ #
871
+ # This web service retrieves the energy and water baseline dates and
872
+ # the performance target settings for a specific property.
873
+ #
874
+ # @param property_id [Integer]
875
+ # @return [PortfolioManager::Xml::BaselineAndTargetType, PortfolioManager::Xml::ResponseType]
876
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
877
+ # @raise [PortfolioManager::HTTPResponseError]
878
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/baselineAndTarget/get
879
+ def get_property_baseline_and_target(property_id)
880
+ request(Net::HTTP::Get, path_for("property", property_id, "baselineAndTarget"), {}, {}, nil, nil, PortfolioManager::Xml::BaselineAndTargetType, basic_auth: true)
881
+ end
882
+
883
+ # Get Property Custom Field Values
884
+ #
885
+ # This web service returns a list of custom fields and their values
886
+ # for a specific property.
887
+ #
888
+ # @param property_id [Integer]
889
+ # @return [PortfolioManager::Xml::CustomFieldList, PortfolioManager::Xml::ResponseType]
890
+ # @raise [PortfolioManager::HTTPBasicCredentialsNotFoundError]
891
+ # @raise [PortfolioManager::HTTPResponseError]
892
+ # @see https://portfoliomanager.energystar.gov/webservices/home/api/property/customFieldValues/get
893
+ def get_property_custom_field_values(property_id)
894
+ request(Net::HTTP::Get, path_for("property", property_id, "customFieldList"), {}, {}, nil, nil, PortfolioManager::Xml::CustomFieldList, basic_auth: true)
895
+ end
896
+ end
897
+
898
+ # Test Environment
899
+ module Test
900
+ end
901
+ end
902
+
903
+ # All Services
904
+ module All
905
+ # Live Environment
906
+ module Live
907
+ include PortfolioManager::Services::Property::Property::Live
908
+ include PortfolioManager::Services::Property::Design::Live
909
+ include PortfolioManager::Services::Property::ElectricDistributionUtility::Live
910
+ include PortfolioManager::Services::Property::PowerGenerationPlant::Live
911
+ include PortfolioManager::Services::Property::InternationalWeatherStation::Live
912
+ include PortfolioManager::Services::Property::UniqueIdentifiers::Live
913
+ include PortfolioManager::Services::Property::VerificationInformation::Live
914
+ include PortfolioManager::Services::Property::Miscellaneous::Live
915
+ end
916
+
917
+ # Test Environment
918
+ module Test
919
+ include PortfolioManager::Services::Property::Property::Test
920
+ include PortfolioManager::Services::Property::Design::Test
921
+ include PortfolioManager::Services::Property::ElectricDistributionUtility::Test
922
+ include PortfolioManager::Services::Property::PowerGenerationPlant::Test
923
+ include PortfolioManager::Services::Property::InternationalWeatherStation::Test
924
+ include PortfolioManager::Services::Property::UniqueIdentifiers::Test
925
+ include PortfolioManager::Services::Property::VerificationInformation::Test
926
+ include PortfolioManager::Services::Property::Miscellaneous::Test
927
+ end
928
+ end
929
+ end
930
+ end
931
+ end