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

org.apache.airavata.Service_ Maven / Gradle / Ivy

The newest version!

package org.apache.airavata;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "Capability",
    "Type",
    "QualityLevel",
    "StatusInfo",
    "Complexity",
    "EndpointID",
    "ShareID",
    "ManagerID",
    "ContactID",
    "LocationID",
    "ServiceID"
})
public class Service_ {

    /**
     * Capability_t (open enumeration)
     * 
     */
    @JsonProperty("Capability")
    private List capability = new ArrayList();
    /**
     * ServiceType_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    private String type;
    /**
     * QualityLevel_t
     * 
     */
    @JsonProperty("QualityLevel")
    private Service_.QualityLevel qualityLevel;
    /**
     * URLs of web pages providing additional information
     * 
     */
    @JsonProperty("StatusInfo")
    private List statusInfo = new ArrayList();
    /**
     * A human-readable description of the number of endpoint types, shares, and resources
     * 
     */
    @JsonProperty("Complexity")
    private String complexity;
    /**
     * The IDs of Endpoints for this Service
     * 
     */
    @JsonProperty("EndpointID")
    private List endpointID = new ArrayList();
    /**
     * The IDs of the Shares offered by this Service
     * 
     */
    @JsonProperty("ShareID")
    private List shareID = new ArrayList();
    /**
     * The IDs of the Managers of this Service
     * 
     */
    @JsonProperty("ManagerID")
    private List managerID = new ArrayList();
    /**
     * The IDs of Contacts for this Service
     * 
     */
    @JsonProperty("ContactID")
    private List contactID = new ArrayList();
    /**
     * The ID of the primary Location of this Service
     * 
     */
    @JsonProperty("LocationID")
    private String locationID;
    /**
     * The IDs of Services related to this Service
     * 
     */
    @JsonProperty("ServiceID")
    private List serviceID = new ArrayList();
    private Map additionalProperties = new HashMap();

    /**
     * Capability_t (open enumeration)
     * 
     */
    @JsonProperty("Capability")
    public List getCapability() {
        return capability;
    }

    /**
     * Capability_t (open enumeration)
     * 
     */
    @JsonProperty("Capability")
    public void setCapability(List capability) {
        this.capability = capability;
    }

    /**
     * ServiceType_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    public String getType() {
        return type;
    }

    /**
     * ServiceType_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    public void setType(String type) {
        this.type = type;
    }

    /**
     * QualityLevel_t
     * 
     */
    @JsonProperty("QualityLevel")
    public Service_.QualityLevel getQualityLevel() {
        return qualityLevel;
    }

    /**
     * QualityLevel_t
     * 
     */
    @JsonProperty("QualityLevel")
    public void setQualityLevel(Service_.QualityLevel qualityLevel) {
        this.qualityLevel = qualityLevel;
    }

    /**
     * URLs of web pages providing additional information
     * 
     */
    @JsonProperty("StatusInfo")
    public List getStatusInfo() {
        return statusInfo;
    }

    /**
     * URLs of web pages providing additional information
     * 
     */
    @JsonProperty("StatusInfo")
    public void setStatusInfo(List statusInfo) {
        this.statusInfo = statusInfo;
    }

    /**
     * A human-readable description of the number of endpoint types, shares, and resources
     * 
     */
    @JsonProperty("Complexity")
    public String getComplexity() {
        return complexity;
    }

    /**
     * A human-readable description of the number of endpoint types, shares, and resources
     * 
     */
    @JsonProperty("Complexity")
    public void setComplexity(String complexity) {
        this.complexity = complexity;
    }

    /**
     * The IDs of Endpoints for this Service
     * 
     */
    @JsonProperty("EndpointID")
    public List getEndpointID() {
        return endpointID;
    }

    /**
     * The IDs of Endpoints for this Service
     * 
     */
    @JsonProperty("EndpointID")
    public void setEndpointID(List endpointID) {
        this.endpointID = endpointID;
    }

    /**
     * The IDs of the Shares offered by this Service
     * 
     */
    @JsonProperty("ShareID")
    public List getShareID() {
        return shareID;
    }

    /**
     * The IDs of the Shares offered by this Service
     * 
     */
    @JsonProperty("ShareID")
    public void setShareID(List shareID) {
        this.shareID = shareID;
    }

    /**
     * The IDs of the Managers of this Service
     * 
     */
    @JsonProperty("ManagerID")
    public List getManagerID() {
        return managerID;
    }

    /**
     * The IDs of the Managers of this Service
     * 
     */
    @JsonProperty("ManagerID")
    public void setManagerID(List managerID) {
        this.managerID = managerID;
    }

    /**
     * The IDs of Contacts for this Service
     * 
     */
    @JsonProperty("ContactID")
    public List getContactID() {
        return contactID;
    }

    /**
     * The IDs of Contacts for this Service
     * 
     */
    @JsonProperty("ContactID")
    public void setContactID(List contactID) {
        this.contactID = contactID;
    }

    /**
     * The ID of the primary Location of this Service
     * 
     */
    @JsonProperty("LocationID")
    public String getLocationID() {
        return locationID;
    }

    /**
     * The ID of the primary Location of this Service
     * 
     */
    @JsonProperty("LocationID")
    public void setLocationID(String locationID) {
        this.locationID = locationID;
    }

    /**
     * The IDs of Services related to this Service
     * 
     */
    @JsonProperty("ServiceID")
    public List getServiceID() {
        return serviceID;
    }

    /**
     * The IDs of Services related to this Service
     * 
     */
    @JsonProperty("ServiceID")
    public void setServiceID(List serviceID) {
        this.serviceID = serviceID;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public boolean equals(Object other) {
        return EqualsBuilder.reflectionEquals(this, other);
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

    @Generated("org.jsonschema2pojo")
    public static enum QualityLevel {

        DEVELOPMENT("development"),
        PRE_PRODUCTION("pre-production"),
        PRODUCTION("production"),
        TESTING("testing");
        private final String value;
        private static Map constants = new HashMap();

        static {
            for (Service_.QualityLevel c: Service_.QualityLevel.values()) {
                constants.put(c.value, c);
            }
        }

        private QualityLevel(String value) {
            this.value = value;
        }

        @JsonValue
        @Override
        public String toString() {
            return this.value;
        }

        @JsonCreator
        public static Service_.QualityLevel fromValue(String value) {
            Service_.QualityLevel constant = constants.get(value);
            if (constant == null) {
                throw new IllegalArgumentException(value);
            } else {
                return constant;
            }
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy