com.google.api.services.checks.v1alpha.model.GoogleChecksRepoScanV1alphaRepoScan Maven / Gradle / Ivy
/*
* 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.checks.v1alpha.model;
/**
* Repo scan.
*
* 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 Checks 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 GoogleChecksRepoScanV1alphaRepoScan extends com.google.api.client.json.GenericJson {
/**
* CLI version.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String cliVersion;
/**
* Local scan path.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String localScanPath;
/**
* Identifier. Resource name of the scan.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* A URL to view results.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resultsUri;
/**
* SCM metadata.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleChecksRepoScanV1alphaScmMetadata scmMetadata;
/**
* Data sources detected.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List sources;
/**
* CLI version.
* @return value or {@code null} for none
*/
public java.lang.String getCliVersion() {
return cliVersion;
}
/**
* CLI version.
* @param cliVersion cliVersion or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setCliVersion(java.lang.String cliVersion) {
this.cliVersion = cliVersion;
return this;
}
/**
* Local scan path.
* @return value or {@code null} for none
*/
public java.lang.String getLocalScanPath() {
return localScanPath;
}
/**
* Local scan path.
* @param localScanPath localScanPath or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setLocalScanPath(java.lang.String localScanPath) {
this.localScanPath = localScanPath;
return this;
}
/**
* Identifier. Resource name of the scan.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Identifier. Resource name of the scan.
* @param name name or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* A URL to view results.
* @return value or {@code null} for none
*/
public java.lang.String getResultsUri() {
return resultsUri;
}
/**
* A URL to view results.
* @param resultsUri resultsUri or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setResultsUri(java.lang.String resultsUri) {
this.resultsUri = resultsUri;
return this;
}
/**
* SCM metadata.
* @return value or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaScmMetadata getScmMetadata() {
return scmMetadata;
}
/**
* SCM metadata.
* @param scmMetadata scmMetadata or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setScmMetadata(GoogleChecksRepoScanV1alphaScmMetadata scmMetadata) {
this.scmMetadata = scmMetadata;
return this;
}
/**
* Data sources detected.
* @return value or {@code null} for none
*/
public java.util.List getSources() {
return sources;
}
/**
* Data sources detected.
* @param sources sources or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaRepoScan setSources(java.util.List sources) {
this.sources = sources;
return this;
}
@Override
public GoogleChecksRepoScanV1alphaRepoScan set(String fieldName, Object value) {
return (GoogleChecksRepoScanV1alphaRepoScan) super.set(fieldName, value);
}
@Override
public GoogleChecksRepoScanV1alphaRepoScan clone() {
return (GoogleChecksRepoScanV1alphaRepoScan) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy