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

org.xlcloud.openstack.model.ceilometer.Resource Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2012 AMG.lab, a Bull Group Company
 * 
 * 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 org.xlcloud.openstack.model.ceilometer;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.xml.bind.annotation.XmlAttribute;

/**
 * @author Andrzej Stasiak, AMG.net
 *
 */
public class Resource {

    @XmlAttribute
    private String resource_id;

    @XmlAttribute
    private List links;

    @XmlAttribute
    private Map metadata;

    @XmlAttribute
    private String project_id;

    @XmlAttribute
    private String user_id;

    @XmlAttribute
    private Date timestamp;

    /**
     * @return the resource_id
     */
    public String getResource_id() {
        return resource_id;
    }

    /**
     * @param resource_id the resource_id to set
     */
    public void setResource_id(String resource_id) {
        this.resource_id = resource_id;
    }

    /**
     * @return the links
     */
    public List getLinks() {
        return links;
    }

    /**
     * @param links the links to set
     */
    public void setLinks(List links) {
        this.links = links;
    }

    /**
     * @return the metadata
     */
    public Map getMetadata() {
        return metadata;
    }

    /**
     * @param metadata the metadata to set
     */
    public void setMetadata(Map metadata) {
        this.metadata = metadata;
    }

    /**
     * @return the project_id
     */
    public String getProject_id() {
        return project_id;
    }

    /**
     * @param project_id the project_id to set
     */
    public void setProject_id(String project_id) {
        this.project_id = project_id;
    }

    /**
     * @return the user_id
     */
    public String getUser_id() {
        return user_id;
    }

    /**
     * @param user_id the user_id to set
     */
    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    /**
     * @return the timestamp
     */
    public Date getTimestamp() {
        return timestamp;
    }

    /**
     * @param timestamp the timestamp to set
     */
    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy