> ## Documentation Index
> Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ipos

> ipos()

[\< 戻る](/ja/sdks/languages/java#ipos)

<div id="overview">
  ## 概要
</div>

<div id="available-operations">
  ### 利用可能な操作
</div>

* [getV21](#getv21) - IPOs v2.1 を取得
* [get](#get) - IPOs v2 を取得

<div id="getv21">
  ## getV21
</div>

IPO のデータを返します

<div id="example-usage">
  ### 使用例
</div>

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV21Request;
import org.benzinga.BZClient.models.operations.GetIposV21Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetIposV21Request req = GetIposV21Request.builder()
                .build();

        GetIposV21Response res = sdk.ipos().getV21()
                .request(req)
                .call();

        if (res.modelsIPOJSON().isPresent()) {
            // レスポンスを処理する
        }
    }
}
```

### パラメータ

| パラメータ     | 型                                                                 | 必須                   | 説明               |
| --------- | ----------------------------------------------------------------- | -------------------- | ---------------- |
| `request` | [GetIposV21Request](../../models/operations/GetIposV21Request.md) | :heavy\_check\_mark: | 使用するリクエストオブジェクト。 |

<div id="response">
  ### レスポンス
</div>

**[GetIposV21Response](../../models/operations/GetIposV21Response.md)**

<div id="errors">
  ### エラー
</div>

| エラータイプ                     | ステータスコード | Content-Type |
| -------------------------- | -------- | ------------ |
| models/errors/APIException | 4XX, 5XX | */*          |

<div id="get">
  ## 取得
</div>

IPO データを返します

<div id="example-usage">
  ### 使用例
</div>

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV2Request;
import org.benzinga.BZClient.models.operations.GetIposV2Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetIposV2Request req = GetIposV2Request.builder()
                .build();

        GetIposV2Response res = sdk.ipos().get()
                .request(req)
                .call();

        if (res.modelsIPOJSON().isPresent()) {
            // レスポンスを処理する
        }
    }
}
```

<div id="parameters">
  ### パラメーター
</div>

| パラメーター    | 型                                                               | 必須                   | 説明                       |
| --------- | --------------------------------------------------------------- | -------------------- | ------------------------ |
| `request` | [GetIposV2Request](../../models/operations/GetIposV2Request.md) | :heavy\_check\_mark: | このリクエストで使用するリクエストオブジェクト。 |

<div id="response">
  ### レスポンス
</div>

**[GetIposV2Response](../../models/operations/GetIposV2Response.md)**

<div id="errors">
  ### エラー
</div>

| エラータイプ                     | ステータスコード | コンテンツタイプ |
| -------------------------- | -------- | -------- |
| models/errors/APIException | 4XX, 5XX | */*      |
