oci 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -1
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/audit/audit_client.rb +65 -30
  5. data/lib/oci/audit/models/audit_event.rb +17 -1
  6. data/lib/oci/core/blockstorage_client.rb +336 -197
  7. data/lib/oci/core/compute_client.rb +601 -357
  8. data/lib/oci/core/models/attach_volume_details.rb +4 -0
  9. data/lib/oci/core/models/boot_volume.rb +1 -1
  10. data/lib/oci/core/models/dhcp_option.rb +4 -0
  11. data/lib/oci/core/models/export_image_details.rb +4 -0
  12. data/lib/oci/core/models/image_source_details.rb +4 -0
  13. data/lib/oci/core/models/instance_source_details.rb +4 -0
  14. data/lib/oci/core/models/volume_attachment.rb +4 -0
  15. data/lib/oci/core/models/volume_source_details.rb +4 -0
  16. data/lib/oci/core/util.rb +29 -0
  17. data/lib/oci/core/virtual_network_client.rb +1695 -1031
  18. data/lib/oci/database/database_client.rb +612 -368
  19. data/lib/oci/database/models/create_data_guard_association_details.rb +4 -0
  20. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -0
  21. data/lib/oci/dns/dns_client.rb +271 -158
  22. data/lib/oci/email/email_client.rb +144 -79
  23. data/lib/oci/file_storage/file_storage_client.rb +354 -207
  24. data/lib/oci/identity/identity_client.rb +1111 -670
  25. data/lib/oci/identity/models/create_identity_provider_details.rb +4 -0
  26. data/lib/oci/identity/models/identity_provider.rb +4 -0
  27. data/lib/oci/identity/models/update_identity_provider_details.rb +4 -0
  28. data/lib/oci/load_balancer/load_balancer.rb +4 -0
  29. data/lib/oci/load_balancer/load_balancer_client.rb +943 -383
  30. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +149 -17
  31. data/lib/oci/load_balancer/models/backend.rb +5 -5
  32. data/lib/oci/load_balancer/models/backend_details.rb +4 -4
  33. data/lib/oci/load_balancer/models/backend_set.rb +1 -1
  34. data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
  35. data/lib/oci/load_balancer/models/certificate.rb +2 -2
  36. data/lib/oci/load_balancer/models/certificate_details.rb +2 -4
  37. data/lib/oci/load_balancer/models/connection_configuration.rb +1 -28
  38. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
  39. data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
  40. data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -7
  41. data/lib/oci/load_balancer/models/create_hostname_details.rb +164 -0
  42. data/lib/oci/load_balancer/models/create_listener_details.rb +19 -5
  43. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +12 -3
  44. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
  45. data/lib/oci/load_balancer/models/health_check_result.rb +2 -2
  46. data/lib/oci/load_balancer/models/health_checker.rb +3 -3
  47. data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
  48. data/lib/oci/load_balancer/models/hostname.rb +164 -0
  49. data/lib/oci/load_balancer/models/hostname_details.rb +163 -0
  50. data/lib/oci/load_balancer/models/ip_address.rb +1 -1
  51. data/lib/oci/load_balancer/models/listener.rb +19 -5
  52. data/lib/oci/load_balancer/models/listener_details.rb +17 -3
  53. data/lib/oci/load_balancer/models/load_balancer.rb +13 -2
  54. data/lib/oci/load_balancer/models/load_balancer_health.rb +3 -3
  55. data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -1
  56. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
  57. data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -0
  58. data/lib/oci/load_balancer/models/path_route.rb +1 -1
  59. data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
  60. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -2
  61. data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
  62. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
  63. data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
  64. data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
  65. data/lib/oci/load_balancer/models/update_hostname_details.rb +153 -0
  66. data/lib/oci/load_balancer/models/update_listener_details.rb +17 -3
  67. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
  68. data/lib/oci/load_balancer/models/work_request.rb +2 -0
  69. data/lib/oci/object_storage/object_storage_client.rb +443 -270
  70. data/lib/oci/retry/functions/should_retry_on_error.rb +28 -0
  71. data/lib/oci/retry/functions/sleep.rb +85 -0
  72. data/lib/oci/retry/internal/retry_state.rb +48 -0
  73. data/lib/oci/retry/retry.rb +85 -0
  74. data/lib/oci/retry/retry_config.rb +121 -0
  75. data/lib/oci/version.rb +1 -1
  76. metadata +39 -4
@@ -8,7 +8,7 @@ module OCI
8
8
  class LoadBalancer::Models::HealthCheckerDetails # rubocop:disable Metrics/LineLength
9
9
  # The interval between health checks, in milliseconds.
10
10
  #
11
- # Example: `30000`
11
+ # Example: `10000`
12
12
  #
13
13
  # @return [Integer]
14
14
  attr_accessor :interval_in_millis
@@ -30,7 +30,7 @@ module OCI
30
30
 
31
31
  # A regular expression for parsing the response body from the backend server.
32
32
  #
33
- # Example: `^(500|40[1348])$`
33
+ # Example: `^((?!false).|\\s)*$`
34
34
  #
35
35
  # @return [String]
36
36
  attr_accessor :response_body_regex
@@ -52,7 +52,7 @@ module OCI
52
52
  # The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
53
53
  # returns within this timeout period.
54
54
  #
55
- # Example: `6000`
55
+ # Example: `3000`
56
56
  #
57
57
  # @return [Integer]
58
58
  attr_accessor :timeout_in_millis
@@ -0,0 +1,164 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ # rubocop:disable Lint/UnneededCopDisableDirective
6
+ module OCI
7
+ # A hostname resource associated with a load balancer for use by one or more listeners.
8
+ class LoadBalancer::Models::Hostname # rubocop:disable Metrics/LineLength
9
+ # **[Required]** A virtual hostname. For more information about virtual hostname string construction, see
10
+ # [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing).
11
+ #
12
+ # Example: `app.example.com`
13
+ #
14
+ # @return [String]
15
+ attr_accessor :hostname
16
+
17
+ # **[Required]** A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential
18
+ # information.
19
+ #
20
+ # Example: `example_hostname_001`
21
+ #
22
+ # @return [String]
23
+ attr_accessor :name
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ # rubocop:disable Style/SymbolLiteral
29
+ 'hostname': :'hostname',
30
+ 'name': :'name'
31
+ # rubocop:enable Style/SymbolLiteral
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ # rubocop:disable Style/SymbolLiteral
39
+ 'hostname': :'String',
40
+ 'name': :'String'
41
+ # rubocop:enable Style/SymbolLiteral
42
+ }
43
+ end
44
+
45
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
46
+ # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
47
+
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ # @option attributes [String] :hostname The value to assign to the {#hostname} property
52
+ # @option attributes [String] :name The value to assign to the {#name} property
53
+ def initialize(attributes = {})
54
+ return unless attributes.is_a?(Hash)
55
+
56
+ # convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
58
+
59
+ self.hostname = attributes[:'hostname'] if attributes[:'hostname']
60
+
61
+ self.name = attributes[:'name'] if attributes[:'name']
62
+ end
63
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
64
+ # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
65
+
66
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
67
+
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] other the other object to be compared
71
+ def ==(other)
72
+ return true if equal?(other)
73
+ self.class == other.class &&
74
+ hostname == other.hostname &&
75
+ name == other.name
76
+ end
77
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
78
+
79
+ # @see the `==` method
80
+ # @param [Object] other the other object to be compared
81
+ def eql?(other)
82
+ self == other
83
+ end
84
+
85
+ # rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
86
+
87
+
88
+ # Calculates hash code according to all attributes.
89
+ # @return [Fixnum] Hash code
90
+ def hash
91
+ [hostname, name].hash
92
+ end
93
+ # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
94
+
95
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
96
+
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def build_from_hash(attributes)
102
+ return nil unless attributes.is_a?(Hash)
103
+ self.class.swagger_types.each_pair do |key, type|
104
+ if type =~ /^Array<(.*)>/i
105
+ # check to ensure the input is an array given that the the attribute
106
+ # is documented as an array but the input is not
107
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
108
+ public_method("#{key}=").call(
109
+ attributes[self.class.attribute_map[key]]
110
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
111
+ )
112
+ end
113
+ elsif !attributes[self.class.attribute_map[key]].nil?
114
+ public_method("#{key}=").call(
115
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
116
+ )
117
+ end
118
+ # or else data not found in attributes(hash), not an issue as the data can be optional
119
+ end
120
+
121
+ self
122
+ end
123
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
124
+
125
+ # Returns the string representation of the object
126
+ # @return [String] String presentation of the object
127
+ def to_s
128
+ to_hash.to_s
129
+ end
130
+
131
+ # Returns the object in the form of hash
132
+ # @return [Hash] Returns the object in the form of hash
133
+ def to_hash
134
+ hash = {}
135
+ self.class.attribute_map.each_pair do |attr, param|
136
+ value = public_method(attr).call
137
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
138
+ hash[param] = _to_hash(value)
139
+ end
140
+ hash
141
+ end
142
+
143
+ private
144
+
145
+ # Outputs non-array value in the form of hash
146
+ # For object, use to_hash. Otherwise, just return the value
147
+ # @param [Object] value Any valid value
148
+ # @return [Hash] Returns the value in the form of hash
149
+ def _to_hash(value)
150
+ if value.is_a?(Array)
151
+ value.compact.map { |v| _to_hash(v) }
152
+ elsif value.is_a?(Hash)
153
+ {}.tap do |hash|
154
+ value.each { |k, v| hash[k] = _to_hash(v) }
155
+ end
156
+ elsif value.respond_to? :to_hash
157
+ value.to_hash
158
+ else
159
+ value
160
+ end
161
+ end
162
+ end
163
+ end
164
+ # rubocop:enable Lint/UnneededCopDisableDirective
@@ -0,0 +1,163 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ # rubocop:disable Lint/UnneededCopDisableDirective
6
+ module OCI
7
+ # The details of a hostname resource associated with a load balancer.
8
+ class LoadBalancer::Models::HostnameDetails # rubocop:disable Metrics/LineLength
9
+ # **[Required]** A virtual hostname. For more information about virtual hostname string construction, see
10
+ # [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing).
11
+ #
12
+ # Example: `app.example.com`
13
+ #
14
+ # @return [String]
15
+ attr_accessor :hostname
16
+
17
+ # **[Required]** The name of the hostname resource.
18
+ #
19
+ # Example: `example_hostname_001`
20
+ #
21
+ # @return [String]
22
+ attr_accessor :name
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ # rubocop:disable Style/SymbolLiteral
28
+ 'hostname': :'hostname',
29
+ 'name': :'name'
30
+ # rubocop:enable Style/SymbolLiteral
31
+ }
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.swagger_types
36
+ {
37
+ # rubocop:disable Style/SymbolLiteral
38
+ 'hostname': :'String',
39
+ 'name': :'String'
40
+ # rubocop:enable Style/SymbolLiteral
41
+ }
42
+ end
43
+
44
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
45
+ # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
46
+
47
+
48
+ # Initializes the object
49
+ # @param [Hash] attributes Model attributes in the form of hash
50
+ # @option attributes [String] :hostname The value to assign to the {#hostname} property
51
+ # @option attributes [String] :name The value to assign to the {#name} property
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ self.hostname = attributes[:'hostname'] if attributes[:'hostname']
59
+
60
+ self.name = attributes[:'name'] if attributes[:'name']
61
+ end
62
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
63
+ # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
64
+
65
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
66
+
67
+
68
+ # Checks equality by comparing each attribute.
69
+ # @param [Object] other the other object to be compared
70
+ def ==(other)
71
+ return true if equal?(other)
72
+ self.class == other.class &&
73
+ hostname == other.hostname &&
74
+ name == other.name
75
+ end
76
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
77
+
78
+ # @see the `==` method
79
+ # @param [Object] other the other object to be compared
80
+ def eql?(other)
81
+ self == other
82
+ end
83
+
84
+ # rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
85
+
86
+
87
+ # Calculates hash code according to all attributes.
88
+ # @return [Fixnum] Hash code
89
+ def hash
90
+ [hostname, name].hash
91
+ end
92
+ # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
93
+
94
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
95
+
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def build_from_hash(attributes)
101
+ return nil unless attributes.is_a?(Hash)
102
+ self.class.swagger_types.each_pair do |key, type|
103
+ if type =~ /^Array<(.*)>/i
104
+ # check to ensure the input is an array given that the the attribute
105
+ # is documented as an array but the input is not
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ public_method("#{key}=").call(
108
+ attributes[self.class.attribute_map[key]]
109
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
110
+ )
111
+ end
112
+ elsif !attributes[self.class.attribute_map[key]].nil?
113
+ public_method("#{key}=").call(
114
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
115
+ )
116
+ end
117
+ # or else data not found in attributes(hash), not an issue as the data can be optional
118
+ end
119
+
120
+ self
121
+ end
122
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
123
+
124
+ # Returns the string representation of the object
125
+ # @return [String] String presentation of the object
126
+ def to_s
127
+ to_hash.to_s
128
+ end
129
+
130
+ # Returns the object in the form of hash
131
+ # @return [Hash] Returns the object in the form of hash
132
+ def to_hash
133
+ hash = {}
134
+ self.class.attribute_map.each_pair do |attr, param|
135
+ value = public_method(attr).call
136
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
137
+ hash[param] = _to_hash(value)
138
+ end
139
+ hash
140
+ end
141
+
142
+ private
143
+
144
+ # Outputs non-array value in the form of hash
145
+ # For object, use to_hash. Otherwise, just return the value
146
+ # @param [Object] value Any valid value
147
+ # @return [Hash] Returns the value in the form of hash
148
+ def _to_hash(value)
149
+ if value.is_a?(Array)
150
+ value.compact.map { |v| _to_hash(v) }
151
+ elsif value.is_a?(Hash)
152
+ {}.tap do |hash|
153
+ value.each { |k, v| hash[k] = _to_hash(v) }
154
+ end
155
+ elsif value.respond_to? :to_hash
156
+ value.to_hash
157
+ else
158
+ value
159
+ end
160
+ end
161
+ end
162
+ end
163
+ # rubocop:enable Lint/UnneededCopDisableDirective
@@ -8,7 +8,7 @@ module OCI
8
8
  class LoadBalancer::Models::IpAddress # rubocop:disable Metrics/LineLength
9
9
  # **[Required]** An IP address.
10
10
  #
11
- # Example: `128.148.10.20`
11
+ # Example: `192.168.0.3`
12
12
  #
13
13
  # @return [String]
14
14
  attr_accessor :ip_address
@@ -6,7 +6,7 @@ require 'date'
6
6
  module OCI
7
7
  # The listener's configuration.
8
8
  # For more information on backend set configuration, see
9
- # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managinglisteners.htm).
9
+ # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm).
10
10
  #
11
11
  class LoadBalancer::Models::Listener # rubocop:disable Metrics/LineLength
12
12
  # @return [OCI::LoadBalancer::Models::ConnectionConfiguration]
@@ -14,14 +14,18 @@ module OCI
14
14
 
15
15
  # **[Required]** The name of the associated backend set.
16
16
  #
17
- # Example: `My_backend_set`
17
+ # Example: `example_backend_set`
18
18
  #
19
19
  # @return [String]
20
20
  attr_accessor :default_backend_set_name
21
21
 
22
+ # An array of hostname resource names.
23
+ # @return [Array<String>]
24
+ attr_accessor :hostname_names
25
+
22
26
  # **[Required]** A friendly name for the listener. It must be unique and it cannot be changed.
23
27
  #
24
- # Example: `My listener`
28
+ # Example: `example_listener`
25
29
  #
