- name: command['videoName'] || defaultAttributes.name,
- category: command['category'] || defaultAttributes.category || undefined,
- licence: command['licence'] || defaultAttributes.licence || undefined,
- language: command['language'] || defaultAttributes.language || undefined,
- privacy: command['privacy'] || defaultAttributes.privacy || VideoPrivacy.PUBLIC,
- support: command['support'] || defaultAttributes.support || undefined,
- description: command['videoDescription'] || defaultAttributes.description || undefined,
- tags: command['tags'] || defaultAttributes.tags || undefined
+ name: options.videoName || defaultAttributes.name,
+ category: options.category || defaultAttributes.category || undefined,
+ licence: options.licence || defaultAttributes.licence || undefined,
+ language: options.language || defaultAttributes.language || undefined,
+ privacy: options.privacy || defaultAttributes.privacy || VideoPrivacy.PUBLIC,
+ support: options.support || defaultAttributes.support || undefined,
+ description: options.videoDescription || defaultAttributes.description || undefined,
+ tags: options.tags || defaultAttributes.tags || undefined