このモジュールは、リクエストとレスポンスのデータ構造用の Pydantic モデルを提供します
X API の posts エンドポイント向けです。すべてのモデルは
OpenAPI 仕様から生成され、型安全性と検証を提供します。
class xdk.posts.models.CreateRequest
Request model for 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
クラス
基底: 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