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
@@ -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
|
@@ -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
|
-
:'value' => :'Value'
|
34
|
+
:'value' => :'Value',
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.swagger_types
|
40
40
|
{
|
41
|
-
:'value' => :'Array<FileVersion>'
|
41
|
+
:'value' => :'Array<FileVersion>',
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -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
|
-
:'value' => :'Value'
|
34
|
+
:'value' => :'Value',
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.swagger_types
|
40
40
|
{
|
41
|
-
:'value' => :'Array<StorageFile>'
|
41
|
+
:'value' => :'Array<StorageFile>',
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -35,7 +35,7 @@ module AsposeSlidesCloud
|
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'uploaded' => :'Uploaded',
|
38
|
-
:'errors' => :'Errors'
|
38
|
+
:'errors' => :'Errors',
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
|
|
43
43
|
def self.swagger_types
|
44
44
|
{
|
45
45
|
:'uploaded' => :'Array<String>',
|
46
|
-
:'errors' => :'Array<Error>'
|
46
|
+
:'errors' => :'Array<Error>',
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -52,14 +52,14 @@ module AsposeSlidesCloud
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'type' => :'Type'
|
55
|
+
:'type' => :'Type',
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.swagger_types
|
61
61
|
{
|
62
|
-
:'type' => :'String'
|
62
|
+
:'type' => :'String',
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
@@ -53,14 +53,14 @@ module AsposeSlidesCloud
|
|
53
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
54
|
def self.attribute_map
|
55
55
|
{
|
56
|
-
:'blend' => :'Blend'
|
56
|
+
:'blend' => :'Blend',
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
60
60
|
# Attribute type mapping.
|
61
61
|
def self.swagger_types
|
62
62
|
{
|
63
|
-
:'blend' => :'String'
|
63
|
+
:'blend' => :'String',
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -24,13 +24,7 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Represents font scheme
|
27
|
-
class FontScheme
|
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 FontScheme < ResourceBase
|
34
28
|
# Gets or sets fonts collection for a \"heading\" part of the slide.
|
35
29
|
attr_accessor :major
|
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
|
:'major' => :'Major',
|
49
41
|
:'minor' => :'Minor',
|
50
|
-
:'name' => :'Name'
|
51
|
-
}
|
42
|
+
:'name' => :'Name',
|
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
|
:'major' => :'FontSet',
|
60
50
|
:'minor' => :'FontSet',
|
61
|
-
:'name' => :'String'
|
62
|
-
}
|
51
|
+
:'name' => :'String',
|
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?(:'Major')
|
84
61
|
self.major = attributes[:'Major']
|
@@ -96,13 +73,14 @@ 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
|
invalid_properties
|
101
78
|
end
|
102
79
|
|
103
80
|
# Check to see if the all the properties in the model are valid
|
104
81
|
# @return true if the model is valid
|
105
82
|
def valid?
|
83
|
+
return false if !super
|
106
84
|
true
|
107
85
|
end
|
108
86
|
|
@@ -39,7 +39,7 @@ module AsposeSlidesCloud
|
|
39
39
|
{
|
40
40
|
:'complex_script' => :'ComplexScript',
|
41
41
|
:'east_asian' => :'EastAsian',
|
42
|
-
:'latin' => :'Latin'
|
42
|
+
:'latin' => :'Latin',
|
43
43
|
}
|
44
44
|
end
|
45
45
|
|
@@ -48,7 +48,7 @@ module AsposeSlidesCloud
|
|
48
48
|
{
|
49
49
|
:'complex_script' => :'String',
|
50
50
|
:'east_asian' => :'String',
|
51
|
-
:'latin' => :'String'
|
51
|
+
:'latin' => :'String',
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -24,13 +24,7 @@ require 'date'
|
|
24
24
|
|
25
25
|
module AsposeSlidesCloud
|
26
26
|
# Represents Format Scheme for slide's theme
|
27
|
-
class FormatScheme
|
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 FormatScheme < ResourceBase
|
34
28
|
# Background style links.
|
35
29
|
attr_accessor :background_styles
|
36
30
|
|
@@ -45,45 +39,28 @@ module AsposeSlidesCloud
|
|
45
39
|
|
46
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
41
|
def self.attribute_map
|
48
|
-
{
|
49
|
-
:'self_uri' => :'SelfUri',
|
50
|
-
:'alternate_links' => :'AlternateLinks',
|
42
|
+
super.merge({
|
51
43
|
:'background_styles' => :'BackgroundStyles',
|
52
44
|
:'effect_styles' => :'EffectStyles',
|
53
45
|
:'fill_styles' => :'FillStyles',
|
54
|
-
:'line_styles' => :'LineStyles'
|
55
|
-
}
|
46
|
+
:'line_styles' => :'LineStyles',
|
47
|
+
})
|
56
48
|
end
|
57
49
|
|
58
50
|
# Attribute type mapping.
|
59
51
|
def self.swagger_types
|
60
|
-
{
|
61
|
-
:'self_uri' => :'ResourceUri',
|
62
|
-
:'alternate_links' => :'Array<ResourceUri>',
|
52
|
+
super.merge({
|
63
53
|
:'background_styles' => :'Array<ResourceUri>',
|
64
54
|
:'effect_styles' => :'Array<ResourceUri>',
|
65
55
|
:'fill_styles' => :'Array<ResourceUri>',
|
66
|
-
:'line_styles' => :'Array<ResourceUri>'
|
67
|
-
}
|
56
|
+
:'line_styles' => :'Array<ResourceUri>',
|
57
|
+
})
|
68
58
|
end
|
69
59
|
|
70
60
|
# Initializes the object
|
71
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
72
62
|
def initialize(attributes = {})
|
73
|
-
|
74
|
-
|
75
|
-
# convert string to symbol for hash key
|
76
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
77
|
-
|
78
|
-
if attributes.has_key?(:'SelfUri')
|
79
|
-
self.self_uri = attributes[:'SelfUri']
|
80
|
-
end
|
81
|
-
|
82
|
-
if attributes.has_key?(:'AlternateLinks')
|
83
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
84
|
-
self.alternate_links = value
|
85
|
-
end
|
86
|
-
end
|
63
|
+
super
|
87
64
|
|
88
65
|
if attributes.has_key?(:'BackgroundStyles')
|
89
66
|
if (value = attributes[:'BackgroundStyles']).is_a?(Array)
|
@@ -113,13 +90,14 @@ module AsposeSlidesCloud
|
|
113
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
114
91
|
# @return Array for valid properties with the reasons
|
115
92
|
def list_invalid_properties
|
116
|
-
invalid_properties =
|
93
|
+
invalid_properties = super
|
117
94
|
invalid_properties
|
118
95
|
end
|
119
96
|
|
120
97
|
# Check to see if the all the properties in the model are valid
|
121
98
|
# @return true if the model is valid
|
122
99
|
def valid?
|
100
|
+
return false if !super
|
123
101
|
true
|
124
102
|
end
|
125
103
|
|