Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.47 KB

File metadata and controls

30 lines (22 loc) · 1.47 KB

Audience

The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.

Properties

Name Type Description Notes
genders List[str] The genders of the audience. Strongly encouraged to use the standard values: 'male', 'female', 'unisex'. At most 5 values are allowed. Length limit of 128 characters. [optional]
age_groups List[str] The age groups of the audience. Strongly encouraged to use the standard values: 'newborn' (up to 3 months old), 'infant' (3-12 months old), 'toddler' (1-5 years old), 'kids' (5-13 years old), 'adult' (typically teens or older). At most 5 values are allowed. Length limit of 128 characters. [optional]

Example

from gb_retailapi_client.models.audience import Audience

# TODO update the JSON string below
json = "{}"
# create an instance of Audience from a JSON string
audience_instance = Audience.from_json(json)
# print the JSON string representation of the object
print Audience.to_json()

# convert the object into a dict
audience_dict = audience_instance.to_dict()
# create an instance of Audience from a dict
audience_form_dict = audience.from_dict(audience_dict)

[Back to Model list] [Back to API list] [Back to README]