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

from __future__ import annotations
from .useradvertisementcampaignupdate import UserAdvertisementCampaignUpdate, UserAdvertisementCampaignUpdateTypedDict
from polar_sdk.types import BaseModel
from polar_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing import TypedDict
from typing_extensions import Annotated


class UsersAdvertisementsUpdateRequestTypedDict(TypedDict):
    id: str
    r"""The advertisement campaign ID."""
    user_advertisement_campaign_update: UserAdvertisementCampaignUpdateTypedDict
    

class UsersAdvertisementsUpdateRequest(BaseModel):
    id: Annotated[str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))]
    r"""The advertisement campaign ID."""
    user_advertisement_campaign_update: Annotated[UserAdvertisementCampaignUpdate, FieldMetadata(request=RequestMetadata(media_type="application/json"))]
    
