io.convergence_platform.services.security.ServiceAuthorityDeclaration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.services.security;
import lombok.EqualsAndHashCode;
import java.util.UUID;
@EqualsAndHashCode
public class ServiceAuthorityDeclaration {
public UUID uuid;
public String authority;
public String displayName;
public int tier;
public ServiceAuthorityDeclaration() {
}
public ServiceAuthorityDeclaration(String uuid, String authority, String displayName, int tier) {
this.uuid = UUID.fromString(uuid);
this.authority = authority;
this.displayName = displayName;
this.tier = tier;
}
public ServiceAuthorityDeclaration(UUID uuid, String authority, String displayName, int tier) {
this.uuid = uuid;
this.authority = authority;
this.displayName = displayName;
this.tier = tier;
}
}