oci 2.4.0 → 2.4.1

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: a6404f7c7a6a457a557341b7d6d43a73383b0d0a66b1be11e1362152cb2a8726
4
- data.tar.gz: e8b451bdc8b5bb774e5545ea8f8aa084d1c2035f651a5407b0a6748bf0a221eb
3
+ metadata.gz: 7de46f20f8218b5eae43314eea56f26140d3bb7cde0665cbb3d02345f2299da2
4
+ data.tar.gz: 711d97bdbf04a8238699ab0ba8f7cbe9a31eff0c88eec9c8b1ef339bd1d430cb
5
5
  SHA512:
6
- metadata.gz: 1cf2ade24b060a6ef3c4e117e3a5a857e817d18b939270630a3dc09fef8c649f70b22aa1b4045126059e06fb585fd655ed4dc4b26d938c1ebd6564eb7fda4106
7
- data.tar.gz: 4efca99533b277181bf6eee42fde010f81eed92b05cfad664386e4354413d9b3a78b6f53b14a6d778fa56392876a30cf9021c0594982a35c516899357bf1a942
6
+ metadata.gz: 443fb8aeecc3eb2aa198dc5ed19e4f70af29f7d7d262be1228013b11e2e87c5fe349c5ce36fc14ada7778e90218134d91ae0386e441e4d0bad3a20880107cbdd
7
+ data.tar.gz: fe8bc7d18a5ba2b50ee0efc0f8fe57edf4405bbc1e0c7ef033a9694f973736d0c50571803d4c4310dbe33892e75044ecd7cf76827648a17968ace6789fedf067
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.4.0**
2
+ **Version 2.4.1**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -14,6 +14,15 @@ module OCI
14
14
  # @return [String]
15
15
  attr_accessor :drg_id
16
16
 
17
+ # The OCID of the route table the DRG attachment will use.
18
+ #
19
+ # If you don't specify a route table here, the DRG attachment is created without an associated route
20
+ # table. The Networking service does NOT automatically associate the attached VCN's default route table
21
+ # with the DRG attachment.
22
+ #
23
+ # @return [String]
24
+ attr_accessor :route_table_id
25
+
17
26
  # **[Required]** The OCID of the VCN.
18
27
  # @return [String]
19
28
  attr_accessor :vcn_id
@@ -24,6 +33,7 @@ module OCI
24
33
  # rubocop:disable Style/SymbolLiteral
25
34
  'display_name': :'displayName',
26
35
  'drg_id': :'drgId',
36
+ 'route_table_id': :'routeTableId',
27
37
  'vcn_id': :'vcnId'
28
38
  # rubocop:enable Style/SymbolLiteral
29
39
  }
@@ -35,6 +45,7 @@ module OCI
35
45
  # rubocop:disable Style/SymbolLiteral
36
46
  'display_name': :'String',
37
47
  'drg_id': :'String',
48
+ 'route_table_id': :'String',
38
49
  'vcn_id': :'String'
39
50
  # rubocop:enable Style/SymbolLiteral
40
51
  }
@@ -48,6 +59,7 @@ module OCI
48
59
  # @param [Hash] attributes Model attributes in the form of hash
49
60
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
50
61
  # @option attributes [String] :drg_id The value to assign to the {#drg_id} property
62
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
51
63
  # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
52
64
  def initialize(attributes = {})
53
65
  return unless attributes.is_a?(Hash)
@@ -67,6 +79,12 @@ module OCI
67
79
 
68
80
  self.drg_id = attributes[:'drg_id'] if attributes[:'drg_id']
69
81
 
82
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
83
+
84
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
85
+
86
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
87
+
70
88
  self.vcn_id = attributes[:'vcnId'] if attributes[:'vcnId']
71
89
 
72
90
  raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
@@ -87,6 +105,7 @@ module OCI
87
105
  self.class == other.class &&
88
106
  display_name == other.display_name &&
89
107
  drg_id == other.drg_id &&
108
+ route_table_id == other.route_table_id &&
90
109
  vcn_id == other.vcn_id
91
110
  end
92
111
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
@@ -103,7 +122,7 @@ module OCI
103
122
  # Calculates hash code according to all attributes.
104
123
  # @return [Fixnum] Hash code
105
124
  def hash
