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

com.vmware.pscoe.iac.artifact.model.abx.Platform Maven / Gradle / Ivy


package com.vmware.pscoe.iac.artifact.model.abx;

/*-
 * #%L
 * artifact-manager
 * %%
 * Copyright (C) 2023 - 2024 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%
 */

import java.util.LinkedHashMap;
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.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "runtime", "runtimeVersion", "action", "tags", "entrypoint", "base", "memoryLimitMb", "timeoutSec",
		"provider" })
public class Platform {
	@JsonProperty("runtime")
	private String runtime;

	@JsonProperty("runtimeVersion")
	private String runtimeVersion;

	@JsonProperty("action")
	private String action;

	@JsonProperty("tags")
	private List tags;

	@JsonProperty("entrypoint")
	private String entrypoint;

	@JsonProperty("base")
	private String base;

	@JsonProperty("memoryLimitMb")
	private Integer memoryLimitMb;

	@JsonProperty("timeoutSec")
	private Integer timeoutSec;

	@JsonProperty("provider")
	private String provider;

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

	/**
	 * getRuntime().
	 * 
	 * @return runtime.
	 */
	@JsonProperty("runtime")
	public String getRuntime() {
		return runtime;
	}

	/**
	 * setRuntime().
	 * 
	 * @param runtime to be set.
	 */
	@JsonProperty("runtime")
	public void setRuntime(String runtime) {
		this.runtime = runtime;
	}

	/**
	 * getRuntimeVersion().
	 * 
	 * @return runtime.
	 */
	@JsonProperty("runtimeVersion")
	public String getRuntimeVersion() {
		return runtimeVersion;
	}

	/**
	 * setRuntimeVersion().
	 * 
	 * @param runtimeVersion to be set.
	 */
	@JsonProperty("runtimeVersion")
	public void setRuntimeVersion(String runtimeVersion) {
		this.runtimeVersion = runtimeVersion;
	}

	/**
	 * getAction().
	 * 
	 * @return action.
	 */
	@JsonProperty("action")
	public String getAction() {
		return action;
	}

	/**
	 * setAction().
	 * 
	 * @param action to be set.
	 */
	@JsonProperty("action")
	public void setAction(String action) {
		this.action = action;
	}

	/**
	 * getTags().
	 * 
	 * @return tags.
	 */
	@JsonProperty("tags")
	public List getTags() {
		return tags;
	}

	/**
	 * setTags().
	 * 
	 * @param tags to be set.
	 */
	@JsonProperty("tags")
	public void setTags(List tags) {
		this.tags = tags;
	}

	/**
	 * getEntrypoint().
	 * 
	 * @return entrypoint.
	 */
	@JsonProperty("entrypoint")
	public String getEntrypoint() {
		return entrypoint;
	}

	/**
	 * setEntrypoint().
	 * 
	 * @param entrypoint to be set.
	 */
	@JsonProperty("entrypoint")
	public void setEntrypoint(String entrypoint) {
		this.entrypoint = entrypoint;
	}

	/**
	 * getBase().
	 * 
	 * @return base.
	 */
	@JsonProperty("base")
	public String getBase() {
		return base;
	}

	/**
	 * setBase().
	 * 
	 * @param base to be set.
	 */
	@JsonProperty("base")
	public void setBase(String base) {
		this.base = base;
	}

	/**
	 * getMemoryLimitMb().
	 * 
	 * @return memoryLimitMb.
	 */
	@JsonProperty("memoryLimitMb")
	public Integer getMemoryLimitMb() {
		return memoryLimitMb;
	}

	/**
	 * setMemoryLimitMb().
	 * 
	 * @param memoryLimitMb to be set.
	 */
	@JsonProperty("memoryLimitMb")
	public void setMemoryLimitMb(Integer memoryLimitMb) {
		this.memoryLimitMb = memoryLimitMb;
	}

	/**
	 * getTimeoutSec().
	 * 
	 * @return timeoutSec.
	 */
	@JsonProperty("timeoutSec")
	public Integer getTimeoutSec() {
		return timeoutSec;
	}

	/**
	 * setTimeoutSec().
	 * 
	 * @param timeoutSec to be set.
	 */
	@JsonProperty("timeoutSec")
	public void setTimeoutSec(Integer timeoutSec) {
		this.timeoutSec = timeoutSec;
	}

	/**
	 * getProvider().
	 * 
	 * @return timeoutSec.
	 */
	@JsonProperty("provider")
	public String getProvider() {
		return provider;
	}

	/**
	 * setProvider().
	 * 
	 * @param provider to be set.
	 */
	@JsonProperty("provider")
	public void setProvider(String provider) {
		this.provider = provider;
	}

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

	/**
	 * setAdditionalProperty().
	 * 
	 * @param name  to be set.
	 * @param value to be set.
	 */
	@JsonAnySetter
	public void setAdditionalProperty(String name, Object value) {
		this.additionalProperties.put(name, value);
	}
}