Skip to content

honeyhive._generated.models.PostEventResponse

PostEventResponse

Bases: BaseModel

PostEventResponse model Response after creating an event

Source code in src/honeyhive/_generated/models/PostEventResponse.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class PostEventResponse(BaseModel):
    """
    PostEventResponse model
        Response after creating an event
    """

    model_config = {
        "populate_by_name": True,
        "validate_assignment": True,
        "extra": "allow",
        "protected_namespaces": (),
    }

    success: bool = Field(validation_alias="success")

    event_id: str = Field(validation_alias="event_id")

success class-attribute instance-attribute

success: bool = Field(validation_alias='success')

event_id class-attribute instance-attribute

event_id: str = Field(validation_alias='event_id')