Class KeystoneTenant.BackwardsCompatTenants
- java.lang.Object
-
- org.openstack4j.openstack.common.ListResult<KeystoneTenant>
-
- org.openstack4j.openstack.identity.v2.domain.KeystoneTenant.Tenants
-
- org.openstack4j.openstack.identity.v2.domain.KeystoneTenant.BackwardsCompatTenants
-
- All Implemented Interfaces:
Serializable,ListType,ModelEntity
- Enclosing class:
- KeystoneTenant
public static class KeystoneTenant.BackwardsCompatTenants extends KeystoneTenant.Tenants
Used for backwards compatibility in fetching a Tenant By Name. Older deployments return a single object or null whereas newer deployments return an [] containing a single element- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openstack4j.openstack.identity.v2.domain.KeystoneTenant.Tenants
list
-
-
Constructor Summary
Constructors Constructor Description BackwardsCompatTenants()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeystoneTenantgetOneOrNull()-
Methods inherited from class org.openstack4j.openstack.identity.v2.domain.KeystoneTenant.Tenants
value
-
Methods inherited from class org.openstack4j.openstack.common.ListResult
first, getList
-
-
-
-
Method Detail
-
getOneOrNull
public KeystoneTenant getOneOrNull()
-
-