Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.61 KB

File metadata and controls

44 lines (35 loc) · 2.61 KB

Environment

Properties

Name Type Description Notes
id int The internal ID of this entity.
created datetime The time this entity was created.
application_id int The ID of the Application that owns this entity.
slots List[SlotDef] The slots defined for this application.
functions List[FunctionDef] The functions defined for this application.
templates List[TemplateDef] The templates defined for this application.
variables str A stringified version of the environment's Talang variables scope.
giveaways_pools List[GiveawaysPool] The giveaways pools that the application is subscribed to. [optional]
loyalty_programs List[LoyaltyProgram] The loyalty programs that the application is subscribed to. [optional]
achievements List[Achievement] The achievements, linked to the campaigns, belonging to the application. [optional]
attributes List[Attribute] The attributes that the application is subscribed to. [optional]
additional_costs List[AccountAdditionalCost] The additional costs that the application is subscribed to. [optional]
audiences List[Audience] The audiences contained in the account which the application belongs to. [optional]
collections List[Collection] The account-level collections that the application is subscribed to. [optional]
application_cart_item_filters List[ApplicationCIF] The cart item filters belonging to the Application. [optional]
price_types List[PriceType] The price types that this Application can use. [optional]

Example

from talon_one.models.environment import Environment

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

# convert the object into a dict
environment_dict = environment_instance.to_dict()
# create an instance of Environment from a dict
environment_from_dict = Environment.from_dict(environment_dict)

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