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

com.emc.storageos.model.host.ComputeSystemRestRep Maven / Gradle / Ivy

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

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

import com.emc.storageos.model.DiscoveredSystemObjectRestRep;
import com.emc.storageos.model.RelatedResourceRep;

/**
 * Common class to all tenant resource types
 * 
 * @author elalih
 */
@XmlType(name = "abstractComputeSystemRestRep")
public abstract class ComputeSystemRestRep extends DiscoveredSystemObjectRestRep {
    private RelatedResourceRep tenant;

    public ComputeSystemRestRep() {
    }

    public ComputeSystemRestRep(RelatedResourceRep tenant) {
        this.tenant = tenant;
    }

    /**
     * The tenant organization of the host.
     * 
     * @valid String
     * @return the tenant organization of the host.
     */
    @XmlElement(name = "tenant")
    public RelatedResourceRep getTenant() {
        return tenant;
    }

    public void setTenant(RelatedResourceRep tenant) {
        this.tenant = tenant;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy