Skip to main content
This module provides Pydantic models for request and response data structures for the communities endpoints of the X API. All models are generated from the OpenAPI specification and provide type safety and validation.

GetByIdResponse

Class Bases: BaseModel Response model for get_by_id

Methods

class xdk.communities.models.GetByIdResponse

Response model for get_by_id

class xdk.communities.models.SearchResponse

Response model for search