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,22 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OracleBMC
|
6
6
|
class LoadBalancer::Models::BackendDetails
|
7
|
+
# Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
|
8
|
+
# traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
|
9
|
+
#
|
10
|
+
# Example: `true`
|
11
|
+
#
|
12
|
+
# @return [BOOLEAN]
|
13
|
+
attr_accessor :backup
|
14
|
+
|
15
|
+
# Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
|
16
|
+
# incoming traffic.
|
17
|
+
#
|
18
|
+
# Example: `true`
|
19
|
+
#
|
20
|
+
# @return [BOOLEAN]
|
21
|
+
attr_accessor :drain
|
22
|
+
|
7
23
|
# The IP address of the backend server.
|
8
24
|
#
|
9
25
|
# Example: `10.10.10.4`
|
@@ -11,6 +27,14 @@ module OracleBMC
|
|
11
27
|
# @return [String]
|
12
28
|
attr_accessor :ip_address
|
13
29
|
|
30
|
+
# Whether the load balancer should treat this server as offline. Offline servers receive no incoming
|
31
|
+
# traffic.
|
32
|
+
#
|
33
|
+
# Example: `true`
|
34
|
+
#
|
35
|
+
# @return [BOOLEAN]
|
36
|
+
attr_accessor :offline
|
37
|
+
|
14
38
|
# The communication port for the backend server.
|
15
39
|
#
|
16
40
|
# Example: `8080`
|
@@ -29,30 +53,6 @@ module OracleBMC
|
|
29
53
|
# @return [Integer]
|
30
54
|
attr_accessor :weight
|
31
55
|
|
32
|
-
# Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
|
33
|
-
# traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
|
34
|
-
#
|
35
|
-
# Example: `true`
|
36
|
-
#
|
37
|
-
# @return [BOOLEAN]
|
38
|
-
attr_accessor :backup
|
39
|
-
|
40
|
-
# Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
|
41
|
-
# incoming traffic.
|
42
|
-
#
|
43
|
-
# Example: `true`
|
44
|
-
#
|
45
|
-
# @return [BOOLEAN]
|
46
|
-
attr_accessor :drain
|
47
|
-
|
48
|
-
# Whether the load balancer should treat this server as offline. Offline servers receive no incoming
|
49
|
-
# traffic.
|
50
|
-
#
|
51
|
-
# Example: `true`
|
52
|
-
#
|
53
|
-
# @return [BOOLEAN]
|
54
|
-
attr_accessor :offline
|
55
|
-
|
56
56
|
|
57
57
|
# Initializes the object
|
58
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
@@ -63,18 +63,6 @@ module OracleBMC
|
|
63
63
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
64
64
|
|
65
65
|
|
66
|
-
if attributes[:'ipAddress']
|
67
|
-
self.ip_address = attributes[:'ipAddress']
|
68
|
-
end
|
69
|
-
|
70
|
-
if attributes[:'port']
|
71
|
-
self.port = attributes[:'port']
|
72
|
-
end
|
73
|
-
|
74
|
-
if attributes[:'weight']
|
75
|
-
self.weight = attributes[:'weight']
|
76
|
-
end
|
77
|
-
|
78
66
|
if attributes[:'backup']
|
79
67
|
self.backup = attributes[:'backup']
|
80
68
|
else
|
@@ -87,12 +75,24 @@ module OracleBMC
|
|
87
75
|
self.drain = false
|
88
76
|
end
|
89
77
|
|
78
|
+
if attributes[:'ipAddress']
|
79
|
+
self.ip_address = attributes[:'ipAddress']
|
80
|
+
end
|
81
|
+
|
90
82
|
if attributes[:'offline']
|
91
83
|
self.offline = attributes[:'offline']
|
92
84
|
else
|
93
85
|
self.offline = false
|
94
86
|
end
|
95
87
|
|
88
|
+
if attributes[:'port']
|
89
|
+
self.port = attributes[:'port']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes[:'weight']
|
93
|
+
self.weight = attributes[:'weight']
|
94
|
+
end
|
95
|
+
|
96
96
|
end
|
97
97
|
|
98
98
|
# Checks equality by comparing each attribute.
|
@@ -100,12 +100,12 @@ module OracleBMC
|
|
100
100
|
def ==(other_object)
|
101
101
|
return true if self.equal?(other_object)
|
102
102
|
self.class == other_object.class &&
|
103
|
-
ip_address == other_object.ip_address &&
|
104
|
-
port == other_object.port &&
|
105
|
-
weight == other_object.weight &&
|
106
103
|
backup == other_object.backup &&
|
107
104
|
drain == other_object.drain &&
|
108
|
-
|
105
|
+
ip_address == other_object.ip_address &&
|
106
|
+
offline == other_object.offline &&
|
107
|
+
port == other_object.port &&
|
108
|
+
weight == other_object.weight
|
109
109
|
end
|
110
110
|
|
111
111
|
# @see the `==` method
|
@@ -117,7 +117,7 @@ module OracleBMC
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Fixnum] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[backup, drain, ip_address, offline, port, weight].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -183,24 +183,24 @@ module OracleBMC
|
|
183
183
|
# Attribute mapping from ruby-style variable name to JSON key.
|
184
184
|
def self.attribute_map
|
185
185
|
{
|
186
|
-
:'ip_address' => :'ipAddress',
|
187
|
-
:'port' => :'port',
|
188
|
-
:'weight' => :'weight',
|
189
186
|
:'backup' => :'backup',
|
190
187
|
:'drain' => :'drain',
|
191
|
-
:'
|
188
|
+
:'ip_address' => :'ipAddress',
|
189
|
+
:'offline' => :'offline',
|
190
|
+
:'port' => :'port',
|
191
|
+
:'weight' => :'weight'
|
192
192
|
}
|
193
193
|
end
|
194
194
|
|
195
195
|
# Attribute type mapping.
|
196
196
|
def self.swagger_types
|
197
197
|
{
|
198
|
-
:'ip_address' => :'String',
|
199
|
-
:'port' => :'Integer',
|
200
|
-
:'weight' => :'Integer',
|
201
198
|
:'backup' => :'BOOLEAN',
|
202
199
|
:'drain' => :'BOOLEAN',
|
203
|
-
:'
|
200
|
+
:'ip_address' => :'String',
|
201
|
+
:'offline' => :'BOOLEAN',
|
202
|
+
:'port' => :'Integer',
|
203
|
+
:'weight' => :'Integer'
|
204
204
|
}
|
205
205
|
end
|
206
206
|
end
|
@@ -4,6 +4,12 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OracleBMC
|
6
6
|
class LoadBalancer::Models::BackendSet
|
7
|
+
# @return [Array<OracleBMC::LoadBalancer::Models::Backend>]
|
8
|
+
attr_accessor :backends
|
9
|
+
|
10
|
+
# @return [OracleBMC::LoadBalancer::Models::HealthChecker]
|
11
|
+
attr_accessor :health_checker
|
12
|
+
|
7
13
|
# A friendly name for the backend set. It must be unique and it cannot be changed.
|
8
14
|
#
|
9
15
|
# Example: `My backend set`
|
@@ -20,12 +26,6 @@ module OracleBMC
|
|
20
26
|
# @return [String]
|
21
27
|
attr_accessor :policy
|
22
28
|
|
23
|
-
# @return [Array<OracleBMC::LoadBalancer::Models::Backend>]
|
24
|
-
attr_accessor :backends
|
25
|
-
|
26
|
-
# @return [OracleBMC::LoadBalancer::Models::HealthChecker]
|
27
|
-
attr_accessor :health_checker
|
28
|
-
|
29
29
|
# @return [OracleBMC::LoadBalancer::Models::SSLConfiguration]
|
30
30
|
attr_accessor :ssl_configuration
|
31
31
|
|
@@ -39,14 +39,6 @@ module OracleBMC
|
|
39
39
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
40
40
|
|
41
41
|
|
42
|
-
if attributes[:'name']
|
43
|
-
self.name = attributes[:'name']
|
44
|
-
end
|
45
|
-
|
46
|
-
if attributes[:'policy']
|
47
|
-
self.policy = attributes[:'policy']
|
48
|
-
end
|
49
|
-
|
50
42
|
if attributes[:'backends']
|
51
43
|
self.backends = attributes[:'backends']
|
52
44
|
end
|
@@ -55,6 +47,14 @@ module OracleBMC
|
|
55
47
|
self.health_checker = attributes[:'healthChecker']
|
56
48
|
end
|
57
49
|
|
50
|
+
if attributes[:'name']
|
51
|
+
self.name = attributes[:'name']
|
52
|
+
end
|
53
|
+
|
54
|
+
if attributes[:'policy']
|
55
|
+
self.policy = attributes[:'policy']
|
56
|
+
end
|
57
|
+
|
58
58
|
if attributes[:'sslConfiguration']
|
59
59
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
60
60
|
end
|
@@ -66,10 +66,10 @@ module OracleBMC
|
|
66
66
|
def ==(other_object)
|
67
67
|
return true if self.equal?(other_object)
|
68
68
|
self.class == other_object.class &&
|
69
|
-
name == other_object.name &&
|
70
|
-
policy == other_object.policy &&
|
71
69
|
backends == other_object.backends &&
|
72
70
|
health_checker == other_object.health_checker &&
|
71
|
+
name == other_object.name &&
|
72
|
+
policy == other_object.policy &&
|
73
73
|
ssl_configuration == other_object.ssl_configuration
|
74
74
|
end
|
75
75
|
|
@@ -82,7 +82,7 @@ module OracleBMC
|
|
82
82
|
# Calculates hash code according to all attributes.
|
83
83
|
# @return [Fixnum] Hash code
|
84
84
|
def hash
|
85
|
-
[
|
85
|
+
[backends, health_checker, name, policy, ssl_configuration].hash
|
86
86
|
end
|
87
87
|
|
88
88
|
# Builds the object from hash
|
@@ -148,10 +148,10 @@ module OracleBMC
|
|
148
148
|
# Attribute mapping from ruby-style variable name to JSON key.
|
149
149
|
def self.attribute_map
|
150
150
|
{
|
151
|
-
:'name' => :'name',
|
152
|
-
:'policy' => :'policy',
|
153
151
|
:'backends' => :'backends',
|
154
152
|
:'health_checker' => :'healthChecker',
|
153
|
+
:'name' => :'name',
|
154
|
+
:'policy' => :'policy',
|
155
155
|
:'ssl_configuration' => :'sslConfiguration'
|
156
156
|
}
|
157
157
|
end
|
@@ -159,10 +159,10 @@ module OracleBMC
|
|
159
159
|
# Attribute type mapping.
|
160
160
|
def self.swagger_types
|
161
161
|
{
|
162
|
-
:'name' => :'String',
|
163
|
-
:'policy' => :'String',
|
164
162
|
:'backends' => :'Array<OracleBMC::LoadBalancer::Models::Backend>',
|
165
163
|
:'health_checker' => :'OracleBMC::LoadBalancer::Models::HealthChecker',
|
164
|
+
:'name' => :'String',
|
165
|
+
:'policy' => :'String',
|
166
166
|
:'ssl_configuration' => :'OracleBMC::LoadBalancer::Models::SSLConfiguration'
|
167
167
|
}
|
168
168
|
end
|
@@ -4,6 +4,12 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OracleBMC
|
6
6
|
class LoadBalancer::Models::BackendSetDetails
|
7
|
+
# @return [Array<OracleBMC::LoadBalancer::Models::BackendDetails>]
|
8
|
+
attr_accessor :backends
|
9
|
+
|
10
|
+
# @return [OracleBMC::LoadBalancer::Models::HealthCheckerDetails]
|
11
|
+
attr_accessor :health_checker
|
12
|
+
|
7
13
|
# The load balancer policy for the backend set. The default load balancing policy is 'ROUND_ROBIN'
|
8
14
|
# To get a list of available policies, use the {#list_policies list_policies}
|
9
15
|
# operation.
|
@@ -13,12 +19,6 @@ module OracleBMC
|
|
13
19
|
# @return [String]
|
14
20
|
attr_accessor :policy
|
15
21
|
|
16
|
-
# @return [Array<OracleBMC::LoadBalancer::Models::BackendDetails>]
|
17
|
-
attr_accessor :backends
|
18
|
-
|
19
|
-
# @return [OracleBMC::LoadBalancer::Models::HealthCheckerDetails]
|
20
|
-
attr_accessor :health_checker
|
21
|
-
|
22
22
|
# @return [OracleBMC::LoadBalancer::Models::SSLConfigurationDetails]
|
23
23
|
attr_accessor :ssl_configuration
|
24
24
|
|
@@ -32,10 +32,6 @@ module OracleBMC
|
|
32
32
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
33
33
|
|
34
34
|
|
35
|
-
if attributes[:'policy']
|
36
|
-
self.policy = attributes[:'policy']
|
37
|
-
end
|
38
|
-
|
39
35
|
if attributes[:'backends']
|
40
36
|
self.backends = attributes[:'backends']
|
41
37
|
end
|
@@ -44,6 +40,10 @@ module OracleBMC
|
|
44
40
|
self.health_checker = attributes[:'healthChecker']
|
45
41
|
end
|
46
42
|
|
43
|
+
if attributes[:'policy']
|
44
|
+
self.policy = attributes[:'policy']
|
45
|
+
end
|
46
|
+
|
47
47
|
if attributes[:'sslConfiguration']
|
48
48
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
49
49
|
end
|
@@ -55,9 +55,9 @@ module OracleBMC
|
|
55
55
|
def ==(other_object)
|
56
56
|
return true if self.equal?(other_object)
|
57
57
|
self.class == other_object.class &&
|
58
|
-
policy == other_object.policy &&
|
59
58
|
backends == other_object.backends &&
|
60
59
|
health_checker == other_object.health_checker &&
|
60
|
+
policy == other_object.policy &&
|
61
61
|
ssl_configuration == other_object.ssl_configuration
|
62
62
|
end
|
63
63
|
|
@@ -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
|
-
[
|
73
|
+
[backends, health_checker, policy, ssl_configuration].hash
|
74
74
|
end
|
75
75
|
|
76
76
|
# Builds the object from hash
|
@@ -136,9 +136,9 @@ module OracleBMC
|
|
136
136
|
# Attribute mapping from ruby-style variable name to JSON key.
|
137
137
|
def self.attribute_map
|
138
138
|
{
|
139
|
-
:'policy' => :'policy',
|
140
139
|
:'backends' => :'backends',
|
141
140
|
:'health_checker' => :'healthChecker',
|
141
|
+
:'policy' => :'policy',
|
142
142
|
:'ssl_configuration' => :'sslConfiguration'
|
143
143
|
}
|
144
144
|
end
|
@@ -146,9 +146,9 @@ module OracleBMC
|
|
146
146
|
# Attribute type mapping.
|
147
147
|
def self.swagger_types
|
148
148
|
{
|
149
|
-
:'policy' => :'String',
|
150
149
|
:'backends' => :'Array<OracleBMC::LoadBalancer::Models::BackendDetails>',
|
151
150
|
:'health_checker' => :'OracleBMC::LoadBalancer::Models::HealthCheckerDetails',
|
151
|
+
:'policy' => :'String',
|
152
152
|
:'ssl_configuration' => :'OracleBMC::LoadBalancer::Models::SSLConfigurationDetails'
|
153
153
|
}
|
154
154
|
end
|
@@ -4,6 +4,21 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OracleBMC
|
6
6
|
class LoadBalancer::Models::Certificate
|
7
|
+
# The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
8
|
+
#
|
9
|
+
# Example:
|
10
|
+
#
|
11
|
+
# -----BEGIN CERTIFICATE-----
|
12
|
+
# MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
13
|
+
# EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
14
|
+
# VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
15
|
+
# aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
16
|
+
# ...
|
17
|
+
# -----END CERTIFICATE-----
|
18
|
+
#
|
19
|
+
# @return [String]
|
20
|
+
attr_accessor :ca_certificate
|
21
|
+
|
7
22
|
# A friendly name for the certificate bundle. It must be unique and it cannot be changed.
|
8
23
|
#
|
9
24
|
# Example: `My certificate bundle`
|
@@ -26,21 +41,6 @@ module OracleBMC
|
|
26
41
|
# @return [String]
|
27
42
|
attr_accessor :public_certificate
|
28
43
|
|
29
|
-
# The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
30
|
-
#
|
31
|
-
# Example:
|
32
|
-
#
|
33
|
-
# -----BEGIN CERTIFICATE-----
|
34
|
-
# MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
35
|
-
# EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
36
|
-
# VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
37
|
-
# aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
38
|
-
# ...
|
39
|
-
# -----END CERTIFICATE-----
|
40
|
-
#
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :ca_certificate
|
43
|
-
|
44
44
|
|
45
45
|
# Initializes the object
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
@@ -51,6 +51,10 @@ module OracleBMC
|
|
51
51
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
52
52
|
|
53
53
|
|
54
|
+
if attributes[:'caCertificate']
|
55
|
+
self.ca_certificate = attributes[:'caCertificate']
|
56
|
+
end
|
57
|
+
|
54
58
|
if attributes[:'certificateName']
|
55
59
|
self.certificate_name = attributes[:'certificateName']
|
56
60
|
end
|
@@ -59,10 +63,6 @@ module OracleBMC
|
|
59
63
|
self.public_certificate = attributes[:'publicCertificate']
|
60
64
|
end
|
61
65
|
|
62
|
-
if attributes[:'caCertificate']
|
63
|
-
self.ca_certificate = attributes[:'caCertificate']
|
64
|
-
end
|
65
|
-
|
66
66
|
end
|
67
67
|
|
68
68
|
# Checks equality by comparing each attribute.
|
@@ -70,9 +70,9 @@ module OracleBMC
|
|
70
70
|
def ==(other_object)
|
71
71
|
return true if self.equal?(other_object)
|
72
72
|
self.class == other_object.class &&
|
73
|
+
ca_certificate == other_object.ca_certificate &&
|
73
74
|
certificate_name == other_object.certificate_name &&
|
74
|
-
public_certificate == other_object.public_certificate
|
75
|
-
ca_certificate == other_object.ca_certificate
|
75
|
+
public_certificate == other_object.public_certificate
|
76
76
|
end
|
77
77
|
|
78
78
|
# @see the `==` method
|
@@ -84,7 +84,7 @@ module OracleBMC
|
|
84
84
|
# Calculates hash code according to all attributes.
|
85
85
|
# @return [Fixnum] Hash code
|
86
86
|
def hash
|
87
|
-
[certificate_name, public_certificate
|
87
|
+
[ca_certificate, certificate_name, public_certificate].hash
|
88
88
|
end
|
89
89
|
|
90
90
|
# Builds the object from hash
|
@@ -150,18 +150,18 @@ module OracleBMC
|
|
150
150
|
# Attribute mapping from ruby-style variable name to JSON key.
|
151
151
|
def self.attribute_map
|
152
152
|
{
|
153
|
+
:'ca_certificate' => :'caCertificate',
|
153
154
|
:'certificate_name' => :'certificateName',
|
154
|
-
:'public_certificate' => :'publicCertificate'
|
155
|
-
:'ca_certificate' => :'caCertificate'
|
155
|
+
:'public_certificate' => :'publicCertificate'
|
156
156
|
}
|
157
157
|
end
|
158
158
|
|
159
159
|
# Attribute type mapping.
|
160
160
|
def self.swagger_types
|
161
161
|
{
|
162
|
+
:'ca_certificate' => :'String',
|
162
163
|
:'certificate_name' => :'String',
|
163
|
-
:'public_certificate' => :'String'
|
164
|
-
:'ca_certificate' => :'String'
|
164
|
+
:'public_certificate' => :'String'
|
165
165
|
}
|
166
166
|
end
|
167
167
|
end
|