Module adcp.types.generated_poc.tmp.identity_match_response
Classes
class IdentityMatchResponse (**data: Any)-
Expand source code
class IdentityMatchResponse(AdCPBaseModel): model_config = ConfigDict( extra='allow', ) eligible_package_ids: Annotated[ list[str], Field( description='Package IDs the user is eligible for. Packages not listed are ineligible.' ), ] request_id: Annotated[ str, Field(description='Echoed request identifier from the identity match request') ] ttl_sec: Annotated[ int, Field( description='How long the router should cache this response, in seconds. The router returns cached eligibility without re-querying the buyer during this window. A value of 0 means do not cache.', ge=0, le=86400, ), ] type: Annotated[ Literal['identity_match_response'], Field(description='Message type discriminator for deserialization.'), ]Base model for AdCP types with spec-compliant serialization.
Defaults to
extra='ignore'so that unknown fields from newer spec versions are silently dropped rather than causing validation errors. Generated types whose schemas setadditionalProperties: trueoverride this withextra='allow'in their ownmodel_config. Consumers who want strict validation can override withextra='forbid'.Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- AdCPBaseModel
- pydantic.main.BaseModel
Class variables
var eligible_package_ids : list[str]var model_configvar request_id : strvar ttl_sec : intvar type : Literal['identity_match_response']
Inherited members