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

net.leanix.api.models.Consumer Maven / Gradle / Ivy

/*
* The MIT License (MIT)	 
*
* Copyright (c) 2014 LeanIX GmbH
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

package net.leanix.api.models;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

import java.util.*;
import net.leanix.api.models.FactSheetHasDocument;
import net.leanix.api.models.FactSheetHasRequires;
import net.leanix.api.models.ResourceHasConsumer;
import net.leanix.api.models.FactSheetHasPredecessor;
import net.leanix.api.models.FactSheetHasLifecycle;
import net.leanix.api.models.FactSheetHasChild;
import net.leanix.api.models.UserSubscription;
import net.leanix.api.models.ServiceHasConsumer;
import net.leanix.api.models.FactSheetHasSuccessor;
import net.leanix.api.models.FactSheetHasRequiredby;
import net.leanix.api.models.FactSheetHasParent;
public class Consumer implements Serializable
{
    private static final long serialVersionUID = 1L;

	/*  */
	private String ID = null;
	/*  */
	private String displayName = null;
	/*  */
	private String parentID = null;
	/*  */
	private Long level = null;
	/*  */
	private String name = null;
	/*  */
	private String reference = null;
	/*  */
	private String alias = null;
	/*  */
	private String description = null;
	/*  */
	private String locationID = null;
	/*  */
	private String objectStatusID = null;
	/*  */
	private List tags = new ArrayList();
	/*  */
	private String fullName = null;
	/*  */
	private String resourceType = null;
	/*  */
	private List factSheetHasParents = new ArrayList();
	/*  */
	private List factSheetHasChildren = new ArrayList();
	/*  */
	private List factSheetHasDocuments = new ArrayList();
	/*  */
	private List factSheetHasLifecycles = new ArrayList();
	/*  */
	private List userSubscriptions = new ArrayList();
	/*  */
	private List factSheetHasPredecessors = new ArrayList();
	/*  */
	private List factSheetHasSuccessors = new ArrayList();
	/*  */
	private List factSheetHasRequires = new ArrayList();
	/*  */
	private List factSheetHasRequiredby = new ArrayList();
	/*  */
	private List serviceHasConsumers = new ArrayList();
	/*  */
	private List resourceHasConsumers = new ArrayList();
	@JsonProperty("ID")
	public String getID()
	{
		return ID;
	}
	
	@JsonProperty("ID")
	public void setID(String ID)
	{
		this.ID = ID;
	}

	@JsonProperty("displayName")
	public String getDisplayName()
	{
		return displayName;
	}
	
	@JsonProperty("displayName")
	public void setDisplayName(String displayName)
	{
		this.displayName = displayName;
	}

	@JsonProperty("parentID")
	public String getParentID()
	{
		return parentID;
	}
	
	@JsonProperty("parentID")
	public void setParentID(String parentID)
	{
		this.parentID = parentID;
	}

	@JsonProperty("level")
	public Long getLevel()
	{
		return level;
	}
	
	@JsonProperty("level")
	public void setLevel(Long level)
	{
		this.level = level;
	}

	@JsonProperty("name")
	public String getName()
	{
		return name;
	}
	
	@JsonProperty("name")
	public void setName(String name)
	{
		this.name = name;
	}

	@JsonProperty("reference")
	public String getReference()
	{
		return reference;
	}
	
	@JsonProperty("reference")
	public void setReference(String reference)
	{
		this.reference = reference;
	}

	@JsonProperty("alias")
	public String getAlias()
	{
		return alias;
	}
	
	@JsonProperty("alias")
	public void setAlias(String alias)
	{
		this.alias = alias;
	}

	@JsonProperty("description")
	public String getDescription()
	{
		return description;
	}
	
	@JsonProperty("description")
	public void setDescription(String description)
	{
		this.description = description;
	}

	@JsonProperty("locationID")
	public String getLocationID()
	{
		return locationID;
	}
	
	@JsonProperty("locationID")
	public void setLocationID(String locationID)
	{
		this.locationID = locationID;
	}

	@JsonProperty("objectStatusID")
	public String getObjectStatusID()
	{
		return objectStatusID;
	}
	
	@JsonProperty("objectStatusID")
	public void setObjectStatusID(String objectStatusID)
	{
		this.objectStatusID = objectStatusID;
	}

	@JsonProperty("tags")
	public List getTags()
	{
		return tags;
	}
	
	@JsonProperty("tags")
	public void setTags(List tags)
	{
		this.tags = tags;
	}

	@JsonProperty("fullName")
	public String getFullName()
	{
		return fullName;
	}
	
	@JsonProperty("fullName")
	public void setFullName(String fullName)
	{
		this.fullName = fullName;
	}

	@JsonProperty("resourceType")
	public String getResourceType()
	{
		return resourceType;
	}
	
	@JsonProperty("resourceType")
	public void setResourceType(String resourceType)
	{
		this.resourceType = resourceType;
	}

	@JsonProperty("factSheetHasParents")
	public List getFactSheetHasParents()
	{
		return factSheetHasParents;
	}
	
	@JsonProperty("factSheetHasParents")
	public void setFactSheetHasParents(List factSheetHasParents)
	{
		this.factSheetHasParents = factSheetHasParents;
	}

	@JsonProperty("factSheetHasChildren")
	public List getFactSheetHasChildren()
	{
		return factSheetHasChildren;
	}
	
	@JsonProperty("factSheetHasChildren")
	public void setFactSheetHasChildren(List factSheetHasChildren)
	{
		this.factSheetHasChildren = factSheetHasChildren;
	}

	@JsonProperty("factSheetHasDocuments")
	public List getFactSheetHasDocuments()
	{
		return factSheetHasDocuments;
	}
	
	@JsonProperty("factSheetHasDocuments")
	public void setFactSheetHasDocuments(List factSheetHasDocuments)
	{
		this.factSheetHasDocuments = factSheetHasDocuments;
	}

	@JsonProperty("factSheetHasLifecycles")
	public List getFactSheetHasLifecycles()
	{
		return factSheetHasLifecycles;
	}
	
	@JsonProperty("factSheetHasLifecycles")
	public void setFactSheetHasLifecycles(List factSheetHasLifecycles)
	{
		this.factSheetHasLifecycles = factSheetHasLifecycles;
	}

	@JsonProperty("userSubscriptions")
	public List getUserSubscriptions()
	{
		return userSubscriptions;
	}
	
	@JsonProperty("userSubscriptions")
	public void setUserSubscriptions(List userSubscriptions)
	{
		this.userSubscriptions = userSubscriptions;
	}

	@JsonProperty("factSheetHasPredecessors")
	public List getFactSheetHasPredecessors()
	{
		return factSheetHasPredecessors;
	}
	
	@JsonProperty("factSheetHasPredecessors")
	public void setFactSheetHasPredecessors(List factSheetHasPredecessors)
	{
		this.factSheetHasPredecessors = factSheetHasPredecessors;
	}

	@JsonProperty("factSheetHasSuccessors")
	public List getFactSheetHasSuccessors()
	{
		return factSheetHasSuccessors;
	}
	
	@JsonProperty("factSheetHasSuccessors")
	public void setFactSheetHasSuccessors(List factSheetHasSuccessors)
	{
		this.factSheetHasSuccessors = factSheetHasSuccessors;
	}

	@JsonProperty("factSheetHasRequires")
	public List getFactSheetHasRequires()
	{
		return factSheetHasRequires;
	}
	
	@JsonProperty("factSheetHasRequires")
	public void setFactSheetHasRequires(List factSheetHasRequires)
	{
		this.factSheetHasRequires = factSheetHasRequires;
	}

	@JsonProperty("factSheetHasRequiredby")
	public List getFactSheetHasRequiredby()
	{
		return factSheetHasRequiredby;
	}
	
	@JsonProperty("factSheetHasRequiredby")
	public void setFactSheetHasRequiredby(List factSheetHasRequiredby)
	{
		this.factSheetHasRequiredby = factSheetHasRequiredby;
	}

	@JsonProperty("serviceHasConsumers")
	public List getServiceHasConsumers()
	{
		return serviceHasConsumers;
	}
	
	@JsonProperty("serviceHasConsumers")
	public void setServiceHasConsumers(List serviceHasConsumers)
	{
		this.serviceHasConsumers = serviceHasConsumers;
	}

	@JsonProperty("resourceHasConsumers")
	public List getResourceHasConsumers()
	{
		return resourceHasConsumers;
	}
	
	@JsonProperty("resourceHasConsumers")
	public void setResourceHasConsumers(List resourceHasConsumers)
	{
		this.resourceHasConsumers = resourceHasConsumers;
	}

	@Override
	public String toString()
	{
		StringBuilder sb = new StringBuilder();
		sb.append("class Consumer {\n");
		sb.append("  ID: ").append(ID).append("\n");
		sb.append("  displayName: ").append(displayName).append("\n");
		sb.append("  parentID: ").append(parentID).append("\n");
		sb.append("  level: ").append(level).append("\n");
		sb.append("  name: ").append(name).append("\n");
		sb.append("  reference: ").append(reference).append("\n");
		sb.append("  alias: ").append(alias).append("\n");
		sb.append("  description: ").append(description).append("\n");
		sb.append("  locationID: ").append(locationID).append("\n");
		sb.append("  objectStatusID: ").append(objectStatusID).append("\n");
		sb.append("  tags: ").append(tags).append("\n");
		sb.append("  fullName: ").append(fullName).append("\n");
		sb.append("  resourceType: ").append(resourceType).append("\n");
		sb.append("  factSheetHasParents: ").append(factSheetHasParents).append("\n");
		sb.append("  factSheetHasChildren: ").append(factSheetHasChildren).append("\n");
		sb.append("  factSheetHasDocuments: ").append(factSheetHasDocuments).append("\n");
		sb.append("  factSheetHasLifecycles: ").append(factSheetHasLifecycles).append("\n");
		sb.append("  userSubscriptions: ").append(userSubscriptions).append("\n");
		sb.append("  factSheetHasPredecessors: ").append(factSheetHasPredecessors).append("\n");
		sb.append("  factSheetHasSuccessors: ").append(factSheetHasSuccessors).append("\n");
		sb.append("  factSheetHasRequires: ").append(factSheetHasRequires).append("\n");
		sb.append("  factSheetHasRequiredby: ").append(factSheetHasRequiredby).append("\n");
		sb.append("  serviceHasConsumers: ").append(serviceHasConsumers).append("\n");
		sb.append("  resourceHasConsumers: ").append(resourceHasConsumers).append("\n");
		sb.append("}\n");
		return sb.toString();
	}
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy