diff --git a/README.md b/README.md index 5f18bd0..58fecd7 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,10 @@ func main() { //Upload a video //First create a container - create, err := client.Videos.Create(apivideosdk.VideoCreationPayload{Title: "My video title"}) + creationPayload = apivideosdk.VideoCreationPayload{} + creationPayload.SetTitle("My title") + creationPayload.SetMp4Support(True) + create, err := client.Videos.Create(creationPayload) if err != nil { fmt.Println(err) @@ -382,4 +385,4 @@ This helps other users to find the clients and also helps us understand which cl # Contribution -Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository. \ No newline at end of file +Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository.