Skip to content

Commit

Permalink
AI-128: Regenerate SDK (#9)
Browse files Browse the repository at this point in the history
* AI-128: Regenerate SDK

* feat: Add generated code for ApiKeyCreateResponse, ApiKeyRequest, and ApiKeyResponse

This commit adds the generated code for three classes: `ApiKeyCreateResponse`, `ApiKeyRequest`, and `ApiKeyResponse`. These classes are used in the API key functionality of the application. The generated code includes getters, setters, constructors, and other necessary methods for these classes.

The changes include:
- Added the generated code for `ApiKeyCreateResponse`
- Added the generated code for `ApiKeyRequest`
- Added the generated code for `ApiKeyResponse`

---------

Co-authored-by: Franklin <[email protected]>
  • Loading branch information
nicocedron and fcarrero authored Dec 18, 2024
1 parent f6f59e0 commit 0c09854
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/src/model/order_refund_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class _$OrderRefundRequestSerializer implements PrimitiveSerializer<OrderRefundR
yield r'expires_at';
yield serializers.serialize(
object.expiresAt,
specifiedType: const FullType.nullable(int),
specifiedType: const FullType(int),
);
}
yield r'reason';
Expand Down Expand Up @@ -100,9 +100,8 @@ class _$OrderRefundRequestSerializer implements PrimitiveSerializer<OrderRefundR
case r'expires_at':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType.nullable(int),
) as int?;
if (valueDes == null) continue;
specifiedType: const FullType(int),
) as int;
result.expiresAt = valueDes;
break;
case r'reason':
Expand Down

0 comments on commit 0c09854

Please sign in to comment.