이 모듈은 요청 및 응답 데이터 구조를 위한 Pydantic 모델을 제공합니다.
X API의 posts 엔드포인트를 위한 것입니다. 모든 모델은
OpenAPI 명세에서 생성되며 타입 안전성과 검증을 제공합니다.
class xdk.posts.models.CreateRequest
create에 대한 요청 모델
Default: {'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
CreateResponse
Class
기반 클래스: BaseModel
create에 대한 응답 모델
메서드
class xdk.posts.models.CreateResponse
create에 대한 응답 모델
class xdk.posts.models.DeleteResponse
delete에 대한 응답 모델
class xdk.posts.models.GetAnalyticsResponse
get_analytics에 대한 응답 모델
class xdk.posts.models.GetByIdResponse
get_by_id에 대한 응답 모델
class xdk.posts.models.GetByIdsResponse
get_by_ids에 대한 응답 모델
class xdk.posts.models.GetCountsAllResponse
get_counts_all에 대한 응답 모델
class xdk.posts.models.GetCountsRecentResponse
get_counts_recent에 대한 응답 모델
class xdk.posts.models.GetInsights28hrResponse
get_insights28hr에 대한 응답 모델
class xdk.posts.models.GetInsightsHistoricalResponse
get_insights_historical에 대한 응답 모델
class xdk.posts.models.GetLikingUsersResponse
get_liking_users에 대한 응답 모델
class xdk.posts.models.GetQuotedResponse
get_quoted에 대한 응답 모델
class xdk.posts.models.GetRepostedByResponse
get_reposted_by에 대한 응답 모델
class xdk.posts.models.GetRepostsResponse
get_reposts에 대한 응답 모델
class xdk.posts.models.HideReplyResponse
hide_reply에 대한 응답 모델
class xdk.posts.models.SearchAllResponse
search_all에 대한 응답 모델
class xdk.posts.models.SearchRecentResponse
search_recent에 대한 응답 모델