File tree 2 files changed +13
-4
lines changed
core/src/main/java/org/openstack4j/openstack/identity/domain
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
package org .openstack4j .openstack .identity .domain ;
2
2
3
+ import java .io .Serializable ;
4
+
3
5
import org .openstack4j .model .identity .AuthStore ;
4
6
import org .openstack4j .model .identity .AuthVersion ;
5
7
@@ -67,9 +69,11 @@ public String getName() {
67
69
return getTenantName ();
68
70
}
69
71
70
- private static final class PasswordCredentials {
72
+ private static final class PasswordCredentials implements Serializable {
71
73
72
- @ JsonProperty
74
+ private static final long serialVersionUID = 1L ;
75
+
76
+ @ JsonProperty
73
77
String username ;
74
78
@ JsonProperty
75
79
String password ;
Original file line number Diff line number Diff line change 3
3
import static org .openstack4j .openstack .identity .functions .ServiceFunctions .TYPE_WITHOUT_VERSION ;
4
4
import static org .openstack4j .openstack .identity .functions .ServiceFunctions .VERSION_FROM_TYPE ;
5
5
6
+ import java .io .Serializable ;
6
7
import java .util .List ;
7
8
8
9
import org .openstack4j .api .types .ServiceType ;
@@ -129,8 +130,10 @@ public String toString() {
129
130
}
130
131
131
132
@ JsonIgnoreProperties (ignoreUnknown =true )
132
- public static final class AccessUser implements UserDetails {
133
+ public static final class AccessUser implements UserDetails , Serializable {
133
134
135
+ private static final long serialVersionUID = 1L ;
136
+
134
137
private String id ;
135
138
private String name ;
136
139
private String username ;
@@ -202,8 +205,10 @@ public List<AccessUser> value() {
202
205
}
203
206
204
207
205
- public static final class AccessService implements Service , Comparable <AccessService >
208
+ public static final class AccessService implements Service , Comparable <AccessService >, Serializable
206
209
{
210
+ private static final long serialVersionUID = 1L ;
211
+
207
212
private String type ;
208
213
private String name ;
209
214
private List <KeystoneEndpoint > endpoints ;
You can’t perform that action at this time.
0 commit comments