You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.6 KiB
85 lines
2.6 KiB
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<Object> componentList; |
|
@JsonIgnore |
|
@Valid |
|
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>(); |
|
|
|
/* |
|
@JsonAnyGetter |
|
public Map<String, Object> getAdditionalProperties() { |
|
return this.additionalProperties; |
|
} |
|
|
|
@JsonAnySetter |
|
public void setAdditionalProperty(String name, Object value) { |
|
this.additionalProperties.put(name, value); |
|
} |
|
*/ |
|
|
|
}
|
|
|