> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-143107c1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Posts.Models

> X API SDK の posts.models Python モジュールのリファレンス。 X API v2 の posts エンドポイント向けの Pydantic リクエスト/レスポンスモデル。

このモジュールは、リクエストとレスポンスのデータ構造用の Pydantic モデルを提供します
X API の posts エンドポイント向けです。すべてのモデルは
OpenAPI 仕様から生成され、型安全性と検証を提供します。

### class xdk.posts.models.CreateRequest

Request model for create

<ResponseField name="model_config" type="ConfigDict">
  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].
</ResponseField>

## CreateResponse

<Badge color="blue">クラス</Badge>

<Badge color="gray">基底: BaseModel</Badge>

レスポンスモデル: 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
