groupdocs_assembly_cloud 20.6.0 → 21.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dee80c2eef8579c65923eccfc3fcdeda7ff634d0470a8e1c34303da3858e100d
4
- data.tar.gz: c562e57cca91c7110d00a29be35d40c31ae182041bc2f970c6d5f716c1b63fa4
3
+ metadata.gz: 9921b745b42e92342ff7052f00e0f0baff48c3a8ac2d12b993f008b662a3e48f
4
+ data.tar.gz: 19cecc092286223387c6acadd70ffa90efef8b7f0e5546a4e2e263d59163474a
5
5
  SHA512:
6
- metadata.gz: ec96439403e1a90e9df7bb243e96514f437f60f85e05042478528b5176dbee810d61469c31335cd776eef6f9207cf0c2c9fc490185adf2eb26dc034019046e64
7
- data.tar.gz: e4de060a4a9baf9df2c00342c1d4c6c56e7d76f3758f227d7de866caec662db4339f9d999b2b678c6c55f92c49f9dae1ada707da19fe8c80e5704df07f671c2d
6
+ metadata.gz: b0829ced1a1da29c04cdd162e3a5cbbf069c30596774410a0c72caef7c03edab722a25e291b77e3b3956e4e6adce20d969e5391c356fd15cf29d1490ea322425
7
+ data.tar.gz: eff0d803fa6f6ea4b2cab8d57aa4d1c394881e8e5ee2d6b0dabf35b1dfaec4762622628313a355a5b30d9387482a7ff2e5759550d50fcfb1bcbdb3e749d1b7c8
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="groupdocs_assembly_cloud.rb">
3
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
3
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="assembly_api.rb">
3
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
3
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -989,8 +989,8 @@ module GroupDocsAssemblyCloud
989
989
  raise ArgumentError, 'Incorrect request type' unless request.is_a? UploadFileRequest
990
990
 
991
991
  @api_client.config.logger.debug 'Calling API: AssemblyApi.upload_file ...' if @api_client.config.debugging
992
- # verify the required parameter 'file' is set
993
- raise ArgumentError, 'Missing the required parameter file when calling AssemblyApi.upload_file' if @api_client.config.client_side_validation && request.file.nil?
992
+ # verify the required parameter 'file_content' is set
993
+ raise ArgumentError, 'Missing the required parameter file_content when calling AssemblyApi.upload_file' if @api_client.config.client_side_validation && request.file_content.nil?
994
994
  # verify the required parameter 'path' is set
995
995
  raise ArgumentError, 'Missing the required parameter path when calling AssemblyApi.upload_file' if @api_client.config.client_side_validation && request.path.nil?
996
996
  # resource path
@@ -1012,7 +1012,7 @@ module GroupDocsAssemblyCloud
1012
1012
 
1013
1013
  # form parameters
1014
1014
  form_params = {}
1015
- form_params[downcase_first_letter('File')] = request.file
1015
+ form_params[downcase_first_letter('FileContent')] = request.file_content
1016
1016
 
1017
1017
  # http body (model)
1018
1018
  post_body = nil
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="api_client.rb">
3
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
3
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -52,8 +52,8 @@ module GroupDocsAssemblyCloud
52
52
  @config = config
53
53
  @default_headers = {
54
54
  'Content-Type' => "application/json",
55
- 'x-aspose-client' => "ruby sdk",
56
- 'x-aspose-version' => GroupDocsAssemblyCloud::VERSION.to_s
55
+ 'x-groupdocs-client' => "ruby sdk",
56
+ 'x-groupdocs-version' => GroupDocsAssemblyCloud::VERSION.to_s
57
57
  }
58
58
  end
59
59
 
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="api_error.rb">
3
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
3
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="configuration.rb">
3
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
3
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,18 +31,18 @@ module GroupDocsAssemblyCloud
31
31
 
32
32
  # The error details
33
33
  class ErrorDetails
34
- # The request id
34
+ # The request id.
35
35
  attr_accessor :request_id
36
36
 
37
- # Date
38
- attr_accessor :date
37
+ # Error datetime.
38
+ attr_accessor :error_date_time
39
39
 
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
44
  :'request_id' => :'RequestId',
45
- :'date' => :'Date'
45
+ :'error_date_time' => :'ErrorDateTime'
46
46
  }
47
47
  end
48
48
 
@@ -50,7 +50,7 @@ module GroupDocsAssemblyCloud
50
50
  def self.swagger_types
51
51
  {
52
52
  :'request_id' => :'String',
53
- :'date' => :'DateTime'
53
+ :'error_date_time' => :'DateTime'
54
54
  }
55
55
  end
56
56
 
@@ -66,8 +66,8 @@ module GroupDocsAssemblyCloud
66
66
  self.request_id = attributes[:'RequestId']
67
67
  end
68
68
 
69
- if attributes.key?(:'Date')
70
- self.date = attributes[:'Date']
69
+ if attributes.key?(:'ErrorDateTime')
70
+ self.error_date_time = attributes[:'ErrorDateTime']
71
71
  end
72
72
 
73
73
  end
@@ -76,8 +76,8 @@ module GroupDocsAssemblyCloud
76
76
  # @return Array for valid properies with the reasons
77
77
  def list_invalid_properties
78
78
  invalid_properties = []
79
- if @date.nil?
80
- invalid_properties.push("invalid value for 'date', date cannot be nil.")
79
+ if @error_date_time.nil?
80
+ invalid_properties.push("invalid value for 'error_date_time', error_date_time cannot be nil.")
81
81
  end
82
82
 
83
83
  return invalid_properties
