oci 2.4.5 → 2.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2b92722ec1966e7dde1c815a6f17cc9ce02a78ae34c69e74915e3d196e2517c
4
- data.tar.gz: 70ef65d3a37c9f629cbe2df847e1e7ccf0befd6677eb2c6c60be7325df052f38
3
+ metadata.gz: 9102d161d8cf5b8b9da3293c5c47b1aecd7c46b6590d83acd4daef1f4665b7f7
4
+ data.tar.gz: 6d274676398027806c4241bbdcb1cd89cfeb28b621975535d699ec29e8c71508
5
5
  SHA512:
6
- metadata.gz: 7983dd94e186bfdf68ac94791f5f94cdfca632442385228ae344f8f7aeb078a2af779ab0629f33d99aad0d55015bb7579126d2c9fac95e791fe39bbb6c024265
7
- data.tar.gz: ac8b2b4bd13f1beefd3c1a6aa1fae13609f50d6a3c4960716e0885e432d9e0cdaa0a1055ba35f5e77aa7f5f94fb428f3630e2ceba8ccd79f7eb2c82a57dd44aa
6
+ metadata.gz: e7dd89624fbc3871ea76946a3e670b06c287dade7d8b5d69395c1d007fa6af0f343d2879300f5952f3eba4b2629a8d904fad8c6fd5800af3f4d48a0fa36da8b8
7
+ data.tar.gz: b3871a0c43b16b8d32f629f4f182959d3c12749d4f4b678b8d09ce6da921f7813db5cf1e43e12e072711be7bcc61502019f836659a4e51a169528f6ee873d730
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.4.5**
2
+ **Version 2.4.6**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -7,6 +7,7 @@ This topic describes how to install, configure, and use the Oracle Cloud Infrast
7
7
 
8
8
  The Ruby SDK supports the following services:
9
9
 
10
+ * Announcements
10
11
  * Audit
11
12
  * Container Engine
12
13
  * Core Services (which includes Networking, Compute, and Block Volume)
data/lib/oci.rb CHANGED
@@ -30,6 +30,7 @@ require 'oci/object_storage/object_storage'
30
30
  require 'oci/object_storage/transfer/transfer'
31
31
  require 'oci/resource_search/resource_search'
32
32
  require 'oci/key_management/key_management'
33
+ require 'oci/announcements_service/announcements_service'
33
34
 
34
35
  # Top level module for the Oracle Cloud Infrastructure SDK
35
36
  module OCI
