oraclebmc 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/oraclebmc/core/blockstorage_client.rb +16 -11
  4. data/lib/oraclebmc/core/compute_client.rb +227 -37
  5. data/lib/oraclebmc/core/core.rb +11 -0
  6. data/lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb +1 -2
  7. data/lib/oraclebmc/core/models/attach_vnic_details.rb +144 -0
  8. data/lib/oraclebmc/core/models/attach_volume_details.rb +5 -6
  9. data/lib/oraclebmc/core/models/capture_console_history_details.rb +1 -2
  10. data/lib/oraclebmc/core/models/console_history.rb +8 -8
  11. data/lib/oraclebmc/core/models/cpe.rb +7 -6
  12. data/lib/oraclebmc/core/models/create_cpe_details.rb +4 -5
  13. data/lib/oraclebmc/core/models/create_cross_connect_details.rb +9 -8
  14. data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +4 -3
  15. data/lib/oraclebmc/core/models/create_dhcp_details.rb +5 -6
  16. data/lib/oraclebmc/core/models/create_drg_attachment_details.rb +4 -5
  17. data/lib/oraclebmc/core/models/create_drg_details.rb +3 -4
  18. data/lib/oraclebmc/core/models/create_image_details.rb +19 -7
  19. data/lib/oraclebmc/core/models/create_internet_gateway_details.rb +5 -6
  20. data/lib/oraclebmc/core/models/create_ip_sec_connection_details.rb +6 -7
  21. data/lib/oraclebmc/core/models/create_private_ip_details.rb +173 -0
  22. data/lib/oraclebmc/core/models/create_route_table_details.rb +5 -6
  23. data/lib/oraclebmc/core/models/create_security_list_details.rb +6 -7
  24. data/lib/oraclebmc/core/models/create_subnet_details.rb +14 -15
  25. data/lib/oraclebmc/core/models/create_vcn_details.rb +6 -8
  26. data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +11 -12
  27. data/lib/oraclebmc/core/models/create_vnic_details.rb +39 -27
  28. data/lib/oraclebmc/core/models/create_volume_backup_details.rb +4 -3
  29. data/lib/oraclebmc/core/models/create_volume_details.rb +6 -6
  30. data/lib/oraclebmc/core/models/cross_connect.rb +11 -10
  31. data/lib/oraclebmc/core/models/cross_connect_group.rb +6 -6
  32. data/lib/oraclebmc/core/models/cross_connect_location.rb +2 -3
  33. data/lib/oraclebmc/core/models/cross_connect_mapping.rb +5 -6
  34. data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +2 -3
  35. data/lib/oraclebmc/core/models/cross_connect_status.rb +4 -5
  36. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +2 -3
  37. data/lib/oraclebmc/core/models/dhcp_option.rb +1 -2
  38. data/lib/oraclebmc/core/models/dhcp_options.rb +9 -8
  39. data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +1 -2
  40. data/lib/oraclebmc/core/models/drg.rb +7 -6
  41. data/lib/oraclebmc/core/models/drg_attachment.rb +9 -8
  42. data/lib/oraclebmc/core/models/egress_security_rule.rb +6 -7
  43. data/lib/oraclebmc/core/models/export_image_details.rb +134 -0
  44. data/lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb +150 -0
  45. data/lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb +130 -0
  46. data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +3 -4
  47. data/lib/oraclebmc/core/models/i_scsi_volume_attachment.rb +5 -6
  48. data/lib/oraclebmc/core/models/icmp_options.rb +2 -3
  49. data/lib/oraclebmc/core/models/image.rb +12 -10
  50. data/lib/oraclebmc/core/models/image_source_details.rb +134 -0
  51. data/lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb +150 -0
  52. data/lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb +128 -0
  53. data/lib/oraclebmc/core/models/ingress_security_rule.rb +6 -7
  54. data/lib/oraclebmc/core/models/instance.rb +13 -13
  55. data/lib/oraclebmc/core/models/instance_credentials.rb +2 -3
  56. data/lib/oraclebmc/core/models/internet_gateway.rb +9 -8
  57. data/lib/oraclebmc/core/models/ip_sec_connection.rb +10 -9
  58. data/lib/oraclebmc/core/models/ip_sec_connection_device_config.rb +4 -5
  59. data/lib/oraclebmc/core/models/ip_sec_connection_device_status.rb +4 -5
  60. data/lib/oraclebmc/core/models/launch_instance_details.rb +17 -15
  61. data/lib/oraclebmc/core/models/letter_of_authority.rb +6 -7
  62. data/lib/oraclebmc/core/models/port_range.rb +2 -3
  63. data/lib/oraclebmc/core/models/private_ip.rb +248 -0
  64. data/lib/oraclebmc/core/models/route_rule.rb +2 -3
  65. data/lib/oraclebmc/core/models/route_table.rb +9 -8
  66. data/lib/oraclebmc/core/models/security_list.rb +10 -9
  67. data/lib/oraclebmc/core/models/shape.rb +1 -2
  68. data/lib/oraclebmc/core/models/subnet.rb +21 -19
  69. data/lib/oraclebmc/core/models/tcp_options.rb +2 -3
  70. data/lib/oraclebmc/core/models/tunnel_config.rb +3 -4
  71. data/lib/oraclebmc/core/models/tunnel_status.rb +4 -5
  72. data/lib/oraclebmc/core/models/udp_options.rb +2 -3
  73. data/lib/oraclebmc/core/models/update_cpe_details.rb +3 -2
  74. data/lib/oraclebmc/core/models/update_cross_connect_details.rb +4 -3
  75. data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +3 -2
  76. data/lib/oraclebmc/core/models/update_dhcp_details.rb +4 -3
  77. data/lib/oraclebmc/core/models/update_drg_attachment_details.rb +3 -2
  78. data/lib/oraclebmc/core/models/update_drg_details.rb +3 -2
  79. data/lib/oraclebmc/core/models/update_image_details.rb +3 -3
  80. data/lib/oraclebmc/core/models/update_instance_details.rb +2 -2
  81. data/lib/oraclebmc/core/models/update_internet_gateway_details.rb +4 -3
  82. data/lib/oraclebmc/core/models/update_ip_sec_connection_details.rb +3 -2
  83. data/lib/oraclebmc/core/models/update_private_ip_details.rb +157 -0
  84. data/lib/oraclebmc/core/models/update_route_table_details.rb +4 -3
  85. data/lib/oraclebmc/core/models/update_security_list_details.rb +5 -4
  86. data/lib/oraclebmc/core/models/update_subnet_details.rb +3 -2
  87. data/lib/oraclebmc/core/models/update_vcn_details.rb +3 -2
  88. data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +8 -8
  89. data/lib/oraclebmc/core/models/update_vnic_details.rb +144 -0
  90. data/lib/oraclebmc/core/models/update_volume_backup_details.rb +3 -2
  91. data/lib/oraclebmc/core/models/update_volume_details.rb +2 -2
  92. data/lib/oraclebmc/core/models/vcn.rb +13 -12
  93. data/lib/oraclebmc/core/models/virtual_circuit.rb +18 -18
  94. data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +2 -3
  95. data/lib/oraclebmc/core/models/vnic.rb +47 -19
  96. data/lib/oraclebmc/core/models/vnic_attachment.rb +33 -15
  97. data/lib/oraclebmc/core/models/volume.rb +8 -8
  98. data/lib/oraclebmc/core/models/volume_attachment.rb +10 -10
  99. data/lib/oraclebmc/core/models/volume_backup.rb +11 -10
  100. data/lib/oraclebmc/core/virtual_network_client.rb +364 -87
  101. data/lib/oraclebmc/errors.rb +19 -1
  102. data/lib/oraclebmc/identity/identity_client.rb +31 -31
  103. data/lib/oraclebmc/identity/models/add_user_to_group_details.rb +2 -3
  104. data/lib/oraclebmc/identity/models/api_key.rb +7 -8
  105. data/lib/oraclebmc/identity/models/availability_domain.rb +2 -3
  106. data/lib/oraclebmc/identity/models/compartment.rb +7 -8
  107. data/lib/oraclebmc/identity/models/create_api_key_details.rb +1 -2
  108. data/lib/oraclebmc/identity/models/create_compartment_details.rb +3 -4
  109. data/lib/oraclebmc/identity/models/create_group_details.rb +3 -4
  110. data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +5 -6
  111. data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +2 -3
  112. data/lib/oraclebmc/identity/models/create_policy_details.rb +5 -6
  113. data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +1 -2
  114. data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +2 -3
  115. data/lib/oraclebmc/identity/models/create_swift_password_details.rb +1 -2
  116. data/lib/oraclebmc/identity/models/create_user_details.rb +3 -4
  117. data/lib/oraclebmc/identity/models/group.rb +7 -8
  118. data/lib/oraclebmc/identity/models/identity_provider.rb +9 -10
  119. data/lib/oraclebmc/identity/models/idp_group_mapping.rb +8 -9
  120. data/lib/oraclebmc/identity/models/policy.rb +9 -10
  121. data/lib/oraclebmc/identity/models/region.rb +2 -3
  122. data/lib/oraclebmc/identity/models/region_subscription.rb +4 -5
  123. data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +3 -4
  124. data/lib/oraclebmc/identity/models/swift_password.rb +8 -9
  125. data/lib/oraclebmc/identity/models/tenancy.rb +4 -5
  126. data/lib/oraclebmc/identity/models/ui_password.rb +5 -6
  127. data/lib/oraclebmc/identity/models/update_compartment_details.rb +1 -2
  128. data/lib/oraclebmc/identity/models/update_group_details.rb +1 -2
  129. data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +2 -3
  130. data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +2 -3
  131. data/lib/oraclebmc/identity/models/update_policy_details.rb +3 -4
  132. data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +2 -3
  133. data/lib/oraclebmc/identity/models/update_state_details.rb +1 -2
  134. data/lib/oraclebmc/identity/models/update_swift_password_details.rb +1 -2
  135. data/lib/oraclebmc/identity/models/update_user_details.rb +1 -2
  136. data/lib/oraclebmc/identity/models/user.rb +7 -8
  137. data/lib/oraclebmc/identity/models/user_group_membership.rb +7 -8
  138. data/lib/oraclebmc/load_balancer/load_balancer_client.rb +11 -11
  139. data/lib/oraclebmc/load_balancer/models/backend.rb +7 -8
  140. data/lib/oraclebmc/load_balancer/models/backend_details.rb +6 -7
  141. data/lib/oraclebmc/load_balancer/models/backend_set.rb +6 -7
  142. data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +5 -6
  143. data/lib/oraclebmc/load_balancer/models/certificate.rb +3 -4
  144. data/lib/oraclebmc/load_balancer/models/certificate_details.rb +5 -6
  145. data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +6 -7
  146. data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +6 -7
  147. data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +5 -6
  148. data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +5 -6
  149. data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +8 -9
  150. data/lib/oraclebmc/load_balancer/models/health_checker.rb +8 -9
  151. data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +8 -9
  152. data/lib/oraclebmc/load_balancer/models/ip_address.rb +2 -3
  153. data/lib/oraclebmc/load_balancer/models/listener.rb +5 -6
  154. data/lib/oraclebmc/load_balancer/models/listener_details.rb +4 -5
  155. data/lib/oraclebmc/load_balancer/models/load_balancer.rb +12 -13
  156. data/lib/oraclebmc/load_balancer/models/load_balancer_policy.rb +1 -2
  157. data/lib/oraclebmc/load_balancer/models/load_balancer_protocol.rb +1 -2
  158. data/lib/oraclebmc/load_balancer/models/load_balancer_shape.rb +1 -2
  159. data/lib/oraclebmc/load_balancer/models/session_persistence_configuration_details.rb +2 -3
  160. data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +3 -4
  161. data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +3 -4
  162. data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +4 -5
  163. data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +5 -6
  164. data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +8 -9
  165. data/lib/oraclebmc/load_balancer/models/update_listener_details.rb +4 -5
  166. data/lib/oraclebmc/load_balancer/models/update_load_balancer_details.rb +1 -2
  167. data/lib/oraclebmc/load_balancer/models/work_request.rb +8 -9
  168. data/lib/oraclebmc/load_balancer/models/work_request_error.rb +2 -3
  169. data/lib/oraclebmc/version.rb +1 -1
  170. metadata +13 -2
@@ -90,55 +90,54 @@ module OracleBMC
90
90
  # convert string to symbol for hash key
91
91
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
92
92
 
93
-
94
93
  if attributes[:'backendSets']
95
94
  self.backend_sets = attributes[:'backendSets']
96
95
  end
97
-
96
+
98
97
  if attributes[:'certificates']
99
98
  self.certificates = attributes[:'certificates']
100
99
  end
101
-
100
+
102
101
  if attributes[:'compartmentId']
103
102
  self.compartment_id = attributes[:'compartmentId']
104
103
  end
105
-
104
+
106
105
  if attributes[:'displayName']
107
106
  self.display_name = attributes[:'displayName']
108
107
  end
109
-
108
+
110
109
  if attributes[:'id']
111
110
  self.id = attributes[:'id']
112
111
  end
113
-
112
+
114
113
  if attributes[:'ipAddresses']
115
114
  self.ip_addresses = attributes[:'ipAddresses']
116
115
  end
117
-
116
+
118
117
  if attributes[:'isPrivate']
119
118
  self.is_private = attributes[:'isPrivate']
120
119
  end
121
-
120
+
122
121
  if attributes[:'lifecycleState']
123
122
  self.lifecycle_state = attributes[:'lifecycleState']
124
123
  end
125
-
124
+
126
125
  if attributes[:'listeners']
127
126
  self.listeners = attributes[:'listeners']
128
127
  end
129
-
128
+
130
129
  if attributes[:'shapeName']
131
130
  self.shape_name = attributes[:'shapeName']
132
131
  end
133
-
132
+
134
133
  if attributes[:'subnetIds']
135
134
  self.subnet_ids = attributes[:'subnetIds']
136
135
  end
137
-
136
+
138
137
  if attributes[:'timeCreated']
139
138
  self.time_created = attributes[:'timeCreated']
140
139
  end
141
-
140
+
142
141
  end
143
142
 
144
143
  # Custom attribute writer method checking allowed values (enum).
@@ -17,11 +17,10 @@ module OracleBMC
17
17
  # convert string to symbol for hash key
18
18
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
19
19
 
20
-
21
20
  if attributes[:'name']
22
21
  self.name = attributes[:'name']
23
22
  end
24
-
23
+
25
24
  end
26
25
 
27
26
  # Checks equality by comparing each attribute.
@@ -17,11 +17,10 @@ module OracleBMC
17
17
  # convert string to symbol for hash key
18
18
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
19
19
 
20
-
21
20
  if attributes[:'name']
22
21
  self.name = attributes[:'name']
23
22
  end
24
-
23
+
25
24
  end
26
25
 
27
26
  # Checks equality by comparing each attribute.
@@ -17,11 +17,10 @@ module OracleBMC
17
17
  # convert string to symbol for hash key
18
18
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
19
19
 
20
-
21
20
  if attributes[:'name']
22
21
  self.name = attributes[:'name']
23
22
  end
24
-
23
+
25
24
  end
26
25
 
27
26
  # Checks equality by comparing each attribute.
@@ -29,17 +29,16 @@ module OracleBMC
29
29
  # convert string to symbol for hash key
30
30
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
31
31
 
32
-
33
32
  if attributes[:'cookieName']
34
33
  self.cookie_name = attributes[:'cookieName']
35
34
  end
36
-
35
+
37
36
  if attributes[:'disableFallback']
38
37
  self.disable_fallback = attributes[:'disableFallback']
39
38
  else
40
39
  self.disable_fallback = false
41
40
  end
42
-
41
+
43
42
  end
44
43
 
45
44
  # Checks equality by comparing each attribute.
@@ -34,21 +34,20 @@ module OracleBMC
34
34
  # convert string to symbol for hash key
35
35
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
36
36
 
37
-
38
37
  if attributes[:'certificateName']
39
38
  self.certificate_name = attributes[:'certificateName']
40
39
  end
41
-
40
+
42
41
  if attributes[:'verifyDepth']
43
42
  self.verify_depth = attributes[:'verifyDepth']
44
43
  end
45
-
44
+
46
45
  if attributes[:'verifyPeerCertificate']
47
46
  self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
48
47
  else
49
48
  self.verify_peer_certificate = false
50
49
  end
51
-
50
+
52
51
  end
53
52
 
54
53
  # Checks equality by comparing each attribute.
@@ -34,21 +34,20 @@ module OracleBMC
34
34
  # convert string to symbol for hash key
35
35
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
36
36
 
37
-
38
37
  if attributes[:'certificateName']
39
38
  self.certificate_name = attributes[:'certificateName']
40
39
  end
41
-
40
+
42
41
  if attributes[:'verifyDepth']
43
42
  self.verify_depth = attributes[:'verifyDepth']
44
43
  end
45
-
44
+
46
45
  if attributes[:'verifyPeerCertificate']
47
46
  self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
48
47
  else
49
48
  self.verify_peer_certificate = false
50
49
  end
51
-
50
+
52
51
  end
53
52
 
54
53
  # Checks equality by comparing each attribute.
@@ -48,29 +48,28 @@ module OracleBMC
48
48
  # convert string to symbol for hash key
49
49
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
50
50
 
51
-
52
51
  if attributes[:'backup']
53
52
  self.backup = attributes[:'backup']
54
53
  else
55
54
  self.backup = false
56
55
  end
57
-
56
+
58
57
  if attributes[:'drain']
59
58
  self.drain = attributes[:'drain']
60
59
  else
61
60
  self.drain = false
62
61
  end
63
-
62
+
64
63
  if attributes[:'offline']
65
64
  self.offline = attributes[:'offline']
66
65
  else
67
66
  self.offline = false
68
67
  end
69
-
68
+
70
69
  if attributes[:'weight']
71
70
  self.weight = attributes[:'weight']
72
71
  end
73
-
72
+
74
73
  end
75
74
 
76
75
  # Checks equality by comparing each attribute.
@@ -34,27 +34,26 @@ module OracleBMC
34
34
  # convert string to symbol for hash key
35
35
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
36
36
 
37
-
38
37
  if attributes[:'backends']
39
38
  self.backends = attributes[:'backends']
40
39
  end
41
-
40
+
42
41
  if attributes[:'healthChecker']
43
42
  self.health_checker = attributes[:'healthChecker']
44
43
  end
45
-
44
+
46
45
  if attributes[:'policy']
47
46
  self.policy = attributes[:'policy']
48
47
  end
49
-
48
+
50
49
  if attributes[:'sessionPersistenceConfiguration']
51
50
  self.session_persistence_configuration = attributes[:'sessionPersistenceConfiguration']
52
51
  end
53
-
52
+
54
53
  if attributes[:'sslConfiguration']
55
54
  self.ssl_configuration = attributes[:'sslConfiguration']
56
55
  end
57
-
56
+
58
57
  end
59
58
 
60
59
  # Checks equality by comparing each attribute.
@@ -69,39 +69,38 @@ module OracleBMC
69
69
  # convert string to symbol for hash key
70
70
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
71
71
 
72
-
73
72
  if attributes[:'intervalInMillis']
74
73
  self.interval_in_millis = attributes[:'intervalInMillis']
75
74
  end
76
-
75
+
77
76
  if attributes[:'port']
78
77
  self.port = attributes[:'port']
79
78
  end
80
-
79
+
81
80
  if attributes[:'protocol']
82
81
  self.protocol = attributes[:'protocol']
83
82
  end
84
-
83
+
85
84
  if attributes[:'responseBodyRegex']
86
85
  self.response_body_regex = attributes[:'responseBodyRegex']
