aspose_slides_cloud 24.7.0 → 24.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,58 @@ module AsposeSlidesCloud
30
30
  @api_client = AsposeSlidesCloud::ApiClient.new(configuration)
31
31
  end
32
32
 
33
+ # @param path
34
+ # @param storage_name
35
+ # @param version_id
36
+ def download(path, storage_name = nil, version_id = nil)
37
+ data, _status_code, _headers = download_with_http_info(path, storage_name, version_id)
38
+ data
39
+ end
40
+
41
+ # @param path
42
+ # @param storage_name
43
+ # @param version_id
44
+ def download_with_http_info(path, storage_name = nil, version_id = nil)
45
+ if @api_client.config.debugging
46
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.download ...'
47
+ end
48
+
49
+ # verify the required parameter 'path' is set
50
+ if @api_client.config.client_side_validation && path.nil?
51
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlidesAsyncApi.download"
52
+ end
53
+ # resource path
54
+ local_var_path = '/slides/async/storage/file/{path}'
55
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', path)
56
+
57
+ # query parameters
58
+ query_params = {}
59
+ query_params[:'storageName'] = @api_client.prepare_for_query(storage_name) unless storage_name.nil?
60
+ query_params[:'versionId'] = @api_client.prepare_for_query(version_id) unless version_id.nil?
61
+
62
+ # header parameters
63
+ header_params = {}
64
+ # HTTP header 'Accept' (if needed)
65
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
66
+ # HTTP header 'Content-Type'
67
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
68
+
69
+ # http body (model)
70
+ post_body = nil
71
+
72
+ # form parameters
73
+ post_files = []
74
+
75
+ auth_names = ['JWT']
76
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :body => post_body,
80
+ :files => post_files,
81
+ :auth_names => auth_names,
82
+ :return_type => 'File')
83
+ return data, status_code, headers
84
+ end
33
85
  # @param id
34
86
  def get_operation_result(id)
35
87
  data, _status_code, _headers = get_operation_result_with_http_info(id)
@@ -535,5 +587,234 @@ module AsposeSlidesCloud
535
587
  :return_type => 'String')
536
588
  return data, status_code, headers
537
589
  end
590
+ # @param name
591
+ # @param format
592
+ # @param options
593
+ # @param width
594
+ # @param height
595
+ # @param from
596
+ # @param to
597
+ # @param dest_folder
598
+ # @param password
599
+ # @param folder
600
+ # @param storage
601
+ # @param fonts_folder
602
+ def start_split(name, format, options = nil, width = nil, height = nil, from = nil, to = nil, dest_folder = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
603
+ data, _status_code, _headers = start_split_with_http_info(name, format, options, width, height, from, to, dest_folder, password, folder, storage, fonts_folder)
604
+ data
605
+ end
606
+
607
+ # @param name
608
+ # @param format
609
+ # @param options
610
+ # @param width
611
+ # @param height
612
+ # @param from
613
+ # @param to
614
+ # @param dest_folder
615
+ # @param password
616
+ # @param folder
617
+ # @param storage
618
+ # @param fonts_folder
619
+ def start_split_with_http_info(name, format, options = nil, width = nil, height = nil, from = nil, to = nil, dest_folder = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
620
+ if @api_client.config.debugging
621
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_split ...'
622
+ end
623
+
624
+ # verify the required parameter 'name' is set
625
+ if @api_client.config.client_side_validation && name.nil?
626
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesAsyncApi.start_split"
627
+ end
628
+ # verify the required parameter 'format' is set
629
+ if @api_client.config.client_side_validation && format.nil?
630
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_split"
631
+ end
632
+ # verify enum value
633
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
634
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
635
+ end
636
+ # resource path
637
+ local_var_path = '/slides/async/{name}/split/{format}'
638
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
639
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
640
+
641
+ # query parameters
642
+ query_params = {}
643
+ query_params[:'width'] = @api_client.prepare_for_query(width) unless width.nil?
644
+ query_params[:'height'] = @api_client.prepare_for_query(height) unless height.nil?
645
+ query_params[:'from'] = @api_client.prepare_for_query(from) unless from.nil?
646
+ query_params[:'to'] = @api_client.prepare_for_query(to) unless to.nil?
647
+ query_params[:'destFolder'] = @api_client.prepare_for_query(dest_folder) unless dest_folder.nil?
648
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
649
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
650
+ query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
651
+
652
+ # header parameters
653
+ header_params = {}
654
+ # HTTP header 'Accept' (if needed)
655
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
656
+ # HTTP header 'Content-Type'
657
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
658
+ header_params[:'password'] = password unless password.nil?
659
+
660
+ # http body (model)
661
+ post_body = @api_client.object_to_http_body(options)
662
+
663
+ # form parameters
664
+ post_files = []
665
+
666
+ auth_names = ['JWT']
667
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
668
+ :header_params => header_params,
669
+ :query_params => query_params,
670
+ :body => post_body,
671
+ :files => post_files,
672
+ :auth_names => auth_names,
673
+ :return_type => 'String')
674
+ return data, status_code, headers
675
+ end
676
+ # @param document Document data.
677
+ # @param format
678
+ # @param dest_folder
679
+ # @param width
680
+ # @param height
681
+ # @param from
682
+ # @param to
683
+ # @param password
684
+ # @param storage
685
+ # @param fonts_folder
686
+ # @param options
687
+ def start_upload_and_split(document, format, dest_folder = nil, width = nil, height = nil, from = nil, to = nil, password = nil, storage = nil, fonts_folder = nil, options = nil)
688
+ data, _status_code, _headers = start_upload_and_split_with_http_info(document, format, dest_folder, width, height, from, to, password, storage, fonts_folder, options)
689
+ data
690
+ end
691
+
692
+ # @param document Document data.
693
+ # @param format
694
+ # @param dest_folder
695
+ # @param width
696
+ # @param height
697
+ # @param from
698
+ # @param to
699
+ # @param password
700
+ # @param storage
701
+ # @param fonts_folder
702
+ # @param options
703
+ def start_upload_and_split_with_http_info(document, format, dest_folder = nil, width = nil, height = nil, from = nil, to = nil, password = nil, storage = nil, fonts_folder = nil, options = nil)
704
+ if @api_client.config.debugging
705
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_upload_and_split ...'
706
+ end
707
+
708
+ # verify the required parameter 'document' is set
709
+ if @api_client.config.client_side_validation && document.nil?
710
+ fail ArgumentError, "Missing the required parameter 'document' when calling SlidesAsyncApi.start_upload_and_split"
711
+ end
712
+ # verify the required parameter 'format' is set
713
+ if @api_client.config.client_side_validation && format.nil?
714
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_upload_and_split"
715
+ end
716
+ # verify enum value
717
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
718
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
719
+ end
720
+ # resource path
721
+ local_var_path = '/slides/async/split/{format}'
722
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
723
+
724
+ # query parameters
725
+ query_params = {}
726
+ query_params[:'destFolder'] = @api_client.prepare_for_query(dest_folder) unless dest_folder.nil?
727
+ query_params[:'width'] = @api_client.prepare_for_query(width) unless width.nil?
728
+ query_params[:'height'] = @api_client.prepare_for_query(height) unless height.nil?
729
+ query_params[:'from'] = @api_client.prepare_for_query(from) unless from.nil?
730
+ query_params[:'to'] = @api_client.prepare_for_query(to) unless to.nil?
731
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
732
+ query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
733
+
734
+ # header parameters
735
+ header_params = {}
736
+ # HTTP header 'Accept' (if needed)
737
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
738
+ # HTTP header 'Content-Type'
739
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
740
+ header_params[:'password'] = password unless password.nil?
741
+
742
+ # http body (model)
743
+ post_body = @api_client.object_to_http_body(options)
744
+
745
+ # form parameters
746
+ post_files = []
747
+ if document
748
+ post_files = post_files.push(document)
749
+ end
750
+
751
+ auth_names = ['JWT']
752
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
753
+ :header_params => header_params,
754
+ :query_params => query_params,
755
+ :body => post_body,
756
+ :files => post_files,
757
+ :auth_names => auth_names,
758
+ :return_type => 'String')
759
+ return data, status_code, headers
760
+ end
761
+ # @param path
762
+ # @param file File to upload
763
+ # @param storage_name
764
+ def upload(path, file, storage_name = nil)
765
+ data, _status_code, _headers = upload_with_http_info(path, file, storage_name)
766
+ data
767
+ end
768
+
769
+ # @param path
770
+ # @param file File to upload
771
+ # @param storage_name
772
+ def upload_with_http_info(path, file, storage_name = nil)
773
+ if @api_client.config.debugging
774
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.upload ...'
775
+ end
776
+
777
+ # verify the required parameter 'path' is set
778
+ if @api_client.config.client_side_validation && path.nil?
779
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlidesAsyncApi.upload"
780
+ end
781
+ # verify the required parameter 'file' is set
782
+ if @api_client.config.client_side_validation && file.nil?
783
+ fail ArgumentError, "Missing the required parameter 'file' when calling SlidesAsyncApi.upload"
784
+ end
785
+ # resource path
786
+ local_var_path = '/slides/async/storage/file/{path}'
787
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', path)
788
+
789
+ # query parameters
790
+ query_params = {}
791
+ query_params[:'storageName'] = @api_client.prepare_for_query(storage_name) unless storage_name.nil?
792
+
793
+ # header parameters
794
+ header_params = {}
795
+ # HTTP header 'Accept' (if needed)
796
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
797
+ # HTTP header 'Content-Type'
798
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
799
+
800
+ # http body (model)
801
+ post_body = nil
802
+
803
+ # form parameters
804
+ post_files = []
805
+ if file
806
+ post_files = post_files.push(file)
807
+ end
808
+
809
+ auth_names = ['JWT']
810
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
811
+ :header_params => header_params,
812
+ :query_params => query_params,
813
+ :body => post_body,
814
+ :files => post_files,
815
+ :auth_names => auth_names,
816
+ :return_type => 'FilesUploadResult')
817
+ return data, status_code, headers
818
+ end
538
819
  end
539
820
  end
@@ -129,10 +129,6 @@ module AsposeSlidesCloud
129
129
  # @return Array for valid properties with the reasons
130
130
  def list_invalid_properties
131
131
  invalid_properties = super
132
- if @is_object_icon.nil?
133
- invalid_properties.push('invalid value for "is_object_icon", is_object_icon cannot be nil.')
134
- end
135
-
136
132
  invalid_properties
137
133
  end
138
134
 
@@ -140,7 +136,6 @@ module AsposeSlidesCloud
140
136
  # @return true if the model is valid
141
137
  def valid?
142
138
  return false if !super
143
- return false if @is_object_icon.nil?
144
139
  true
145
140
  end
146
141
 
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  :'failed' => :'DateTime',
73
73
  :'canceled' => :'DateTime',
74
74
  :'finished' => :'DateTime',
75
- :'error' => :'String',
75
+ :'error' => :'OperationError',
76
76
  }
77
77
  end
78
78
 
@@ -149,7 +149,7 @@ module AsposeSlidesCloud
149
149
  def valid?
150
150
  return false if @id.nil?
151
151
  return false if @method.nil?
152
- method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
152
+ method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave', 'Split', 'UploadAndSplit'])
153
153
  return false unless method_validator.valid?(@method)
154
154
  return false if @status.nil?
155
155
  status_validator = EnumAttributeValidator.new('String', ['Created', 'Enqueued', 'Started', 'Failed', 'Canceled', 'Finished'])
@@ -160,7 +160,7 @@ module AsposeSlidesCloud
160
160
  # Custom attribute writer method checking allowed values (enum).
161
161
  # @param [Object] method Object to be assigned
162
162
  def method=(method)
163
- validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
163
+ validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave', 'Split', 'UploadAndSplit'])
164
164
  unless validator.valid?(method)
165
165
  fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
166
166
  end