106
- [display_name, drg_id, vcn_id].hash
125
+ [display_name, drg_id, route_table_id, vcn_id].hash
107
126
  end
108
127
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
109
128
 
@@ -33,6 +33,15 @@ module OCI
33
33
  # @return [Hash<String, String>]
34
34
  attr_accessor :freeform_tags
35
35
 
36
+ # The OCID of the route table the LPG will use.
37
+ #
38
+ # If you don't specify a route table here, the LPG is created without an associated route
39
+ # table. The Networking service does NOT automatically associate the attached VCN's default route table
40
+ # with the LPG.
41
+ #
42
+ # @return [String]
43
+ attr_accessor :route_table_id
44
+
36
45
  # **[Required]** The OCID of the VCN the LPG belongs to.
37
46
  # @return [String]
38
47
  attr_accessor :vcn_id
@@ -45,6 +54,7 @@ module OCI
45
54
  'defined_tags': :'definedTags',
46
55
  'display_name': :'displayName',
47
56
  'freeform_tags': :'freeformTags',
57
+ 'route_table_id': :'routeTableId',
48
58
  'vcn_id': :'vcnId'
49
59
  # rubocop:enable Style/SymbolLiteral
50
60
  }
@@ -58,6 +68,7 @@ module OCI
58
68
  'defined_tags': :'Hash<String, Hash<String, Object>>',
59
69
  'display_name': :'String',
60
70
  'freeform_tags': :'Hash<String, String>',
71
+ 'route_table_id': :'String',
61
72
  'vcn_id': :'String'
62
73
  # rubocop:enable Style/SymbolLiteral
63
74
  }
@@ -73,6 +84,7 @@ module OCI
73
84
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
74
85
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
75
86
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
87
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
76
88
  # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
77
89
  def initialize(attributes = {})
78
90
  return unless attributes.is_a?(Hash)
@@ -104,6 +116,12 @@ module OCI
104
116
 
105
117
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
106
118
 
119
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
120
+
121
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
122
+
123
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
124
+
107
125
  self.vcn_id = attributes[:'vcnId'] if attributes[:'vcnId']
108
126
 
109
127
  raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
@@ -126,6 +144,7 @@ module OCI
126
144
  defined_tags == other.defined_tags &&
127
145
  display_name == other.display_name &&
128
146
  freeform_tags == other.freeform_tags &&
147
+ route_table_id == other.route_table_id &&
129
148
  vcn_id == other.vcn_id
130
149
  end
131
150
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
@@ -142,7 +161,7 @@ module OCI
142
161
  # Calculates hash code according to all attributes.
143
162
  # @return [Fixnum] Hash code
144
163
  def hash
145
- [compartment_id, defined_tags, display_name, freeform_tags, vcn_id].hash
164
+ [compartment_id, defined_tags, display_name, freeform_tags, route_table_id, vcn_id].hash
146
165
  end
147
166
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
148
167
 
@@ -42,6 +42,10 @@ module OCI
42
42
  # @return [String]
43
43
  attr_reader :lifecycle_state
44
44
 
45
+ # The OCID of the route table the DRG attachment is using.
46
+ # @return [String]
47
+ attr_accessor :route_table_id
48
+
45
49
  # The date and time the DRG attachment was created, in the format defined by RFC3339.
46
50
  #
47
51
  # Example: `2016-08-25T21:10:29.600Z`
@@ -62,6 +66,7 @@ module OCI
62
66
  'drg_id': :'drgId',
63
67
  'id': :'id',
64
68
  'lifecycle_state': :'lifecycleState',
69
+ 'route_table_id': :'routeTableId',
65
70
  'time_created': :'timeCreated',
66
71
  'vcn_id': :'vcnId'
67
72
  # rubocop:enable Style/SymbolLiteral
@@ -77,6 +82,7 @@ module OCI
77
82
  'drg_id': :'String',
78
83
  'id': :'String',
79
84
  'lifecycle_state': :'String',
85
+ 'route_table_id': :'String',
80
86
  'time_created': :'DateTime',
81
87
  'vcn_id': :'String'
82
88
  # rubocop:enable Style/SymbolLiteral
@@ -94,6 +100,7 @@ module OCI
94
100
  # @option attributes [String] :drg_id The value to assign to the {#drg_id} property
95
101
  # @option attributes [String] :id The value to assign to the {#id} property
