Package com.dzidzi.dto.administration
Class Administration
java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.merge.EntityComposition
com.dzidzi.dto.administration.Administration
Represents an administration of the api.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAdministration(UUID id, String firstName, String lastName, String adminNumber, boolean isSystemUser, String contact, CredentialEntityApi credential) -
Method Summary
Modifier and TypeMethodDescriptionstatic Administration.Builderbuilder()The first name of the resourceTheCredentialof the admin userThe first name of the admin userThe last name of the admin userbooleanA flag that indicates if the admin is a system user.Methods inherited from class com.dzidzi.dto.merge.EntityComposition
getContact
-
Constructor Details
-
Administration
-
-
Method Details
-
builder
-
getFirstName
The first name of the admin user- Overrides:
getFirstNamein classEntityComposition
-
getLastName
The last name of the admin user- Overrides:
getLastNamein classEntityComposition
-
getAdminNumber
The first name of the resource -
isSystemUser
public boolean isSystemUser()A flag that indicates if the admin is a system user. -
getCredential
TheCredentialof the admin user
-