com.google.api.services.sheets.v4.model.Response 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: 2016-10-17 16:43:55 UTC)
* on 2016-11-07 at 22:12:47 UTC
* Modify at your own risk.
*/
package com.google.api.services.sheets.v4.model;
/**
* A single response from an update.
*
* 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 Sheets 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 Response extends com.google.api.client.json.GenericJson {
/**
* A reply from adding a banded range.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddBandingResponse addBanding;
/**
* A reply from adding a chart.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddChartResponse addChart;
/**
* A reply from adding a filter view.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddFilterViewResponse addFilterView;
/**
* A reply from adding a named range.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddNamedRangeResponse addNamedRange;
/**
* A reply from adding a protected range.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddProtectedRangeResponse addProtectedRange;
/**
* A reply from adding a sheet.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AddSheetResponse addSheet;
/**
* A reply from deleting a conditional format rule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeleteConditionalFormatRuleResponse deleteConditionalFormatRule;
/**
* A reply from duplicating a filter view.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DuplicateFilterViewResponse duplicateFilterView;
/**
* A reply from duplicating a sheet.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DuplicateSheetResponse duplicateSheet;
/**
* A reply from doing a find/replace.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private FindReplaceResponse findReplace;
/**
* A reply from updating a conditional format rule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private UpdateConditionalFormatRuleResponse updateConditionalFormatRule;
/**
* A reply from updating an embedded object's position.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private UpdateEmbeddedObjectPositionResponse updateEmbeddedObjectPosition;
/**
* A reply from adding a banded range.
* @return value or {@code null} for none
*/
public AddBandingResponse getAddBanding() {
return addBanding;
}
/**
* A reply from adding a banded range.
* @param addBanding addBanding or {@code null} for none
*/
public Response setAddBanding(AddBandingResponse addBanding) {
this.addBanding = addBanding;
return this;
}
/**
* A reply from adding a chart.
* @return value or {@code null} for none
*/
public AddChartResponse getAddChart() {
return addChart;
}
/**
* A reply from adding a chart.
* @param addChart addChart or {@code null} for none
*/
public Response setAddChart(AddChartResponse addChart) {
this.addChart = addChart;
return this;
}
/**
* A reply from adding a filter view.
* @return value or {@code null} for none
*/
public AddFilterViewResponse getAddFilterView() {
return addFilterView;
}
/**
* A reply from adding a filter view.
* @param addFilterView addFilterView or {@code null} for none
*/
public Response setAddFilterView(AddFilterViewResponse addFilterView) {
this.addFilterView = addFilterView;
return this;
}
/**
* A reply from adding a named range.
* @return value or {@code null} for none
*/
public AddNamedRangeResponse getAddNamedRange() {
return addNamedRange;
}
/**
* A reply from adding a named range.
* @param addNamedRange addNamedRange or {@code null} for none
*/
public Response setAddNamedRange(AddNamedRangeResponse addNamedRange) {
this.addNamedRange = addNamedRange;
return this;
}
/**
* A reply from adding a protected range.
* @return value or {@code null} for none
*/
public AddProtectedRangeResponse getAddProtectedRange() {
return addProtectedRange;
}
/**
* A reply from adding a protected range.
* @param addProtectedRange addProtectedRange or {@code null} for none
*/
public Response setAddProtectedRange(AddProtectedRangeResponse addProtectedRange) {
this.addProtectedRange = addProtectedRange;
return this;
}
/**
* A reply from adding a sheet.
* @return value or {@code null} for none
*/
public AddSheetResponse getAddSheet() {
return addSheet;
}
/**
* A reply from adding a sheet.
* @param addSheet addSheet or {@code null} for none
*/
public Response setAddSheet(AddSheetResponse addSheet) {
this.addSheet = addSheet;
return this;
}
/**
* A reply from deleting a conditional format rule.
* @return value or {@code null} for none
*/
public DeleteConditionalFormatRuleResponse getDeleteConditionalFormatRule() {
return deleteConditionalFormatRule;
}
/**
* A reply from deleting a conditional format rule.
* @param deleteConditionalFormatRule deleteConditionalFormatRule or {@code null} for none
*/
public Response setDeleteConditionalFormatRule(DeleteConditionalFormatRuleResponse deleteConditionalFormatRule) {
this.deleteConditionalFormatRule = deleteConditionalFormatRule;
return this;
}
/**
* A reply from duplicating a filter view.
* @return value or {@code null} for none
*/
public DuplicateFilterViewResponse getDuplicateFilterView() {
return duplicateFilterView;
}
/**
* A reply from duplicating a filter view.
* @param duplicateFilterView duplicateFilterView or {@code null} for none
*/
public Response setDuplicateFilterView(DuplicateFilterViewResponse duplicateFilterView) {
this.duplicateFilterView = duplicateFilterView;
return this;
}
/**
* A reply from duplicating a sheet.
* @return value or {@code null} for none
*/
public DuplicateSheetResponse getDuplicateSheet() {
return duplicateSheet;
}
/**
* A reply from duplicating a sheet.
* @param duplicateSheet duplicateSheet or {@code null} for none
*/
public Response setDuplicateSheet(DuplicateSheetResponse duplicateSheet) {
this.duplicateSheet = duplicateSheet;
return this;
}
/**
* A reply from doing a find/replace.
* @return value or {@code null} for none
*/
public FindReplaceResponse getFindReplace() {
return findReplace;
}
/**
* A reply from doing a find/replace.
* @param findReplace findReplace or {@code null} for none
*/
public Response setFindReplace(FindReplaceResponse findReplace) {
this.findReplace = findReplace;
return this;
}
/**
* A reply from updating a conditional format rule.
* @return value or {@code null} for none
*/
public UpdateConditionalFormatRuleResponse getUpdateConditionalFormatRule() {
return updateConditionalFormatRule;
}
/**
* A reply from updating a conditional format rule.
* @param updateConditionalFormatRule updateConditionalFormatRule or {@code null} for none
*/
public Response setUpdateConditionalFormatRule(UpdateConditionalFormatRuleResponse updateConditionalFormatRule) {
this.updateConditionalFormatRule = updateConditionalFormatRule;
return this;
}
/**
* A reply from updating an embedded object's position.
* @return value or {@code null} for none
*/
public UpdateEmbeddedObjectPositionResponse getUpdateEmbeddedObjectPosition() {
return updateEmbeddedObjectPosition;
}
/**
* A reply from updating an embedded object's position.
* @param updateEmbeddedObjectPosition updateEmbeddedObjectPosition or {@code null} for none
*/
public Response setUpdateEmbeddedObjectPosition(UpdateEmbeddedObjectPositionResponse updateEmbeddedObjectPosition) {
this.updateEmbeddedObjectPosition = updateEmbeddedObjectPosition;
return this;
}
@Override
public Response set(String fieldName, Object value) {
return (Response) super.set(fieldName, value);
}
@Override
public Response clone() {
return (Response) super.clone();
}
}