96
102
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
103
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
97
104
  # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
98
105
  # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
99
106
  def initialize(attributes = {})
@@ -128,6 +135,12 @@ module OCI
128
135
 
129
136
  self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
130
137
 
138
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
139
+
140
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
141
+
142
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
143
+
131
144
  self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
132
145
 
133
146
  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
@@ -172,6 +185,7 @@ module OCI
172
185
  drg_id == other.drg_id &&
173
186
  id == other.id &&
174
187
  lifecycle_state == other.lifecycle_state &&
188
+ route_table_id == other.route_table_id &&
175
189
  time_created == other.time_created &&
176
190
  vcn_id == other.vcn_id
177
191
  end
@@ -189,7 +203,7 @@ module OCI
189
203
  # Calculates hash code according to all attributes.
190
204
  # @return [Fixnum] Hash code
191
205
  def hash
192
- [compartment_id, display_name, drg_id, id, lifecycle_state, time_created, vcn_id].hash
206
+ [compartment_id, display_name, drg_id, id, lifecycle_state, route_table_id, time_created, vcn_id].hash
193
207
  end
194
208
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
195
209
 
@@ -78,16 +78,25 @@ module OCI
78
78
  # @return [String]
79
79
  attr_reader :lifecycle_state
80
80
 
81
- # The range of IP addresses available on the VCN at the other
82
- # end of the peering from this LPG. The value is `null` if the LPG is not peered.
83
- # You can use this as the destination CIDR for a route rule to route a subnet's
84
- # traffic to this LPG.
81
+ # The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN
82
+ # at the other end of the peering from this LPG. See `peerAdvertisedCidrDetails` for
83
+ # the individual CIDRs. The value is `null` if the LPG is not peered.
85
84
  #
86
- # Example: `192.168.0.0/16`
85
+ # Example: `192.168.0.0/16`, or if aggregated with `172.16.0.0/24` then `128.0.0.0/1`
87
86
  #
88
87
  # @return [String]
89
88
  attr_accessor :peer_advertised_cidr
90
89
 
90
+ # The specific ranges of IP addresses available on or via the VCN at the other
91
+ # end of the peering from this LPG. The value is `null` if the LPG is not peered.
92
+ # You can use these as destination CIDRs for route rules to route a subnet's
93
+ # traffic to this LPG.
94
+ #
95
+ # Example: [`192.168.0.0/16`, `172.16.0.0/24`]
96
+ #
97
+ # @return [Array<String>]
98
+ attr_accessor :peer_advertised_cidr_details
99
+
91
100
  # **[Required]** Whether the LPG is peered with another LPG. `NEW` means the LPG has not yet been
92
101
  # peered. `PENDING` means the peering is being established. `REVOKED` means the
93
102
  # LPG at the other end of the peering has been deleted.
@@ -99,6 +108,10 @@ module OCI
99
108
  # @return [String]
100
109
  attr_accessor :peering_status_details
101
110
 
111
+ # The OCID of the route table the LPG is using.
112
+ # @return [String]
113
+ attr_accessor :route_table_id
114
+
102
115
  # **[Required]** The date and time the LPG was created, in the format defined by RFC3339.
103
116
  #
104
117
  # Example: `2016-08-25T21:10:29.600Z`
@@ -122,8 +135,10 @@ module OCI
122
135
  'is_cross_tenancy_peering': :'isCrossTenancyPeering',
123
136
  'lifecycle_state': :'lifecycleState',
124
137
  'peer_advertised_cidr': :'peerAdvertisedCidr',
138
+ 'peer_advertised_cidr_details': :'peerAdvertisedCidrDetails',
125
139
  'peering_status': :'peeringStatus',
126
140
  'peering_status_details': :'peeringStatusDetails',
141
+ 'route_table_id': :'routeTableId',
127
142
  'time_created': :'timeCreated',
128
143
  'vcn_id': :'vcnId'
129
144
  # rubocop:enable Style/SymbolLiteral
@@ -142,8 +157,10 @@ module OCI
142
157
  'is_cross_tenancy_peering': :'BOOLEAN',
143
158
  'lifecycle_state': :'String',
144
159
  'peer_advertised_cidr': :'String',
160
+ 'peer_advertised_cidr_details': :'Array<String>',
145
161
  'peering_status': :'String',
146
162
  'peering_status_details': :'String',
163
+ 'route_table_id': :'String',
147
164
  'time_created': :'DateTime',
148
165
  'vcn_id': :'String'
149
166
  # rubocop:enable Style/SymbolLiteral
@@ -164,8 +181,10 @@ module OCI
164
181
  # @option attributes [BOOLEAN] :is_cross_tenancy_peering The value to assign to the {#is_cross_tenancy_peering} property
165
182
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
166
183
  # @option attributes [String] :peer_advertised_cidr The value to assign to the {#peer_advertised_cidr} property
184
+ # @option attributes [Array<String>] :peer_advertised_cidr_details The value to assign to the {#peer_advertised_cidr_details} property
167
185
  # @option attributes [String] :peering_status The value to assign to the {#peering_status} property
168
186
  # @option attributes [String] :peering_status_details The value to assign to the {#peering_status_details} property
187
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
169
188
  # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
170
189
  # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
171
190
  def initialize(attributes = {})
@@ -218,6 +237,12 @@ module OCI
218
237
 
219
238
  self.peer_advertised_cidr = attributes[:'peer_advertised_cidr'] if attributes[:'peer_advertised_cidr']
220
239
 
240
+ self.peer_advertised_cidr_details = attributes[:'peerAdvertisedCidrDetails'] if attributes[:'peerAdvertisedCidrDetails']
241
+
242
+ raise 'You cannot provide both :peerAdvertisedCidrDetails and :peer_advertised_cidr_details' if attributes.key?(:'peerAdvertisedCidrDetails') && attributes.key?(:'peer_advertised_cidr_details')
243
+
244
+ self.peer_advertised_cidr_details = attributes[:'peer_advertised_cidr_details'] if attributes[:'peer_advertised_cidr_details']
245
+
221
246
  self.peering_status = attributes[:'peeringStatus'] if attributes[:'peeringStatus']
222
247
 
223
248
  raise 'You cannot provide both :peeringStatus and :peering_status' if attributes.key?(:'peeringStatus') && attributes.key?(:'peering_status')
@@ -230,6 +255,12 @@ module OCI
230
255
 
231
256
  self.peering_status_details = attributes[:'peering_status_details'] if attributes[:'peering_status_details']
232
257
 
258
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
259
+
260
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
261
+
262
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
263
+
233
264
  self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
234
265
 
235
266
  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
@@ -292,8 +323,10 @@ module OCI
292
323
  is_cross_tenancy_peering == other.is_cross_tenancy_peering &&
293
324
  lifecycle_state == other.lifecycle_state &&
294
325
  peer_advertised_cidr == other.peer_advertised_cidr &&
326
+ peer_advertised_cidr_details == other.peer_advertised_cidr_details &&
295
327
  peering_status == other.peering_status &&
296
328
  peering_status_details == other.peering_status_details &&
329
+ route_table_id == other.route_table_id &&
297
330
  time_created == other.time_created &&
298
331
  vcn_id == other.vcn_id
299
332
  end
@@ -311,7 +344,7 @@ module OCI
311
344
  # Calculates hash code according to all attributes.
312
345
  # @return [Fixnum] Hash code
313
346
  def hash
314
- [compartment_id, defined_tags, display_name, freeform_tags, id, is_cross_tenancy_peering, lifecycle_state, peer_advertised_cidr, peering_status, peering_status_details, time_created, vcn_id].hash
347
+ [compartment_id, defined_tags, display_name, freeform_tags, id, is_cross_tenancy_peering, lifecycle_state, peer_advertised_cidr, peer_advertised_cidr_details, peering_status, peering_status_details, route_table_id, time_created, vcn_id].hash
315
348
  end
316
349
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
317
350
 
@@ -12,11 +12,16 @@ module OCI
12
12
  # @return [String]
13
13
  attr_accessor :display_name
14
14
 
15
+ # The OCID of the route table the DRG attachment will use.
16
+ # @return [String]
17
+ attr_accessor :route_table_id
18
+
15
19
  # Attribute mapping from ruby-style variable name to JSON key.
16
20
  def self.attribute_map
17
21
  {
18
22
  # rubocop:disable Style/SymbolLiteral
19
- 'display_name': :'displayName'
23
+ 'display_name': :'displayName',
24
+ 'route_table_id': :'routeTableId'
20
25
  # rubocop:enable Style/SymbolLiteral
21
26
  }
