com.abiquo.model.transport.SingleResourceWithAllLimitsDto Maven / Gradle / Ivy
/**
* Copyright (C) 2008 Abiquo Holdings S.L.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.abiquo.model.transport;
import javax.xml.bind.annotation.XmlType;
@XmlType(propOrder = {"repositoryHardInMb", "repositorySoftInMb"})
public abstract class SingleResourceWithAllLimitsDto extends SingleResourceWithLimitsDto
{
private static final long serialVersionUID = -7343271065580958367L;
/** Total size of repository space to be used. Soft limit */
private Long repositorySoftInMb;
/** Total size of repository space to be used. Hard limit */
private Long repositoryHardInMb;
public Long getRepositorySoftInMb()
{
return repositorySoftInMb;
}
public void setRepositorySoftInMb(final Long repositorySoftInMb)
{
this.repositorySoftInMb = repositorySoftInMb;
}
public Long getRepositoryHardInMb()
{
return repositoryHardInMb;
}
public void setRepositoryHardInMb(final Long repositoryHardInMb)
{
this.repositoryHardInMb = repositoryHardInMb;
}
public void setRepositoryLimitsInMb(final long soft, final long hard)
{
this.repositorySoftInMb = soft;
this.repositoryHardInMb = hard;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy