Source code for gpp_client.generated.get_goats_programs

from typing import Any, Literal, Optional

from pydantic import Field

from .base_model import BaseModel
from .enums import ProgramType, ProposalStatus


[docs] class GetGOATSPrograms(BaseModel): programs: "GetGOATSProgramsPrograms"
[docs] class GetGOATSProgramsPrograms(BaseModel): matches: list["GetGOATSProgramsProgramsMatches"] has_more: bool = Field(alias="hasMore")
[docs] class GetGOATSProgramsProgramsMatches(BaseModel): id: Any name: Optional[Any] description: Optional[Any] reference: Optional["GetGOATSProgramsProgramsMatchesReference"] proposal_status: ProposalStatus = Field(alias="proposalStatus") type_: ProgramType = Field(alias="type")
[docs] class GetGOATSProgramsProgramsMatchesReference(BaseModel): typename__: Literal[ "CalibrationProgramReference", "CommissioningProgramReference", "EngineeringProgramReference", "ExampleProgramReference", "LibraryProgramReference", "MonitoringProgramReference", "ProgramReference", "ScienceProgramReference", "SystemProgramReference", ] = Field(alias="__typename") label: Any
GetGOATSPrograms.model_rebuild() GetGOATSProgramsPrograms.model_rebuild() GetGOATSProgramsProgramsMatches.model_rebuild()