air_sdk.endpoints.marketplace_demos
air_sdk.endpoints.marketplace_demos
Stub file for marketplace demos endpoint type hints.
Classes
Module Contents
Bases: air_sdk.air_model.AirModel
Marketplace demo model representing a marketplace demo.
Unique identifier for the marketplace demo
Human-readable name of the marketplace demo
Demo simulation to be used as a base for cloned simulations.
Timestamp when the marketplace demo was created
Timestamp when the marketplace demo was last modified
The creator of the marketplace demo
The documentation of the marketplace demo
How many unique users have liked the marketplace demo
Whether the current user has liked the marketplace demo
Whether the marketplace demo is published
The description of the demo
The repository of the marketplace demo
The icon of the marketplace demo
Update the marketplace demo’s properties.
Parameters:
name– New name for the marketplace demodescription– Description of the marketplace demodocumentation– Documentation of the marketplace demorepo– Repository of the marketplace demotags– Tags of the marketplace demoicon– Icon of the marketplace demo
Returns:
The updated MarketplaceDemo instance
Example:
Publish the marketplace demo.
Example:
Unpublish the marketplace demo.
Example:
Provision a simulation from this marketplace demo.
Returns:
The newly created simulation instance.
Example:
Bases: air_sdk.air_model.BaseEndpointAPI[air_sdk.endpoints.marketplace_demos.MarketplaceDemo]
API client for marketplace demo endpoints.
Create a new marketplace demo.
Parameters:
name– Name for the new marketplace demosimulation– Simulation to be used to provision the marketplace demodescription– Description of the marketplace demodocumentation– Documentation of the marketplace demorepo– Repository of the marketplace demotags– Tags of the marketplace demoicon– Icon of the marketplace democheckpoint– A COMPLETE checkpoint to clone from. Provided checkpoint must belong to the simulation. If not specified, latest COMPLETE checkpoint will be used.
Returns:
The created MarketplaceDemo instance
Example:
Delete a marketplace demo.
Parameters:
pk– The marketplace demo ID (string or UUID)
Example:
List all marketplace demos.
Optional parameters: creator: Filter by creator email published: Filter by published status tags: Filter by tags search: Search term to filter demos ordering: Order the response by the specified field liked_by_client: Filter by liked by client status limit: Number of results to return per page offset: The initial index from which to return the results
Returns:
Iterator of MarketplaceDemo instances
Example:
Get a specific marketplace demo by ID.
Parameters:
pk– The marketplace demo ID (string or UUID)
Returns:
The MarketplaceDemo instance
Example:
Publish a marketplace demo.
Parameters:
marketplace_demo– The marketplace demo to publish (object or ID)
Returns:
None
Example:
Unpublish a marketplace demo.
Parameters:
marketplace_demo– The marketplace demo to unpublish (object or ID)
Returns:
None
Example:
Provision a simulation from a marketplace demo.
Creates a new simulation by cloning the demo simulation.
Parameters:
marketplace_demo– The marketplace demo to provision (object or ID)
Returns:
The newly created simulation instance.
Example: