aspose_tasks_cloud 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +49 -0
  4. data/aspose_tasks_cloud.gemspec +26 -0
  5. data/lib/aspose_tasks_cloud.rb +92 -0
  6. data/lib/aspose_tasks_cloud/api/tasks_api.rb +2585 -0
  7. data/lib/aspose_tasks_cloud/api_client.rb +335 -0
  8. data/lib/aspose_tasks_cloud/api_error.rb +24 -0
  9. data/lib/aspose_tasks_cloud/configuration.rb +166 -0
  10. data/lib/aspose_tasks_cloud/models/assignment_item.rb +61 -0
  11. data/lib/aspose_tasks_cloud/models/assignment_item_response.rb +61 -0
  12. data/lib/aspose_tasks_cloud/models/assignment_items.rb +47 -0
  13. data/lib/aspose_tasks_cloud/models/assignment_items_response.rb +61 -0
  14. data/lib/aspose_tasks_cloud/models/assignment_response.rb +61 -0
  15. data/lib/aspose_tasks_cloud/models/assignments_response.rb +61 -0
  16. data/lib/aspose_tasks_cloud/models/base_object.rb +86 -0
  17. data/lib/aspose_tasks_cloud/models/base_response.rb +53 -0
  18. data/lib/aspose_tasks_cloud/models/calendar.rb +89 -0
  19. data/lib/aspose_tasks_cloud/models/calendar_exception.rb +145 -0
  20. data/lib/aspose_tasks_cloud/models/calendar_exceptions_response.rb +63 -0
  21. data/lib/aspose_tasks_cloud/models/calendar_item.rb +53 -0
  22. data/lib/aspose_tasks_cloud/models/calendar_item_response.rb +61 -0
  23. data/lib/aspose_tasks_cloud/models/calendar_items.rb +47 -0
  24. data/lib/aspose_tasks_cloud/models/calendar_items_response.rb +61 -0
  25. data/lib/aspose_tasks_cloud/models/calendar_response.rb +61 -0
  26. data/lib/aspose_tasks_cloud/models/document_properties.rb +47 -0
  27. data/lib/aspose_tasks_cloud/models/document_properties_response.rb +61 -0
  28. data/lib/aspose_tasks_cloud/models/document_property.rb +53 -0
  29. data/lib/aspose_tasks_cloud/models/document_property_response.rb +61 -0
  30. data/lib/aspose_tasks_cloud/models/extended_attribute.rb +61 -0
  31. data/lib/aspose_tasks_cloud/models/extended_attribute_definition.rb +207 -0
  32. data/lib/aspose_tasks_cloud/models/extended_attribute_item.rb +53 -0
  33. data/lib/aspose_tasks_cloud/models/extended_attribute_items.rb +47 -0
  34. data/lib/aspose_tasks_cloud/models/extended_attribute_items_response.rb +61 -0
  35. data/lib/aspose_tasks_cloud/models/extended_attribute_response.rb +61 -0
  36. data/lib/aspose_tasks_cloud/models/link.rb +61 -0
  37. data/lib/aspose_tasks_cloud/models/outline_code.rb +53 -0
  38. data/lib/aspose_tasks_cloud/models/outline_code_definition.rb +145 -0
  39. data/lib/aspose_tasks_cloud/models/outline_code_item.rb +45 -0
  40. data/lib/aspose_tasks_cloud/models/outline_code_items.rb +47 -0
  41. data/lib/aspose_tasks_cloud/models/outline_code_items_response.rb +61 -0
  42. data/lib/aspose_tasks_cloud/models/outline_code_response.rb +61 -0
  43. data/lib/aspose_tasks_cloud/models/outline_mask.rb +61 -0
  44. data/lib/aspose_tasks_cloud/models/outline_value.rb +85 -0
  45. data/lib/aspose_tasks_cloud/models/recurring_info.rb +197 -0
  46. data/lib/aspose_tasks_cloud/models/recurring_info_response.rb +61 -0
  47. data/lib/aspose_tasks_cloud/models/resource.rb +945 -0
  48. data/lib/aspose_tasks_cloud/models/resource_assignment.rb +1063 -0
  49. data/lib/aspose_tasks_cloud/models/resource_assignments.rb +47 -0
  50. data/lib/aspose_tasks_cloud/models/resource_item.rb +61 -0
  51. data/lib/aspose_tasks_cloud/models/resource_item_response.rb +61 -0
  52. data/lib/aspose_tasks_cloud/models/resource_items.rb +47 -0
  53. data/lib/aspose_tasks_cloud/models/resource_items_response.rb +61 -0
  54. data/lib/aspose_tasks_cloud/models/resource_response.rb +61 -0
  55. data/lib/aspose_tasks_cloud/models/task.rb +1595 -0
  56. data/lib/aspose_tasks_cloud/models/task_document.rb +63 -0
  57. data/lib/aspose_tasks_cloud/models/task_document_response.rb +61 -0
  58. data/lib/aspose_tasks_cloud/models/task_item.rb +85 -0
  59. data/lib/aspose_tasks_cloud/models/task_item_response.rb +61 -0
  60. data/lib/aspose_tasks_cloud/models/task_items.rb +47 -0
  61. data/lib/aspose_tasks_cloud/models/task_items_response.rb +61 -0
  62. data/lib/aspose_tasks_cloud/models/task_link.rb +85 -0
  63. data/lib/aspose_tasks_cloud/models/task_link_response.rb +61 -0
  64. data/lib/aspose_tasks_cloud/models/task_links_response.rb +63 -0
  65. data/lib/aspose_tasks_cloud/models/task_response.rb +61 -0
  66. data/lib/aspose_tasks_cloud/models/value.rb +61 -0
  67. data/lib/aspose_tasks_cloud/models/wbs_code_mask.rb +61 -0
  68. data/lib/aspose_tasks_cloud/models/wbs_definition.rb +63 -0
  69. data/lib/aspose_tasks_cloud/models/wbs_definition_response.rb +61 -0
  70. data/lib/aspose_tasks_cloud/models/week_day.rb +71 -0
  71. data/lib/aspose_tasks_cloud/models/working_time.rb +45 -0
  72. data/lib/aspose_tasks_cloud/version.rb +3 -0
  73. data/test/data/ExtendedAttribute.mpp +0 -0
  74. data/test/data/Outlinecode.mpp +0 -0
  75. data/test/data/ResourceWithExtAttribs.xml +345 -0
  76. data/test/data/sample-project-2.mpp +0 -0
  77. data/test/data/sample-project.mpp +0 -0
  78. data/test/tasks_tests.rb +430 -0
  79. metadata +207 -0