@@ -0,0 +1,121 @@
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeSlidesCloud
26
+ class OperationError < BaseObject
27
+ attr_accessor :code
28
+
29
+ attr_accessor :description
30
+
31
+ attr_accessor :http_status_code
32
+
33
+ attr_accessor :message
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ def self.attribute_map
37
+ {
38
+ :'code' => :'Code',
39
+ :'description' => :'Description',
40
+ :'http_status_code' => :'HttpStatusCode',
41
+ :'message' => :'Message',
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'code' => :'String',
49
+ :'description' => :'String',
50
+ :'http_status_code' => :'Integer',
51
+ :'message' => :'String',
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
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?(:'Code')
64
+ self.code = attributes[:'Code']
65
+ end
66
+
67
+ if attributes.has_key?(:'Description')
68
+ self.description = attributes[:'Description']
69
+ end
70
+
71
+ if attributes.has_key?(:'HttpStatusCode')
72
+ self.http_status_code = attributes[:'HttpStatusCode']
73
+ end
74
+
75
+ if attributes.has_key?(:'Message')
76
+ self.message = attributes[:'Message']
77
+ end
78
+ end
79
+
80
+ # Show invalid properties with the reasons. Usually used together with valid?
81
+ # @return Array for valid properties with the reasons
82
+ def list_invalid_properties
83
+ invalid_properties = Array.new
84
+ if @http_status_code.nil?
85
+ invalid_properties.push('invalid value for "http_status_code", http_status_code cannot be nil.')
86
+ end
87
+
88
+ invalid_properties
89
+ end
90
+
91
+ # Check to see if the all the properties in the model are valid
92
+ # @return true if the model is valid
93
+ def valid?
94
+ return false if @http_status_code.nil?
95
+ true
96
+ end
97
+
98
+ # Checks equality by comparing each attribute.
99
+ # @param [Object] Object to be compared
100
+ def ==(o)
101
+ return true if self.equal?(o)
102
+ self.class == o.class &&
103
+ code == o.code &&
104
+ description == o.description &&
105
+ http_status_code == o.http_status_code &&
106
+ message == o.message
107
+ end
108
+
109
+ # @see the `==` method
110
+ # @param [Object] Object to be compared
111
+ def eql?(o)
112
+ self == o
113
+ end
114
+
115
+ # Calculates hash code according to all attributes.
116
+ # @return [Fixnum] Hash code
117
+ def hash
118
+ [code, description, http_status_code, message].hash
119
+ end
120
+ end
121
+ end
@@ -199,10 +199,6 @@ module AsposeSlidesCloud
199
199
  # @return Array for valid properties with the reasons
200
200
  def list_invalid_properties
201
201
  invalid_properties = super
202
- if @z_order_position.nil?
203
- invalid_properties.push('invalid value for "z_order_position", z_order_position cannot be nil.')
204
- end
205
-
206
202
  invalid_properties
207
203
  end
208
204
 
@@ -210,7 +206,6 @@ module AsposeSlidesCloud
210
206
  # @return true if the model is valid
211
207
  def valid?
212
208
  return false if !super
213
- return false if @z_order_position.nil?
214
209
  type_validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape', 'ZoomFrame', 'SectionZoomFrame', 'SummaryZoomFrame', 'SummaryZoomSection'])
215
210
  return false unless type_validator.valid?(@type)
216
211
  true
@@ -107,10 +107,6 @@ module AsposeSlidesCloud
107
107
  invalid_properties.push('invalid value for "color_style", color_style cannot be nil.')
108
108
  end
109
109
 
110
- if @is_reversed.nil?
111
- invalid_properties.push('invalid value for "is_reversed", is_reversed cannot be nil.')
112
- end
113
-
114
110
  invalid_properties
115
111
  end
116
112
 
@@ -127,7 +123,6 @@ module AsposeSlidesCloud
127
123
  return false if @color_style.nil?
128
124
  color_style_validator = EnumAttributeValidator.new('String', ['Dark1Outline', 'Dark2Outline', 'DarkFill', 'ColorfulAccentColors', 'ColorfulAccentColors2to3', 'ColorfulAccentColors3to4', 'ColorfulAccentColors4to5', 'ColorfulAccentColors5to6', 'ColoredOutlineAccent1', 'ColoredFillAccent1', 'GradientRangeAccent1', 'GradientLoopAccent1', 'TransparentGradientRangeAccent1', 'ColoredOutlineAccent2', 'ColoredFillAccent2', 'GradientRangeAccent2', 'GradientLoopAccent2', 'TransparentGradientRangeAccent2', 'ColoredOutlineAccent3', 'ColoredFillAccent3', 'GradientRangeAccent3', 'GradientLoopAccent3', 'TransparentGradientRangeAccent3', 'ColoredOutlineAccent4', 'ColoredFillAccent4', 'GradientRangeAccent4', 'GradientLoopAccent4', 'TransparentGradientRangeAccent4', 'ColoredOutlineAccent5', 'ColoredFillAccent5', 'GradientRangeAccent5', 'GradientLoopAccent5', 'TransparentGradientRangeAccent5', 'ColoredOutlineAccent6', 'ColoredFillAccent6', 'GradientRangeAccent6', 'GradientLoopAccent6', 'TransparentGradientRangeAccent6'])
129
125
  return false unless color_style_validator.valid?(@color_style)
130
- return false if @is_reversed.nil?
131
126
  true
132
127
  end
133
128
 
@@ -106,10 +106,6 @@ module AsposeSlidesCloud
106
106
  # @return Array for valid properties with the reasons
107
107
  def list_invalid_properties
108
108
  invalid_properties = Array.new
109
- if @is_assistant.nil?
110
- invalid_properties.push('invalid value for "is_assistant", is_assistant cannot be nil.')
111
- end
112
-
113
109
  if @org_chart_layout.nil?
114
110
  invalid_properties.push('invalid value for "org_chart_layout", org_chart_layout cannot be nil.')
115
111
  end
@@ -120,7 +116,6 @@ module AsposeSlidesCloud
120
116
  # Check to see if the all the properties in the model are valid
121
117
  # @return true if the model is valid
122
118
  def valid?
123
- return false if @is_assistant.nil?
124
119
  return false if @org_chart_layout.nil?
125
120
  org_chart_layout_validator = EnumAttributeValidator.new('String', ['Initial', 'Standart', 'BothHanging', 'LeftHanging', 'RightHanging'])
126
121
  return false unless org_chart_layout_validator.valid?(@org_chart_layout)
@@ -79,22 +79,12 @@ module AsposeSlidesCloud
79
79
  # @return Array for valid properties with the reasons
80
80
  def list_invalid_properties
81
81
  invalid_properties = Array.new
82
- if @minimal_height.nil?
83
- invalid_properties.push('invalid value for "minimal_height", minimal_height cannot be nil.')
84
- end
85
-
86
- if @height.nil?
87
- invalid_properties.push('invalid value for "height", height cannot be nil.')
88
- end
89
-
90
82
  invalid_properties
91
83
  end
92
84
 
93
85
  # Check to see if the all the properties in the model are valid
94
86
  # @return true if the model is valid
95
87
  def valid?
96
- return false if @minimal_height.nil?
97
- return false if @height.nil?
98
88
  true
99
89
  end
100
90
 
@@ -384,6 +384,7 @@ module AsposeSlidesCloud
384
384
  :'OneValueChartDataPoint' => { :'Type' => 'OneValue', },
385
385
  :'OneValueSeries' => { :'DataPointType' => 'OneValue', },
386
386
  :'Operation' => { },
387
+ :'OperationError' => { },
387
388
  :'OperationProgress' => { },
388
389
  :'OrderedMergeRequest' => { },
389
390
  :'OuterShadowEffect' => { },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '24.7.0'
24
+ VERSION = '24.9.0'
25
25
  end
@@ -179,6 +179,7 @@ require 'aspose_slides_cloud/models/ole_object_frame'
179
179
  require 'aspose_slides_cloud/models/one_value_chart_data_point'
180
180
  require 'aspose_slides_cloud/models/one_value_series'
181
181
  require 'aspose_slides_cloud/models/operation'
182
+ require 'aspose_slides_cloud/models/operation_error'
182
183
  require 'aspose_slides_cloud/models/operation_progress'
183
184
  require 'aspose_slides_cloud/models/ordered_merge_request'
184
185
  require 'aspose_slides_cloud/models/outer_shadow_effect'