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

com.vmware.pscoe.iac.artifact.rest.model.vrops.AdapterKindDTO Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
/*
 * #%L
 * artifact-manager
 * %%
 * Copyright (C) 2023 VMware
 * %%
 * Build Tools for VMware Aria
 * Copyright 2023 VMware, Inc.
 * 
 * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License.  
 * 
 * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file.
 * #L%
 */
package com.vmware.pscoe.iac.artifact.rest.model.vrops;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "adapter-kind" })
public class AdapterKindDTO implements Serializable {
	private static final long serialVersionUID = 1068047698436844558L;

	@JsonProperty("adapter-kind")
	private List adapterKind = new ArrayList<>();

	@JsonIgnore
	private transient Map additionalProperties = new HashMap<>();

	@JsonProperty("adapter-kind")
	public List getAdapterKind() {
		return adapterKind;
	}

	@JsonProperty("adapter-kind")
	public void setAdapterKind(List adapterKind) {
		this.adapterKind = adapterKind;
	}

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

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

	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JsonPropertyOrder({ "key", "name", "description", "adapterKindType", "describeVersion", "identifiers", "resourceKinds", "links" })
	@JsonIgnoreProperties({ "links" })
	public static class AdapterKind implements Serializable {
		private static final long serialVersionUID = -6414593808503585818L;

		@JsonProperty("key")
		private String key;

		@JsonProperty("name")
		private String name;

		@JsonProperty("description")
		private String description;

		@JsonProperty("adapterKindType")
		private String adapterKindType;

		@JsonProperty("describeVersion")
		private Integer describeVersion;

		@JsonProperty("identifiers")
		private List identifiers = new ArrayList<>();

		@JsonProperty("resourceKinds")
		private List resourceKinds = new ArrayList<>();

		@JsonIgnore
		private transient Map additionalProperties = new HashMap<>();

		@JsonProperty("key")
		public String getKey() {
			return key;
		}

		@JsonProperty("key")
		public void setKey(String key) {
			this.key = key;
		}

		@JsonProperty("name")
		public String getName() {
			return name;
		}

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

		@JsonProperty("description")
		public String getDescription() {
			return description;
		}

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

		@JsonProperty("adapterKindType")
		public String getAdapterKindType() {
			return adapterKindType;
		}

		@JsonProperty("adapterKindType")
		public void setAdapterKindType(String adapterKindType) {
			this.adapterKindType = adapterKindType;
		}

		@JsonProperty("describeVersion")
		public Integer getDescribeVersion() {
			return describeVersion;
		}

		@JsonProperty("describeVersion")
		public void setDescribeVersion(Integer describeVersion) {
			this.describeVersion = describeVersion;
		}

		@JsonProperty("identifiers")
		public List getIdentifiers() {
			return identifiers;
		}

		@JsonProperty("identifiers")
		public void setIdentifiers(List identifiers) {
			this.identifiers = identifiers;
		}

		@JsonProperty("resourceKinds")
		public List getResourceKinds() {
			return resourceKinds;
		}

		@JsonProperty("resourceKinds")
		public void setResourceKinds(List resourceKinds) {
			this.resourceKinds = resourceKinds;
		}

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

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