26
30
  # @return [String]
27
31
  attr_accessor :name
@@ -29,7 +33,7 @@ module OCI
29
33
  # The name of the set of path-based routing rules, {PathRouteSet},
30
34
  # applied to this listener's traffic.
31
35
  #
32
- # Example: `path-route-set-001`
36
+ # Example: `example_path_route_set`
33
37
  #
34
38
  # @return [String]
35
39
  attr_accessor :path_route_set_name
@@ -59,6 +63,7 @@ module OCI
59
63
  # rubocop:disable Style/SymbolLiteral
60
64
  'connection_configuration': :'connectionConfiguration',
61
65
  'default_backend_set_name': :'defaultBackendSetName',
66
+ 'hostname_names': :'hostnameNames',
62
67
  'name': :'name',
63
68
  'path_route_set_name': :'pathRouteSetName',
64
69
  'port': :'port',
@@ -74,6 +79,7 @@ module OCI
74
79
  # rubocop:disable Style/SymbolLiteral
75
80
  'connection_configuration': :'OCI::LoadBalancer::Models::ConnectionConfiguration',
76
81
  'default_backend_set_name': :'String',
82
+ 'hostname_names': :'Array<String>',
77
83
  'name': :'String',
78
84
  'path_route_set_name': :'String',
79
85
  'port': :'Integer',
