ionoscloud-cert-manager 1.0.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.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +70 -0
  4. data/LICENSE +201 -0
  5. data/README.md +2 -0
  6. data/Rakefile +10 -0
  7. data/docs/api/CertificatesApi.md +392 -0
  8. data/docs/api/InformationApi.md +226 -0
  9. data/docs/models/ApiInfoDto.md +21 -0
  10. data/docs/models/CertificateCollectionDto.md +29 -0
  11. data/docs/models/CertificateCollectionDtoLinks.md +21 -0
  12. data/docs/models/CertificateDto.md +25 -0
  13. data/docs/models/CertificatePatchDto.md +17 -0
  14. data/docs/models/CertificatePatchPropertiesDto.md +17 -0
  15. data/docs/models/CertificatePostDto.md +17 -0
  16. data/docs/models/CertificatePostPropertiesDto.md +23 -0
  17. data/docs/models/CertificatePropertiesDto.md +21 -0
  18. data/docs/models/ConfigPropertyDto.md +23 -0
  19. data/docs/models/ResourceMetadataDto.md +31 -0
  20. data/docs/summary.md +23 -0
  21. data/git_push.sh +56 -0
  22. data/ionoscloud-cert-manager.gemspec +38 -0
  23. data/lib/ionoscloud-cert-manager/api/certificates_api.rb +345 -0
  24. data/lib/ionoscloud-cert-manager/api/information_api.rb +193 -0
  25. data/lib/ionoscloud-cert-manager/api_client.rb +471 -0
  26. data/lib/ionoscloud-cert-manager/api_error.rb +57 -0
  27. data/lib/ionoscloud-cert-manager/configuration.rb +276 -0
  28. data/lib/ionoscloud-cert-manager/models/api_info_dto.rb +263 -0
  29. data/lib/ionoscloud-cert-manager/models/certificate_collection_dto.rb +334 -0
  30. data/lib/ionoscloud-cert-manager/models/certificate_collection_dto_links.rb +262 -0
  31. data/lib/ionoscloud-cert-manager/models/certificate_dto.rb +297 -0
  32. data/lib/ionoscloud-cert-manager/models/certificate_patch_dto.rb +231 -0
  33. data/lib/ionoscloud-cert-manager/models/certificate_patch_properties_dto.rb +231 -0
  34. data/lib/ionoscloud-cert-manager/models/certificate_post_dto.rb +231 -0
  35. data/lib/ionoscloud-cert-manager/models/certificate_post_properties_dto.rb +300 -0
  36. data/lib/ionoscloud-cert-manager/models/certificate_properties_dto.rb +262 -0
  37. data/lib/ionoscloud-cert-manager/models/config_property_dto.rb +295 -0
  38. data/lib/ionoscloud-cert-manager/models/resource_metadata_dto.rb +353 -0
  39. data/lib/ionoscloud-cert-manager/version.rb +15 -0
  40. data/lib/ionoscloud-cert-manager.rb +52 -0
  41. data/spec/api_client_spec.rb +226 -0
  42. data/spec/configuration_spec.rb +42 -0
  43. data/spec/spec_helper.rb +111 -0
  44. metadata +132 -0
@@ -0,0 +1,295 @@
1
+ =begin
2
+ #Certificate Manager Service API
3
+
4
+ #Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources. For the [Application Load Balancer](https://api.ionos.com/docs/cloud/v6/#Application-Load-Balancers-get-datacenters-datacenterId-applicationloadbalancers), you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IonoscloudCertManager
17
+ class ConfigPropertyDto
18
+
19
+ # The property id.
20
+ attr_accessor :id
21
+
22
+
23
+ # The property name.
24
+ attr_accessor :name
25
+
26
+
27
+ # The property value.
28
+ attr_accessor :value
29
+
30
+
31
+ # The property description.
32
+ attr_accessor :description
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+
38
+ :'id' => :'id',
39
+
40
+ :'name' => :'name',
41
+
42
+ :'value' => :'value',
43
+
44
+ :'description' => :'description'
45
+ }
46
+ end
47
+
48
+ # Returns all the JSON keys this model knows about
49
+ def self.acceptable_attributes
50
+ attribute_map.values
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.openapi_types
55
+ {
56
+
57
+ :'id' => :'String',
58
+
59
+ :'name' => :'String',
60
+
61
+ :'value' => :'String',
62
+
63
+ :'description' => :'String'
64
+ }
65
+ end
66
+
67
+ # List of attributes with nullable: true
68
+ def self.openapi_nullable
69
+ Set.new([
70
+
71
+
72
+
73
+
74
+ ])
75
+ end
76
+
77
+ # Initializes the object
78
+ # @param [Hash] attributes Model attributes in the form of hash
79
+ def initialize(attributes = {})
80
+ if (!attributes.is_a?(Hash))
81
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IonoscloudCertManager::ConfigPropertyDto` initialize method"
82
+ end
83
+
84
+ # check to see if the attribute exists and convert string to symbol for hash key
85
+ attributes = attributes.each_with_object({}) { |(k, v), h|
86
+ if (!self.class.attribute_map.key?(k.to_sym))
87
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IonoscloudCertManager::ConfigPropertyDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
88
+ end
89
+ h[k.to_sym] = v
90
+ }
91
+
92
+
93
+ if attributes.key?(:'id')
94
+ self.id = attributes[:'id']
95
+ end
96
+
97
+
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
100
+ end
101
+
102
+
103
+ if attributes.key?(:'value')
104
+ self.value = attributes[:'value']
105
+ end
106
+
107
+
108
+ if attributes.key?(:'description')
109
+ self.description = attributes[:'description']
110
+ end
111
+ end
112
+
113
+ # Show invalid properties with the reasons. Usually used together with valid?
114
+ # @return Array for valid properties with the reasons
115
+ def list_invalid_properties
116
+ invalid_properties = Array.new
117
+
118
+
119
+ if @name.nil?
120
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
121
+ end
122
+
123
+
124
+ if @value.nil?
125
+ invalid_properties.push('invalid value for "value", value cannot be nil.')
126
+ end
127
+
128
+
129
+ if @description.nil?
130
+ invalid_properties.push('invalid value for "description", description cannot be nil.')
131
+ end
132
+
133
+ invalid_properties
134
+ end
135
+
136
+ # Check to see if the all the properties in the model are valid
137
+ # @return true if the model is valid
138
+ def valid?
139
+
140
+
141
+ return false if @name.nil?
142
+
143
+ return false if @value.nil?
144
+
145
+ return false if @description.nil?
146
+ true
147
+ end
148
+
149
+
150
+
151
+
152
+
153
+ # Checks equality by comparing each attribute.
154
+ # @param [Object] Object to be compared
155
+ def ==(o)
156
+ return true if self.equal?(o)
157
+ self.class == o.class &&
158
+ id == o.id &&
159
+ name == o.name &&
160
+ value == o.value &&
161
+ description == o.description
162
+ end
163
+
164
+ # @see the `==` method
165
+ # @param [Object] Object to be compared
166
+ def eql?(o)
167
+ self == o
168
+ end
169
+
170
+ # Calculates hash code according to all attributes.
171
+ # @return [Integer] Hash code
172
+ def hash
173
+ [id, name, value, description].hash
174
+ end
175
+
176
+ # Builds the object from hash
177
+ # @param [Hash] attributes Model attributes in the form of hash
178
+ # @return [Object] Returns the model itself
179
+ def self.build_from_hash(attributes)
180
+ new.build_from_hash(attributes)
181
+ end
182
+
183
+ # Builds the object from hash
184
+ # @param [Hash] attributes Model attributes in the form of hash
185
+ # @return [Object] Returns the model itself
186
+ def build_from_hash(attributes)
187
+ return nil unless attributes.is_a?(Hash)
188
+ self.class.openapi_types.each_pair do |key, type|
189
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
190
+ self.send("#{key}=", nil)
191
+ elsif type =~ /\AArray<(.*)>/i
192
+ # check to ensure the input is an array given that the attribute
193
+ # is documented as an array but the input is not
194
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
195
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
196
+ end
197
+ elsif !attributes[self.class.attribute_map[key]].nil?
198
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
199
+ end
200
+ end
201
+
202
+ self
203
+ end
204
+
205
+ # Deserializes the data based on type
206
+ # @param string type Data type
207
+ # @param string value Value to be deserialized
208
+ # @return [Object] Deserialized data
209
+ def _deserialize(type, value)
210
+ case type.to_sym
211
+ when :Time
212
+ Time.parse(value)
213
+ when :Date
214
+ Date.parse(value)
215
+ when :String
216
+ value.to_s
217
+ when :Integer
218
+ value.to_i
219
+ when :Float
220
+ value.to_f
221
+ when :Boolean
222
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
223
+ true
224
+ else
225
+ false
226
+ end
227
+ when :Object
228
+ # generic object (usually a Hash), return directly
229
+ value
230
+ when /\AArray<(?<inner_type>.+)>\z/
231
+ inner_type = Regexp.last_match[:inner_type]
232
+ value.map { |v| _deserialize(inner_type, v) }
233
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
234
+ k_type = Regexp.last_match[:k_type]
235
+ v_type = Regexp.last_match[:v_type]
236
+ {}.tap do |hash|
237
+ value.each do |k, v|
238
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
239
+ end
240
+ end
241
+ else # model
242
+ # models (e.g. Pet) or oneOf
243
+ klass = IonoscloudCertManager.const_get(type)
244
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
245
+ end
246
+ end
247
+
248
+ # Returns the string representation of the object
249
+ # @return [String] String presentation of the object
250
+ def to_s
251
+ to_hash.to_s
252
+ end
253
+
254
+ # to_body is an alias to to_hash (backward compatibility)
255
+ # @return [Hash] Returns the object in the form of hash
256
+ def to_body
257
+ to_hash
258
+ end
259
+
260
+ # Returns the object in the form of hash
261
+ # @return [Hash] Returns the object in the form of hash
262
+ def to_hash
263
+ hash = {}
264
+ self.class.attribute_map.each_pair do |attr, param|
265
+ value = self.send(attr)
266
+ if value.nil?
267
+ is_nullable = self.class.openapi_nullable.include?(attr)
268
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
269
+ end
270
+
271
+ hash[param] = _to_hash(value)
272
+ end
273
+ hash
274
+ end
275
+
276
+ # Outputs non-array value in the form of hash
277
+ # For object, use to_hash. Otherwise, just return the value
278
+ # @param [Object] value Any valid value
279
+ # @return [Hash] Returns the value in the form of hash
280
+ def _to_hash(value)
281
+ if value.is_a?(Array)
282
+ value.compact.map { |v| _to_hash(v) }
283
+ elsif value.is_a?(Hash)
284
+ {}.tap do |hash|
285
+ value.each { |k, v| hash[k] = _to_hash(v) }
286
+ end
287
+ elsif value.respond_to? :to_hash
288
+ value.to_hash
289
+ else
290
+ value
291
+ end
292
+ end
293
+
294
+ end
295
+ end
@@ -0,0 +1,353 @@
1
+ =begin
2
+ #Certificate Manager Service API
3
+
4
+ #Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources. For the [Application Load Balancer](https://api.ionos.com/docs/cloud/v6/#Application-Load-Balancers-get-datacenters-datacenterId-applicationloadbalancers), you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IonoscloudCertManager
17
+ # The metadata of the resource.
18
+ class ResourceMetadataDto
19
+
20
+ # The entity tag of the resource, as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11. The entity tag is also added as an 'ETag' response header to requests that do not use the 'depth' parameter.
21
+ attr_accessor :etag
22
+
23
+
24
+ # The date the resource was created.
25
+ attr_accessor :created_date
26
+
27
+
28
+ # The user who created the resource.
29
+ attr_accessor :created_by
30
+
31
+
32
+ # The ID of the user who created the resource.
33
+ attr_accessor :created_by_user_id
34
+
35
+
36
+ # The date when the resource was last modified.
37
+ attr_accessor :last_modified_date
38
+
39
+
40
+ # The user who last modified the resource.
41
+ attr_accessor :last_modified_by
42
+
43
+
44
+ # The ID of the user who last modified the resource.
45
+ attr_accessor :last_modified_by_user_id
46
+
47
+
48
+ # The resource state.
49
+ attr_accessor :state
50
+
51
+ # Attribute mapping from ruby-style variable name to JSON key.
52
+ def self.attribute_map
53
+ {
54
+
55
+ :'etag' => :'etag',
56
+
57
+ :'created_date' => :'createdDate',
58
+
59
+ :'created_by' => :'createdBy',
60
+
61
+ :'created_by_user_id' => :'createdByUserId',
62
+
63
+ :'last_modified_date' => :'lastModifiedDate',
64
+
65
+ :'last_modified_by' => :'lastModifiedBy',
66
+
67
+ :'last_modified_by_user_id' => :'lastModifiedByUserId',
68
+
69
+ :'state' => :'state'
70
+ }
71
+ end
72
+
73
+ # Returns all the JSON keys this model knows about
74
+ def self.acceptable_attributes
75
+ attribute_map.values
76
+ end
77
+
78
+ # Attribute type mapping.
79
+ def self.openapi_types
80
+ {
81
+
82
+ :'etag' => :'String',
83
+
84
+ :'created_date' => :'String',
85
+
86
+ :'created_by' => :'String',
87
+
88
+ :'created_by_user_id' => :'String',
89
+
90
+ :'last_modified_date' => :'String',
91
+
92
+ :'last_modified_by' => :'String',
93
+
94
+ :'last_modified_by_user_id' => :'String',
95
+
96
+ :'state' => :'String'
97
+ }
98
+ end
99
+
100
+ # List of attributes with nullable: true
101
+ def self.openapi_nullable
102
+ Set.new([
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ ])
112
+ end
113
+
114
+ # Initializes the object
115
+ # @param [Hash] attributes Model attributes in the form of hash
116
+ def initialize(attributes = {})
117
+ if (!attributes.is_a?(Hash))
118
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IonoscloudCertManager::ResourceMetadataDto` initialize method"
119
+ end
120
+
121
+ # check to see if the attribute exists and convert string to symbol for hash key
122
+ attributes = attributes.each_with_object({}) { |(k, v), h|
123
+ if (!self.class.attribute_map.key?(k.to_sym))
124
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IonoscloudCertManager::ResourceMetadataDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
125
+ end
126
+ h[k.to_sym] = v
127
+ }
128
+
129
+
130
+ if attributes.key?(:'etag')
131
+ self.etag = attributes[:'etag']
132
+ end
133
+
134
+
135
+ if attributes.key?(:'created_date')
136
+ self.created_date = attributes[:'created_date']
137
+ end
138
+
139
+
140
+ if attributes.key?(:'created_by')
141
+ self.created_by = attributes[:'created_by']
142
+ end
143
+
144
+
145
+ if attributes.key?(:'created_by_user_id')
146
+ self.created_by_user_id = attributes[:'created_by_user_id']
147
+ end
148
+
149
+
150
+ if attributes.key?(:'last_modified_date')
151
+ self.last_modified_date = attributes[:'last_modified_date']
152
+ end
153
+
154
+
155
+ if attributes.key?(:'last_modified_by')
156
+ self.last_modified_by = attributes[:'last_modified_by']
157
+ end
158
+
159
+
160
+ if attributes.key?(:'last_modified_by_user_id')
161
+ self.last_modified_by_user_id = attributes[:'last_modified_by_user_id']
162
+ end
163
+
164
+
165
+ if attributes.key?(:'state')
166
+ self.state = attributes[:'state']
167
+ end
168
+ end
169
+
170
+ # Show invalid properties with the reasons. Usually used together with valid?
171
+ # @return Array for valid properties with the reasons
172
+ def list_invalid_properties
173
+ invalid_properties = Array.new
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ invalid_properties
183
+ end
184
+
185
+ # Check to see if the all the properties in the model are valid
186
+ # @return true if the model is valid
187
+ def valid?
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+ true
197
+ end
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+ # Checks equality by comparing each attribute.
208
+ # @param [Object] Object to be compared
209
+ def ==(o)
210
+ return true if self.equal?(o)
211
+ self.class == o.class &&
212
+ etag == o.etag &&
213
+ created_date == o.created_date &&
214
+ created_by == o.created_by &&
215
+ created_by_user_id == o.created_by_user_id &&
216
+ last_modified_date == o.last_modified_date &&
217
+ last_modified_by == o.last_modified_by &&
218
+ last_modified_by_user_id == o.last_modified_by_user_id &&
219
+ state == o.state
220
+ end
221
+
222
+ # @see the `==` method
223
+ # @param [Object] Object to be compared
224
+ def eql?(o)
225
+ self == o
226
+ end
227
+
228
+ # Calculates hash code according to all attributes.
229
+ # @return [Integer] Hash code
230
+ def hash
231
+ [etag, created_date, created_by, created_by_user_id, last_modified_date, last_modified_by, last_modified_by_user_id, state].hash
232
+ end
233
+
234
+ # Builds the object from hash
235
+ # @param [Hash] attributes Model attributes in the form of hash
236
+ # @return [Object] Returns the model itself
237
+ def self.build_from_hash(attributes)
238
+ new.build_from_hash(attributes)
239
+ end
240
+
241
+ # Builds the object from hash
242
+ # @param [Hash] attributes Model attributes in the form of hash
243
+ # @return [Object] Returns the model itself
244
+ def build_from_hash(attributes)
245
+ return nil unless attributes.is_a?(Hash)
246
+ self.class.openapi_types.each_pair do |key, type|
247
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
248
+ self.send("#{key}=", nil)
249
+ elsif type =~ /\AArray<(.*)>/i
250
+ # check to ensure the input is an array given that the attribute
251
+ # is documented as an array but the input is not
252
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
253
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
254
+ end
255
+ elsif !attributes[self.class.attribute_map[key]].nil?
256
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
257
+ end
258
+ end
259
+
260
+ self
261
+ end
262
+
263
+ # Deserializes the data based on type
264
+ # @param string type Data type
265
+ # @param string value Value to be deserialized
266
+ # @return [Object] Deserialized data
267
+ def _deserialize(type, value)
268
+ case type.to_sym
269
+ when :Time
270
+ Time.parse(value)
271
+ when :Date
272
+ Date.parse(value)
273
+ when :String
274
+ value.to_s
275
+ when :Integer
276
+ value.to_i
277
+ when :Float
278
+ value.to_f
279
+ when :Boolean
280
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
281
+ true
282
+ else
283
+ false
284
+ end
285
+ when :Object
286
+ # generic object (usually a Hash), return directly
287
+ value
288
+ when /\AArray<(?<inner_type>.+)>\z/
289
+ inner_type = Regexp.last_match[:inner_type]
290
+ value.map { |v| _deserialize(inner_type, v) }
291
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
292
+ k_type = Regexp.last_match[:k_type]
293
+ v_type = Regexp.last_match[:v_type]
294
+ {}.tap do |hash|
295
+ value.each do |k, v|
296
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
297
+ end
298
+ end
299
+ else # model
300
+ # models (e.g. Pet) or oneOf
301
+ klass = IonoscloudCertManager.const_get(type)
302
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
303
+ end
304
+ end
305
+
306
+ # Returns the string representation of the object
307
+ # @return [String] String presentation of the object
308
+ def to_s
309
+ to_hash.to_s
310
+ end
311
+
312
+ # to_body is an alias to to_hash (backward compatibility)
313
+ # @return [Hash] Returns the object in the form of hash
314
+ def to_body
315
+ to_hash
316
+ end
317
+
318
+ # Returns the object in the form of hash
319
+ # @return [Hash] Returns the object in the form of hash
320
+ def to_hash
321
+ hash = {}
322
+ self.class.attribute_map.each_pair do |attr, param|
323
+ value = self.send(attr)
324
+ if value.nil?
325
+ is_nullable = self.class.openapi_nullable.include?(attr)
326
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
327
+ end
328
+
329
+ hash[param] = _to_hash(value)
330
+ end
331
+ hash
332
+ end
333
+
334
+ # Outputs non-array value in the form of hash
335
+ # For object, use to_hash. Otherwise, just return the value
336
+ # @param [Object] value Any valid value
337
+ # @return [Hash] Returns the value in the form of hash
338
+ def _to_hash(value)
339
+ if value.is_a?(Array)
340
+ value.compact.map { |v| _to_hash(v) }
341
+ elsif value.is_a?(Hash)
342
+ {}.tap do |hash|
343
+ value.each { |k, v| hash[k] = _to_hash(v) }
344
+ end
345
+ elsif value.respond_to? :to_hash
346
+ value.to_hash
347
+ else
348
+ value
349
+ end
350
+ end
351
+
352
+ end
353
+ end
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Certificate Manager Service API
3
+
4
+ #Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources. For the [Application Load Balancer](https://api.ionos.com/docs/cloud/v6/#Application-Load-Balancers-get-datacenters-datacenterId-applicationloadbalancers), you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ module IonoscloudCertManager
14
+ VERSION = '1.0.0'
15
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Certificate Manager Service API
3
+
4
+ #Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources. For the [Application Load Balancer](https://api.ionos.com/docs/cloud/v6/#Application-Load-Balancers-get-datacenters-datacenterId-applicationloadbalancers), you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'ionoscloud-cert-manager/api_client'
15
+ require 'ionoscloud-cert-manager/api_error'
16
+ require 'ionoscloud-cert-manager/version'
17
+ require 'ionoscloud-cert-manager/configuration'
18
+
19
+ # Models
20
+ require 'ionoscloud-cert-manager/models/api_info_dto'
21
+ require 'ionoscloud-cert-manager/models/certificate_collection_dto'
22
+ require 'ionoscloud-cert-manager/models/certificate_collection_dto_links'
23
+ require 'ionoscloud-cert-manager/models/certificate_dto'
24
+ require 'ionoscloud-cert-manager/models/certificate_patch_dto'
25
+ require 'ionoscloud-cert-manager/models/certificate_patch_properties_dto'
26
+ require 'ionoscloud-cert-manager/models/certificate_post_dto'
27
+ require 'ionoscloud-cert-manager/models/certificate_post_properties_dto'
28
+ require 'ionoscloud-cert-manager/models/certificate_properties_dto'
29
+ require 'ionoscloud-cert-manager/models/config_property_dto'
30
+ require 'ionoscloud-cert-manager/models/resource_metadata_dto'
31
+
32
+ # APIs
33
+ require 'ionoscloud-cert-manager/api/certificates_api'
34
+ require 'ionoscloud-cert-manager/api/information_api'
35
+
36
+ module IonoscloudCertManager
37
+ class << self
38
+ # Customize default settings for the SDK using block.
39
+ # IonoscloudCertManager.configure do |config|
40
+ # config.username = "xxx"
41
+ # config.password = "xxx"
42
+ # end
43
+ # If no block given, return the default Configuration object.
44
+ def configure
45
+ if block_given?
46
+ yield(Configuration.default)
47
+ else
48
+ Configuration.default
49
+ end
50
+ end
51
+ end
52
+ end