Skip to content

Commit

Permalink
multipart docs java (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Sep 2, 2024
1 parent e7c8ca3 commit 9dd7292
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/howtos/Client Generation/12multipart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ def upload(
<TabItem value="java" label="Java">

```java
// Model class
@Immutable
public final class MultipartRequest {
public MultipartRequest(String id, Address address, ProfileImageFileDetails profileImage, List<PicturesFileDetails> pictures);
}

// Client API
public void upload(MultipartRequest body);
```

</TabItem>
Expand Down Expand Up @@ -132,6 +140,14 @@ def upload(
<TabItem value="java" label="Java">

```java
// Model class
@Immutable
public final class MultipartRequest {
public MultipartRequest(String id, Address address, FileDetails profileImage, List<Address> previousAddresses, List<FileDetails> pictures);
}

// Client API
public void upload(MultipartRequest body);
```

</TabItem>
Expand Down

0 comments on commit 9dd7292

Please sign in to comment.