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

com.google.api.services.containeranalysis.v1.model.SbomReferenceIntotoPayload Maven / Gradle / Ivy

There is a newer version: v1-rev20240816-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.containeranalysis.v1.model;

/**
 * The actual payload that contains the SBOM Reference data. The payload follows the intoto
 * statement specification. See https://github.com/in-
 * toto/attestation/blob/main/spec/v1.0/statement.md for more details.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Container Analysis API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class SbomReferenceIntotoPayload extends com.google.api.client.json.GenericJson { /** * Identifier for the schema of the Statement. * The value may be {@code null}. */ @com.google.api.client.util.Key("_type") private java.lang.String type; /** * Additional parameters of the Predicate. Includes the actual data about the SBOM. * The value may be {@code null}. */ @com.google.api.client.util.Key private SbomReferenceIntotoPredicate predicate; /** * URI identifying the type of the Predicate. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String predicateType; /** * Set of software artifacts that the attestation applies to. Each element represents a single * software artifact. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List subject; /** * Identifier for the schema of the Statement. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Identifier for the schema of the Statement. * @param type type or {@code null} for none */ public SbomReferenceIntotoPayload setType(java.lang.String type) { this.type = type; return this; } /** * Additional parameters of the Predicate. Includes the actual data about the SBOM. * @return value or {@code null} for none */ public SbomReferenceIntotoPredicate getPredicate() { return predicate; } /** * Additional parameters of the Predicate. Includes the actual data about the SBOM. * @param predicate predicate or {@code null} for none */ public SbomReferenceIntotoPayload setPredicate(SbomReferenceIntotoPredicate predicate) { this.predicate = predicate; return this; } /** * URI identifying the type of the Predicate. * @return value or {@code null} for none */ public java.lang.String getPredicateType() { return predicateType; } /** * URI identifying the type of the Predicate. * @param predicateType predicateType or {@code null} for none */ public SbomReferenceIntotoPayload setPredicateType(java.lang.String predicateType) { this.predicateType = predicateType; return this; } /** * Set of software artifacts that the attestation applies to. Each element represents a single * software artifact. * @return value or {@code null} for none */ public java.util.List getSubject() { return subject; } /** * Set of software artifacts that the attestation applies to. Each element represents a single * software artifact. * @param subject subject or {@code null} for none */ public SbomReferenceIntotoPayload setSubject(java.util.List subject) { this.subject = subject; return this; } @Override public SbomReferenceIntotoPayload set(String fieldName, Object value) { return (SbomReferenceIntotoPayload) super.set(fieldName, value); } @Override public SbomReferenceIntotoPayload clone() { return (SbomReferenceIntotoPayload) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy