All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.quota.QuotaUpdateParam Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2008-2011 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.quota;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "quota_update")
public class QuotaUpdateParam {

    private Boolean enable;
    private Long quotaInGb;

    public QuotaUpdateParam() {
    }

    public QuotaUpdateParam(Boolean enable, Long quotaInGb) {
        this.enable = enable;
        this.quotaInGb = quotaInGb;
    }

    /**
     * Enable setting quotas for this resource.
     * 
     * @valid true
     * @valid false
     */
    @XmlElement(name = "quota_enabled", required = true)
    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    /**
     * Set this quota (in Gb) for this resource.
     * 
     * @valid none
     */
    @XmlElement(name = "quota_gb")
    public Long getQuotaInGb() {
        return quotaInGb;
    }

    public void setQuotaInGb(Long quotaInGb) {
        this.quotaInGb = quotaInGb;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy