# generated by datamodel-codegen:
#   filename:  schema/api/services/createStorageService.json
#   timestamp: 2022-08-10T12:38:08+00:00

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel, Extra, Field

from ...type import basic, entityReference, storage


class CreateStorageServiceRequest(BaseModel):
    class Config:
        extra = Extra.forbid

    name: basic.EntityName = Field(
        ..., description='Name that identifies the this entity instance uniquely'
    )
    displayName: Optional[str] = Field(
        None, description='Display Name that identifies this storage service.'
    )
    description: Optional[basic.Markdown] = Field(
        None, description='Description of Storage entity.'
    )
    serviceType: Optional[storage.StorageServiceType] = None
    owner: Optional[entityReference.EntityReference] = Field(
        None, description='Owner of this storage service.'
    )
