Skip to content

Commit 4bb794a

Browse files
authored
Update README.md
1 parent 83cf8cf commit 4bb794a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,16 @@ using fastpix.io.Models.Components;
257257
using System;
258258
using fastpix.io.Models.Errors;
259259
using System.Collections.Generic;
260+
using FastPixInput = fastpix.io.Models.Components.Input;
261+
using FastPixSecurity = fastpix.io.Models.Components.Security;
260262

261-
var sdk = new Fastpix(security: new Security() {
263+
var sdk = new Fastpix(security: new FastPixSecurity() {
262264
username="your-access-token"
263265
Password = "secret-key",
264266
});
265267

266268
CreateMediaRequest req = new CreateMediaRequest() {
267-
Inputs = new List<fastpix.io.Models.Components.Input>() {
269+
Inputs = new List<FastPixInput>() {
268270
Input.CreateVideoInput(
269271
new VideoInput() {
270272
Type = "video",
@@ -322,16 +324,18 @@ The default server can be overridden globally by passing a URL to the `serverUrl
322324
using fastpix.io;
323325
using fastpix.io.Models.Components;
324326
using System.Collections.Generic;
327+
using FastPixInput = fastpix.io.Models.Components.Input;
328+
using FastPixSecurity = fastpix.io.Models.Components.Security;
325329

326330
var sdk = new Fastpix(
327331
serverUrl: "https://api.fastpix.io/v1/",
328-
security: new Security() {
332+
security: new FastPixSecurity() {
329333
username="your-access-token"
330334
Password = "secret-key",
331335
});
332336

333337
CreateMediaRequest req = new CreateMediaRequest() {
334-
Inputs = new List<fastpix.io.Models.Components.Input>() {
338+
Inputs = new List<FastPixInput>() {
335339
Input.CreateVideoInput(
336340
new VideoInput() {
337341
Type = "video",

0 commit comments

Comments
 (0)