Class ModelHelper
java.lang.Object
api.equinix.javasdk.fabric.helpers.ModelHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<ServiceToken> filterOutServiceTokensByState(List<ServiceToken> serviceTokens, ServiceTokenState serviceTokenState) filterOutServiceTokensByState.static ArrayList<ServiceToken> filterServiceTokensByCreator(List<ServiceToken> serviceTokens, String createdBy) filterServiceTokensByCreator.
-
Constructor Details
-
ModelHelper
public ModelHelper()
-
-
Method Details
-
filterServiceTokensByCreator
public static ArrayList<ServiceToken> filterServiceTokensByCreator(List<ServiceToken> serviceTokens, String createdBy) filterServiceTokensByCreator.
-
filterOutServiceTokensByState
public static ArrayList<ServiceToken> filterOutServiceTokensByState(List<ServiceToken> serviceTokens, ServiceTokenState serviceTokenState) filterOutServiceTokensByState.
- Parameters:
serviceTokens- aListobject.serviceTokenState- aServiceTokenStateobject.- Returns:
- a
ArrayListobject.
-