Skip to content

Commit

Permalink
chore(internal): codegen related update (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 14, 2025
1 parent 11b3753 commit 3f6dc9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ then pass that to the `create` method of the `verification` service.
import so.prelude.sdk.models.VerificationCreateParams;
import so.prelude.sdk.models.VerificationCreateResponse;

VerificationCreateParams params = VerificationCreateParams.builder().build();
VerificationCreateParams params = VerificationCreateParams.builder()
.target(VerificationCreateParams.Target.builder()
.type(VerificationCreateParams.Target.Type.phone_number)
.value("+30123456789")
.build())
.build();
VerificationCreateResponse verification = client.verification().create(params);
```

Expand Down

0 comments on commit 3f6dc9d

Please sign in to comment.