메인 콘텐츠로 건너뛰기
이 모듈은 X API의 Posts 엔드포인트에 대한 요청 및 응답 데이터 구조를 위한 Pydantic 모델을 제공합니다. 모든 모델은 OpenAPI 명세로부터 생성되며 타입 안정성과 검증 기능을 제공합니다.

class xdk.posts.models.CreateRequest

생성 요청용 모델
model_config
ConfigDict
기본값: {'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}모델 설정으로, [ConfigDict][pydantic.config.ConfigDict] 규격을 따르는 딕셔너리여야 합니다.

CreateResponse

클래스 베이스 클래스: BaseModel create 작업에 대한 응답 모델

메서드

class xdk.posts.models.CreateResponse

생성 작업의 응답 모델

class xdk.posts.models.DeleteResponse

삭제 응답 모델

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 메서드의 응답 모델