Packages
google_api_sheets
0.0.2
0.35.0
0.34.0
0.33.5
0.33.4
0.33.3
0.33.2
0.33.1
0.33.0
0.32.0
0.31.0
0.30.0
0.29.4
0.29.3
0.29.2
0.29.1
0.29.0
0.28.2
0.28.1
0.28.0
0.27.0
0.26.0
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.0
0.22.1
0.22.0
0.21.2
0.21.1
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.2
0.0.1
Google Sheets API client library. Reads and writes Google Sheets.
Current section
Files
Jump to
Current section
Files
lib/google_api/sheets/v4/model/response.ex
# Copyright 2017 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.
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule GoogleApi.Sheets.V4.Model.Response do
@moduledoc """
A single response from an update.
## Attributes
- addBanding (AddBandingResponse): A reply from adding a banded range. Defaults to: `null`.
- addChart (AddChartResponse): A reply from adding a chart. Defaults to: `null`.
- addDimensionGroup (AddDimensionGroupResponse): A reply from adding a dimension group. Defaults to: `null`.
- addFilterView (AddFilterViewResponse): A reply from adding a filter view. Defaults to: `null`.
- addNamedRange (AddNamedRangeResponse): A reply from adding a named range. Defaults to: `null`.
- addProtectedRange (AddProtectedRangeResponse): A reply from adding a protected range. Defaults to: `null`.
- addSheet (AddSheetResponse): A reply from adding a sheet. Defaults to: `null`.
- createDeveloperMetadata (CreateDeveloperMetadataResponse): A reply from creating a developer metadata entry. Defaults to: `null`.
- deleteConditionalFormatRule (DeleteConditionalFormatRuleResponse): A reply from deleting a conditional format rule. Defaults to: `null`.
- deleteDeveloperMetadata (DeleteDeveloperMetadataResponse): A reply from deleting a developer metadata entry. Defaults to: `null`.
- deleteDimensionGroup (DeleteDimensionGroupResponse): A reply from deleting a dimension group. Defaults to: `null`.
- duplicateFilterView (DuplicateFilterViewResponse): A reply from duplicating a filter view. Defaults to: `null`.
- duplicateSheet (DuplicateSheetResponse): A reply from duplicating a sheet. Defaults to: `null`.
- findReplace (FindReplaceResponse): A reply from doing a find/replace. Defaults to: `null`.
- updateConditionalFormatRule (UpdateConditionalFormatRuleResponse): A reply from updating a conditional format rule. Defaults to: `null`.
- updateDeveloperMetadata (UpdateDeveloperMetadataResponse): A reply from updating a developer metadata entry. Defaults to: `null`.
- updateEmbeddedObjectPosition (UpdateEmbeddedObjectPositionResponse): A reply from updating an embedded object's position. Defaults to: `null`.
"""
@type t :: %__MODULE__{
addBanding: GoogleApi.Sheets.V4.Model.AddBandingResponse.t(),
addChart: GoogleApi.Sheets.V4.Model.AddChartResponse.t(),
addDimensionGroup: GoogleApi.Sheets.V4.Model.AddDimensionGroupResponse.t(),
addFilterView: GoogleApi.Sheets.V4.Model.AddFilterViewResponse.t(),
addNamedRange: GoogleApi.Sheets.V4.Model.AddNamedRangeResponse.t(),
addProtectedRange: GoogleApi.Sheets.V4.Model.AddProtectedRangeResponse.t(),
addSheet: GoogleApi.Sheets.V4.Model.AddSheetResponse.t(),
createDeveloperMetadata: GoogleApi.Sheets.V4.Model.CreateDeveloperMetadataResponse.t(),
deleteConditionalFormatRule:
GoogleApi.Sheets.V4.Model.DeleteConditionalFormatRuleResponse.t(),
deleteDeveloperMetadata: GoogleApi.Sheets.V4.Model.DeleteDeveloperMetadataResponse.t(),
deleteDimensionGroup: GoogleApi.Sheets.V4.Model.DeleteDimensionGroupResponse.t(),
duplicateFilterView: GoogleApi.Sheets.V4.Model.DuplicateFilterViewResponse.t(),
duplicateSheet: GoogleApi.Sheets.V4.Model.DuplicateSheetResponse.t(),
findReplace: GoogleApi.Sheets.V4.Model.FindReplaceResponse.t(),
updateConditionalFormatRule:
GoogleApi.Sheets.V4.Model.UpdateConditionalFormatRuleResponse.t(),
updateDeveloperMetadata: GoogleApi.Sheets.V4.Model.UpdateDeveloperMetadataResponse.t(),
updateEmbeddedObjectPosition:
GoogleApi.Sheets.V4.Model.UpdateEmbeddedObjectPositionResponse.t()
}
defstruct [
:addBanding,
:addChart,
:addDimensionGroup,
:addFilterView,
:addNamedRange,
:addProtectedRange,
:addSheet,
:createDeveloperMetadata,
:deleteConditionalFormatRule,
:deleteDeveloperMetadata,
:deleteDimensionGroup,
:duplicateFilterView,
:duplicateSheet,
:findReplace,
:updateConditionalFormatRule,
:updateDeveloperMetadata,
:updateEmbeddedObjectPosition
]
end
defimpl Poison.Decoder, for: GoogleApi.Sheets.V4.Model.Response do
import GoogleApi.Sheets.V4.Deserializer
def decode(value, options) do
value
|> deserialize(:addBanding, :struct, GoogleApi.Sheets.V4.Model.AddBandingResponse, options)
|> deserialize(:addChart, :struct, GoogleApi.Sheets.V4.Model.AddChartResponse, options)
|> deserialize(
:addDimensionGroup,
:struct,
GoogleApi.Sheets.V4.Model.AddDimensionGroupResponse,
options
)
|> deserialize(
:addFilterView,
:struct,
GoogleApi.Sheets.V4.Model.AddFilterViewResponse,
options
)
|> deserialize(
:addNamedRange,
:struct,
GoogleApi.Sheets.V4.Model.AddNamedRangeResponse,
options
)
|> deserialize(
:addProtectedRange,
:struct,
GoogleApi.Sheets.V4.Model.AddProtectedRangeResponse,
options
)
|> deserialize(:addSheet, :struct, GoogleApi.Sheets.V4.Model.AddSheetResponse, options)
|> deserialize(
:createDeveloperMetadata,
:struct,
GoogleApi.Sheets.V4.Model.CreateDeveloperMetadataResponse,
options
)
|> deserialize(
:deleteConditionalFormatRule,
:struct,
GoogleApi.Sheets.V4.Model.DeleteConditionalFormatRuleResponse,
options
)
|> deserialize(
:deleteDeveloperMetadata,
:struct,
GoogleApi.Sheets.V4.Model.DeleteDeveloperMetadataResponse,
options
)
|> deserialize(
:deleteDimensionGroup,
:struct,
GoogleApi.Sheets.V4.Model.DeleteDimensionGroupResponse,
options
)
|> deserialize(
:duplicateFilterView,
:struct,
GoogleApi.Sheets.V4.Model.DuplicateFilterViewResponse,
options
)
|> deserialize(
:duplicateSheet,
:struct,
GoogleApi.Sheets.V4.Model.DuplicateSheetResponse,
options
)
|> deserialize(:findReplace, :struct, GoogleApi.Sheets.V4.Model.FindReplaceResponse, options)
|> deserialize(
:updateConditionalFormatRule,
:struct,
GoogleApi.Sheets.V4.Model.UpdateConditionalFormatRuleResponse,
options
)
|> deserialize(
:updateDeveloperMetadata,
:struct,
GoogleApi.Sheets.V4.Model.UpdateDeveloperMetadataResponse,
options
)
|> deserialize(
:updateEmbeddedObjectPosition,
:struct,
GoogleApi.Sheets.V4.Model.UpdateEmbeddedObjectPositionResponse,
options
)
end
end
defimpl Poison.Encoder, for: GoogleApi.Sheets.V4.Model.Response do
def encode(value, options) do
GoogleApi.Sheets.V4.Deserializer.serialize_non_nil(value, options)
end
end