com.google.api.services.script.model.Deployment Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2018-02-26 17:53:51 UTC)
* on 2018-03-22 at 20:04:42 UTC
* Modify at your own risk.
*/
package com.google.api.services.script.model;
/**
* Representation of a single script deployment.
*
* 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 Google Apps Script 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 Deployment extends com.google.api.client.json.GenericJson {
/**
* The deployment configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeploymentConfig deploymentConfig;
/**
* The deployment ID for this deployment.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String deploymentId;
/**
* The deployment's entry points.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List entryPoints;
/**
* Script's defined set of functions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleAppsScriptTypeFunctionSet functionSet;
/**
* Set of scopes required by the deployment.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleAppsScriptTypeScopeSet scopeSet;
/**
* Last modified date time stamp.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* The deployment configuration.
* @return value or {@code null} for none
*/
public DeploymentConfig getDeploymentConfig() {
return deploymentConfig;
}
/**
* The deployment configuration.
* @param deploymentConfig deploymentConfig or {@code null} for none
*/
public Deployment setDeploymentConfig(DeploymentConfig deploymentConfig) {
this.deploymentConfig = deploymentConfig;
return this;
}
/**
* The deployment ID for this deployment.
* @return value or {@code null} for none
*/
public java.lang.String getDeploymentId() {
return deploymentId;
}
/**
* The deployment ID for this deployment.
* @param deploymentId deploymentId or {@code null} for none
*/
public Deployment setDeploymentId(java.lang.String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
/**
* The deployment's entry points.
* @return value or {@code null} for none
*/
public java.util.List getEntryPoints() {
return entryPoints;
}
/**
* The deployment's entry points.
* @param entryPoints entryPoints or {@code null} for none
*/
public Deployment setEntryPoints(java.util.List entryPoints) {
this.entryPoints = entryPoints;
return this;
}
/**
* Script's defined set of functions.
* @return value or {@code null} for none
*/
public GoogleAppsScriptTypeFunctionSet getFunctionSet() {
return functionSet;
}
/**
* Script's defined set of functions.
* @param functionSet functionSet or {@code null} for none
*/
public Deployment setFunctionSet(GoogleAppsScriptTypeFunctionSet functionSet) {
this.functionSet = functionSet;
return this;
}
/**
* Set of scopes required by the deployment.
* @return value or {@code null} for none
*/
public GoogleAppsScriptTypeScopeSet getScopeSet() {
return scopeSet;
}
/**
* Set of scopes required by the deployment.
* @param scopeSet scopeSet or {@code null} for none
*/
public Deployment setScopeSet(GoogleAppsScriptTypeScopeSet scopeSet) {
this.scopeSet = scopeSet;
return this;
}
/**
* Last modified date time stamp.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Last modified date time stamp.
* @param updateTime updateTime or {@code null} for none
*/
public Deployment setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public Deployment set(String fieldName, Object value) {
return (Deployment) super.set(fieldName, value);
}
@Override
public Deployment clone() {
return (Deployment) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy