benchling_sdk.models.webhooks.v0 package¶

class WebhookEnvelopeV0¶

Bases: object

__init__(app: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_app.WebhookEnvelopeV0App, app_definition: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_app_definition.WebhookEnvelopeV0AppDefinition, base_url: str, channel: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_channel.WebhookEnvelopeV0Channel, message: Union[benchling_api_client.webhooks.v0.stable.models.canvas_interaction_webhook_v0.CanvasInteractionWebhookV0, benchling_api_client.webhooks.v0.stable.models.canvas_initialize_webhook_v0.CanvasInitializeWebhookV0, benchling_api_client.webhooks.v0.stable.models.lifecycle_activate_webhook_v0.LifecycleActivateWebhookV0, benchling_api_client.webhooks.v0.stable.models.lifecycle_deactivate_webhook_v0.LifecycleDeactivateWebhookV0, benchling_api_client.v2.extensions.UnknownType], tenant_id: str, version: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_version.WebhookEnvelopeV0Version) → None¶

Method generated by attrs for class WebhookEnvelopeV0.

property additional_keys: List[str]¶
additional_properties: Dict[str, Any]¶
property app: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_app.WebhookEnvelopeV0App¶
property app_definition: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_app_definition.WebhookEnvelopeV0AppDefinition¶
property base_url: str¶

Base tenant URL from which the webhook is coming

property channel: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_channel.WebhookEnvelopeV0Channel¶
classmethod from_dict(src_dict: Dict[str, Any], strict: bool = False) → benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0.T¶
get(key, default=None) → Optional[Any]¶
property message: Union[benchling_api_client.webhooks.v0.stable.models.canvas_interaction_webhook_v0.CanvasInteractionWebhookV0, benchling_api_client.webhooks.v0.stable.models.canvas_initialize_webhook_v0.CanvasInitializeWebhookV0, benchling_api_client.webhooks.v0.stable.models.lifecycle_activate_webhook_v0.LifecycleActivateWebhookV0, benchling_api_client.webhooks.v0.stable.models.lifecycle_deactivate_webhook_v0.LifecycleDeactivateWebhookV0, benchling_api_client.v2.extensions.UnknownType]¶
property tenant_id: str¶

Global tenant id from which the webhook is coming

to_dict() → Dict[str, Any]¶
property version: benchling_api_client.webhooks.v0.stable.models.webhook_envelope_v0_version.WebhookEnvelopeV0Version¶

Version of the webhook envelope shape. Always 0.