Skip to content

Commit e47ab22

Browse files
authored
Generate the property type for generated objects (#1467)
1 parent 5e49711 commit e47ab22

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

src/Result/PutRecordBatchOutput.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@ class PutRecordBatchOutput extends Result
1111
/**
1212
* The number of records that might have failed processing. This number might be greater than 0 even if the
1313
* PutRecordBatch call succeeds. Check `FailedPutCount` to determine whether there are records that you need to resend.
14+
*
15+
* @var int
1416
*/
1517
private $failedPutCount;
1618

1719
/**
1820
* Indicates whether server-side encryption (SSE) was enabled during this operation.
21+
*
22+
* @var bool|null
1923
*/
2024
private $encrypted;
2125

2226
/**
2327
* The results array. For each record, the index of the response element is the same as the index used in the request
2428
* array.
29+
*
30+
* @var PutRecordBatchResponseEntry[]
2531
*/
2632
private $requestResponses;
2733

src/Result/PutRecordOutput.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ class PutRecordOutput extends Result
99
{
1010
/**
1111
* The ID of the record.
12+
*
13+
* @var string
1214
*/
1315
private $recordId;
1416

1517
/**
1618
* Indicates whether server-side encryption (SSE) was enabled during this operation.
19+
*
20+
* @var bool|null
1721
*/
1822
private $encrypted;
1923

src/ValueObject/PutRecordBatchResponseEntry.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ final class PutRecordBatchResponseEntry
1111
{
1212
/**
1313
* The ID of the record.
14+
*
15+
* @var string|null
1416
*/
1517
private $recordId;
1618

1719
/**
1820
* The error code for an individual record result.
21+
*
22+
* @var string|null
1923
*/
2024
private $errorCode;
2125

2226
/**
2327
* The error message for an individual record result.
28+
*
29+
* @var string|null
2430
*/
2531
private $errorMessage;
2632

src/ValueObject/Record.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ final class Record
1212
/**
1313
* The data blob, which is base64-encoded when the blob is serialized. The maximum size of the data blob, before
1414
* base64-encoding, is 1,000 KiB.
15+
*
16+
* @var string
1517
*/
1618
private $data;
1719

0 commit comments

Comments
 (0)