Current section

Files

Jump to
google_api_manufacturers lib google_api manufacturers v1 model attributes.ex
Raw

lib/google_api/manufacturers/v1/model/attributes.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.Manufacturers.V1.Model.Attributes do
@moduledoc """
Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.
## Attributes
- additionalImageLink ([Image]): The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. Defaults to: `null`.
- ageGroup (String.t): The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. Defaults to: `null`.
- brand (String.t): The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. Defaults to: `null`.
- capacity (Capacity): The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. Defaults to: `null`.
- color (String.t): The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. Defaults to: `null`.
- count (Count): The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. Defaults to: `null`.
- description (String.t): The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. Defaults to: `null`.
- disclosureDate (String.t): The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. Defaults to: `null`.
- excludedDestination ([String.t]): A list of excluded destinations. Defaults to: `null`.
- featureDescription ([FeatureDescription]): The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. Defaults to: `null`.
- flavor (String.t): The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. Defaults to: `null`.
- format (String.t): The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. Defaults to: `null`.
- gender (String.t): The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. Defaults to: `null`.
- gtin ([String.t]): The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. Defaults to: `null`.
- imageLink (Image): The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. Defaults to: `null`.
- includedDestination ([String.t]): A list of included destinations. Defaults to: `null`.
- itemGroupId (String.t): The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. Defaults to: `null`.
- material (String.t): The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. Defaults to: `null`.
- mpn (String.t): The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. Defaults to: `null`.
- pattern (String.t): The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. Defaults to: `null`.
- productDetail ([ProductDetail]): The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. Defaults to: `null`.
- productLine (String.t): The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. Defaults to: `null`.
- productName (String.t): The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. Defaults to: `null`.
- productPageUrl (String.t): The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. Defaults to: `null`.
- productType ([String.t]): The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. Defaults to: `null`.
- releaseDate (String.t): The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. Defaults to: `null`.
- scent (String.t): The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. Defaults to: `null`.
- size (String.t): The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. Defaults to: `null`.
- sizeSystem (String.t): The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. Defaults to: `null`.
- sizeType (String.t): The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. Defaults to: `null`.
- suggestedRetailPrice (Price): The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. Defaults to: `null`.
- targetClientId (String.t): The target client id. Should only be used in the accounts of the data partners. Defaults to: `null`.
- theme (String.t): The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. Defaults to: `null`.
- title (String.t): The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. Defaults to: `null`.
- videoLink ([String.t]): The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:additionalImageLink => list(GoogleApi.Manufacturers.V1.Model.Image.t()),
:ageGroup => any(),
:brand => any(),
:capacity => GoogleApi.Manufacturers.V1.Model.Capacity.t(),
:color => any(),
:count => GoogleApi.Manufacturers.V1.Model.Count.t(),
:description => any(),
:disclosureDate => any(),
:excludedDestination => list(any()),
:featureDescription => list(GoogleApi.Manufacturers.V1.Model.FeatureDescription.t()),
:flavor => any(),
:format => any(),
:gender => any(),
:gtin => list(any()),
:imageLink => GoogleApi.Manufacturers.V1.Model.Image.t(),
:includedDestination => list(any()),
:itemGroupId => any(),
:material => any(),
:mpn => any(),
:pattern => any(),
:productDetail => list(GoogleApi.Manufacturers.V1.Model.ProductDetail.t()),
:productLine => any(),
:productName => any(),
:productPageUrl => any(),
:productType => list(any()),
:releaseDate => any(),
:scent => any(),
:size => any(),
:sizeSystem => any(),
:sizeType => any(),
:suggestedRetailPrice => GoogleApi.Manufacturers.V1.Model.Price.t(),
:targetClientId => any(),
:theme => any(),
:title => any(),
:videoLink => list(any())
}
field(:additionalImageLink, as: GoogleApi.Manufacturers.V1.Model.Image, type: :list)
field(:ageGroup)
field(:brand)
field(:capacity, as: GoogleApi.Manufacturers.V1.Model.Capacity)
field(:color)
field(:count, as: GoogleApi.Manufacturers.V1.Model.Count)
field(:description)
field(:disclosureDate)
field(:excludedDestination, type: :list)
field(:featureDescription, as: GoogleApi.Manufacturers.V1.Model.FeatureDescription, type: :list)
field(:flavor)
field(:format)
field(:gender)
field(:gtin, type: :list)
field(:imageLink, as: GoogleApi.Manufacturers.V1.Model.Image)
field(:includedDestination, type: :list)
field(:itemGroupId)
field(:material)
field(:mpn)
field(:pattern)
field(:productDetail, as: GoogleApi.Manufacturers.V1.Model.ProductDetail, type: :list)
field(:productLine)
field(:productName)
field(:productPageUrl)
field(:productType, type: :list)
field(:releaseDate)
field(:scent)
field(:size)
field(:sizeSystem)
field(:sizeType)
field(:suggestedRetailPrice, as: GoogleApi.Manufacturers.V1.Model.Price)
field(:targetClientId)
field(:theme)
field(:title)
field(:videoLink, type: :list)
end
defimpl Poison.Decoder, for: GoogleApi.Manufacturers.V1.Model.Attributes do
def decode(value, options) do
GoogleApi.Manufacturers.V1.Model.Attributes.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Manufacturers.V1.Model.Attributes do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end