# Copyright 2019 Google LLC # # 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 file is auto generated by the elixir code generator program. # Do not edit this file manually. defmodule GoogleApi.Analytics.V3.Model.McfData do @moduledoc """ Multi-Channel Funnels data for a given view (profile). ## Attributes * `columnHeaders` (*type:* `list(GoogleApi.Analytics.V3.Model.McfDataColumnHeaders.t)`, *default:* `nil`) - Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. * `containsSampledData` (*type:* `boolean()`, *default:* `nil`) - Determines if the Analytics data contains sampled data. * `id` (*type:* `String.t`, *default:* `nil`) - Unique ID for this data response. * `itemsPerPage` (*type:* `integer()`, *default:* `nil`) - The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter. * `kind` (*type:* `String.t`, *default:* `analytics#mcfData`) - Resource type. * `nextLink` (*type:* `String.t`, *default:* `nil`) - Link to next page for this Analytics data query. * `previousLink` (*type:* `String.t`, *default:* `nil`) - Link to previous page for this Analytics data query. * `profileInfo` (*type:* `GoogleApi.Analytics.V3.Model.McfDataProfileInfo.t`, *default:* `nil`) - Information for the view (profile), for which the Analytics data was requested. * `query` (*type:* `GoogleApi.Analytics.V3.Model.McfDataQuery.t`, *default:* `nil`) - Analytics data request query parameters. * `rows` (*type:* `list(list(GoogleApi.Analytics.V3.Model.McfDataRows.t))`, *default:* `nil`) - Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request. * `sampleSize` (*type:* `String.t`, *default:* `nil`) - The number of samples used to calculate the result. * `sampleSpace` (*type:* `String.t`, *default:* `nil`) - Total size of the sample space from which the samples were selected. * `selfLink` (*type:* `String.t`, *default:* `nil`) - Link to this page. * `totalResults` (*type:* `integer()`, *default:* `nil`) - The total number of rows for the query, regardless of the number of rows in the response. * `totalsForAllResults` (*type:* `map()`, *default:* `nil`) - Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :columnHeaders => list(GoogleApi.Analytics.V3.Model.McfDataColumnHeaders.t()), :containsSampledData => boolean(), :id => String.t(), :itemsPerPage => integer(), :kind => String.t(), :nextLink => String.t(), :previousLink => String.t(), :profileInfo => GoogleApi.Analytics.V3.Model.McfDataProfileInfo.t(), :query => GoogleApi.Analytics.V3.Model.McfDataQuery.t(), :rows => list(list(GoogleApi.Analytics.V3.Model.McfDataRows.t())), :sampleSize => String.t(), :sampleSpace => String.t(), :selfLink => String.t(), :totalResults => integer(), :totalsForAllResults => map() } field(:columnHeaders, as: GoogleApi.Analytics.V3.Model.McfDataColumnHeaders, type: :list) field(:containsSampledData) field(:id) field(:itemsPerPage) field(:kind) field(:nextLink) field(:previousLink) field(:profileInfo, as: GoogleApi.Analytics.V3.Model.McfDataProfileInfo) field(:query, as: GoogleApi.Analytics.V3.Model.McfDataQuery) field(:rows, type: :list) field(:sampleSize) field(:sampleSpace) field(:selfLink) field(:totalResults) field(:totalsForAllResults, type: :map) end defimpl Poison.Decoder, for: GoogleApi.Analytics.V3.Model.McfData do def decode(value, options) do GoogleApi.Analytics.V3.Model.McfData.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Analytics.V3.Model.McfData do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end