aspose_tasks_cloud 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +49 -0
- data/aspose_tasks_cloud.gemspec +26 -0
- data/lib/aspose_tasks_cloud.rb +92 -0
- data/lib/aspose_tasks_cloud/api/tasks_api.rb +2585 -0
- data/lib/aspose_tasks_cloud/api_client.rb +335 -0
- data/lib/aspose_tasks_cloud/api_error.rb +24 -0
- data/lib/aspose_tasks_cloud/configuration.rb +166 -0
- data/lib/aspose_tasks_cloud/models/assignment_item.rb +61 -0
- data/lib/aspose_tasks_cloud/models/assignment_item_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/assignment_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/assignment_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/assignment_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/assignments_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/base_object.rb +86 -0
- data/lib/aspose_tasks_cloud/models/base_response.rb +53 -0
- data/lib/aspose_tasks_cloud/models/calendar.rb +89 -0
- data/lib/aspose_tasks_cloud/models/calendar_exception.rb +145 -0
- data/lib/aspose_tasks_cloud/models/calendar_exceptions_response.rb +63 -0
- data/lib/aspose_tasks_cloud/models/calendar_item.rb +53 -0
- data/lib/aspose_tasks_cloud/models/calendar_item_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/calendar_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/calendar_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/calendar_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/document_properties.rb +47 -0
- data/lib/aspose_tasks_cloud/models/document_properties_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/document_property.rb +53 -0
- data/lib/aspose_tasks_cloud/models/document_property_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute.rb +61 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute_definition.rb +207 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute_item.rb +53 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/extended_attribute_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/link.rb +61 -0
- data/lib/aspose_tasks_cloud/models/outline_code.rb +53 -0
- data/lib/aspose_tasks_cloud/models/outline_code_definition.rb +145 -0
- data/lib/aspose_tasks_cloud/models/outline_code_item.rb +45 -0
- data/lib/aspose_tasks_cloud/models/outline_code_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/outline_code_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/outline_code_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/outline_mask.rb +61 -0
- data/lib/aspose_tasks_cloud/models/outline_value.rb +85 -0
- data/lib/aspose_tasks_cloud/models/recurring_info.rb +197 -0
- data/lib/aspose_tasks_cloud/models/recurring_info_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/resource.rb +945 -0
- data/lib/aspose_tasks_cloud/models/resource_assignment.rb +1063 -0
- data/lib/aspose_tasks_cloud/models/resource_assignments.rb +47 -0
- data/lib/aspose_tasks_cloud/models/resource_item.rb +61 -0
- data/lib/aspose_tasks_cloud/models/resource_item_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/resource_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/resource_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/resource_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/task.rb +1595 -0
- data/lib/aspose_tasks_cloud/models/task_document.rb +63 -0
- data/lib/aspose_tasks_cloud/models/task_document_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/task_item.rb +85 -0
- data/lib/aspose_tasks_cloud/models/task_item_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/task_items.rb +47 -0
- data/lib/aspose_tasks_cloud/models/task_items_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/task_link.rb +85 -0
- data/lib/aspose_tasks_cloud/models/task_link_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/task_links_response.rb +63 -0
- data/lib/aspose_tasks_cloud/models/task_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/value.rb +61 -0
- data/lib/aspose_tasks_cloud/models/wbs_code_mask.rb +61 -0
- data/lib/aspose_tasks_cloud/models/wbs_definition.rb +63 -0
- data/lib/aspose_tasks_cloud/models/wbs_definition_response.rb +61 -0
- data/lib/aspose_tasks_cloud/models/week_day.rb +71 -0
- data/lib/aspose_tasks_cloud/models/working_time.rb +45 -0
- data/lib/aspose_tasks_cloud/version.rb +3 -0
- data/test/data/ExtendedAttribute.mpp +0 -0
- data/test/data/Outlinecode.mpp +0 -0
- data/test/data/ResourceWithExtAttribs.xml +345 -0
- data/test/data/sample-project-2.mpp +0 -0
- data/test/data/sample-project.mpp +0 -0
- data/test/tasks_tests.rb +430 -0
- metadata +207 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineCodeItem < BaseObject
|
4
|
+
attr_accessor :link, :index
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'link' => :'Link',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'index' => :'Index'
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
# attribute type
|
19
|
+
def self.swagger_types
|
20
|
+
{
|
21
|
+
:'link' => :'Link',
|
22
|
+
:'index' => :'Integer'
|
23
|
+
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
def initialize(attributes = {})
|
28
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
29
|
+
|
30
|
+
# convert string to symbol for hash key
|
31
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
32
|
+
|
33
|
+
|
34
|
+
if attributes[:'Link']
|
35
|
+
self.link = attributes[:'Link']
|
36
|
+
end
|
37
|
+
|
38
|
+
if attributes[:'Index']
|
39
|
+
self.index = attributes[:'Index']
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineCodeItems < BaseObject
|
4
|
+
attr_accessor :list, :link
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'list' => :'List',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'link' => :'link'
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
# attribute type
|
19
|
+
def self.swagger_types
|
20
|
+
{
|
21
|
+
:'list' => :'Array<OutlineCodeItem>',
|
22
|
+
:'link' => :'Link'
|
23
|
+
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
def initialize(attributes = {})
|
28
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
29
|
+
|
30
|
+
# convert string to symbol for hash key
|
31
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
32
|
+
|
33
|
+
|
34
|
+
if attributes[:'List']
|
35
|
+
if (value = attributes[:'List']).is_a?(Array)
|
36
|
+
self.list = value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
if attributes[:'link']
|
41
|
+
self.link = attributes[:'link']
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineCodeItemsResponse < BaseObject
|
4
|
+
attr_accessor :outline_codes, :status, :code
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'outline_codes' => :'OutlineCodes',
|
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
|
+
:'outline_codes' => :'OutlineCodeItems',
|
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[:'OutlineCodes']
|
39
|
+
self.outline_codes = attributes[:'OutlineCodes']
|
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,61 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineCodeResponse < BaseObject
|
4
|
+
attr_accessor :outline_code, :status, :code
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'outline_code' => :'OutlineCode',
|
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
|
+
:'outline_code' => :'OutlineCodeDefinition',
|
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[:'OutlineCode']
|
39
|
+
self.outline_code = attributes[:'OutlineCode']
|
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,61 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineMask < BaseObject
|
4
|
+
attr_accessor :level, :type, :length, :separator
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'level' => :'Level',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'type' => :'Type',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'length' => :'Length',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'separator' => :'Separator'
|
20
|
+
|
21
|
+
}
|
22
|
+
end
|
23
|
+
|
24
|
+
# attribute type
|
25
|
+
def self.swagger_types
|
26
|
+
{
|
27
|
+
:'level' => :'Integer',
|
28
|
+
:'type' => :'String',
|
29
|
+
:'length' => :'Integer',
|
30
|
+
:'separator' => :'String'
|
31
|
+
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(attributes = {})
|
36
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
37
|
+
|
38
|
+
# convert string to symbol for hash key
|
39
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
40
|
+
|
41
|
+
|
42
|
+
if attributes[:'Level']
|
43
|
+
self.level = attributes[:'Level']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Type']
|
47
|
+
self.type = attributes[:'Type']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes[:'Length']
|
51
|
+
self.length = attributes[:'Length']
|
52
|
+
end
|
53
|
+
|
54
|
+
if attributes[:'Separator']
|
55
|
+
self.separator = attributes[:'Separator']
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class OutlineValue < BaseObject
|
4
|
+
attr_accessor :value_id, :field_guid, :type, :parent_value_id, :value, :description, :is_collapsed
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'value_id' => :'ValueId',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'field_guid' => :'FieldGuid',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'type' => :'Type',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'parent_value_id' => :'ParentValueId',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'value' => :'Value',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'description' => :'Description',
|
26
|
+
|
27
|
+
#
|
28
|
+
:'is_collapsed' => :'IsCollapsed'
|
29
|
+
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# attribute type
|
34
|
+
def self.swagger_types
|
35
|
+
{
|
36
|
+
:'value_id' => :'Integer',
|
37
|
+
:'field_guid' => :'String',
|
38
|
+
:'type' => :'String',
|
39
|
+
:'parent_value_id' => :'Integer',
|
40
|
+
:'value' => :'String',
|
41
|
+
:'description' => :'String',
|
42
|
+
:'is_collapsed' => :'BOOLEAN'
|
43
|
+
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
def initialize(attributes = {})
|
48
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
49
|
+
|
50
|
+
# convert string to symbol for hash key
|
51
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
52
|
+
|
53
|
+
|
54
|
+
if attributes[:'ValueId']
|
55
|
+
self.value_id = attributes[:'ValueId']
|
56
|
+
end
|
57
|
+
|
58
|
+
if attributes[:'FieldGuid']
|
59
|
+
self.field_guid = attributes[:'FieldGuid']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes[:'Type']
|
63
|
+
self.type = attributes[:'Type']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes[:'ParentValueId']
|
67
|
+
self.parent_value_id = attributes[:'ParentValueId']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes[:'Value']
|
71
|
+
self.value = attributes[:'Value']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes[:'Description']
|
75
|
+
self.description = attributes[:'Description']
|
76
|
+
end
|
77
|
+
|
78
|
+
if attributes[:'IsCollapsed']
|
79
|
+
self.is_collapsed = attributes[:'IsCollapsed']
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,197 @@
|
|
1
|
+
module AsposeTasksCloud
|
2
|
+
#
|
3
|
+
class RecurringInfo < BaseObject
|
4
|
+
attr_accessor :recurrence_pattern, :start_date, :end_date, :duration, :occurrences, :use_end_date, :daily_repetitions, :daily_use_workdays, :weekly_repetitions, :weekly_days, :monthly_use_ordinal_day, :monthly_ordinal_number, :monthly_ordinal_day, :monthly_ordinal_repetitions, :monthly_day, :monthly_repetitions, :yearly_use_ordinal_day, :yearly_date, :yearly_ordinal_number, :yearly_ordinal_day, :yearly_ordinal_month
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'recurrence_pattern' => :'RecurrencePattern',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'start_date' => :'StartDate',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'end_date' => :'EndDate',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'duration' => :'Duration',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'occurrences' => :'Occurrences',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'use_end_date' => :'UseEndDate',
|
26
|
+
|
27
|
+
#
|
28
|
+
:'daily_repetitions' => :'DailyRepetitions',
|
29
|
+
|
30
|
+
#
|
31
|
+
:'daily_use_workdays' => :'DailyUseWorkdays',
|
32
|
+
|
33
|
+
#
|
34
|
+
:'weekly_repetitions' => :'WeeklyRepetitions',
|
35
|
+
|
36
|
+
#
|
37
|
+
:'weekly_days' => :'WeeklyDays',
|
38
|
+
|
39
|
+
#
|
40
|
+
:'monthly_use_ordinal_day' => :'MonthlyUseOrdinalDay',
|
41
|
+
|
42
|
+
#
|
43
|
+
:'monthly_ordinal_number' => :'MonthlyOrdinalNumber',
|
44
|
+
|
45
|
+
#
|
46
|
+
:'monthly_ordinal_day' => :'MonthlyOrdinalDay',
|
47
|
+
|
48
|
+
#
|
49
|
+
:'monthly_ordinal_repetitions' => :'MonthlyOrdinalRepetitions',
|
50
|
+
|
51
|
+
#
|
52
|
+
:'monthly_day' => :'MonthlyDay',
|
53
|
+
|
54
|
+
#
|
55
|
+
:'monthly_repetitions' => :'MonthlyRepetitions',
|
56
|
+
|
57
|
+
#
|
58
|
+
:'yearly_use_ordinal_day' => :'YearlyUseOrdinalDay',
|
59
|
+
|
60
|
+
#
|
61
|
+
:'yearly_date' => :'YearlyDate',
|
62
|
+
|
63
|
+
#
|
64
|
+
:'yearly_ordinal_number' => :'YearlyOrdinalNumber',
|
65
|
+
|
66
|
+
#
|
67
|
+
:'yearly_ordinal_day' => :'YearlyOrdinalDay',
|
68
|
+
|
69
|
+
#
|
70
|
+
:'yearly_ordinal_month' => :'YearlyOrdinalMonth'
|
71
|
+
|
72
|
+
}
|
73
|
+
end
|
74
|
+
|
75
|
+
# attribute type
|
76
|
+
def self.swagger_types
|
77
|
+
{
|
78
|
+
:'recurrence_pattern' => :'String',
|
79
|
+
:'start_date' => :'String',
|
80
|
+
:'end_date' => :'String',
|
81
|
+
:'duration' => :'String',
|
82
|
+
:'occurrences' => :'Integer',
|
83
|
+
:'use_end_date' => :'BOOLEAN',
|
84
|
+
:'daily_repetitions' => :'Integer',
|
85
|
+
:'daily_use_workdays' => :'BOOLEAN',
|
86
|
+
:'weekly_repetitions' => :'Integer',
|
87
|
+
:'weekly_days' => :'String',
|
88
|
+
:'monthly_use_ordinal_day' => :'BOOLEAN',
|
89
|
+
:'monthly_ordinal_number' => :'String',
|
90
|
+
:'monthly_ordinal_day' => :'String',
|
91
|
+
:'monthly_ordinal_repetitions' => :'Integer',
|
92
|
+
:'monthly_day' => :'Integer',
|
93
|
+
:'monthly_repetitions' => :'Integer',
|
94
|
+
:'yearly_use_ordinal_day' => :'BOOLEAN',
|
95
|
+
:'yearly_date' => :'String',
|
96
|
+
:'yearly_ordinal_number' => :'String',
|
97
|
+
:'yearly_ordinal_day' => :'String',
|
98
|
+
:'yearly_ordinal_month' => :'String'
|
99
|
+
|
100
|
+
}
|
101
|
+
end
|
102
|
+
|
103
|
+
def initialize(attributes = {})
|
104
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
105
|
+
|
106
|
+
# convert string to symbol for hash key
|
107
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
108
|
+
|
109
|
+
|
110
|
+
if attributes[:'RecurrencePattern']
|
111
|
+
self.recurrence_pattern = attributes[:'RecurrencePattern']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes[:'StartDate']
|
115
|
+
self.start_date = attributes[:'StartDate']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'EndDate']
|
119
|
+
self.end_date = attributes[:'EndDate']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes[:'Duration']
|
123
|
+
self.duration = attributes[:'Duration']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes[:'Occurrences']
|
127
|
+
self.occurrences = attributes[:'Occurrences']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes[:'UseEndDate']
|
131
|
+
self.use_end_date = attributes[:'UseEndDate']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes[:'DailyRepetitions']
|
135
|
+
self.daily_repetitions = attributes[:'DailyRepetitions']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes[:'DailyUseWorkdays']
|
139
|
+
self.daily_use_workdays = attributes[:'DailyUseWorkdays']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes[:'WeeklyRepetitions']
|
143
|
+
self.weekly_repetitions = attributes[:'WeeklyRepetitions']
|
144
|
+
end
|
145
|
+
|
146
|
+
if attributes[:'WeeklyDays']
|
147
|
+
self.weekly_days = attributes[:'WeeklyDays']
|
148
|
+
end
|
149
|
+
|
150
|
+
if attributes[:'MonthlyUseOrdinalDay']
|
151
|
+
self.monthly_use_ordinal_day = attributes[:'MonthlyUseOrdinalDay']
|
152
|
+
end
|
153
|
+
|
154
|
+
if attributes[:'MonthlyOrdinalNumber']
|
155
|
+
self.monthly_ordinal_number = attributes[:'MonthlyOrdinalNumber']
|
156
|
+
end
|
157
|
+
|
158
|
+
if attributes[:'MonthlyOrdinalDay']
|
159
|
+
self.monthly_ordinal_day = attributes[:'MonthlyOrdinalDay']
|
160
|
+
end
|
161
|
+
|
162
|
+
if attributes[:'MonthlyOrdinalRepetitions']
|
163
|
+
self.monthly_ordinal_repetitions = attributes[:'MonthlyOrdinalRepetitions']
|
164
|
+
end
|
165
|
+
|
166
|
+
if attributes[:'MonthlyDay']
|
167
|
+
self.monthly_day = attributes[:'MonthlyDay']
|
168
|
+
end
|
169
|
+
|
170
|
+
if attributes[:'MonthlyRepetitions']
|
171
|
+
self.monthly_repetitions = attributes[:'MonthlyRepetitions']
|
172
|
+
end
|
173
|
+
|
174
|
+
if attributes[:'YearlyUseOrdinalDay']
|
175
|
+
self.yearly_use_ordinal_day = attributes[:'YearlyUseOrdinalDay']
|
176
|
+
end
|
177
|
+
|
178
|
+
if attributes[:'YearlyDate']
|
179
|
+
self.yearly_date = attributes[:'YearlyDate']
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes[:'YearlyOrdinalNumber']
|
183
|
+
self.yearly_ordinal_number = attributes[:'YearlyOrdinalNumber']
|
184
|
+
end
|
185
|
+
|
186
|
+
if attributes[:'YearlyOrdinalDay']
|
187
|
+
self.yearly_ordinal_day = attributes[:'YearlyOrdinalDay']
|
188
|
+
end
|
189
|
+
|
190
|
+
if attributes[:'YearlyOrdinalMonth']
|
191
|
+
self.yearly_ordinal_month = attributes[:'YearlyOrdinalMonth']
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|