aspose_slides_cloud 20.7.0 → 21.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/TestData/ChartTest.pptx +0 -0
- data/TestData/Sections.pptx +0 -0
- data/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pdf +0 -0
- data/TestData/test.pptx +0 -0
- data/lib/aspose_slides_cloud.rb +12 -5
- data/lib/aspose_slides_cloud/api/slides_api.rb +2130 -940
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +531 -31
- data/lib/aspose_slides_cloud/api_client.rb +25 -23
- data/lib/aspose_slides_cloud/configuration.rb +7 -2
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/axes.rb +2 -2
- data/lib/aspose_slides_cloud/models/axis.rb +2 -2
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
- data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/chart.rb +14 -214
- data/lib/aspose_slides_cloud/models/chart_category.rb +34 -12
- data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
- data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
- data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/connector.rb +12 -236
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
- data/lib/aspose_slides_cloud/models/{resource_uri_element.rb → data_point.rb} +4 -14
- data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
- data/lib/aspose_slides_cloud/models/document.rb +15 -37
- data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
- data/lib/aspose_slides_cloud/models/effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
- data/lib/aspose_slides_cloud/models/error.rb +2 -2
- data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
- data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
- data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
- data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
- data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +13 -204
- data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
- data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -211
- data/lib/aspose_slides_cloud/models/group_shape.rb +11 -211
- data/lib/aspose_slides_cloud/models/header_footer.rb +247 -0
- data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -12
- data/lib/aspose_slides_cloud/models/image.rb +10 -32
- data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/images.rb +10 -32
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/input.rb +2 -2
- data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
- data/lib/aspose_slides_cloud/models/layout_slide.rb +11 -33
- data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/legend.rb +2 -2
- data/lib/aspose_slides_cloud/models/line_format.rb +25 -3
- data/lib/aspose_slides_cloud/models/master_slide.rb +11 -33
- data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/merge.rb +11 -40
- data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
- data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/notes_slide_header_footer.rb +267 -0
- data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -212
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
- data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
- data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/picture_fill.rb +12 -41
- data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
- data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
- data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
- data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
- data/lib/aspose_slides_cloud/models/portion.rb +10 -32
- data/lib/aspose_slides_cloud/models/portions.rb +10 -32
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/protection_properties.rb +217 -0
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
- data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
- data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
- data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
- data/lib/aspose_slides_cloud/models/save.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/section.rb +234 -0
- data/lib/aspose_slides_cloud/models/sections.rb +209 -0
- data/lib/aspose_slides_cloud/models/series.rb +4 -4
- data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +12 -236
- data/lib/aspose_slides_cloud/models/shape_base.rb +11 -54
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
- data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide.rb +17 -39
- data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
- data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_properties.rb +315 -0
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
- data/lib/aspose_slides_cloud/models/slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/smart_art.rb +12 -212
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +3 -3
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +10 -209
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
- data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/table.rb +12 -212
- data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
- data/lib/aspose_slides_cloud/models/task.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
- data/lib/aspose_slides_cloud/models/theme.rb +12 -34
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
- data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/video_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb +206 -0
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/type_registry.rb +324 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +8664 -1406
- data/spec/extra/extra_spec.rb +70 -38
- data/spec/spec_utils.rb +10 -6
- data/testConfig.json +2 -2
- data/testRules.json +121 -80
- metadata +16 -3
@@ -24,51 +24,28 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Slides document properties.
|
27
|
-
class DocumentProperties
|
28
|
-
# Gets or sets the link to this resource.
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
|
-
# List of alternate links.
|
32
|
-
attr_accessor :alternate_links
|
33
|
-
|
27
|
+
class DocumentProperties < ResourceBase
|
34
28
|
# Document property list.
|
35
29
|
attr_accessor :list
|
36
30
|
|
37
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
32
|
def self.attribute_map
|
39
|
-
{
|
40
|
-
:'
|
41
|
-
|
42
|
-
:'list' => :'List'
|
43
|
-
}
|
33
|
+
super.merge({
|
34
|
+
:'list' => :'List',
|
35
|
+
})
|
44
36
|
end
|
45
37
|
|
46
38
|
# Attribute type mapping.
|
47
39
|
def self.swagger_types
|
48
|
-
{
|
49
|
-
:'
|
50
|
-
|
51
|
-
:'list' => :'Array<DocumentProperty>'
|
52
|
-
}
|
40
|
+
super.merge({
|
41
|
+
:'list' => :'Array<DocumentProperty>',
|
42
|
+
})
|
53
43
|
end
|
54
44
|
|
55
45
|
# Initializes the object
|
56
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
57
47
|
def initialize(attributes = {})
|
58
|
-
|
59
|
-
|
60
|
-
# convert string to symbol for hash key
|
61
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
62
|
-
|
63
|
-
if attributes.has_key?(:'SelfUri')
|
64
|
-
self.self_uri = attributes[:'SelfUri']
|
65
|
-
end
|
66
|
-
|
67
|
-
if attributes.has_key?(:'AlternateLinks')
|
68
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
69
|
-
self.alternate_links = value
|
70
|
-
end
|
71
|
-
end
|
48
|
+
super
|
72
49
|
|
73
50
|
if attributes.has_key?(:'List')
|
74
51
|
if (value = attributes[:'List']).is_a?(Array)
|
@@ -80,13 +57,14 @@ module AsposeSlidesCloud
|
|
80
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
81
58
|
# @return Array for valid properties with the reasons
|
82
59
|
def list_invalid_properties
|
83
|
-
invalid_properties =
|
60
|
+
invalid_properties = super
|
84
61
|
invalid_properties
|
85
62
|
end
|
86
63
|
|
87
64
|
# Check to see if the all the properties in the model are valid
|
88
65
|
# @return true if the model is valid
|
89
66
|
def valid?
|
67
|
+
return false if !super
|
90
68
|
true
|
91
69
|
end
|
92
70
|
|
@@ -24,13 +24,7 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Document property.
|
27
|
-
class DocumentProperty
|
28
|
-
# Gets or sets the link to this resource.
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
|
-
# List of alternate links.
|
32
|
-
attr_accessor :alternate_links
|
33
|
-
|
27
|
+
class DocumentProperty < ResourceBase
|
34
28
|
# Name.
|
35
29
|
attr_accessor :name
|
36
30
|
|
@@ -42,43 +36,26 @@ module AsposeSlidesCloud
|
|
42
36
|
|
43
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
38
|
def self.attribute_map
|
45
|
-
{
|
46
|
-
:'self_uri' => :'SelfUri',
|
47
|
-
:'alternate_links' => :'AlternateLinks',
|
39
|
+
super.merge({
|
48
40
|
:'name' => :'Name',
|
49
41
|
:'value' => :'Value',
|
50
|
-
:'built_in' => :'BuiltIn'
|
51
|
-
}
|
42
|
+
:'built_in' => :'BuiltIn',
|
43
|
+
})
|
52
44
|
end
|
53
45
|
|
54
46
|
# Attribute type mapping.
|
55
47
|
def self.swagger_types
|
56
|
-
{
|
57
|
-
:'self_uri' => :'ResourceUri',
|
58
|
-
:'alternate_links' => :'Array<ResourceUri>',
|
48
|
+
super.merge({
|
59
49
|
:'name' => :'String',
|
60
50
|
:'value' => :'String',
|
61
|
-
:'built_in' => :'BOOLEAN'
|
62
|
-
}
|
51
|
+
:'built_in' => :'BOOLEAN',
|
52
|
+
})
|
63
53
|
end
|
64
54
|
|
65
55
|
# Initializes the object
|
66
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
67
57
|
def initialize(attributes = {})
|
68
|
-
|
69
|
-
|
70
|
-
# convert string to symbol for hash key
|
71
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
72
|
-
|
73
|
-
if attributes.has_key?(:'SelfUri')
|
74
|
-
self.self_uri = attributes[:'SelfUri']
|
75
|
-
end
|
76
|
-
|
77
|
-
if attributes.has_key?(:'AlternateLinks')
|
78
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
79
|
-
self.alternate_links = value
|
80
|
-
end
|
81
|
-
end
|
58
|
+
super
|
82
59
|
|
83
60
|
if attributes.has_key?(:'Name')
|
84
61
|
self.name = attributes[:'Name']
|
@@ -96,7 +73,7 @@ module AsposeSlidesCloud
|
|
96
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
97
74
|
# @return Array for valid properties with the reasons
|
98
75
|
def list_invalid_properties
|
99
|
-
invalid_properties =
|
76
|
+
invalid_properties = super
|
100
77
|
if @built_in.nil?
|
101
78
|
invalid_properties.push('invalid value for "built_in", built_in cannot be nil.')
|
102
79
|
end
|
@@ -107,6 +84,7 @@ module AsposeSlidesCloud
|
|
107
84
|
# Check to see if the all the properties in the model are valid
|
108
85
|
# @return true if the model is valid
|
109
86
|
def valid?
|
87
|
+
return false if !super
|
110
88
|
return false if @built_in.nil?
|
111
89
|
true
|
112
90
|
end
|
@@ -24,105 +24,28 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Represents document replace result DTO.
|
27
|
-
class DocumentReplaceResult
|
28
|
-
# Gets or sets the link to this resource.
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
|
-
# List of alternate links.
|
32
|
-
attr_accessor :alternate_links
|
33
|
-
|
34
|
-
# Link to Document properties.
|
35
|
-
attr_accessor :document_properties
|
36
|
-
|
37
|
-
# Link to Document properties.
|
38
|
-
attr_accessor :view_properties
|
39
|
-
|
40
|
-
# Link to slides collection.
|
41
|
-
attr_accessor :slides
|
42
|
-
|
43
|
-
# Link to images collection.
|
44
|
-
attr_accessor :images
|
45
|
-
|
46
|
-
# Link to layout slides collection.
|
47
|
-
attr_accessor :layout_slides
|
48
|
-
|
49
|
-
# Link to master slides collection.
|
50
|
-
attr_accessor :master_slides
|
51
|
-
|
27
|
+
class DocumentReplaceResult < Document
|
52
28
|
# Gets or sets the number of matches
|
53
29
|
attr_accessor :matches
|
54
30
|
|
55
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
32
|
def self.attribute_map
|
57
|
-
{
|
58
|
-
:'
|
59
|
-
|
60
|
-
:'document_properties' => :'DocumentProperties',
|
61
|
-
:'view_properties' => :'ViewProperties',
|
62
|
-
:'slides' => :'Slides',
|
63
|
-
:'images' => :'Images',
|
64
|
-
:'layout_slides' => :'LayoutSlides',
|
65
|
-
:'master_slides' => :'MasterSlides',
|
66
|
-
:'matches' => :'Matches'
|
67
|
-
}
|
33
|
+
super.merge({
|
34
|
+
:'matches' => :'Matches',
|
35
|
+
})
|
68
36
|
end
|
69
37
|
|
70
38
|
# Attribute type mapping.
|
71
39
|
def self.swagger_types
|
72
|
-
{
|
73
|
-
:'
|
74
|
-
|
75
|
-
:'document_properties' => :'ResourceUriElement',
|
76
|
-
:'view_properties' => :'ResourceUriElement',
|
77
|
-
:'slides' => :'ResourceUriElement',
|
78
|
-
:'images' => :'ResourceUriElement',
|
79
|
-
:'layout_slides' => :'ResourceUriElement',
|
80
|
-
:'master_slides' => :'ResourceUriElement',
|
81
|
-
:'matches' => :'Integer'
|
82
|
-
}
|
40
|
+
super.merge({
|
41
|
+
:'matches' => :'Integer',
|
42
|
+
})
|
83
43
|
end
|
84
44
|
|
85
45
|
# Initializes the object
|
86
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
87
47
|
def initialize(attributes = {})
|
88
|
-
|
89
|
-
|
90
|
-
# convert string to symbol for hash key
|
91
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
92
|
-
|
93
|
-
if attributes.has_key?(:'SelfUri')
|
94
|
-
self.self_uri = attributes[:'SelfUri']
|
95
|
-
end
|
96
|
-
|
97
|
-
if attributes.has_key?(:'AlternateLinks')
|
98
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
99
|
-
self.alternate_links = value
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.has_key?(:'DocumentProperties')
|
104
|
-
self.document_properties = attributes[:'DocumentProperties']
|
105
|
-
end
|
106
|
-
|
107
|
-
if attributes.has_key?(:'ViewProperties')
|
108
|
-
self.view_properties = attributes[:'ViewProperties']
|
109
|
-
end
|
110
|
-
|
111
|
-
if attributes.has_key?(:'Slides')
|
112
|
-
self.slides = attributes[:'Slides']
|
113
|
-
end
|
114
|
-
|
115
|
-
if attributes.has_key?(:'Images')
|
116
|
-
self.images = attributes[:'Images']
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.has_key?(:'LayoutSlides')
|
120
|
-
self.layout_slides = attributes[:'LayoutSlides']
|
121
|
-
end
|
122
|
-
|
123
|
-
if attributes.has_key?(:'MasterSlides')
|
124
|
-
self.master_slides = attributes[:'MasterSlides']
|
125
|
-
end
|
48
|
+
super
|
126
49
|
|
127
50
|
if attributes.has_key?(:'Matches')
|
128
51
|
self.matches = attributes[:'Matches']
|
@@ -132,7 +55,7 @@ module AsposeSlidesCloud
|
|
132
55
|
# Show invalid properties with the reasons. Usually used together with valid?
|
133
56
|
# @return Array for valid properties with the reasons
|
134
57
|
def list_invalid_properties
|
135
|
-
invalid_properties =
|
58
|
+
invalid_properties = super
|
136
59
|
if @matches.nil?
|
137
60
|
invalid_properties.push('invalid value for "matches", matches cannot be nil.')
|
138
61
|
end
|
@@ -143,6 +66,7 @@ module AsposeSlidesCloud
|
|
143
66
|
# Check to see if the all the properties in the model are valid
|
144
67
|
# @return true if the model is valid
|
145
68
|
def valid?
|
69
|
+
return false if !super
|
146
70
|
return false if @matches.nil?
|
147
71
|
true
|
148
72
|
end
|
@@ -105,7 +105,7 @@ module AsposeSlidesCloud
|
|
105
105
|
:'repeat_duration' => :'RepeatDuration',
|
106
106
|
:'restart' => :'Restart',
|
107
107
|
:'speed' => :'Speed',
|
108
|
-
:'trigger_delay_time' => :'TriggerDelayTime'
|
108
|
+
:'trigger_delay_time' => :'TriggerDelayTime',
|
109
109
|
}
|
110
110
|
end
|
111
111
|
|
@@ -125,7 +125,7 @@ module AsposeSlidesCloud
|
|
125
125
|
:'repeat_duration' => :'Float',
|
126
126
|
:'restart' => :'String',
|
127
127
|
:'speed' => :'Float',
|
128
|
-
:'trigger_delay_time' => :'Float'
|
128
|
+
:'trigger_delay_time' => :'Float',
|
129
129
|
}
|
130
130
|
end
|
131
131
|
|
@@ -59,7 +59,7 @@ module AsposeSlidesCloud
|
|
59
59
|
:'preset_shadow' => :'PresetShadow',
|
60
60
|
:'soft_edge' => :'SoftEdge',
|
61
61
|
:'reflection' => :'Reflection',
|
62
|
-
:'fill_overlay' => :'FillOverlay'
|
62
|
+
:'fill_overlay' => :'FillOverlay',
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
@@ -73,7 +73,7 @@ module AsposeSlidesCloud
|
|
73
73
|
:'preset_shadow' => :'PresetShadowEffect',
|
74
74
|
:'soft_edge' => :'SoftEdgeEffect',
|
75
75
|
:'reflection' => :'ReflectionEffect',
|
76
|
-
:'fill_overlay' => :'FillOverlayEffect'
|
76
|
+
:'fill_overlay' => :'FillOverlayEffect',
|
77
77
|
}
|
78
78
|
end
|
79
79
|
|
@@ -31,14 +31,14 @@ module AsposeSlidesCloud
|
|
31
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
32
|
def self.attribute_map
|
33
33
|
{
|
34
|
-
:'exists' => :'Exists'
|
34
|
+
:'exists' => :'Exists',
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.swagger_types
|
40
40
|
{
|
41
|
-
:'exists' => :'BOOLEAN'
|
41
|
+
:'exists' => :'BOOLEAN',
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
|
|
43
43
|
:'code' => :'Code',
|
44
44
|
:'message' => :'Message',
|
45
45
|
:'description' => :'Description',
|
46
|
-
:'inner_error' => :'InnerError'
|
46
|
+
:'inner_error' => :'InnerError',
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -53,7 +53,7 @@ module AsposeSlidesCloud
|
|
53
53
|
:'code' => :'String',
|
54
54
|
:'message' => :'String',
|
55
55
|
:'description' => :'String',
|
56
|
-
:'inner_error' => :'ErrorDetails'
|
56
|
+
:'inner_error' => :'ErrorDetails',
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -35,7 +35,7 @@ module AsposeSlidesCloud
|
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'request_id' => :'RequestId',
|
38
|
-
:'date' => :'Date'
|
38
|
+
:'date' => :'Date',
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
|
|
43
43
|
def self.swagger_types
|
44
44
|
{
|
45
45
|
:'request_id' => :'String',
|
46
|
-
:'date' => :'DateTime'
|
46
|
+
:'date' => :'DateTime',
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -25,19 +25,24 @@ require 'date'
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Represents export options for whole presentation.
|
27
27
|
class ExportOptions
|
28
|
+
# Setting user password to protect the PDF document.
|
29
|
+
attr_accessor :default_regular_font
|
30
|
+
|
28
31
|
attr_accessor :format
|
29
32
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
34
|
def self.attribute_map
|
32
35
|
{
|
33
|
-
:'
|
36
|
+
:'default_regular_font' => :'DefaultRegularFont',
|
37
|
+
:'format' => :'Format',
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
37
41
|
# Attribute type mapping.
|
38
42
|
def self.swagger_types
|
39
43
|
{
|
40
|
-
:'
|
44
|
+
:'default_regular_font' => :'String',
|
45
|
+
:'format' => :'String',
|
41
46
|
}
|
42
47
|
end
|
43
48
|
|
@@ -49,6 +54,10 @@ module AsposeSlidesCloud
|
|
49
54
|
# convert string to symbol for hash key
|
50
55
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
56
|
|
57
|
+
if attributes.has_key?(:'DefaultRegularFont')
|
58
|
+
self.default_regular_font = attributes[:'DefaultRegularFont']
|
59
|
+
end
|
60
|
+
|
52
61
|
if attributes.has_key?(:'Format')
|
53
62
|
self.format = attributes[:'Format']
|
54
63
|
end
|
@@ -72,6 +81,7 @@ module AsposeSlidesCloud
|
|
72
81
|
def ==(o)
|
73
82
|
return true if self.equal?(o)
|
74
83
|
self.class == o.class &&
|
84
|
+
default_regular_font == o.default_regular_font &&
|
75
85
|
format == o.format
|
76
86
|
end
|
77
87
|
|
@@ -84,7 +94,7 @@ module AsposeSlidesCloud
|
|
84
94
|
# Calculates hash code according to all attributes.
|
85
95
|
# @return [Fixnum] Hash code
|
86
96
|
def hash
|
87
|
-
[format].hash
|
97
|
+
[default_regular_font, format].hash
|
88
98
|
end
|
89
99
|
|
90
100
|
# Builds the object from hash
|
@@ -24,22 +24,7 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# File Version
|
27
|
-
class FileVersion
|
28
|
-
# File or folder name.
|
29
|
-
attr_accessor :name
|
30
|
-
|
31
|
-
# True if it is a folder.
|
32
|
-
attr_accessor :is_folder
|
33
|
-
|
34
|
-
# File or folder last modified DateTime.
|
35
|
-
attr_accessor :modified_date
|
36
|
-
|
37
|
-
# File or folder size.
|
38
|
-
attr_accessor :size
|
39
|
-
|
40
|
-
# File or folder path.
|
41
|
-
attr_accessor :path
|
42
|
-
|
27
|
+
class FileVersion < StorageFile
|
43
28
|
# File Version ID.
|
44
29
|
attr_accessor :version_id
|
45
30
|
|
@@ -48,57 +33,24 @@ module AsposeSlidesCloud
|
|
48
33
|
|
49
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
50
35
|
def self.attribute_map
|
51
|
-
{
|
52
|
-
:'name' => :'Name',
|
53
|
-
:'is_folder' => :'IsFolder',
|
54
|
-
:'modified_date' => :'ModifiedDate',
|
55
|
-
:'size' => :'Size',
|
56
|
-
:'path' => :'Path',
|
36
|
+
super.merge({
|
57
37
|
:'version_id' => :'VersionId',
|
58
|
-
:'is_latest' => :'IsLatest'
|
59
|
-
}
|
38
|
+
:'is_latest' => :'IsLatest',
|
39
|
+
})
|
60
40
|
end
|
61
41
|
|
62
42
|
# Attribute type mapping.
|
63
43
|
def self.swagger_types
|
64
|
-
{
|
65
|
-
:'name' => :'String',
|
66
|
-
:'is_folder' => :'BOOLEAN',
|
67
|
-
:'modified_date' => :'DateTime',
|
68
|
-
:'size' => :'Integer',
|
69
|
-
:'path' => :'String',
|
44
|
+
super.merge({
|
70
45
|
:'version_id' => :'String',
|
71
|
-
:'is_latest' => :'BOOLEAN'
|
72
|
-
}
|
46
|
+
:'is_latest' => :'BOOLEAN',
|
47
|
+
})
|
73
48
|
end
|
74
49
|
|
75
50
|
# Initializes the object
|
76
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
77
52
|
def initialize(attributes = {})
|
78
|
-
|
79
|
-
|
80
|
-
# convert string to symbol for hash key
|
81
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
82
|
-
|
83
|
-
if attributes.has_key?(:'Name')
|
84
|
-
self.name = attributes[:'Name']
|
85
|
-
end
|
86
|
-
|
87
|
-
if attributes.has_key?(:'IsFolder')
|
88
|
-
self.is_folder = attributes[:'IsFolder']
|
89
|
-
end
|
90
|
-
|
91
|
-
if attributes.has_key?(:'ModifiedDate')
|
92
|
-
self.modified_date = attributes[:'ModifiedDate']
|
93
|
-
end
|
94
|
-
|
95
|
-
if attributes.has_key?(:'Size')
|
96
|
-
self.size = attributes[:'Size']
|
97
|
-
end
|
98
|
-
|
99
|
-
if attributes.has_key?(:'Path')
|
100
|
-
self.path = attributes[:'Path']
|
101
|
-
end
|
53
|
+
super
|
102
54
|
|
103
55
|
if attributes.has_key?(:'VersionId')
|
104
56
|
self.version_id = attributes[:'VersionId']
|
@@ -112,15 +64,7 @@ module AsposeSlidesCloud
|
|
112
64
|
# Show invalid properties with the reasons. Usually used together with valid?
|
113
65
|
# @return Array for valid properties with the reasons
|
114
66
|
def list_invalid_properties
|
115
|
-
invalid_properties =
|
116
|
-
if @is_folder.nil?
|
117
|
-
invalid_properties.push('invalid value for "is_folder", is_folder cannot be nil.')
|
118
|
-
end
|
119
|
-
|
120
|
-
if @size.nil?
|
121
|
-
invalid_properties.push('invalid value for "size", size cannot be nil.')
|
122
|
-
end
|
123
|
-
|
67
|
+
invalid_properties = super
|
124
68
|
if @is_latest.nil?
|
125
69
|
invalid_properties.push('invalid value for "is_latest", is_latest cannot be nil.')
|
126
70
|
end
|
@@ -131,8 +75,7 @@ module AsposeSlidesCloud
|
|
131
75
|
# Check to see if the all the properties in the model are valid
|
132
76
|
# @return true if the model is valid
|
133
77
|
def valid?
|
134
|
-
return false if
|
135
|
-
return false if @size.nil?
|
78
|
+
return false if !super
|
136
79
|
return false if @is_latest.nil?
|
137
80
|
true
|
138
81
|
end
|