Skip to content

application.v1#

zen_api.application.v1 #

Classes:

CompositionServiceCreateModuleRequest dataclass #

CompositionServiceCreateModuleRequest(module_id: str = betterproto.string_field(1), display_name: str = betterproto.string_field(2), description: str = betterproto.string_field(3), license_string: str = betterproto.string_field(4), minimum_required_version: str = betterproto.string_field(5))

Bases: Message

The CompositionServiceCreateModuleRequest class.

Attributes:

module_id class-attribute instance-attribute #

module_id: str = betterproto.string_field(1)

The id of the module.

display_name class-attribute instance-attribute #

display_name: str = betterproto.string_field(2)

The display name of the module.

description class-attribute instance-attribute #

description: str = betterproto.string_field(3)

The description of the module.

license_string class-attribute instance-attribute #

license_string: str = betterproto.string_field(4)

The license string.

minimum_required_version class-attribute instance-attribute #

minimum_required_version: str = betterproto.string_field(5)

The minimum required feature version.

CompositionServiceCreateModuleResponse dataclass #

CompositionServiceCreateModuleResponse()

Bases: Message

The CompositionServiceCreateModuleResponse class.

CompositionServiceIsModuleAvailableRequest dataclass #

CompositionServiceIsModuleAvailableRequest(module_id: str = betterproto.string_field(1))

Bases: Message

The CompositionServiceIsModuleAvailableRequest class.

Attributes:

module_id class-attribute instance-attribute #

module_id: str = betterproto.string_field(1)

The module id.

IsModuleAvailableResponse dataclass #

IsModuleAvailableResponse(is_available: bool = betterproto.bool_field(1))

Bases: Message

Response object of the method for checking the availability state of a composition module.

Attributes:

  • is_available (bool) –

    A value indicating whether the module is available or not.

is_available class-attribute instance-attribute #

is_available: bool = betterproto.bool_field(1)

A value indicating whether the module is available or not.

CompositionServiceStub #

Bases: ServiceStub

Methods:

create_module async #

create_module(composition_service_create_module_request: CompositionServiceCreateModuleRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> CompositionServiceCreateModuleResponse

Creates a module and adds it to the selected profile. With this method, a client can 'inject' a new module at runtime (e.g. via OAD script or ZEN API). After adding the module, it will appear as optional module of the selected profile just as any other module. The Module Manager can be used to verify this. After adding the module, the client can make use of the 'normal' license infrastructure to check the avaiability of the newly added module. Note: A module is available, if the module is licensed AND the user has enabled it (via the Module Manager). In case a module gets added via this method, the module is enabled by default.

is_module_available async #

is_module_available(composition_service_is_module_available_request: CompositionServiceIsModuleAvailableRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> IsModuleAvailableResponse

Returns the availability state of the given module.

CompositionServiceBase #

Bases: ServiceBase

Methods:

create_module async #

create_module(composition_service_create_module_request: CompositionServiceCreateModuleRequest) -> CompositionServiceCreateModuleResponse

Creates a module and adds it to the selected profile. With this method, a client can 'inject' a new module at runtime (e.g. via OAD script or ZEN API). After adding the module, it will appear as optional module of the selected profile just as any other module. The Module Manager can be used to verify this. After adding the module, the client can make use of the 'normal' license infrastructure to check the avaiability of the newly added module. Note: A module is available, if the module is licensed AND the user has enabled it (via the Module Manager). In case a module gets added via this method, the module is enabled by default.

is_module_available async #

is_module_available(composition_service_is_module_available_request: CompositionServiceIsModuleAvailableRequest) -> IsModuleAvailableResponse

Returns the availability state of the given module.