oraclebmc 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -2
  3. data/lib/oraclebmc/core/models/console_history.rb +5 -3
  4. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +5 -3
  5. data/lib/oraclebmc/core/models/dhcp_options.rb +5 -3
  6. data/lib/oraclebmc/core/models/drg.rb +5 -3
  7. data/lib/oraclebmc/core/models/drg_attachment.rb +5 -3
  8. data/lib/oraclebmc/core/models/image.rb +5 -3
  9. data/lib/oraclebmc/core/models/instance.rb +5 -3
  10. data/lib/oraclebmc/core/models/internet_gateway.rb +5 -3
  11. data/lib/oraclebmc/core/models/ip_sec_connection.rb +5 -3
  12. data/lib/oraclebmc/core/models/route_table.rb +5 -3
  13. data/lib/oraclebmc/core/models/security_list.rb +5 -3
  14. data/lib/oraclebmc/core/models/subnet.rb +5 -3
  15. data/lib/oraclebmc/core/models/tunnel_status.rb +5 -3
  16. data/lib/oraclebmc/core/models/vcn.rb +5 -3
  17. data/lib/oraclebmc/core/models/vnic.rb +5 -3
  18. data/lib/oraclebmc/core/models/vnic_attachment.rb +5 -3
  19. data/lib/oraclebmc/core/models/volume.rb +5 -3
  20. data/lib/oraclebmc/core/models/volume_attachment.rb +5 -3
  21. data/lib/oraclebmc/core/models/volume_backup.rb +5 -3
  22. data/lib/oraclebmc/identity/models/api_key.rb +5 -3
  23. data/lib/oraclebmc/identity/models/compartment.rb +5 -3
  24. data/lib/oraclebmc/identity/models/group.rb +5 -3
  25. data/lib/oraclebmc/identity/models/policy.rb +5 -3
  26. data/lib/oraclebmc/identity/models/swift_password.rb +5 -3
  27. data/lib/oraclebmc/identity/models/ui_password.rb +5 -3
  28. data/lib/oraclebmc/identity/models/user.rb +5 -3
  29. data/lib/oraclebmc/identity/models/user_group_membership.rb +5 -3
  30. data/lib/oraclebmc/load_balancer/load_balancer_client.rb +70 -0
  31. data/lib/oraclebmc/load_balancer/models/backend.rb +62 -62
  32. data/lib/oraclebmc/load_balancer/models/backend_details.rb +49 -49
  33. data/lib/oraclebmc/load_balancer/models/backend_set.rb +21 -21
  34. data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +14 -14
  35. data/lib/oraclebmc/load_balancer/models/certificate.rb +26 -26
  36. data/lib/oraclebmc/load_balancer/models/certificate_details.rb +40 -40
  37. data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +49 -49
  38. data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +21 -21
  39. data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +40 -40
  40. data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +18 -18
  41. data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +32 -32
  42. data/lib/oraclebmc/load_balancer/models/health_checker.rb +54 -54
  43. data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +54 -54
  44. data/lib/oraclebmc/load_balancer/models/listener.rb +12 -12
  45. data/lib/oraclebmc/load_balancer/models/load_balancer.rb +61 -59
  46. data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +18 -18
  47. data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +18 -18
  48. data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +22 -22
  49. data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +14 -14
  50. data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +53 -53
  51. data/lib/oraclebmc/load_balancer/models/work_request.rb +35 -33
  52. data/lib/oraclebmc/load_balancer/models/work_request_error.rb +5 -3
  53. data/lib/oraclebmc/version.rb +1 -1
  54. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4b6f055fd6a44f614362a59b5da331ffdaa45b8
4
- data.tar.gz: 47a1b20e3a7646f7eb6851450a3ee8c417ab7ce3
3
+ metadata.gz: 009662b6268407501bdf0d132f2513c0f7651dd7
4
+ data.tar.gz: 4f0dc341bb586910c6a0854f6163b41533a31339
5
5
  SHA512:
6
- metadata.gz: da5eabdc021b20d0be6a294c183237ae30fa1269a861582a415b1968979d8fc0f6b49eae4988549048b6a8cb20cd17eafa232162a50ba7caac62e78fec3527be
7
- data.tar.gz: ddb0459abf040a768c1637addb2c55868f5be818cfe0139bd2c6d3de38421acb62a0ef155a48edf91faef536258141035d85c764b659d114f5933931c8e4c87c
6
+ metadata.gz: 0cb3067bcd79f71b21d78420677a3c00aa68a44991eecb3227b5158561fd538a9da54d7dc2e1397e948b4ae7547d0d33eec0f6273b4f8179f53daf9d65fced31
7
+ data.tar.gz: fbd07192987de065b15ac971ad348e44fe43f355dbf908290efbcda0730edd63aee6cff3fb06e0b3f921346ac6cf5a678e84d5fc6d7ab6570826eec7a48d4661
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Bare Metal Cloud Services Ruby SDK
2
- **Version 1.2.0**
2
+ **Version 1.2.1**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Bare Metal Cloud Services Ruby SDK.
5
5
 
@@ -77,7 +77,7 @@ You can also [download the SDK](https://docs.us-phoenix-1.oraclecloud.com/tools/
77
77
  Install the gem with the following command:
78
78
 
79
79
 
80
- `gem install oraclebmc-1.2.0.gem`
80
+ `gem install oraclebmc-1.2.1.gem`
81
81
 
82
82
 
83
83
  The SDK depends on `libcurl`, which may need to be installed or upgraded on some operating systems to be compatible with Oracle Bare Metal Cloud Services.
@@ -245,6 +245,9 @@ The {OracleBMC::Signer} can be used to sign arbitrary requests to the Bare Metal
245
245
 
246
246
  puts result.body
247
247
 
248
+ ## Notifications
249
+ To be notified when a new version of the Ruby SDK is released, subscribe to the [Atom feed](https://rubygems.org/gems/oraclebmc/versions.atom).
250
+
248
251
  ## Questions or Feedback?
249
252
  Ways to get in touch:
250
253
 
@@ -252,3 +255,4 @@ Ways to get in touch:
252
255
  * [Developer Tools section](https://community.oracle.com/community/cloud_computing/bare-metal/content?filterID=contentstatus%5Bpublished%5D~category%5Bdeveloper-tools%5D&filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bthread%5D) of the Oracle Cloud forums
253
256
  * [My Oracle Support](https://support.oracle.com)
254
257
 
258
+
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_REQUESTED = 'REQUESTED',
9
9
  LIFECYCLE_STATE_GETTING_HISTORY = 'GETTING-HISTORY',
10
10
  LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED',
11
- LIFECYCLE_STATE_FAILED = 'FAILED']
11
+ LIFECYCLE_STATE_FAILED = 'FAILED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The Availability Domain of an instance.
14
15
  #
@@ -91,9 +92,10 @@ module OracleBMC
91
92
  # @param [Object] lifecycle_state Object to be assigned
92
93
  def lifecycle_state=(lifecycle_state)
93
94
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
94
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
95
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
96
+ else
97
+ @lifecycle_state = lifecycle_state
95
98
  end
96
- @lifecycle_state = lifecycle_state
97
99
  end
98
100
 
99
101
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
 
9
9
  SERVER_TYPE_ENUM = [SERVER_TYPE_VCN_LOCAL = 'VcnLocal',
10
10
  SERVER_TYPE_VCN_LOCAL_PLUS_INTERNET = 'VcnLocalPlusInternet',
11
- SERVER_TYPE_CUSTOM_DNS_SERVER = 'CustomDnsServer']
11
+ SERVER_TYPE_CUSTOM_DNS_SERVER = 'CustomDnsServer',
12
+ SERVER_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # If you set `serverType` to `CustomDnsServer`, specify the IP address
14
15
  # of at least one DNS server of your choice (three maximum).
@@ -62,9 +63,10 @@ module OracleBMC
62
63
  # @param [Object] server_type Object to be assigned
63
64
  def server_type=(server_type)
64
65
  if server_type && !SERVER_TYPE_ENUM.include?(server_type)
65
- fail "Invalid value for 'server_type': this must be one of the values in SERVER_TYPE_ENUM."
66
+ @server_type = SERVER_TYPE_UNKNOWN_ENUM_VALUE
67
+ else
68
+ @server_type = server_type
66
69
  end
67
- @server_type = server_type
68
70
  end
69
71
 
70
72
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the set of DHCP options.
14
15
  # @return [String]
@@ -85,9 +86,10 @@ module OracleBMC
85
86
  # @param [Object] lifecycle_state Object to be assigned
86
87
  def lifecycle_state=(lifecycle_state)
87
88
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
88
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
89
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
90
+ else
91
+ @lifecycle_state = lifecycle_state
89
92
  end
90
- @lifecycle_state = lifecycle_state
91
93
  end
92
94
 
93
95
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the DRG.
14
15
  # @return [String]
@@ -69,9 +70,10 @@ module OracleBMC
69
70
  # @param [Object] lifecycle_state Object to be assigned
70
71
  def lifecycle_state=(lifecycle_state)
71
72
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
72
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
73
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
74
+ else
75
+ @lifecycle_state = lifecycle_state
73
76
  end
74
- @lifecycle_state = lifecycle_state
75
77
  end
76
78
 
77
79
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_ATTACHING = 'ATTACHING',
9
9
  LIFECYCLE_STATE_ATTACHED = 'ATTACHED',
10
10
  LIFECYCLE_STATE_DETACHING = 'DETACHING',
11
- LIFECYCLE_STATE_DETACHED = 'DETACHED']
11
+ LIFECYCLE_STATE_DETACHED = 'DETACHED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the DRG attachment.
14
15
  # @return [String]
@@ -85,9 +86,10 @@ module OracleBMC
85
86
  # @param [Object] lifecycle_state Object to be assigned
86
87
  def lifecycle_state=(lifecycle_state)
87
88
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
88
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
89
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
90
+ else
91
+ @lifecycle_state = lifecycle_state
89
92
  end
90
- @lifecycle_state = lifecycle_state
91
93
  end
92
94
 
93
95
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_DISABLED = 'DISABLED',
11
- LIFECYCLE_STATE_DELETED = 'DELETED']
11
+ LIFECYCLE_STATE_DELETED = 'DELETED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the image originally used to launch the instance.
14
15
  # @return [String]
@@ -115,9 +116,10 @@ module OracleBMC
115
116
  # @param [Object] lifecycle_state Object to be assigned
116
117
  def lifecycle_state=(lifecycle_state)
117
118
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
118
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
119
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
120
+ else
121
+ @lifecycle_state = lifecycle_state
119
122
  end
120
- @lifecycle_state = lifecycle_state
121
123
  end
122
124
 
123
125
  # Checks equality by comparing each attribute.
@@ -12,7 +12,8 @@ module OracleBMC
12
12
  LIFECYCLE_STATE_STOPPED = 'STOPPED',
13
13
  LIFECYCLE_STATE_CREATING_IMAGE = 'CREATING_IMAGE',
14
14
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
15
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
15
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
16
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
16
17
 
17
18
  # The Availability Domain the instance is running in.
18
19
  #
@@ -158,9 +159,10 @@ module OracleBMC
158
159
  # @param [Object] lifecycle_state Object to be assigned
159
160
  def lifecycle_state=(lifecycle_state)
160
161
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
161
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
162
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
163
+ else
164
+ @lifecycle_state = lifecycle_state
162
165
  end
163
- @lifecycle_state = lifecycle_state
164
166
  end
165
167
 
166
168
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the Internet Gateway.
14
15
  # @return [String]
@@ -87,9 +88,10 @@ module OracleBMC
87
88
  # @param [Object] lifecycle_state Object to be assigned
88
89
  def lifecycle_state=(lifecycle_state)
89
90
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
90
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
91
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
92
+ else
93
+ @lifecycle_state = lifecycle_state
91
94
  end
92
- @lifecycle_state = lifecycle_state
93
95
  end
94
96
 
95
97
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the IPSec connection.
14
15
  # @return [String]
@@ -97,9 +98,10 @@ module OracleBMC
97
98
  # @param [Object] lifecycle_state Object to be assigned
98
99
  def lifecycle_state=(lifecycle_state)
99
100
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
100
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
101
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
102
+ else
103
+ @lifecycle_state = lifecycle_state
101
104
  end
102
- @lifecycle_state = lifecycle_state
103
105
  end
104
106
 
105
107
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the route table.
14
15
  # @return [String]
@@ -85,9 +86,10 @@ module OracleBMC
85
86
  # @param [Object] lifecycle_state Object to be assigned
86
87
  def lifecycle_state=(lifecycle_state)
87
88
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
88
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
89
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
90
+ else
91
+ @lifecycle_state = lifecycle_state
89
92
  end
90
- @lifecycle_state = lifecycle_state
91
93
  end
92
94
 
93
95
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The OCID of the compartment containing the security list.
14
15
  # @return [String]
@@ -93,9 +94,10 @@ module OracleBMC
93
94
  # @param [Object] lifecycle_state Object to be assigned
94
95
  def lifecycle_state=(lifecycle_state)
95
96
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
96
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
97
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
98
+ else
99
+ @lifecycle_state = lifecycle_state
97
100
  end
98
- @lifecycle_state = lifecycle_state
99
101
  end
100
102
 
101
103
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The subnet's Availability Domain.
14
15
  #
@@ -182,9 +183,10 @@ module OracleBMC
182
183
  # @param [Object] lifecycle_state Object to be assigned
183
184
  def lifecycle_state=(lifecycle_state)
184
185
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
185
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
186
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
187
+ else
188
+ @lifecycle_state = lifecycle_state
186
189
  end
187
- @lifecycle_state = lifecycle_state
188
190
  end
189
191
 
190
192
  # Checks equality by comparing each attribute.
@@ -7,7 +7,8 @@ module OracleBMC
7
7
 
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_UP = 'UP',
9
9
  LIFECYCLE_STATE_DOWN = 'DOWN',
10
- LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE = 'DOWN_FOR_MAINTENANCE']
10
+ LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE = 'DOWN_FOR_MAINTENANCE',
11
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
11
12
 
12
13
  # The IP address of Oracle's VPN headend.
13
14
  #
@@ -66,9 +67,10 @@ module OracleBMC
66
67
  # @param [Object] lifecycle_state Object to be assigned
67
68
  def lifecycle_state=(lifecycle_state)
68
69
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
69
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
70
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
71
+ else
72
+ @lifecycle_state = lifecycle_state
70
73
  end
71
- @lifecycle_state = lifecycle_state
72
74
  end
73
75
 
74
76
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The CIDR IP address block of the VCN.
14
15
  #
@@ -141,9 +142,10 @@ module OracleBMC
141
142
  # @param [Object] lifecycle_state Object to be assigned
142
143
  def lifecycle_state=(lifecycle_state)
143
144
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
144
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
145
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
146
+ else
147
+ @lifecycle_state = lifecycle_state
145
148
  end
146
- @lifecycle_state = lifecycle_state
147
149
  end
148
150
 
149
151
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
9
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
10
10
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
11
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED']
11
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The VNIC's Availability Domain.
14
15
  #
@@ -128,9 +129,10 @@ module OracleBMC
128
129
  # @param [Object] lifecycle_state Object to be assigned
129
130
  def lifecycle_state=(lifecycle_state)
130
131
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
131
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
132
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
133
+ else
134
+ @lifecycle_state = lifecycle_state
132
135
  end
133
- @lifecycle_state = lifecycle_state
134
136
  end
135
137
 
136
138
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_ATTACHING = 'ATTACHING',
9
9
  LIFECYCLE_STATE_ATTACHED = 'ATTACHED',
10
10
  LIFECYCLE_STATE_DETACHING = 'DETACHING',
11
- LIFECYCLE_STATE_DETACHED = 'DETACHED']
11
+ LIFECYCLE_STATE_DETACHED = 'DETACHED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The Availability Domain of an instance.
14
15
  #
@@ -104,9 +105,10 @@ module OracleBMC
104
105
  # @param [Object] lifecycle_state Object to be assigned
105
106
  def lifecycle_state=(lifecycle_state)
106
107
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
107
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
108
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
109
+ else
110
+ @lifecycle_state = lifecycle_state
108
111
  end
109
- @lifecycle_state = lifecycle_state
110
112
  end
111
113
 
112
114
  # Checks equality by comparing each attribute.
@@ -10,7 +10,8 @@ module OracleBMC
10
10
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE',
11
11
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
12
12
  LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
13
- LIFECYCLE_STATE_FAULTY = 'FAULTY']
13
+ LIFECYCLE_STATE_FAULTY = 'FAULTY',
14
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
14
15
 
15
16
  # The Availability Domain of the volume.
16
17
  #
@@ -88,9 +89,10 @@ module OracleBMC
88
89
  # @param [Object] lifecycle_state Object to be assigned
89
90
  def lifecycle_state=(lifecycle_state)
90
91
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
91
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
92
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
93
+ else
94
+ @lifecycle_state = lifecycle_state
92
95
  end
93
- @lifecycle_state = lifecycle_state
94
96
  end
95
97
 
96
98
  # Checks equality by comparing each attribute.
@@ -8,7 +8,8 @@ module OracleBMC
8
8
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_ATTACHING = 'ATTACHING',
9
9
  LIFECYCLE_STATE_ATTACHED = 'ATTACHED',
10
10
  LIFECYCLE_STATE_DETACHING = 'DETACHING',
11
- LIFECYCLE_STATE_DETACHED = 'DETACHED']
11
+ LIFECYCLE_STATE_DETACHED = 'DETACHED',
12
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
12
13
 
13
14
  # The type of volume attachment.
14
15
  # @return [String]
@@ -118,9 +119,10 @@ module OracleBMC
118
119
  # @param [Object] lifecycle_state Object to be assigned
119
120
  def lifecycle_state=(lifecycle_state)
120
121
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
121
- fail "Invalid value for 'lifecycle_state': this must be one of the values in LIFECYCLE_STATE_ENUM."
122
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
123
+ else
124
+ @lifecycle_state = lifecycle_state
122
125
  end
123
- @lifecycle_state = lifecycle_state
124
126
  end
125
127
 
126
128
  # Checks equality by comparing each attribute.