22
27
  end
@@ -25,7 +30,8 @@ module OCI
25
30
  def self.swagger_types
26
31
  {
27
32
  # rubocop:disable Style/SymbolLiteral
28
- 'display_name': :'String'
33
+ 'display_name': :'String',
34
+ 'route_table_id': :'String'
29
35
  # rubocop:enable Style/SymbolLiteral
30
36
  }
31
37
  end
@@ -37,6 +43,7 @@ module OCI
37
43
  # Initializes the object
38
44
  # @param [Hash] attributes Model attributes in the form of hash
39
45
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
46
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
40
47
  def initialize(attributes = {})
41
48
  return unless attributes.is_a?(Hash)
42
49
 
@@ -48,6 +55,12 @@ module OCI
48
55
  raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
49
56
 
50
57
  self.display_name = attributes[:'display_name'] if attributes[:'display_name']
58
+
59
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
60
+
61
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
62
+
63
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
51
64
  end
52
65
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
53
66
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -61,7 +74,8 @@ module OCI
61
74
  return true if equal?(other)
62
75
 
63
76
  self.class == other.class &&
64
- display_name == other.display_name
77
+ display_name == other.display_name &&
78
+ route_table_id == other.route_table_id
65
79
  end
66
80
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
67
81
 
@@ -77,7 +91,7 @@ module OCI
77
91
  # Calculates hash code according to all attributes.
78
92
  # @return [Fixnum] Hash code
79
93
  def hash
80
- [display_name].hash
94
+ [display_name, route_table_id].hash
81
95
  end
82
96
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
83
97
 
@@ -29,13 +29,18 @@ module OCI
29
29
  # @return [Hash<String, String>]
30
30
  attr_accessor :freeform_tags
31
31
 
32
+ # The OCID of the route table the LPG will use.
33
+ # @return [String]
34
+ attr_accessor :route_table_id
35
+
32
36
  # Attribute mapping from ruby-style variable name to JSON key.
33
37
  def self.attribute_map
34
38
  {
35
39
  # rubocop:disable Style/SymbolLiteral
36
40
  'defined_tags': :'definedTags',
37
41
  'display_name': :'displayName',
38
- 'freeform_tags': :'freeformTags'
42
+ 'freeform_tags': :'freeformTags',
43
+ 'route_table_id': :'routeTableId'
39
44
  # rubocop:enable Style/SymbolLiteral
40
45
  }
41
46
  end
@@ -46,7 +51,8 @@ module OCI
46
51
  # rubocop:disable Style/SymbolLiteral
47
52
  'defined_tags': :'Hash<String, Hash<String, Object>>',
48
53
  'display_name': :'String',
49
- 'freeform_tags': :'Hash<String, String>'
54
+ 'freeform_tags': :'Hash<String, String>',
55
+ 'route_table_id': :'String'
50
56
  # rubocop:enable Style/SymbolLiteral
51
57
  }
52
58
  end
@@ -60,6 +66,7 @@ module OCI
60
66
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
61
67
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
62
68
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
69
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
63
70
  def initialize(attributes = {})
64
71
  return unless attributes.is_a?(Hash)
65
72
 
@@ -83,6 +90,12 @@ module OCI
83
90
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
84
91
 
85
92
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
93
+
94
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
95
+
96
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
97
+
98
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
86
99
  end
87
100
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
88
101
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -98,7 +111,8 @@ module OCI
98
111
  self.class == other.class &&
99
112
  defined_tags == other.defined_tags &&
100
113
  display_name == other.display_name &&
101
- freeform_tags == other.freeform_tags
114
+ freeform_tags == other.freeform_tags &&
115
+ route_table_id == other.route_table_id
102
116
  end
103
117
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
104
118
 
@@ -114,7 +128,7 @@ module OCI
114
128
  # Calculates hash code according to all attributes.
115
129
  # @return [Fixnum] Hash code
116
130
  def hash
117
- [defined_tags, display_name, freeform_tags].hash
131
+ [defined_tags, display_name, freeform_tags, route_table_id].hash
118
132
  end
119
133
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
120
134
 
data/lib/oci/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  module OCI
4
- VERSION = '2.4.0'.freeze
4
+ VERSION = '2.4.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oci
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oracle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json