@@ -86,7 +86,7 @@ module GroupDocsAssemblyCloud
86
86
  # Check to see if the all the properties in the model are valid
87
87
  # @return true if the model is valid
88
88
  def valid?
89
- return false if @date.nil?
89
+ return false if @error_date_time.nil?
90
90
  return true
91
91
  end
92
92
 
@@ -96,7 +96,7 @@ module GroupDocsAssemblyCloud
96
96
  return true if self.equal?(other)
97
97
  self.class == other.class &&
98
98
  request_id == other.request_id &&
99
- date == other.date
99
+ error_date_time == other.error_date_time
100
100
  end
101
101
 
102
102
  # @see the `==` method
@@ -108,7 +108,7 @@ module GroupDocsAssemblyCloud
108
108
  # Calculates hash code according to all attributes.
109
109
  # @return [Fixnum] Hash code
110
110
  def hash
111
- [request_id, date].hash
111
+ [request_id, error_date_time].hash
112
112
  end
113
113
 
114
114
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="AssembleDocumentRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -32,12 +32,12 @@ module GroupDocsAssemblyCloud
32
32
  #
33
33
  class AssembleDocumentRequest
34
34
 
35
- # Assemble Options. It should be JSON with TemplateName, SaveFormat, ReportData and etc.
35
+ # Assemble Options. It should be JSON or XML with TemplateFileInfo, SaveFormat, ReportData and etc.
36
36
  attr_accessor :assemble_options
37
37
 
38
38
  #
39
39
  # Initializes a new instance.
40
- # @param assemble_options Assemble Options. It should be JSON with TemplateName, SaveFormat, ReportData and etc.
40
+ # @param assemble_options Assemble Options. It should be JSON or XML with TemplateFileInfo, SaveFormat, ReportData and etc.
41
41
  def initialize(assemble_options)
42
42
  self.assemble_options = assemble_options
43
43
  end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="CopyFileRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="CopyFolderRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="CreateFolderRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="DeleteFileRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="DeleteFolderRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="DownloadFileRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="GetFilesListRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="GetSupportedFileFormatsRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="MoveFileRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="MoveFolderRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="UploadFileRequest.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -33,7 +33,7 @@ module GroupDocsAssemblyCloud
33
33
  class UploadFileRequest
34
34
 
35
35
  # File to upload
36
- attr_accessor :file
36
+ attr_accessor :file_content
37
37
  # Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
38
38
  attr_accessor :path
39
39
  # Storage name
@@ -41,11 +41,11 @@ module GroupDocsAssemblyCloud
41
41
 
42
42
  #
43
43
  # Initializes a new instance.
44
- # @param file File to upload
44
+ # @param file_content File to upload
45
45
  # @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
46
46
  # @param storage_name Storage name
47
- def initialize(file, path, storage_name = nil)
48
- self.file = file
47
+ def initialize(file_content, path, storage_name = nil)
48
+ self.file_content = file_content
49
49
  self.path = path
50
50
  self.storage_name = storage_name
51
51
  end
@@ -44,7 +44,7 @@ module GroupDocsAssemblyCloud
44
44
  attr_accessor :date_time
45
45
 
46
46
  # Gets or sets inner error.
47
- attr_accessor :inner_response_error
47
+ attr_accessor :inner_error
48
48
 
49
49
 
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -54,7 +54,7 @@ module GroupDocsAssemblyCloud
54
54
  :'message' => :'Message',
55
55
  :'description' => :'Description',
56
56
  :'date_time' => :'DateTime',
57
- :'inner_response_error' => :'InnerResponseError'
57
+ :'inner_error' => :'InnerError'
58
58
  }
59
59
  end
60
60
 
@@ -65,7 +65,7 @@ module GroupDocsAssemblyCloud
65
65
  :'message' => :'String',
66
66
  :'description' => :'String',
67
67
  :'date_time' => :'DateTime',
68
- :'inner_response_error' => :'ResponseError'
68
+ :'inner_error' => :'ResponseError'
69
69
  }
70
70
  end
71
71
 
@@ -93,8 +93,8 @@ module GroupDocsAssemblyCloud
93
93
  self.date_time = attributes[:'DateTime']
94
94
  end
95
95
 
96
- if attributes.key?(:'InnerResponseError')
97
- self.inner_response_error = attributes[:'InnerResponseError']
96
+ if attributes.key?(:'InnerError')
97
+ self.inner_error = attributes[:'InnerError']
98
98
  end
99
99
 
100
100
  end
@@ -121,7 +121,7 @@ module GroupDocsAssemblyCloud
121
121
  message == other.message &&
122
122
  description == other.description &&
123
123
  date_time == other.date_time &&
124
- inner_response_error == other.inner_response_error
124
+ inner_error == other.inner_error
125
125
  end
126
126
 
127
127
  # @see the `==` method
@@ -133,7 +133,7 @@ module GroupDocsAssemblyCloud
133
133
  # Calculates hash code according to all attributes.
134
134
  # @return [Fixnum] Hash code
135
135
  def hash
136
- [code, message, description, date_time, inner_response_error].hash
136
+ [code, message, description, date_time, inner_error].hash
137
137
  end
138
138
 
139
139
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="version.rb">
4
- # Copyright (c) 2020 GroupDocs.Assembly for Cloud
4
+ # Copyright (c) 2021 GroupDocs.Assembly for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsAssemblyCloud
28
- VERSION = "20.6.0".freeze
28
+ VERSION = "21.1.0".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_assembly_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 20.6.0
4
+ version: 21.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslaw Ekimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-03 00:00:00.000000000 Z
11
+ date: 2021-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday