2021-08-01 14:27:44 -07:00
|
|
|
# generated by datamodel-codegen:
|
|
|
|
# filename: schema/api/setOwner.json
|
2021-08-23 14:59:39 -07:00
|
|
|
# timestamp: 2021-08-23T15:40:00+00:00
|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
2021-08-17 08:45:46 -07:00
|
|
|
from ..type import basic
|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|
|
|
|
|
class SetOwnershipForAGivenEntity(BaseModel):
|
|
|
|
id: Optional[basic.Uuid] = Field(None, description='Id of the owner of the entity')
|
|
|
|
type: Optional[str] = Field(
|
|
|
|
None, description="Entity type of the owner typically either 'user' or 'team'"
|
|
|
|
)
|