"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .jenkins_build import JenkinsBuild, JenkinsBuildTypedDict
from censys_platform.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class JenkinsJobTypedDict(TypedDict):
    description: NotRequired[str]
    last_build: NotRequired[JenkinsBuildTypedDict]
    name: NotRequired[str]
    url: NotRequired[str]


class JenkinsJob(BaseModel):
    description: Optional[str] = None

    last_build: Optional[JenkinsBuild] = None

    name: Optional[str] = None

    url: Optional[str] = None
