oraclebmc 1.2.0 → 1.2.1
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.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/oraclebmc/core/models/console_history.rb +5 -3
- data/lib/oraclebmc/core/models/dhcp_dns_option.rb +5 -3
- data/lib/oraclebmc/core/models/dhcp_options.rb +5 -3
- data/lib/oraclebmc/core/models/drg.rb +5 -3
- data/lib/oraclebmc/core/models/drg_attachment.rb +5 -3
- data/lib/oraclebmc/core/models/image.rb +5 -3
- data/lib/oraclebmc/core/models/instance.rb +5 -3
- data/lib/oraclebmc/core/models/internet_gateway.rb +5 -3
- data/lib/oraclebmc/core/models/ip_sec_connection.rb +5 -3
- data/lib/oraclebmc/core/models/route_table.rb +5 -3
- data/lib/oraclebmc/core/models/security_list.rb +5 -3
- data/lib/oraclebmc/core/models/subnet.rb +5 -3
- data/lib/oraclebmc/core/models/tunnel_status.rb +5 -3
- data/lib/oraclebmc/core/models/vcn.rb +5 -3
- data/lib/oraclebmc/core/models/vnic.rb +5 -3
- data/lib/oraclebmc/core/models/vnic_attachment.rb +5 -3
- data/lib/oraclebmc/core/models/volume.rb +5 -3
- data/lib/oraclebmc/core/models/volume_attachment.rb +5 -3
- data/lib/oraclebmc/core/models/volume_backup.rb +5 -3
- data/lib/oraclebmc/identity/models/api_key.rb +5 -3
- data/lib/oraclebmc/identity/models/compartment.rb +5 -3
- data/lib/oraclebmc/identity/models/group.rb +5 -3
- data/lib/oraclebmc/identity/models/policy.rb +5 -3
- data/lib/oraclebmc/identity/models/swift_password.rb +5 -3
- data/lib/oraclebmc/identity/models/ui_password.rb +5 -3
- data/lib/oraclebmc/identity/models/user.rb +5 -3
- data/lib/oraclebmc/identity/models/user_group_membership.rb +5 -3
- data/lib/oraclebmc/load_balancer/load_balancer_client.rb +70 -0
- data/lib/oraclebmc/load_balancer/models/backend.rb +62 -62
- data/lib/oraclebmc/load_balancer/models/backend_details.rb +49 -49
- data/lib/oraclebmc/load_balancer/models/backend_set.rb +21 -21
- data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +14 -14
- data/lib/oraclebmc/load_balancer/models/certificate.rb +26 -26
- data/lib/oraclebmc/load_balancer/models/certificate_details.rb +40 -40
- data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +49 -49
- data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +21 -21
- data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +40 -40
- data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +18 -18
- data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +32 -32
- data/lib/oraclebmc/load_balancer/models/health_checker.rb +54 -54
- data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +54 -54
- data/lib/oraclebmc/load_balancer/models/listener.rb +12 -12
- data/lib/oraclebmc/load_balancer/models/load_balancer.rb +61 -59
- data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +18 -18
- data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +18 -18
- data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +22 -22
- data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +14 -14
- data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +53 -53
- data/lib/oraclebmc/load_balancer/models/work_request.rb +35 -33
- data/lib/oraclebmc/load_balancer/models/work_request_error.rb +5 -3
- data/lib/oraclebmc/version.rb +1 -1
- metadata +8 -8
@@ -4,6 +4,10 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OracleBMC
|
6
6
|
class LoadBalancer::Models::Listener
|
7
|
+
# The name of the associated backend set.
|
8
|
+
# @return [String]
|
9
|
+
attr_accessor :default_backend_set_name
|
10
|
+
|
7
11
|
# A friendly name for the listener. It must be unique and it cannot be changed.
|
8
12
|
#
|
9
13
|
# Example: `My listener`
|
@@ -11,10 +15,6 @@ module OracleBMC
|
|
11
15
|
# @return [String]
|
12
16
|
attr_accessor :name
|
13
17
|
|
14
|
-
# The name of the associated backend set.
|
15
|
-
# @return [String]
|
16
|
-
attr_accessor :default_backend_set_name
|
17
|
-
|
18
18
|
# The communication port for the listener.
|
19
19
|
#
|
20
20
|
# Example: `80`
|
@@ -44,14 +44,14 @@ module OracleBMC
|
|
44
44
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
45
45
|
|
46
46
|
|
47
|
-
if attributes[:'name']
|
48
|
-
self.name = attributes[:'name']
|
49
|
-
end
|
50
|
-
|
51
47
|
if attributes[:'defaultBackendSetName']
|
52
48
|
self.default_backend_set_name = attributes[:'defaultBackendSetName']
|
53
49
|
end
|
54
50
|
|
51
|
+
if attributes[:'name']
|
52
|
+
self.name = attributes[:'name']
|
53
|
+
end
|
54
|
+
|
55
55
|
if attributes[:'port']
|
56
56
|
self.port = attributes[:'port']
|
57
57
|
end
|
@@ -71,8 +71,8 @@ module OracleBMC
|
|
71
71
|
def ==(other_object)
|
72
72
|
return true if self.equal?(other_object)
|
73
73
|
self.class == other_object.class &&
|
74
|
-
name == other_object.name &&
|
75
74
|
default_backend_set_name == other_object.default_backend_set_name &&
|
75
|
+
name == other_object.name &&
|
76
76
|
port == other_object.port &&
|
77
77
|
protocol == other_object.protocol &&
|
78
78
|
ssl_configuration == other_object.ssl_configuration
|
@@ -87,7 +87,7 @@ module OracleBMC
|
|
87
87
|
# Calculates hash code according to all attributes.
|
88
88
|
# @return [Fixnum] Hash code
|
89
89
|
def hash
|
90
|
-
[
|
90
|
+
[default_backend_set_name, name, port, protocol, ssl_configuration].hash
|
91
91
|
end
|
92
92
|
|
93
93
|
# Builds the object from hash
|
@@ -153,8 +153,8 @@ module OracleBMC
|
|
153
153
|
# Attribute mapping from ruby-style variable name to JSON key.
|
154
154
|
def self.attribute_map
|
155
155
|
{
|
156
|
-
:'name' => :'name',
|
157
156
|
:'default_backend_set_name' => :'defaultBackendSetName',
|
157
|
+
:'name' => :'name',
|
158
158
|
:'port' => :'port',
|
159
159
|
:'protocol' => :'protocol',
|
160
160
|
:'ssl_configuration' => :'sslConfiguration'
|
@@ -164,8 +164,8 @@ module OracleBMC
|
|
164
164
|
# Attribute type mapping.
|
165
165
|
def self.swagger_types
|
166
166
|
{
|
167
|
-
:'name' => :'String',
|
168
167
|
:'default_backend_set_name' => :'String',
|
168
|
+
:'name' => :'String',
|
169
169
|
:'port' => :'Integer',
|
170
170
|
:'protocol' => :'String',
|
171
171
|
:'ssl_configuration' => :'OracleBMC::LoadBalancer::Models::SSLConfiguration'
|
@@ -9,11 +9,14 @@ module OracleBMC
|
|
9
9
|
LIFECYCLE_STATE_FAILED = 'FAILED',
|
10
10
|
LIFECYCLE_STATE_ACTIVE = 'ACTIVE',
|
11
11
|
LIFECYCLE_STATE_DELETING = 'DELETING',
|
12
|
-
LIFECYCLE_STATE_DELETED = 'DELETED'
|
12
|
+
LIFECYCLE_STATE_DELETED = 'DELETED',
|
13
|
+
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
13
14
|
|
14
|
-
#
|
15
|
-
|
16
|
-
|
15
|
+
# @return [Hash<String, OracleBMC::LoadBalancer::Models::BackendSet>]
|
16
|
+
attr_accessor :backend_sets
|
17
|
+
|
18
|
+
# @return [Hash<String, OracleBMC::LoadBalancer::Models::Certificate>]
|
19
|
+
attr_accessor :certificates
|
17
20
|
|
18
21
|
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer.
|
19
22
|
# @return [String]
|
@@ -26,21 +29,21 @@ module OracleBMC
|
|
26
29
|
# @return [String]
|
27
30
|
attr_accessor :display_name
|
28
31
|
|
32
|
+
# The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer.
|
29
33
|
# @return [String]
|
30
|
-
attr_accessor :
|
31
|
-
|
32
|
-
# The date and time the load balancer was created, in the format defined by RFC3339.
|
33
|
-
#
|
34
|
-
# Example: `2016-08-25T21:10:29.600Z`
|
35
|
-
#
|
36
|
-
# @return [DateTime]
|
37
|
-
attr_accessor :time_created
|
34
|
+
attr_accessor :id
|
38
35
|
|
39
36
|
# An array of IP addresses.
|
40
37
|
#
|
41
38
|
# @return [Array<OracleBMC::LoadBalancer::Models::IpAddress>]
|
42
39
|
attr_accessor :ip_addresses
|
43
40
|
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :lifecycle_state
|
43
|
+
|
44
|
+
# @return [Hash<String, OracleBMC::LoadBalancer::Models::Listener>]
|
45
|
+
attr_accessor :listeners
|
46
|
+
|
44
47
|
# A template that determines the total pre-provisioned bandwidth (ingress plus egress).
|
45
48
|
# To get a list of available shapes, use the {#list_shapes list_shapes}
|
46
49
|
# operation.
|
@@ -54,14 +57,12 @@ module OracleBMC
|
|
54
57
|
# @return [Array<String>]
|
55
58
|
attr_accessor :subnet_ids
|
56
59
|
|
57
|
-
#
|
58
|
-
|
59
|
-
|
60
|
-
#
|
61
|
-
|
62
|
-
|
63
|
-
# @return [Hash<String, OracleBMC::LoadBalancer::Models::BackendSet>]
|
64
|
-
attr_accessor :backend_sets
|
60
|
+
# The date and time the load balancer was created, in the format defined by RFC3339.
|
61
|
+
#
|
62
|
+
# Example: `2016-08-25T21:10:29.600Z`
|
63
|
+
#
|
64
|
+
# @return [DateTime]
|
65
|
+
attr_accessor :time_created
|
65
66
|
|
66
67
|
|
67
68
|
# Initializes the object
|
@@ -73,8 +74,12 @@ module OracleBMC
|
|
73
74
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
74
75
|
|
75
76
|
|
76
|
-
if attributes[:'
|
77
|
-
self.
|
77
|
+
if attributes[:'backendSets']
|
78
|
+
self.backend_sets = attributes[:'backendSets']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes[:'certificates']
|
82
|
+
self.certificates = attributes[:'certificates']
|
78
83
|
end
|
79
84
|
|
80
85
|
if attributes[:'compartmentId']
|
@@ -85,36 +90,32 @@ module OracleBMC
|
|
85
90
|
self.display_name = attributes[:'displayName']
|
86
91
|
end
|
87
92
|
|
88
|
-
if attributes[:'
|
89
|
-
self.
|
90
|
-
end
|
91
|
-
|
92
|
-
if attributes[:'timeCreated']
|
93
|
-
self.time_created = attributes[:'timeCreated']
|
93
|
+
if attributes[:'id']
|
94
|
+
self.id = attributes[:'id']
|
94
95
|
end
|
95
96
|
|
96
97
|
if attributes[:'ipAddresses']
|
97
98
|
self.ip_addresses = attributes[:'ipAddresses']
|
98
99
|
end
|
99
100
|
|
100
|
-
if attributes[:'
|
101
|
-
self.
|
102
|
-
end
|
103
|
-
|
104
|
-
if attributes[:'subnetIds']
|
105
|
-
self.subnet_ids = attributes[:'subnetIds']
|
101
|
+
if attributes[:'lifecycleState']
|
102
|
+
self.lifecycle_state = attributes[:'lifecycleState']
|
106
103
|
end
|
107
104
|
|
108
105
|
if attributes[:'listeners']
|
109
106
|
self.listeners = attributes[:'listeners']
|
110
107
|
end
|
111
108
|
|
112
|
-
if attributes[:'
|
113
|
-
self.
|
109
|
+
if attributes[:'shapeName']
|
110
|
+
self.shape_name = attributes[:'shapeName']
|
114
111
|
end
|
115
112
|
|
116
|
-
if attributes[:'
|
117
|
-
self.
|
113
|
+
if attributes[:'subnetIds']
|
114
|
+
self.subnet_ids = attributes[:'subnetIds']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes[:'timeCreated']
|
118
|
+
self.time_created = attributes[:'timeCreated']
|
118
119
|
end
|
119
120
|
|
120
121
|
end
|
@@ -123,9 +124,10 @@ module OracleBMC
|
|
123
124
|
# @param [Object] lifecycle_state Object to be assigned
|
124
125
|
def lifecycle_state=(lifecycle_state)
|
125
126
|
if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
|
126
|
-
|
127
|
+
@lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
|
128
|
+
else
|
129
|
+
@lifecycle_state = lifecycle_state
|
127
130
|
end
|
128
|
-
@lifecycle_state = lifecycle_state
|
129
131
|
end
|
130
132
|
|
131
133
|
# Checks equality by comparing each attribute.
|
@@ -133,17 +135,17 @@ module OracleBMC
|
|
133
135
|
def ==(other_object)
|
134
136
|
return true if self.equal?(other_object)
|
135
137
|
self.class == other_object.class &&
|
136
|
-
|
138
|
+
backend_sets == other_object.backend_sets &&
|
139
|
+
certificates == other_object.certificates &&
|
137
140
|
compartment_id == other_object.compartment_id &&
|
138
141
|
display_name == other_object.display_name &&
|
139
|
-
|
140
|
-
time_created == other_object.time_created &&
|
142
|
+
id == other_object.id &&
|
141
143
|
ip_addresses == other_object.ip_addresses &&
|
144
|
+
lifecycle_state == other_object.lifecycle_state &&
|
145
|
+
listeners == other_object.listeners &&
|
142
146
|
shape_name == other_object.shape_name &&
|
143
147
|
subnet_ids == other_object.subnet_ids &&
|
144
|
-
|
145
|
-
certificates == other_object.certificates &&
|
146
|
-
backend_sets == other_object.backend_sets
|
148
|
+
time_created == other_object.time_created
|
147
149
|
end
|
148
150
|
|
149
151
|
# @see the `==` method
|
@@ -155,7 +157,7 @@ module OracleBMC
|
|
155
157
|
# Calculates hash code according to all attributes.
|
156
158
|
# @return [Fixnum] Hash code
|
157
159
|
def hash
|
158
|
-
[
|
160
|
+
[backend_sets, certificates, compartment_id, display_name, id, ip_addresses, lifecycle_state, listeners, shape_name, subnet_ids, time_created].hash
|
159
161
|
end
|
160
162
|
|
161
163
|
# Builds the object from hash
|
@@ -221,34 +223,34 @@ module OracleBMC
|
|
221
223
|
# Attribute mapping from ruby-style variable name to JSON key.
|
222
224
|
def self.attribute_map
|
223
225
|
{
|
224
|
-
:'
|
226
|
+
:'backend_sets' => :'backendSets',
|
227
|
+
:'certificates' => :'certificates',
|
225
228
|
:'compartment_id' => :'compartmentId',
|
226
229
|
:'display_name' => :'displayName',
|
227
|
-
:'
|
228
|
-
:'time_created' => :'timeCreated',
|
230
|
+
:'id' => :'id',
|
229
231
|
:'ip_addresses' => :'ipAddresses',
|
232
|
+
:'lifecycle_state' => :'lifecycleState',
|
233
|
+
:'listeners' => :'listeners',
|
230
234
|
:'shape_name' => :'shapeName',
|
231
235
|
:'subnet_ids' => :'subnetIds',
|
232
|
-
:'
|
233
|
-
:'certificates' => :'certificates',
|
234
|
-
:'backend_sets' => :'backendSets'
|
236
|
+
:'time_created' => :'timeCreated'
|
235
237
|
}
|
236
238
|
end
|
237
239
|
|
238
240
|
# Attribute type mapping.
|
239
241
|
def self.swagger_types
|
240
242
|
{
|
241
|
-
:'
|
243
|
+
:'backend_sets' => :'Hash<String, OracleBMC::LoadBalancer::Models::BackendSet>',
|
244
|
+
:'certificates' => :'Hash<String, OracleBMC::LoadBalancer::Models::Certificate>',
|
242
245
|
:'compartment_id' => :'String',
|
243
246
|
:'display_name' => :'String',
|
244
|
-
:'
|
245
|
-
:'time_created' => :'DateTime',
|
247
|
+
:'id' => :'String',
|
246
248
|
:'ip_addresses' => :'Array<OracleBMC::LoadBalancer::Models::IpAddress>',
|
249
|
+
:'lifecycle_state' => :'String',
|
250
|
+
:'listeners' => :'Hash<String, OracleBMC::LoadBalancer::Models::Listener>',
|
247
251
|
:'shape_name' => :'String',
|
248
252
|
:'subnet_ids' => :'Array<String>',
|
249
|
-
:'
|
250
|
-
:'certificates' => :'Hash<String, OracleBMC::LoadBalancer::Models::Certificate>',
|
251
|
-
:'backend_sets' => :'Hash<String, OracleBMC::LoadBalancer::Models::BackendSet>'
|
253
|
+
:'time_created' => :'DateTime'
|
252
254
|
}
|
253
255
|
end
|
254
256
|
end
|
@@ -11,13 +11,6 @@ module OracleBMC
|
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :certificate_name
|
13
13
|
|
14
|
-
# Whether the load balancer listener should verify peer certificates.
|
15
|
-
#
|
16
|
-
# Example: `true`
|
17
|
-
#
|
18
|
-
# @return [BOOLEAN]
|
19
|
-
attr_accessor :verify_peer_certificate
|
20
|
-
|
21
14
|
# The maximum depth for peer certificate chain verification.
|
22
15
|
#
|
23
16
|
# Example: `3`
|
@@ -25,6 +18,13 @@ module OracleBMC
|
|
25
18
|
# @return [Integer]
|
26
19
|
attr_accessor :verify_depth
|
27
20
|
|
21
|
+
# Whether the load balancer listener should verify peer certificates.
|
22
|
+
#
|
23
|
+
# Example: `true`
|
24
|
+
#
|
25
|
+
# @return [BOOLEAN]
|
26
|
+
attr_accessor :verify_peer_certificate
|
27
|
+
|
28
28
|
|
29
29
|
# Initializes the object
|
30
30
|
# @param [Hash] attributes Model attributes in the form of hash
|
@@ -39,16 +39,16 @@ module OracleBMC
|
|
39
39
|
self.certificate_name = attributes[:'certificateName']
|
40
40
|
end
|
41
41
|
|
42
|
+
if attributes[:'verifyDepth']
|
43
|
+
self.verify_depth = attributes[:'verifyDepth']
|
44
|
+
end
|
45
|
+
|
42
46
|
if attributes[:'verifyPeerCertificate']
|
43
47
|
self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
|
44
48
|
else
|
45
49
|
self.verify_peer_certificate = false
|
46
50
|
end
|
47
51
|
|
48
|
-
if attributes[:'verifyDepth']
|
49
|
-
self.verify_depth = attributes[:'verifyDepth']
|
50
|
-
end
|
51
|
-
|
52
52
|
end
|
53
53
|
|
54
54
|
# Checks equality by comparing each attribute.
|
@@ -57,8 +57,8 @@ module OracleBMC
|
|
57
57
|
return true if self.equal?(other_object)
|
58
58
|
self.class == other_object.class &&
|
59
59
|
certificate_name == other_object.certificate_name &&
|
60
|
-
|
61
|
-
|
60
|
+
verify_depth == other_object.verify_depth &&
|
61
|
+
verify_peer_certificate == other_object.verify_peer_certificate
|
62
62
|
end
|
63
63
|
|
64
64
|
# @see the `==` method
|
@@ -70,7 +70,7 @@ module OracleBMC
|
|
70
70
|
# Calculates hash code according to all attributes.
|
71
71
|
# @return [Fixnum] Hash code
|
72
72
|
def hash
|
73
|
-
[certificate_name,
|
73
|
+
[certificate_name, verify_depth, verify_peer_certificate].hash
|
74
74
|
end
|
75
75
|
|
76
76
|
# Builds the object from hash
|
@@ -137,8 +137,8 @@ module OracleBMC
|
|
137
137
|
def self.attribute_map
|
138
138
|
{
|
139
139
|
:'certificate_name' => :'certificateName',
|
140
|
-
:'
|
141
|
-
:'
|
140
|
+
:'verify_depth' => :'verifyDepth',
|
141
|
+
:'verify_peer_certificate' => :'verifyPeerCertificate'
|
142
142
|
}
|
143
143
|
end
|
144
144
|
|
@@ -146,8 +146,8 @@ module OracleBMC
|
|
146
146
|
def self.swagger_types
|
147
147
|
{
|
148
148
|
:'certificate_name' => :'String',
|
149
|
-
:'
|
150
|
-
:'
|
149
|
+
:'verify_depth' => :'Integer',
|
150
|
+
:'verify_peer_certificate' => :'BOOLEAN'
|
151
151
|
}
|
152
152
|
end
|
153
153
|
end
|
@@ -11,13 +11,6 @@ module OracleBMC
|
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :certificate_name
|
13
13
|
|
14
|
-
# Whether the load balancer listener should verify peer certificates.
|
15
|
-
#
|
16
|
-
# Example: `true`
|
17
|
-
#
|
18
|
-
# @return [BOOLEAN]
|
19
|
-
attr_accessor :verify_peer_certificate
|
20
|
-
|
21
14
|
# The maximum depth for peer certificate chain verification.
|
22
15
|
#
|
23
16
|
# Example: `3`
|
@@ -25,6 +18,13 @@ module OracleBMC
|
|
25
18
|
# @return [Integer]
|
26
19
|
attr_accessor :verify_depth
|
27
20
|
|
21
|
+
# Whether the load balancer listener should verify peer certificates.
|
22
|
+
#
|
23
|
+
# Example: `true`
|
24
|
+
#
|
25
|
+
# @return [BOOLEAN]
|
26
|
+
attr_accessor :verify_peer_certificate
|
27
|
+
|
28
28
|
|
29
29
|
# Initializes the object
|
30
30
|
# @param [Hash] attributes Model attributes in the form of hash
|
@@ -39,16 +39,16 @@ module OracleBMC
|
|
39
39
|
self.certificate_name = attributes[:'certificateName']
|
40
40
|
end
|
41
41
|
|
42
|
+
if attributes[:'verifyDepth']
|
43
|
+
self.verify_depth = attributes[:'verifyDepth']
|
44
|
+
end
|
45
|
+
|
42
46
|
if attributes[:'verifyPeerCertificate']
|
43
47
|
self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
|
44
48
|
else
|
45
49
|
self.verify_peer_certificate = false
|
46
50
|
end
|
47
51
|
|
48
|
-
if attributes[:'verifyDepth']
|
49
|
-
self.verify_depth = attributes[:'verifyDepth']
|
50
|
-
end
|
51
|
-
|
52
52
|
end
|
53
53
|
|
54
54
|
# Checks equality by comparing each attribute.
|
@@ -57,8 +57,8 @@ module OracleBMC
|
|
57
57
|
return true if self.equal?(other_object)
|
58
58
|
self.class == other_object.class &&
|
59
59
|
certificate_name == other_object.certificate_name &&
|
60
|
-
|
61
|
-
|
60
|
+
verify_depth == other_object.verify_depth &&
|
61
|
+
verify_peer_certificate == other_object.verify_peer_certificate
|
62
62
|
end
|
63
63
|
|
64
64
|
# @see the `==` method
|
@@ -70,7 +70,7 @@ module OracleBMC
|
|
70
70
|
# Calculates hash code according to all attributes.
|
71
71
|
# @return [Fixnum] Hash code
|
72
72
|
def hash
|
73
|
-
[certificate_name,
|
73
|
+
[certificate_name, verify_depth, verify_peer_certificate].hash
|
74
74
|
end
|
75
75
|
|
76
76
|
# Builds the object from hash
|
@@ -137,8 +137,8 @@ module OracleBMC
|
|
137
137
|
def self.attribute_map
|
138
138
|
{
|
139
139
|
:'certificate_name' => :'certificateName',
|
140
|
-
:'
|
141
|
-
:'
|
140
|
+
:'verify_depth' => :'verifyDepth',
|
141
|
+
:'verify_peer_certificate' => :'verifyPeerCertificate'
|
142
142
|
}
|
143
143
|
end
|
144
144
|
|
@@ -146,8 +146,8 @@ module OracleBMC
|
|
146
146
|
def self.swagger_types
|
147
147
|
{
|
148
148
|
:'certificate_name' => :'String',
|
149
|
-
:'
|
150
|
-
:'
|
149
|
+
:'verify_depth' => :'Integer',
|
150
|
+
:'verify_peer_certificate' => :'BOOLEAN'
|
151
151
|
}
|
152
152
|
end
|
153
153
|
end
|