aspose_slides_cloud 20.7.0 → 20.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/TestData/ChartTest.pptx +0 -0
- data/lib/aspose_slides_cloud.rb +5 -3
- data/lib/aspose_slides_cloud/api/slides_api.rb +407 -0
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +165 -0
- data/lib/aspose_slides_cloud/api_client.rb +1 -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 -236
- 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 +12 -210
- data/lib/aspose_slides_cloud/models/chart_category.rb +16 -4
- 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 +11 -234
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
- data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
- data/lib/aspose_slides_cloud/models/document.rb +10 -32
- 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 +10 -200
- 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 -209
- data/lib/aspose_slides_cloud/models/group_shape.rb +11 -209
- data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -2
- 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 +10 -32
- 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 +2 -2
- data/lib/aspose_slides_cloud/models/master_slide.rb +10 -32
- 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/object_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -210
- 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 +11 -40
- data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -236
- 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/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/resource_uri_element.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/series.rb +2 -2
- data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +11 -234
- data/lib/aspose_slides_cloud/models/shape_base.rb +10 -32
- 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 +10 -32
- 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_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 -210
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +2 -2
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +11 -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 -210
- 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 +10 -32
- 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 -236
- data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
- 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 +313 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +1417 -63
- data/spec/extra/extra_spec.rb +66 -33
- data/testRules.json +31 -0
- metadata +4 -2
@@ -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
|
-
:'items' => :'Items'
|
34
|
+
:'items' => :'Items',
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.swagger_types
|
40
40
|
{
|
41
|
-
:'items' => :'Array<Float>'
|
41
|
+
:'items' => :'Array<Float>',
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -35,7 +35,7 @@ module AsposeSlidesCloud
|
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'used_size' => :'UsedSize',
|
38
|
-
:'total_size' => :'TotalSize'
|
38
|
+
:'total_size' => :'TotalSize',
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
|
|
43
43
|
def self.swagger_types
|
44
44
|
{
|
45
45
|
:'used_size' => :'Integer',
|
46
|
-
:'total_size' => :'Integer'
|
46
|
+
:'total_size' => :'Integer',
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -24,13 +24,7 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Represents document DTO.
|
27
|
-
class Document
|
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 Document < ResourceBase
|
34
28
|
# Link to Document properties.
|
35
29
|
attr_accessor :document_properties
|
36
30
|
|
@@ -51,49 +45,32 @@ module AsposeSlidesCloud
|
|
51
45
|
|
52
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
47
|
def self.attribute_map
|
54
|
-
{
|
55
|
-
:'self_uri' => :'SelfUri',
|
56
|
-
:'alternate_links' => :'AlternateLinks',
|
48
|
+
super.merge({
|
57
49
|
:'document_properties' => :'DocumentProperties',
|
58
50
|
:'view_properties' => :'ViewProperties',
|
59
51
|
:'slides' => :'Slides',
|
60
52
|
:'images' => :'Images',
|
61
53
|
:'layout_slides' => :'LayoutSlides',
|
62
|
-
:'master_slides' => :'MasterSlides'
|
63
|
-
}
|
54
|
+
:'master_slides' => :'MasterSlides',
|
55
|
+
})
|
64
56
|
end
|
65
57
|
|
66
58
|
# Attribute type mapping.
|
67
59
|
def self.swagger_types
|
68
|
-
{
|
69
|
-
:'self_uri' => :'ResourceUri',
|
70
|
-
:'alternate_links' => :'Array<ResourceUri>',
|
60
|
+
super.merge({
|
71
61
|
:'document_properties' => :'ResourceUriElement',
|
72
62
|
:'view_properties' => :'ResourceUriElement',
|
73
63
|
:'slides' => :'ResourceUriElement',
|
74
64
|
:'images' => :'ResourceUriElement',
|
75
65
|
:'layout_slides' => :'ResourceUriElement',
|
76
|
-
:'master_slides' => :'ResourceUriElement'
|
77
|
-
}
|
66
|
+
:'master_slides' => :'ResourceUriElement',
|
67
|
+
})
|
78
68
|
end
|
79
69
|
|
80
70
|
# Initializes the object
|
81
71
|
# @param [Hash] attributes Model attributes in the form of hash
|
82
72
|
def initialize(attributes = {})
|
83
|
-
|
84
|
-
|
85
|
-
# convert string to symbol for hash key
|
86
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
87
|
-
|
88
|
-
if attributes.has_key?(:'SelfUri')
|
89
|
-
self.self_uri = attributes[:'SelfUri']
|
90
|
-
end
|
91
|
-
|
92
|
-
if attributes.has_key?(:'AlternateLinks')
|
93
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
94
|
-
self.alternate_links = value
|
95
|
-
end
|
96
|
-
end
|
73
|
+
super
|
97
74
|
|
98
75
|
if attributes.has_key?(:'DocumentProperties')
|
99
76
|
self.document_properties = attributes[:'DocumentProperties']
|
@@ -123,13 +100,14 @@ module AsposeSlidesCloud
|
|
123
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
124
101
|
# @return Array for valid properties with the reasons
|
125
102
|
def list_invalid_properties
|
126
|
-
invalid_properties =
|
103
|
+
invalid_properties = super
|
127
104
|
invalid_properties
|
128
105
|
end
|
129
106
|
|
130
107
|
# Check to see if the all the properties in the model are valid
|
131
108
|
# @return true if the model is valid
|
132
109
|
def valid?
|
110
|
+
return false if !super
|
133
111
|
true
|
134
112
|
end
|
135
113
|
|
@@ -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
|
|