package com.redhat.pctsec.model; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; 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.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Size; public class pssaas { /** * The product ID associated with the scan. * (Required) * */ @JsonProperty("product-id") @JsonPropertyDescription("The product ID associated with the scan.") @NotNull public String productId; /** * The submission event ID associated with the scan. * */ @JsonProperty("event-id") @JsonPropertyDescription("The submission event ID associated with the scan.") public String eventId; /** * Indicates whether or not the product is a managed service. * (Required) * */ @JsonProperty("is-managed-service") @JsonPropertyDescription("Indicates whether or not the product is a managed service.") @NotNull public Boolean isManagedService; /** * The version of CPaaS that submitted the scan. * */ @JsonProperty("cpaas-version") @JsonPropertyDescription("The version of CPaaS that submitted the scan.") public String cpaasVersion; /** * URL of Jenkins job that submitted the scan. * */ @JsonProperty("job-url") @JsonPropertyDescription("URL of Jenkins job that submitted the scan.") public String jobUrl; /** * List of components to be scanned. * (Required) * */ @JsonProperty("component-list") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("List of components to be scanned.") @Size(min = 1) @Valid @NotNull public Set componentList; @JsonIgnore @Valid private Map additionalProperties = new LinkedHashMap(); /* @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } */ }