Class RegistryTenantResourceLimitDto
- java.lang.Object
-
- io.apicurio.multitenant.storage.dto.RegistryTenantResourceLimitDto
-
@Entity public class RegistryTenantResourceLimitDto extends Object
- Author:
- Fabian Martinez
-
-
Constructor Summary
Constructors Constructor Description RegistryTenantResourceLimitDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Long
getId()
Long
getLimit()
RegistryTenantDto
getTenant()
ResourceType
getType()
int
hashCode()
void
setId(Long id)
void
setLimit(Long limit)
void
setTenant(RegistryTenantDto tenant)
void
setType(ResourceType type)
TenantResource
toDatamodel()
-
-
-
Method Detail
-
getId
public Long getId()
- Returns:
- the id
-
setId
public void setId(Long id)
- Parameters:
id
- the id to set
-
getType
public ResourceType getType()
- Returns:
- the type
-
setType
public void setType(ResourceType type)
- Parameters:
type
- the type to set
-
getLimit
public Long getLimit()
- Returns:
- the limit
-
setLimit
public void setLimit(Long limit)
- Parameters:
limit
- the limit to set
-
toDatamodel
public TenantResource toDatamodel()
-
getTenant
public RegistryTenantDto getTenant()
- Returns:
- the tenant
-
setTenant
public void setTenant(RegistryTenantDto tenant)
- Parameters:
tenant
- the tenant to set
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
-