File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -257,14 +257,16 @@ using fastpix.io.Models.Components;
257257using System ;
258258using fastpix .io .Models .Errors ;
259259using 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
266268CreateMediaRequest 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
322324using fastpix .io ;
323325using fastpix .io .Models .Components ;
324326using System .Collections .Generic ;
327+ using FastPixInput = fastpix .io .Models .Components .Input ;
328+ using FastPixSecurity = fastpix .io .Models .Components .Security ;
325329
326330var 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
333337CreateMediaRequest 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" ,
You can’t perform that action at this time.
0 commit comments