Class ServiceTokenWrapper
java.lang.Object
com.eqixiac.equinix.core.model.ResourceImpl<ServiceToken>
com.eqixiac.equinix.fabric.model.wrappers.ServiceTokenWrapper
- All Implemented Interfaces:
Resource<ServiceToken>, DeletableResource, ServiceToken
- Author:
- ianjones
-
Constructor Summary
ConstructorsConstructorDescriptionServiceTokenWrapper(ServiceTokenJson serviceTokenJson, Pageable<ServiceToken> serviceClient) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Resource
getServiceClientMethods inherited from interface ServiceToken
getAccount, getChangeLog, getConnection, getDescription, getExpirationDateTime, getHref, getName, getNotifications, getProject, getState, getType, getUuid
-
Constructor Details
-
ServiceTokenWrapper
-
-
Method Details
-
delete
- Specified by:
deletein interfaceServiceToken
-
isDeleted
public boolean isDeleted()Description copied from interface:DeletableResourceReturns whetherdelete(...)was called successfully on this model instance.- Specified by:
isDeletedin interfaceDeletableResource- Returns:
trueonce this instance has been deleted
-
refresh
public void refresh()- Specified by:
refreshin interfaceServiceToken
-