87
86
  end
88
-
87
+
89
88
  if attributes[:'retries']
90
89
  self.retries = attributes[:'retries']
91
90
  end
92
-
91
+
93
92
  if attributes[:'returnCode']
94
93
  self.return_code = attributes[:'returnCode']
95
94
  end
96
-
95
+
97
96
  if attributes[:'timeoutInMillis']
98
97
  self.timeout_in_millis = attributes[:'timeoutInMillis']
99
98
  end
100
-
99
+
101
100
  if attributes[:'urlPath']
102
101
  self.url_path = attributes[:'urlPath']
103
102
  end
104
-
103
+
105
104
  end
106
105
 
107
106
  # Checks equality by comparing each attribute.
@@ -36,23 +36,22 @@ module OracleBMC
36
36
  # convert string to symbol for hash key
37
37
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
38
38
 
39
-
40
39
  if attributes[:'defaultBackendSetName']
41
40
  self.default_backend_set_name = attributes[:'defaultBackendSetName']
42
41
  end
43
-
42
+
44
43
  if attributes[:'port']
45
44
  self.port = attributes[:'port']
46
45
  end
47
-
46
+
48
47
  if attributes[:'protocol']
49
48
  self.protocol = attributes[:'protocol']
50
49
  end
51
-
50
+
52
51
  if attributes[:'sslConfiguration']
53
52
  self.ssl_configuration = attributes[:'sslConfiguration']
54
53
  end
55
-
54
+
56
55
  end
57
56
 
58
57
  # Checks equality by comparing each attribute.
@@ -20,11 +20,10 @@ module OracleBMC
20
20
  # convert string to symbol for hash key
21
21
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
22
22
 
23
-
24
23
  if attributes[:'displayName']
25
24
  self.display_name = attributes[:'displayName']
26
25
  end
27
-
26
+
28
27
  end
29
28
 
30
29
  # Checks equality by comparing each attribute.
@@ -67,39 +67,38 @@ module OracleBMC
67
67
  # convert string to symbol for hash key
68
68
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
69
69
 
70
-
71
70
  if attributes[:'errorDetails']
72
71
  self.error_details = attributes[:'errorDetails']
73
72
  end
74
-
73
+
75
74
  if attributes[:'id']
76
75
  self.id = attributes[:'id']
77
76
  end
78
-
77
+
79
78
  if attributes[:'lifecycleState']
80
79
  self.lifecycle_state = attributes[:'lifecycleState']
81
80
  end
82
-
81
+
83
82
  if attributes[:'loadBalancerId']
84
83
  self.load_balancer_id = attributes[:'loadBalancerId']
85
84
  end
86
-
85
+
87
86
  if attributes[:'message']
88
87
  self.message = attributes[:'message']
89
88
  end
90
-
89
+
91
90
  if attributes[:'timeAccepted']
92
91
  self.time_accepted = attributes[:'timeAccepted']
93
92
  end
94
-
93
+
95
94
  if attributes[:'timeFinished']
96
95
  self.time_finished = attributes[:'timeFinished']
97
96
  end
98
-
97
+
99
98
  if attributes[:'type']
100
99
  self.type = attributes[:'type']
101
100
  end
102
-
101
+
103
102
  end
104
103
 
105
104
  # Custom attribute writer method checking allowed values (enum).
@@ -25,15 +25,14 @@ module OracleBMC
25
25
  # convert string to symbol for hash key
26
26
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
27
27
 
28
-
29
28
  if attributes[:'errorCode']
30
29
  self.error_code = attributes[:'errorCode']
31
30
  end
32
-
31
+
33
32
  if attributes[:'message']
34
33
  self.message = attributes[:'message']
35
34
  end
36
-
35
+
37
36
  end
38
37
 
39
38
  # Custom attribute writer method checking allowed values (enum).
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  module OracleBMC
4
- VERSION = "1.2.3"
4
+ VERSION = "1.2.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oraclebmc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oracle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-08 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -105,6 +105,7 @@ files:
105
105
  - "./lib/oraclebmc/core/compute_client.rb"
106
106
  - "./lib/oraclebmc/core/core.rb"
107
107
  - "./lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb"
108
+ - "./lib/oraclebmc/core/models/attach_vnic_details.rb"
108
109
  - "./lib/oraclebmc/core/models/attach_volume_details.rb"
109
110
  - "./lib/oraclebmc/core/models/capture_console_history_details.rb"
110
111
  - "./lib/oraclebmc/core/models/console_history.rb"
@@ -118,6 +119,7 @@ files:
118
119
  - "./lib/oraclebmc/core/models/create_image_details.rb"
119
120
  - "./lib/oraclebmc/core/models/create_internet_gateway_details.rb"
120
121
  - "./lib/oraclebmc/core/models/create_ip_sec_connection_details.rb"
122
+ - "./lib/oraclebmc/core/models/create_private_ip_details.rb"
121
123
  - "./lib/oraclebmc/core/models/create_route_table_details.rb"
122
124
  - "./lib/oraclebmc/core/models/create_security_list_details.rb"
123
125
  - "./lib/oraclebmc/core/models/create_subnet_details.rb"
@@ -139,10 +141,16 @@ files:
139
141
  - "./lib/oraclebmc/core/models/drg.rb"
140
142
  - "./lib/oraclebmc/core/models/drg_attachment.rb"
141
143
  - "./lib/oraclebmc/core/models/egress_security_rule.rb"
144
+ - "./lib/oraclebmc/core/models/export_image_details.rb"
145
+ - "./lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb"
146
+ - "./lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb"
142
147
  - "./lib/oraclebmc/core/models/fast_connect_provider_service.rb"
143
148
  - "./lib/oraclebmc/core/models/i_scsi_volume_attachment.rb"
144
149
  - "./lib/oraclebmc/core/models/icmp_options.rb"
145
150
  - "./lib/oraclebmc/core/models/image.rb"
151
+ - "./lib/oraclebmc/core/models/image_source_details.rb"
152
+ - "./lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb"
153
+ - "./lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb"
146
154
  - "./lib/oraclebmc/core/models/ingress_security_rule.rb"
147
155
  - "./lib/oraclebmc/core/models/instance.rb"
148
156
  - "./lib/oraclebmc/core/models/instance_credentials.rb"
@@ -153,6 +161,7 @@ files:
153
161
  - "./lib/oraclebmc/core/models/launch_instance_details.rb"
154
162
  - "./lib/oraclebmc/core/models/letter_of_authority.rb"
155
163
  - "./lib/oraclebmc/core/models/port_range.rb"
164
+ - "./lib/oraclebmc/core/models/private_ip.rb"
156
165
  - "./lib/oraclebmc/core/models/route_rule.rb"
157
166
  - "./lib/oraclebmc/core/models/route_table.rb"
158
167
  - "./lib/oraclebmc/core/models/security_list.rb"
@@ -172,11 +181,13 @@ files:
172
181
  - "./lib/oraclebmc/core/models/update_instance_details.rb"
173
182
  - "./lib/oraclebmc/core/models/update_internet_gateway_details.rb"
174
183
  - "./lib/oraclebmc/core/models/update_ip_sec_connection_details.rb"
184
+ - "./lib/oraclebmc/core/models/update_private_ip_details.rb"
175
185
  - "./lib/oraclebmc/core/models/update_route_table_details.rb"
176
186
  - "./lib/oraclebmc/core/models/update_security_list_details.rb"
177
187
  - "./lib/oraclebmc/core/models/update_subnet_details.rb"
178
188
  - "./lib/oraclebmc/core/models/update_vcn_details.rb"
179
189
  - "./lib/oraclebmc/core/models/update_virtual_circuit_details.rb"
190
+ - "./lib/oraclebmc/core/models/update_vnic_details.rb"
180
191
  - "./lib/oraclebmc/core/models/update_volume_backup_details.rb"
181
192
  - "./lib/oraclebmc/core/models/update_volume_details.rb"
182
193
  - "./lib/oraclebmc/core/models/vcn.rb"