@@ -0,0 +1,368 @@
1
+ # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'uri'
4
+ require 'logger'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
7
+ module OCI
8
+ # A description of the AnnouncementsService API
9
+ class AnnouncementsService::AnnouncementClient
10
+ # Client used to make HTTP requests.
11
+ # @return [OCI::ApiClient]
12
+ attr_reader :api_client
13
+
14
+ # Fully qualified endpoint URL
15
+ # @return [String]
16
+ attr_reader :endpoint
17
+
18
+ # The default retry configuration to apply to all operations in this service client. This can be overridden
19
+ # on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
20
+ # will not perform any retries
21
+ # @return [OCI::Retry::RetryConfig]
22
+ attr_reader :retry_config
23
+
24
+ # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
25
+ # @return [String]
26
+ attr_reader :region
27
+
28
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines
29
+
30
+
31
+ # Creates a new AnnouncementClient.
32
+ # Notes:
33
+ # If a config is not specified, then the global OCI.config will be used.
34
+ # This client is not thread-safe
35
+ #
36
+ # A region must be specified in either the config or the region parameter. If specified in both,
37
+ # then the region parameter will be used.
38
+ #
39
+ # @param [Config] config A Config object.
40
+ # @param [String] region A region used to determine the service endpoint. This will usually
41
+ # correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
42
+ # @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
43
+ # a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
44
+ # so that the instance principals signer can be provided to the client
45
+ # @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
46
+ # the details for the proxy can be provided in this parameter
47
+ # @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
48
+ # apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
49
+ # will not perform any retries
50
+ def initialize(config: nil, region: nil, signer: nil, proxy_settings: nil, retry_config: nil)
51
+ # If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
52
+ # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
53
+ # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
54
+ # pass it to this constructor.
55
+ #
56
+ # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
57
+ # so try and load the config from the default file.
58
+ config ||= OCI.config unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
59
+ config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
60
+ config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
61
+
62
+ if signer.nil?
63
+ signer = OCI::Signer.new(
64
+ config.user,
65
+ config.fingerprint,
66
+ config.tenancy,
67
+ config.key_file,
68
+ pass_phrase: config.pass_phrase,
69
+ private_key_content: config.key_content
70
+ )
71
+ end
72
+
73
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
74
+ @retry_config = retry_config
75
+
76
+ region ||= config.region
77
+ region ||= signer.region if signer.respond_to?(:region)
78
+ self.region = region
79
+ end
80
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines
81
+
82
+ # Set the region that will be used to determine the service endpoint.
83
+ # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
84
+ # but may be an arbitrary string.
85
+ def region=(new_region)
86
+ @region = new_region
87
+
88
+ raise 'A region must be specified.' unless @region
89
+
90
+ @endpoint = OCI::Regions.get_service_endpoint(@region, :AnnouncementClient) + '/20180904'
91
+ logger.info "AnnouncementClient endpoint set to '#{endpoint}'." if logger
92
+ end
93
+
94
+ # @return [Logger] The logger for this client. May be nil.
95
+ def logger
96
+ @api_client.config.logger
97
+ end
98
+
99
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
100
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
101
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
102
+
103
+
104
+ # Gets details about single `Announcement` object
105
+ #
106
+ # @param [String] announcement_id The OCID of the announcement
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
109
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
110
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
111
+ # a particular request, please provide the request ID.
112
+ #
113
+ # @return [Response] A Response object with data of type {OCI::AnnouncementsService::Models::Announcement Announcement}
114
+ def get_announcement(announcement_id, opts = {})
115
+ logger.debug 'Calling operation AnnouncementClient#get_announcement.' if logger
116
+
117
+ raise "Missing the required parameter 'announcement_id' when calling get_announcement." if announcement_id.nil?
118
+ raise "Parameter value for 'announcement_id' must not be blank" if OCI::Internal::Util.blank_string?(announcement_id)
119
+
120
+ path = '/announcements/{announcementId}'.sub('{announcementId}', announcement_id.to_s)
121
+ operation_signing_strategy = :standard
122
+
123
+ # rubocop:disable Style/NegatedIf
124
+ # Query Params
125
+ query_params = {}
126
+
127
+ # Header Params
128
+ header_params = {}
129
+ header_params[:accept] = 'application/json'
130
+ header_params[:'content-type'] = 'application/json'
131
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
132
+ # rubocop:enable Style/NegatedIf
133
+
134
+ post_body = nil
135
+
136
+ # rubocop:disable Metrics/BlockLength
137
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnnouncementClient#get_announcement') do
138
+ @api_client.call_api(
139
+ :GET,
140
+ path,
141
+ endpoint,
142
+ header_params: header_params,
143
+ query_params: query_params,
144
+ operation_signing_strategy: operation_signing_strategy,
145
+ body: post_body,
146
+ return_type: 'OCI::AnnouncementsService::Models::Announcement'
147
+ )
148
+ end
149
+ # rubocop:enable Metrics/BlockLength
150
+ end
151
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
152
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
153
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
154
+
155
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
156
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
157
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
158
+
159
+
160
+ # Get user status of specified announcement
161
+ #
162
+ # @param [String] announcement_id The OCID of the announcement
163
+ # @param [Hash] opts the optional parameters
164
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
165
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
166
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
167
+ # a particular request, please provide the request ID.
168
+ #
169
+ # @return [Response] A Response object with data of type {OCI::AnnouncementsService::Models::AnnouncementUserStatusDetails AnnouncementUserStatusDetails}
170
+ def get_announcement_user_status(announcement_id, opts = {})
171
+ logger.debug 'Calling operation AnnouncementClient#get_announcement_user_status.' if logger
172
+
173
+ raise "Missing the required parameter 'announcement_id' when calling get_announcement_user_status." if announcement_id.nil?
174
+ raise "Parameter value for 'announcement_id' must not be blank" if OCI::Internal::Util.blank_string?(announcement_id)
175
+
176
+ path = '/announcements/{announcementId}/userStatus'.sub('{announcementId}', announcement_id.to_s)
177
+ operation_signing_strategy = :standard
178
+
179
+ # rubocop:disable Style/NegatedIf
180
+ # Query Params
181
+ query_params = {}
182
+
183
+ # Header Params
184
+ header_params = {}
185
+ header_params[:accept] = 'application/json'
186
+ header_params[:'content-type'] = 'application/json'
187
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
188
+ # rubocop:enable Style/NegatedIf
189
+
190
+ post_body = nil
191
+
192
+ # rubocop:disable Metrics/BlockLength
193
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnnouncementClient#get_announcement_user_status') do
194
+ @api_client.call_api(
195
+ :GET,
196
+ path,
197
+ endpoint,
198
+ header_params: header_params,
199
+ query_params: query_params,
200
+ operation_signing_strategy: operation_signing_strategy,
201
+ body: post_body,
202
+ return_type: 'OCI::AnnouncementsService::Models::AnnouncementUserStatusDetails'
203
+ )
204
+ end
205
+ # rubocop:enable Metrics/BlockLength
206
+ end
207
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
208
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
209
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
210
+
211
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
212
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
213
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
214
+
215
+
216
+ # Gets a list of `Announcement` objects for the current tenancy
217
+ #
218
+ # @param [String] compartment_id OCID of the compartment where search is performed. Announcements are specific to tenancy, so this should an ID of the root compartment
219
+ # @param [Hash] opts the optional parameters
220
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
221
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
222
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
223
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
224
+ # @option opts [String] :announcement_type Type of the announcements to show
225
+ # @option opts [String] :lifecycle_state Filters returned announcements basing on whether they are active now
226
+ # Allowed values are: ACTIVE, INACTIVE
227
+ # @option opts [BOOLEAN] :is_banner Filters returned announcements basing on whether they should be shown as a banner
228
+ # @option opts [String] :sort_by announcements sort order
229
+ # Allowed values are: timeOneValue, timeTwoValue, timeCreated, referenceTicketNumber, summary, announcementType
230
+ # @option opts [String] :sort_order sort order
231
+ # Allowed values are: ASC, DESC
232
+ # @option opts [DateTime] :time_one_earliest_time The earliest timeOneValue to include
233
+ # @option opts [DateTime] :time_one_latest_time The latest timeOneValue to include
234
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
235
+ # a particular request, please provide the request ID.
236
+ #
237
+ # @return [Response] A Response object with data of type {OCI::AnnouncementsService::Models::AnnouncementsCollection AnnouncementsCollection}
238
+ def list_announcements(compartment_id, opts = {})
239
+ logger.debug 'Calling operation AnnouncementClient#list_announcements.' if logger
240
+
241
+ raise "Missing the required parameter 'compartment_id' when calling list_announcements." if compartment_id.nil?
242
+
243
+ if opts[:lifecycle_state] && !%w[ACTIVE INACTIVE].include?(opts[:lifecycle_state])
244
+ raise 'Invalid value for "lifecycle_state", must be one of ACTIVE, INACTIVE.'
245
+ end
246
+
247
+ if opts[:sort_by] && !%w[timeOneValue timeTwoValue timeCreated referenceTicketNumber summary announcementType].include?(opts[:sort_by])
248
+ raise 'Invalid value for "sort_by", must be one of timeOneValue, timeTwoValue, timeCreated, referenceTicketNumber, summary, announcementType.'
249
+ end
250
+
251
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
252
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
253
+ end
254
+
255
+ path = '/announcements'
256
+ operation_signing_strategy = :standard
257
+
258
+ # rubocop:disable Style/NegatedIf
259
+ # Query Params
260
+ query_params = {}
261
+ query_params[:compartmentId] = compartment_id
262
+ query_params[:limit] = opts[:limit] if opts[:limit]
263
+ query_params[:page] = opts[:page] if opts[:page]
264
+ query_params[:announcementType] = opts[:announcement_type] if opts[:announcement_type]
265
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
266
+ query_params[:isBanner] = opts[:is_banner] if !opts[:is_banner].nil?
267
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
268
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
269
+ query_params[:timeOneEarliestTime] = opts[:time_one_earliest_time] if opts[:time_one_earliest_time]
270
+ query_params[:timeOneLatestTime] = opts[:time_one_latest_time] if opts[:time_one_latest_time]
271
+
272
+ # Header Params
273
+ header_params = {}
274
+ header_params[:accept] = 'application/json'
275
+ header_params[:'content-type'] = 'application/json'
276
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
277
+ # rubocop:enable Style/NegatedIf
278
+
279
+ post_body = nil
280
+
281
+ # rubocop:disable Metrics/BlockLength
282
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnnouncementClient#list_announcements') do
283
+ @api_client.call_api(
284
+ :GET,
285
+ path,
286
+ endpoint,
287
+ header_params: header_params,
288
+ query_params: query_params,
289
+ operation_signing_strategy: operation_signing_strategy,
290
+ body: post_body,
291
+ return_type: 'OCI::AnnouncementsService::Models::AnnouncementsCollection'
292
+ )
293
+ end
294
+ # rubocop:enable Metrics/BlockLength
295
+ end
296
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
297
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
298
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
299
+
300
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
301
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
302
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
303
+
304
+
305
+ # Update `Announcement` status with whether user has seen or supressed the announcement
306
+ #
307
+ # @param [String] announcement_id The OCID of the announcement
308
+ # @param [OCI::AnnouncementsService::Models::AnnouncementUserStatusDetails] status_details Object for updating a user's status of announcement.
309
+ # @param [Hash] opts the optional parameters
310
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
311
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
312
+ # @option opts [String] :if_match Optimistic locking version
313
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
314
+ # a particular request, please provide the request ID.
315
+ #
316
+ # @return [Response] A Response object with data of type nil
317
+ def update_announcement_user_status(announcement_id, status_details, opts = {})
318
+ logger.debug 'Calling operation AnnouncementClient#update_announcement_user_status.' if logger
319
+
320
+ raise "Missing the required parameter 'announcement_id' when calling update_announcement_user_status." if announcement_id.nil?
321
+ raise "Missing the required parameter 'status_details' when calling update_announcement_user_status." if status_details.nil?
322
+ raise "Parameter value for 'announcement_id' must not be blank" if OCI::Internal::Util.blank_string?(announcement_id)
323
+
324
+ path = '/announcements/{announcementId}/userStatus'.sub('{announcementId}', announcement_id.to_s)
325
+ operation_signing_strategy = :standard
326
+
327
+ # rubocop:disable Style/NegatedIf
328
+ # Query Params
329
+ query_params = {}
330
+
331
+ # Header Params
332
+ header_params = {}
333
+ header_params[:accept] = 'application/json'
334
+ header_params[:'content-type'] = 'application/json'
335
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
336
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
337
+ # rubocop:enable Style/NegatedIf
338
+
339
+ post_body = @api_client.object_to_http_body(status_details)
340
+
341
+ # rubocop:disable Metrics/BlockLength
342
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnnouncementClient#update_announcement_user_status') do
343
+ @api_client.call_api(
344
+ :PUT,
345
+ path,
346
+ endpoint,
347
+ header_params: header_params,
348
+ query_params: query_params,
349
+ operation_signing_strategy: operation_signing_strategy,
350
+ body: post_body
351
+ )
352
+ end
353
+ # rubocop:enable Metrics/BlockLength
354
+ end
355
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
356
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
357
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
358
+
359
+ private
360
+
361
+ def applicable_retry_config(opts = {})
362
+ return @retry_config unless opts.key?(:retry_config)
363
+
364
+ opts[:retry_config]
365
+ end
366
+ end
367
+ end
368
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
4
+ module OCI
5
+ # This class provides a wrapper around {OCI::AnnouncementsService::AnnouncementClient} and offers convenience methods
6
+ # for operations that would otherwise need to be chained together. For example, instead of performing an action
7
+ # on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
8
+ # to enter a given state, you can call a single method in this class to accomplish the same functionality
9
+ class AnnouncementsService::AnnouncementClientCompositeOperations
10
+ # The {OCI::AnnouncementsService::AnnouncementClient} used to communicate with the service_client
11
+ #
12
+ # @return [OCI::AnnouncementsService::AnnouncementClient]
13
+ attr_reader :service_client
14
+
15
+ # Initializes a new AnnouncementClientCompositeOperations
16
+ #
17
+ # @param [OCI::AnnouncementsService::AnnouncementClient] service_client The client used to communicate with the service.
18
+ # Defaults to a new service client created via {OCI::AnnouncementsService::AnnouncementClient#initialize} with no arguments
19
+ def initialize(service_client = OCI::AnnouncementsService::AnnouncementClient.new)
20
+ @service_client = service_client
21
+ end
22
+ end
23
+ end
24
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -0,0 +1,25 @@
1
+ # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ module OCI
4
+ module AnnouncementsService
5
+ # Module containing models for requests made to, and responses received from,
6
+ # OCI AnnouncementsService services
7
+ module Models
8
+ end
9
+ end
10
+ end
11
+
12
+ # Require models
13
+ require 'oci/announcements_service/models/affected_resource'
14
+ require 'oci/announcements_service/models/announcement'
15
+ require 'oci/announcements_service/models/announcement_summary'
16
+ require 'oci/announcements_service/models/announcement_user_status_details'
17
+ require 'oci/announcements_service/models/announcements_collection'
18
+ require 'oci/announcements_service/models/base_announcement'
19
+ require 'oci/announcements_service/models/notification_followup_details'
20
+
21
+ # Require generated clients
22
+ require 'oci/announcements_service/announcement_client'
23
+
24
+ # Require service utilities
25
+ require 'oci/announcements_service/util'