@@ -91,6 +97,7 @@ module OCI
91
97
  # @param [Hash] attributes Model attributes in the form of hash
92
98
  # @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connection_configuration The value to assign to the {#connection_configuration} property
93
99
  # @option attributes [String] :default_backend_set_name The value to assign to the {#default_backend_set_name} property
100
+ # @option attributes [Array<String>] :hostname_names The value to assign to the {#hostname_names} property
94
101
  # @option attributes [String] :name The value to assign to the {#name} property
95
102
  # @option attributes [String] :path_route_set_name The value to assign to the {#path_route_set_name} property
96
103
  # @option attributes [Integer] :port The value to assign to the {#port} property
@@ -114,6 +121,12 @@ module OCI
114
121
 
115
122
  self.default_backend_set_name = attributes[:'default_backend_set_name'] if attributes[:'default_backend_set_name']
116
123
 
124
+ self.hostname_names = attributes[:'hostnameNames'] if attributes[:'hostnameNames']
125
+
126
+ raise 'You cannot provide both :hostnameNames and :hostname_names' if attributes.key?(:'hostnameNames') && attributes.key?(:'hostname_names')
127
+
128
+ self.hostname_names = attributes[:'hostname_names'] if attributes[:'hostname_names']
129
+
117
130
  self.name = attributes[:'name'] if attributes[:'name']
118
131
 
119
132
  self.path_route_set_name = attributes[:'pathRouteSetName'] if attributes[:'pathRouteSetName']
@@ -145,6 +158,7 @@ module OCI
145
158
  self.class == other.class &&
146
159
  connection_configuration == other.connection_configuration &&
147
160
  default_backend_set_name == other.default_backend_set_name &&
161
+ hostname_names == other.hostname_names &&
148
162
  name == other.name &&
149
163
  path_route_set_name == other.path_route_set_name &&
150
164
  port == other.port &&
@@ -165,7 +179,7 @@ module OCI
165
179
  # Calculates hash code according to all attributes.
166
180
  # @return [Fixnum] Hash code
167
181
  def hash
168
- [connection_configuration, default_backend_set_name, name, path_route_set_name, port, protocol, ssl_configuration].hash
182
+ [connection_configuration, default_backend_set_name, hostname_names, name, path_route_set_name, port, protocol, ssl_configuration].hash
169
183
  end
170
184
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
171
185