@@ -0,0 +1,61 @@
1
+ module AsposeTasksCloud
2
+ #
3
+ class RecurringInfoResponse < BaseObject
4
+ attr_accessor :recurring_info, :status, :code
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'recurring_info' => :'RecurringInfo',
11
+
12
+ #
13
+ :'status' => :'Status',
14
+
15
+ #
16
+ :'code' => :'Code'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'recurring_info' => :'RecurringInfo',
25
+ :'status' => :'String',
26
+ :'code' => :'String'
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return if !attributes.is_a?(Hash) || attributes.empty?
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes[:'RecurringInfo']
39
+ self.recurring_info = attributes[:'RecurringInfo']
40
+ end
41
+
42
+ if attributes[:'Status']
43
+ self.status = attributes[:'Status']
44
+ end
45
+
46
+ if attributes[:'Code']
47
+ self.code = attributes[:'Code']
48
+ end
49
+
50
+ end
51
+
52
+ def status=(status)
53
+ allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
54
+ if status && !allowed_values.include?(status)
55
+ fail "invalid value for 'status', must be one of #{allowed_values}"
56
+ end
57
+ @status = status
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,945 @@
1
+ module AsposeTasksCloud
2
+ #
3
+ class Resource < BaseObject
4
+ attr_accessor :name, :uid, :id, :type, :is_null, :initials, :phonetics, :nt_account, :material_label, :code, :group, :email_address, :hyperlink, :hyperlink_address, :hyperlink_sub_address, :max_units, :peak_units, :over_allocated, :available_from, :available_to, :start, :finish, :can_level, :accrue_at, :work, :regular_work, :overtime_work, :actual_work, :remaining_work, :actual_overtime_work, :remaining_overtime_work, :percent_work_complete, :standard_rate, :standard_rate_format, :cost, :overtime_rate_format, :overtime_cost, :cost_per_use, :actual_cost, :actual_overtime_cost, :remaining_cost, :remaining_overtime_cost, :work_variance, :cost_variance, :sv, :cv, :acwp, :calendar_uid, :notes_text, :bcws, :bcwp, :is_generic, :is_inactive, :is_enterprise, :booking_type, :actual_work_protected, :actual_overtime_work_protected, :active_directory_guid, :creation_date, :cost_center, :is_cost_resource, :team_assignment_pool, :assignment_owner, :assignment_owner_guid, :is_budget, :budget_work, :budget_cost, :overtime_rate, :baseline_work, :baseline_cost, :baseline_bcws, :baseline_bcwp, :baseline1_work, :baseline1_cost, :baseline1_bcws, :baseline1_bcwp, :baseline2_work, :baseline2_cost, :baseline2_bcws, :baseline2_bcwp, :baseline3_work, :baseline3_cost, :baseline3_bcws, :baseline3_bcwp, :baseline4_work, :baseline4_cost, :baseline4_bcws, :baseline4_bcwp, :baseline5_work, :baseline5_cost, :baseline5_bcws, :baseline5_bcwp, :baseline6_work, :baseline6_cost, :baseline6_bcws, :baseline6_bcwp, :baseline7_work, :baseline7_cost, :baseline7_bcws, :baseline7_bcwp, :baseline8_work, :baseline8_cost, :baseline8_bcws, :baseline8_bcwp, :baseline9_work, :baseline9_cost, :baseline9_bcws, :baseline9_bcwp, :baseline10_work, :baseline10_cost, :baseline10_bcws, :baseline10_bcwp, :extended_attributes, :outline_codes
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'name' => :'Name',
11
+
12
+ #
13
+ :'uid' => :'Uid',
14
+
15
+ #
16
+ :'id' => :'Id',
17
+
18
+ #
19
+ :'type' => :'Type',
20
+
21
+ #
22
+ :'is_null' => :'IsNull',
23
+
24
+ #
25
+ :'initials' => :'Initials',
26
+
27
+ #
28
+ :'phonetics' => :'Phonetics',
29
+
30
+ #
31
+ :'nt_account' => :'NtAccount',
32
+
33
+ #
34
+ :'material_label' => :'MaterialLabel',
35
+
36
+ #
37
+ :'code' => :'Code',
38
+
39
+ #
40
+ :'group' => :'Group',
41
+
42
+ #
43
+ :'email_address' => :'EmailAddress',
44
+
45
+ #
46
+ :'hyperlink' => :'Hyperlink',
47
+
48
+ #
49
+ :'hyperlink_address' => :'HyperlinkAddress',
50
+
51
+ #
52
+ :'hyperlink_sub_address' => :'HyperlinkSubAddress',
53
+
54
+ #
55
+ :'max_units' => :'MaxUnits',
56
+
57
+ #
58
+ :'peak_units' => :'PeakUnits',
59
+
60
+ #
61
+ :'over_allocated' => :'OverAllocated',
62
+
63
+ #
64
+ :'available_from' => :'AvailableFrom',
65
+
66
+ #
67
+ :'available_to' => :'AvailableTo',
68
+
69
+ #
70
+ :'start' => :'Start',
71
+
72
+ #
73
+ :'finish' => :'Finish',
74
+
75
+ #
76
+ :'can_level' => :'CanLevel',
77
+
78
+ #
79
+ :'accrue_at' => :'AccrueAt',
80
+
81
+ #
82
+ :'work' => :'Work',
83
+
84
+ #
85
+ :'regular_work' => :'RegularWork',
86
+
87
+ #
88
+ :'overtime_work' => :'OvertimeWork',
89
+
90
+ #
91
+ :'actual_work' => :'ActualWork',
92
+
93
+ #
94
+ :'remaining_work' => :'RemainingWork',
95
+
96
+ #
97
+ :'actual_overtime_work' => :'ActualOvertimeWork',
98
+
99
+ #
100
+ :'remaining_overtime_work' => :'RemainingOvertimeWork',
101
+
102
+ #
103
+ :'percent_work_complete' => :'PercentWorkComplete',
104
+
105
+ #
106
+ :'standard_rate' => :'StandardRate',
107
+
108
+ #
109
+ :'standard_rate_format' => :'StandardRateFormat',
110
+
111
+ #
112
+ :'cost' => :'Cost',
113
+
114
+ #
115
+ :'overtime_rate_format' => :'OvertimeRateFormat',
116
+
117
+ #
118
+ :'overtime_cost' => :'OvertimeCost',
119
+
120
+ #
121
+ :'cost_per_use' => :'CostPerUse',
122
+
123
+ #
124
+ :'actual_cost' => :'ActualCost',
125
+
126
+ #
127
+ :'actual_overtime_cost' => :'ActualOvertimeCost',
128
+
129
+ #
130
+ :'remaining_cost' => :'RemainingCost',
131
+
132
+ #
133
+ :'remaining_overtime_cost' => :'RemainingOvertimeCost',
134
+
135
+ #
136
+ :'work_variance' => :'WorkVariance',
137
+
138
+ #
139
+ :'cost_variance' => :'CostVariance',
140
+
141
+ #
142
+ :'sv' => :'Sv',
143
+
144
+ #
145
+ :'cv' => :'Cv',
146
+
147
+ #
148
+ :'acwp' => :'Acwp',
149
+
150
+ #
151
+ :'calendar_uid' => :'CalendarUid',
152
+
153
+ #
154
+ :'notes_text' => :'NotesText',
155
+
156
+ #
157
+ :'bcws' => :'Bcws',
158
+
159
+ #
160
+ :'bcwp' => :'Bcwp',
161
+
162
+ #
163
+ :'is_generic' => :'IsGeneric',
164
+
165
+ #
166
+ :'is_inactive' => :'IsInactive',
167
+
168
+ #
169
+ :'is_enterprise' => :'IsEnterprise',
170
+
171
+ #
172
+ :'booking_type' => :'BookingType',
173
+
174
+ #
175
+ :'actual_work_protected' => :'ActualWorkProtected',
176
+
177
+ #
178
+ :'actual_overtime_work_protected' => :'ActualOvertimeWorkProtected',
179
+
180
+ #
181
+ :'active_directory_guid' => :'ActiveDirectoryGuid',
182
+
183
+ #
184
+ :'creation_date' => :'CreationDate',
185
+
186
+ #
187
+ :'cost_center' => :'CostCenter',
188
+
189
+ #
190
+ :'is_cost_resource' => :'IsCostResource',
191
+
192
+ #
193
+ :'team_assignment_pool' => :'TeamAssignmentPool',
194
+
195
+ #
196
+ :'assignment_owner' => :'AssignmentOwner',
197
+
198
+ #
199
+ :'assignment_owner_guid' => :'AssignmentOwnerGuid',
200
+
201
+ #
202
+ :'is_budget' => :'IsBudget',
203
+
204
+ #
205
+ :'budget_work' => :'BudgetWork',
206
+
207
+ #
208
+ :'budget_cost' => :'BudgetCost',
209
+
210
+ #
211
+ :'overtime_rate' => :'OvertimeRate',
212
+
213
+ #
214
+ :'baseline_work' => :'BaselineWork',
215
+
216
+ #
217
+ :'baseline_cost' => :'BaselineCost',
218
+
219
+ #
220
+ :'baseline_bcws' => :'BaselineBcws',
221
+
222
+ #
223
+ :'baseline_bcwp' => :'BaselineBcwp',
224
+
225
+ #
226
+ :'baseline1_work' => :'Baseline1Work',
227
+
228
+ #
229
+ :'baseline1_cost' => :'Baseline1Cost',
230
+
231
+ #
232
+ :'baseline1_bcws' => :'Baseline1Bcws',
233
+
234
+ #
235
+ :'baseline1_bcwp' => :'Baseline1Bcwp',
236
+
237
+ #
238
+ :'baseline2_work' => :'Baseline2Work',
239
+
240
+ #
241
+ :'baseline2_cost' => :'Baseline2Cost',
242
+
243
+ #
244
+ :'baseline2_bcws' => :'Baseline2Bcws',
245
+
246
+ #
247
+ :'baseline2_bcwp' => :'Baseline2Bcwp',
248
+
249
+ #
250
+ :'baseline3_work' => :'Baseline3Work',
251
+
252
+ #
253
+ :'baseline3_cost' => :'Baseline3Cost',
254
+
255
+ #
256
+ :'baseline3_bcws' => :'Baseline3Bcws',
257
+
258
+ #
259
+ :'baseline3_bcwp' => :'Baseline3Bcwp',
260
+
261
+ #
262
+ :'baseline4_work' => :'Baseline4Work',
263
+
264
+ #
265
+ :'baseline4_cost' => :'Baseline4Cost',
266
+
267
+ #
268
+ :'baseline4_bcws' => :'Baseline4Bcws',
269
+
270
+ #
271
+ :'baseline4_bcwp' => :'Baseline4Bcwp',
272
+
273
+ #
274
+ :'baseline5_work' => :'Baseline5Work',
275
+
276
+ #
277
+ :'baseline5_cost' => :'Baseline5Cost',
278
+
279
+ #
280
+ :'baseline5_bcws' => :'Baseline5Bcws',
281
+
282
+ #
283
+ :'baseline5_bcwp' => :'Baseline5Bcwp',
284
+
285
+ #
286
+ :'baseline6_work' => :'Baseline6Work',
287
+
288
+ #
289
+ :'baseline6_cost' => :'Baseline6Cost',
290
+
291
+ #
292
+ :'baseline6_bcws' => :'Baseline6Bcws',
293
+
294
+ #
295
+ :'baseline6_bcwp' => :'Baseline6Bcwp',
296
+
297
+ #
298
+ :'baseline7_work' => :'Baseline7Work',
299
+
300
+ #
301
+ :'baseline7_cost' => :'Baseline7Cost',
302
+
303
+ #
304
+ :'baseline7_bcws' => :'Baseline7Bcws',
305
+
306
+ #
307
+ :'baseline7_bcwp' => :'Baseline7Bcwp',
308
+
309
+ #
310
+ :'baseline8_work' => :'Baseline8Work',
311
+
312
+ #
313
+ :'baseline8_cost' => :'Baseline8Cost',
314
+
315
+ #
316
+ :'baseline8_bcws' => :'Baseline8Bcws',
317
+
318
+ #
319
+ :'baseline8_bcwp' => :'Baseline8Bcwp',
320
+
321
+ #
322
+ :'baseline9_work' => :'Baseline9Work',
323
+
324
+ #
325
+ :'baseline9_cost' => :'Baseline9Cost',
326
+
327
+ #
328
+ :'baseline9_bcws' => :'Baseline9Bcws',
329
+
330
+ #
331
+ :'baseline9_bcwp' => :'Baseline9Bcwp',
332
+
333
+ #
334
+ :'baseline10_work' => :'Baseline10Work',
335
+
336
+ #
337
+ :'baseline10_cost' => :'Baseline10Cost',
338
+
339
+ #
340
+ :'baseline10_bcws' => :'Baseline10Bcws',
341
+
342
+ #
343
+ :'baseline10_bcwp' => :'Baseline10Bcwp',
344
+
345
+ #
346
+ :'extended_attributes' => :'ExtendedAttributes',
347
+
348
+ #
349
+ :'outline_codes' => :'OutlineCodes'
350
+
351
+ }
352
+ end
353
+
354
+ # attribute type
355
+ def self.swagger_types
356
+ {
357
+ :'name' => :'String',
358
+ :'uid' => :'Integer',
359
+ :'id' => :'Integer',
360
+ :'type' => :'String',
361
+ :'is_null' => :'BOOLEAN',
362
+ :'initials' => :'String',
363
+ :'phonetics' => :'String',
364
+ :'nt_account' => :'String',
365
+ :'material_label' => :'String',
366
+ :'code' => :'String',
367
+ :'group' => :'String',
368
+ :'email_address' => :'String',
369
+ :'hyperlink' => :'String',
370
+ :'hyperlink_address' => :'String',
371
+ :'hyperlink_sub_address' => :'String',
372
+ :'max_units' => :'Float',
373
+ :'peak_units' => :'Float',
374
+ :'over_allocated' => :'BOOLEAN',
375
+ :'available_from' => :'String',
376
+ :'available_to' => :'String',
377
+ :'start' => :'String',
378
+ :'finish' => :'String',
379
+ :'can_level' => :'BOOLEAN',
380
+ :'accrue_at' => :'String',
381
+ :'work' => :'String',
382
+ :'regular_work' => :'String',
383
+ :'overtime_work' => :'String',
384
+ :'actual_work' => :'String',
385
+ :'remaining_work' => :'String',
386
+ :'actual_overtime_work' => :'String',
387
+ :'remaining_overtime_work' => :'String',
388
+ :'percent_work_complete' => :'Integer',
389
+ :'standard_rate' => :'Float',
390
+ :'standard_rate_format' => :'String',
391
+ :'cost' => :'Float',
392
+ :'overtime_rate_format' => :'String',
393
+ :'overtime_cost' => :'Float',
394
+ :'cost_per_use' => :'Float',
395
+ :'actual_cost' => :'Float',
396
+ :'actual_overtime_cost' => :'Float',
397
+ :'remaining_cost' => :'Float',
398
+ :'remaining_overtime_cost' => :'Float',
399
+ :'work_variance' => :'Float',
400
+ :'cost_variance' => :'Float',
401
+ :'sv' => :'Float',
402
+ :'cv' => :'Float',
403
+ :'acwp' => :'Float',
404
+ :'calendar_uid' => :'Integer',
405
+ :'notes_text' => :'String',
406
+ :'bcws' => :'Float',
407
+ :'bcwp' => :'Float',
408
+ :'is_generic' => :'BOOLEAN',
409
+ :'is_inactive' => :'BOOLEAN',
410
+ :'is_enterprise' => :'BOOLEAN',
411
+ :'booking_type' => :'String',
412
+ :'actual_work_protected' => :'String',
413
+ :'actual_overtime_work_protected' => :'String',
414
+ :'active_directory_guid' => :'String',
415
+ :'creation_date' => :'String',
416
+ :'cost_center' => :'String',
417
+ :'is_cost_resource' => :'BOOLEAN',
418
+ :'team_assignment_pool' => :'BOOLEAN',
419
+ :'assignment_owner' => :'String',
420
+ :'assignment_owner_guid' => :'String',
421
+ :'is_budget' => :'BOOLEAN',
422
+ :'budget_work' => :'String',
423
+ :'budget_cost' => :'Float',
424
+ :'overtime_rate' => :'Float',
425
+ :'baseline_work' => :'String',
426
+ :'baseline_cost' => :'Float',
427
+ :'baseline_bcws' => :'Float',
428
+ :'baseline_bcwp' => :'Float',
429
+ :'baseline1_work' => :'String',
430
+ :'baseline1_cost' => :'Float',
431
+ :'baseline1_bcws' => :'Float',
432
+ :'baseline1_bcwp' => :'Float',
433
+ :'baseline2_work' => :'String',
434
+ :'baseline2_cost' => :'Float',
435
+ :'baseline2_bcws' => :'Float',
436
+ :'baseline2_bcwp' => :'Float',
437
+ :'baseline3_work' => :'String',
438
+ :'baseline3_cost' => :'Float',
439
+ :'baseline3_bcws' => :'Float',
440
+ :'baseline3_bcwp' => :'Float',
441
+ :'baseline4_work' => :'String',
442
+ :'baseline4_cost' => :'Float',
443
+ :'baseline4_bcws' => :'Float',
444
+ :'baseline4_bcwp' => :'Float',
445
+ :'baseline5_work' => :'String',
446
+ :'baseline5_cost' => :'Float',
447
+ :'baseline5_bcws' => :'Float',
448
+ :'baseline5_bcwp' => :'Float',
449
+ :'baseline6_work' => :'String',
450
+ :'baseline6_cost' => :'Float',
451
+ :'baseline6_bcws' => :'Float',
452
+ :'baseline6_bcwp' => :'Float',
453
+ :'baseline7_work' => :'String',
454
+ :'baseline7_cost' => :'Float',
455
+ :'baseline7_bcws' => :'Float',
456
+ :'baseline7_bcwp' => :'Float',
457
+ :'baseline8_work' => :'String',
458
+ :'baseline8_cost' => :'Float',
459
+ :'baseline8_bcws' => :'Float',
460
+ :'baseline8_bcwp' => :'Float',
461
+ :'baseline9_work' => :'String',
462
+ :'baseline9_cost' => :'Float',
463
+ :'baseline9_bcws' => :'Float',
464
+ :'baseline9_bcwp' => :'Float',
465
+ :'baseline10_work' => :'String',
466
+ :'baseline10_cost' => :'Float',
467
+ :'baseline10_bcws' => :'Float',
468
+ :'baseline10_bcwp' => :'Float',
469
+ :'extended_attributes' => :'Array<ExtendedAttribute>',
470
+ :'outline_codes' => :'Array<OutlineCode>'
471
+
472
+ }
473
+ end
474
+
475
+ def initialize(attributes = {})
476
+ return if !attributes.is_a?(Hash) || attributes.empty?
477
+
478
+ # convert string to symbol for hash key
479
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
480
+
481
+
482
+ if attributes[:'Name']
483
+ self.name = attributes[:'Name']
484
+ end
485
+
486
+ if attributes[:'Uid']
487
+ self.uid = attributes[:'Uid']
488
+ end
489
+
490
+ if attributes[:'Id']
491
+ self.id = attributes[:'Id']
492
+ end
493
+
494
+ if attributes[:'Type']
495
+ self.type = attributes[:'Type']
496
+ end
497
+
498
+ if attributes[:'IsNull']
499
+ self.is_null = attributes[:'IsNull']
500
+ end
501
+
502
+ if attributes[:'Initials']
503
+ self.initials = attributes[:'Initials']
504
+ end
505
+
506
+ if attributes[:'Phonetics']
507
+ self.phonetics = attributes[:'Phonetics']
508
+ end
509
+
510
+ if attributes[:'NtAccount']
511
+ self.nt_account = attributes[:'NtAccount']
512
+ end
513
+
514
+ if attributes[:'MaterialLabel']
515
+ self.material_label = attributes[:'MaterialLabel']
516
+ end
517
+
518
+ if attributes[:'Code']
519
+ self.code = attributes[:'Code']
520
+ end
521
+
522
+ if attributes[:'Group']
523
+ self.group = attributes[:'Group']
524
+ end
525
+
526
+ if attributes[:'EmailAddress']
527
+ self.email_address = attributes[:'EmailAddress']
528
+ end
529
+
530
+ if attributes[:'Hyperlink']
531
+ self.hyperlink = attributes[:'Hyperlink']
532
+ end
533
+
534
+ if attributes[:'HyperlinkAddress']
535
+ self.hyperlink_address = attributes[:'HyperlinkAddress']
536
+ end
537
+
538
+ if attributes[:'HyperlinkSubAddress']
539
+ self.hyperlink_sub_address = attributes[:'HyperlinkSubAddress']
540
+ end
541
+
542
+ if attributes[:'MaxUnits']
543
+ self.max_units = attributes[:'MaxUnits']
544
+ end
545
+
546
+ if attributes[:'PeakUnits']
547
+ self.peak_units = attributes[:'PeakUnits']
548
+ end
549
+
550
+ if attributes[:'OverAllocated']
551
+ self.over_allocated = attributes[:'OverAllocated']
552
+ end
553
+
554
+ if attributes[:'AvailableFrom']
555
+ self.available_from = attributes[:'AvailableFrom']
556
+ end
557
+
558
+ if attributes[:'AvailableTo']
559
+ self.available_to = attributes[:'AvailableTo']
560
+ end
561
+
562
+ if attributes[:'Start']
563
+ self.start = attributes[:'Start']
564
+ end
565
+
566
+ if attributes[:'Finish']
567
+ self.finish = attributes[:'Finish']
568
+ end
569
+
570
+ if attributes[:'CanLevel']
571
+ self.can_level = attributes[:'CanLevel']
572
+ end
573
+
574
+ if attributes[:'AccrueAt']
575
+ self.accrue_at = attributes[:'AccrueAt']
576
+ end
577
+
578
+ if attributes[:'Work']
579
+ self.work = attributes[:'Work']
580
+ end
581
+
582
+ if attributes[:'RegularWork']
583
+ self.regular_work = attributes[:'RegularWork']
584
+ end
585
+
586
+ if attributes[:'OvertimeWork']
587
+ self.overtime_work = attributes[:'OvertimeWork']
588
+ end
589
+
590
+ if attributes[:'ActualWork']
591
+ self.actual_work = attributes[:'ActualWork']
592
+ end
593
+
594
+ if attributes[:'RemainingWork']
595
+ self.remaining_work = attributes[:'RemainingWork']
596
+ end
597
+
598
+ if attributes[:'ActualOvertimeWork']
599
+ self.actual_overtime_work = attributes[:'ActualOvertimeWork']
600
+ end
601
+
602
+ if attributes[:'RemainingOvertimeWork']
603
+ self.remaining_overtime_work = attributes[:'RemainingOvertimeWork']
604
+ end
605
+
606
+ if attributes[:'PercentWorkComplete']
607
+ self.percent_work_complete = attributes[:'PercentWorkComplete']
608
+ end
609
+
610
+ if attributes[:'StandardRate']
611
+ self.standard_rate = attributes[:'StandardRate']
612
+ end
613
+
614
+ if attributes[:'StandardRateFormat']
615
+ self.standard_rate_format = attributes[:'StandardRateFormat']
616
+ end
617
+
618
+ if attributes[:'Cost']
619
+ self.cost = attributes[:'Cost']
620
+ end
621
+
622
+ if attributes[:'OvertimeRateFormat']
623
+ self.overtime_rate_format = attributes[:'OvertimeRateFormat']
624
+ end
625
+
626
+ if attributes[:'OvertimeCost']
627
+ self.overtime_cost = attributes[:'OvertimeCost']
628
+ end
629
+
630
+ if attributes[:'CostPerUse']
631
+ self.cost_per_use = attributes[:'CostPerUse']
632
+ end
633
+
634
+ if attributes[:'ActualCost']
635
+ self.actual_cost = attributes[:'ActualCost']
636
+ end
637
+
638
+ if attributes[:'ActualOvertimeCost']
639
+ self.actual_overtime_cost = attributes[:'ActualOvertimeCost']
640
+ end
641
+
642
+ if attributes[:'RemainingCost']
643
+ self.remaining_cost = attributes[:'RemainingCost']
644
+ end
645
+
646
+ if attributes[:'RemainingOvertimeCost']
647
+ self.remaining_overtime_cost = attributes[:'RemainingOvertimeCost']
648
+ end
649
+
650
+ if attributes[:'WorkVariance']
651
+ self.work_variance = attributes[:'WorkVariance']
652
+ end
653
+
654
+ if attributes[:'CostVariance']
655
+ self.cost_variance = attributes[:'CostVariance']
656
+ end
657
+
658
+ if attributes[:'Sv']
659
+ self.sv = attributes[:'Sv']
660
+ end
661
+
662
+ if attributes[:'Cv']
663
+ self.cv = attributes[:'Cv']
664
+ end
665
+
666
+ if attributes[:'Acwp']
667
+ self.acwp = attributes[:'Acwp']
668
+ end
669
+
670
+ if attributes[:'CalendarUid']
671
+ self.calendar_uid = attributes[:'CalendarUid']
672
+ end
673
+
674
+ if attributes[:'NotesText']
675
+ self.notes_text = attributes[:'NotesText']
676
+ end
677
+
678
+ if attributes[:'Bcws']
679
+ self.bcws = attributes[:'Bcws']
680
+ end
681
+
682
+ if attributes[:'Bcwp']
683
+ self.bcwp = attributes[:'Bcwp']
684
+ end
685
+
686
+ if attributes[:'IsGeneric']
687
+ self.is_generic = attributes[:'IsGeneric']
688
+ end
689
+
690
+ if attributes[:'IsInactive']
691
+ self.is_inactive = attributes[:'IsInactive']
692
+ end
693
+
694
+ if attributes[:'IsEnterprise']
695
+ self.is_enterprise = attributes[:'IsEnterprise']
696
+ end
697
+
698
+ if attributes[:'BookingType']
699
+ self.booking_type = attributes[:'BookingType']
700
+ end
701
+
702
+ if attributes[:'ActualWorkProtected']
703
+ self.actual_work_protected = attributes[:'ActualWorkProtected']
704
+ end
705
+
706
+ if attributes[:'ActualOvertimeWorkProtected']
707
+ self.actual_overtime_work_protected = attributes[:'ActualOvertimeWorkProtected']
708
+ end
709
+
710
+ if attributes[:'ActiveDirectoryGuid']
711
+ self.active_directory_guid = attributes[:'ActiveDirectoryGuid']
712
+ end
713
+
714
+ if attributes[:'CreationDate']
715
+ self.creation_date = attributes[:'CreationDate']
716
+ end
717
+
718
+ if attributes[:'CostCenter']
719
+ self.cost_center = attributes[:'CostCenter']
720
+ end
721
+
722
+ if attributes[:'IsCostResource']
723
+ self.is_cost_resource = attributes[:'IsCostResource']
724
+ end
725
+
726
+ if attributes[:'TeamAssignmentPool']
727
+ self.team_assignment_pool = attributes[:'TeamAssignmentPool']
728
+ end
729
+
730
+ if attributes[:'AssignmentOwner']
731
+ self.assignment_owner = attributes[:'AssignmentOwner']
732
+ end
733
+
734
+ if attributes[:'AssignmentOwnerGuid']
735
+ self.assignment_owner_guid = attributes[:'AssignmentOwnerGuid']
736
+ end
737
+
738
+ if attributes[:'IsBudget']
739
+ self.is_budget = attributes[:'IsBudget']
740
+ end
741
+
742
+ if attributes[:'BudgetWork']
743
+ self.budget_work = attributes[:'BudgetWork']
744
+ end
745
+
746
+ if attributes[:'BudgetCost']
747
+ self.budget_cost = attributes[:'BudgetCost']
748
+ end
749
+
750
+ if attributes[:'OvertimeRate']
751
+ self.overtime_rate = attributes[:'OvertimeRate']
752
+ end
753
+
754
+ if attributes[:'BaselineWork']
755
+ self.baseline_work = attributes[:'BaselineWork']
756
+ end
757
+
758
+ if attributes[:'BaselineCost']
759
+ self.baseline_cost = attributes[:'BaselineCost']
760
+ end
761
+
762
+ if attributes[:'BaselineBcws']
763
+ self.baseline_bcws = attributes[:'BaselineBcws']
764
+ end
765
+
766
+ if attributes[:'BaselineBcwp']
767
+ self.baseline_bcwp = attributes[:'BaselineBcwp']
768
+ end
769
+
770
+ if attributes[:'Baseline1Work']
771
+ self.baseline1_work = attributes[:'Baseline1Work']
772
+ end
773
+
774
+ if attributes[:'Baseline1Cost']
775
+ self.baseline1_cost = attributes[:'Baseline1Cost']
776
+ end
777
+
778
+ if attributes[:'Baseline1Bcws']
779
+ self.baseline1_bcws = attributes[:'Baseline1Bcws']
780
+ end
781
+
782
+ if attributes[:'Baseline1Bcwp']
783
+ self.baseline1_bcwp = attributes[:'Baseline1Bcwp']
784
+ end
785
+
786
+ if attributes[:'Baseline2Work']
787
+ self.baseline2_work = attributes[:'Baseline2Work']
788
+ end
789
+
790
+ if attributes[:'Baseline2Cost']
791
+ self.baseline2_cost = attributes[:'Baseline2Cost']
792
+ end
793
+
794
+ if attributes[:'Baseline2Bcws']
795
+ self.baseline2_bcws = attributes[:'Baseline2Bcws']
796
+ end
797
+
798
+ if attributes[:'Baseline2Bcwp']
799
+ self.baseline2_bcwp = attributes[:'Baseline2Bcwp']
800
+ end
801
+
802
+ if attributes[:'Baseline3Work']
803
+ self.baseline3_work = attributes[:'Baseline3Work']
804
+ end
805
+
806
+ if attributes[:'Baseline3Cost']
807
+ self.baseline3_cost = attributes[:'Baseline3Cost']
808
+ end
809
+
810
+ if attributes[:'Baseline3Bcws']
811
+ self.baseline3_bcws = attributes[:'Baseline3Bcws']
812
+ end
813
+
814
+ if attributes[:'Baseline3Bcwp']
815
+ self.baseline3_bcwp = attributes[:'Baseline3Bcwp']
816
+ end
817
+
818
+ if attributes[:'Baseline4Work']
819
+ self.baseline4_work = attributes[:'Baseline4Work']
820
+ end
821
+
822
+ if attributes[:'Baseline4Cost']
823
+ self.baseline4_cost = attributes[:'Baseline4Cost']
824
+ end
825
+
826
+ if attributes[:'Baseline4Bcws']
827
+ self.baseline4_bcws = attributes[:'Baseline4Bcws']
828
+ end
829
+
830
+ if attributes[:'Baseline4Bcwp']
831
+ self.baseline4_bcwp = attributes[:'Baseline4Bcwp']
832
+ end
833
+
834
+ if attributes[:'Baseline5Work']
835
+ self.baseline5_work = attributes[:'Baseline5Work']
836
+ end
837
+
838
+ if attributes[:'Baseline5Cost']
839
+ self.baseline5_cost = attributes[:'Baseline5Cost']
840
+ end
841
+
842
+ if attributes[:'Baseline5Bcws']
843
+ self.baseline5_bcws = attributes[:'Baseline5Bcws']
844
+ end
845
+
846
+ if attributes[:'Baseline5Bcwp']
847
+ self.baseline5_bcwp = attributes[:'Baseline5Bcwp']
848
+ end
849
+
850
+ if attributes[:'Baseline6Work']
851
+ self.baseline6_work = attributes[:'Baseline6Work']
852
+ end
853
+
854
+ if attributes[:'Baseline6Cost']
855
+ self.baseline6_cost = attributes[:'Baseline6Cost']
856
+ end
857
+
858
+ if attributes[:'Baseline6Bcws']
859
+ self.baseline6_bcws = attributes[:'Baseline6Bcws']
860
+ end
861
+
862
+ if attributes[:'Baseline6Bcwp']
863
+ self.baseline6_bcwp = attributes[:'Baseline6Bcwp']
864
+ end
865
+
866
+ if attributes[:'Baseline7Work']
867
+ self.baseline7_work = attributes[:'Baseline7Work']
868
+ end
869
+
870
+ if attributes[:'Baseline7Cost']
871
+ self.baseline7_cost = attributes[:'Baseline7Cost']
872
+ end
873
+
874
+ if attributes[:'Baseline7Bcws']
875
+ self.baseline7_bcws = attributes[:'Baseline7Bcws']
876
+ end
877
+
878
+ if attributes[:'Baseline7Bcwp']
879
+ self.baseline7_bcwp = attributes[:'Baseline7Bcwp']
880
+ end
881
+
882
+ if attributes[:'Baseline8Work']
883
+ self.baseline8_work = attributes[:'Baseline8Work']
884
+ end
885
+
886
+ if attributes[:'Baseline8Cost']
887
+ self.baseline8_cost = attributes[:'Baseline8Cost']
888
+ end
889
+
890
+ if attributes[:'Baseline8Bcws']
891
+ self.baseline8_bcws = attributes[:'Baseline8Bcws']
892
+ end
893
+
894
+ if attributes[:'Baseline8Bcwp']
895
+ self.baseline8_bcwp = attributes[:'Baseline8Bcwp']
896
+ end
897
+
898
+ if attributes[:'Baseline9Work']
899
+ self.baseline9_work = attributes[:'Baseline9Work']
900
+ end
901
+
902
+ if attributes[:'Baseline9Cost']
903
+ self.baseline9_cost = attributes[:'Baseline9Cost']
904
+ end
905
+
906
+ if attributes[:'Baseline9Bcws']
907
+ self.baseline9_bcws = attributes[:'Baseline9Bcws']
908
+ end
909
+
910
+ if attributes[:'Baseline9Bcwp']
911
+ self.baseline9_bcwp = attributes[:'Baseline9Bcwp']
912
+ end
913
+
914
+ if attributes[:'Baseline10Work']
915
+ self.baseline10_work = attributes[:'Baseline10Work']
916
+ end
917
+
918
+ if attributes[:'Baseline10Cost']
919
+ self.baseline10_cost = attributes[:'Baseline10Cost']
920
+ end
921
+
922
+ if attributes[:'Baseline10Bcws']
923
+ self.baseline10_bcws = attributes[:'Baseline10Bcws']
924
+ end
925
+
926
+ if attributes[:'Baseline10Bcwp']
927
+ self.baseline10_bcwp = attributes[:'Baseline10Bcwp']
928
+ end
929
+
930
+ if attributes[:'ExtendedAttributes']
931
+ if (value = attributes[:'ExtendedAttributes']).is_a?(Array)
932
+ self.extended_attributes = value
933
+ end
934
+ end
935
+
936
+ if attributes[:'OutlineCodes']
937
+ if (value = attributes[:'OutlineCodes']).is_a?(Array)
938
+ self.outline_codes = value
939
+ end
940
+ end
941
+
942
+ end
943
+
944
+ end
945
+ end