Class ServiceDiscoveryV1.ServiceInfo
- java.lang.Object
-
- aero.panasonic.inflight.services.servicediscovery.ServiceDiscoveryV1.ServiceInfo
-
- Enclosing class:
- ServiceDiscoveryV1
public static class ServiceDiscoveryV1.ServiceInfo extends java.lang.ObjectThis class provides api to get information about a particular service and whether the service is enabled or disabled temporarily and/or the service is blocked for usage for the flight.
-
-
Constructor Summary
Constructors Constructor Description ServiceInfo()ServiceInfo(JSONObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.List<ServiceDiscoveryV1.ServiceCapability>getServiceCapability()java.lang.StringgetServiceName()ServiceDiscoveryV1.ServiceStategetServiceState()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getServiceName
public java.lang.String getServiceName()
- Returns:
- the serviceName
-
getServiceState
public ServiceDiscoveryV1.ServiceState getServiceState()
- Returns:
- the serviceState
-
getServiceCapability
public java.util.List<ServiceDiscoveryV1.ServiceCapability> getServiceCapability()
- Returns:
List
-
-