Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineObject51" /> class.
 /// </summary>
 /// <param name="contentRating">A list of values describing the content in this video. Find the full list in the [&#x60;/contentratings&#x60;](https://developer.vimeo.com/api/reference/videos#get_content_ratings) endpoint..</param>
 /// <param name="description">The description of the video..</param>
 /// <param name="embed">embed.</param>
 /// <param name="license">The Creative Commons license under which the video is offered..</param>
 /// <param name="locale">The video&#39;s default language. For a full list of supported languages, use the [&#x60;/languages?filter&#x3D;texttracks&#x60;](https://developer.vimeo.com/api/reference/videos#get_languages) endpoint..</param>
 /// <param name="name">The title of the video..</param>
 /// <param name="password">The password. When you set **privacy.view** to &#x60;password&#x60;, you must provide the password as an additional parameter..</param>
 /// <param name="privacy">privacy.</param>
 /// <param name="reviewPage">reviewPage.</param>
 /// <param name="spatial">spatial.</param>
 public InlineObject51(List <string> contentRating = default(List <string>), string description = default(string), MeVideosEmbed embed = default(MeVideosEmbed), LicenseEnum?license = default(LicenseEnum?), string locale = default(string), string name = default(string), string password = default(string), VideosVideoIdPrivacy privacy = default(VideosVideoIdPrivacy), MeVideosReviewPage reviewPage = default(MeVideosReviewPage), VideosVideoIdSpatial spatial = default(VideosVideoIdSpatial))
 {
     this.ContentRating = contentRating;
     this.Description   = description;
     this.Embed         = embed;
     this.License       = license;
     this.Locale        = locale;
     this.Name          = name;
     this.Password      = password;
     this.Privacy       = privacy;
     this.ReviewPage    = reviewPage;
     this.Spatial       = spatial;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineObject26" /> class.
 /// </summary>
 /// <param name="contentRating">A list of values describing the content in this video. Find the full list in the [&#x60;/contentratings&#x60;](https://developer.vimeo.com/api/reference/videos#get_content_ratings) endpoint..</param>
 /// <param name="description">The description of the video..</param>
 /// <param name="embed">embed.</param>
 /// <param name="license">The Creative Commons license under which the video is offered.  Option descriptions:  * &#x60;by&#x60; - The video is offered under CC BY, or the attibution-only license.  * &#x60;by-nc&#x60; - The video is offered under CC BY-NC, or the Attribution-NonCommercial license.  * &#x60;by-nc-nd&#x60; - The video is offered under CC BY-NC-ND, or the Attribution-NonCommercian-NoDerivs license.  * &#x60;by-nc-sa&#x60; - The video is offered under CC BY-NC-SA, or the Attribution-NonCommercial-ShareAlike licence.  * &#x60;by-nd&#x60; - The video is offered under CC BY-ND, or the Attribution-NoDerivs license.  * &#x60;by-sa&#x60; - The video is offered under CC BY-SA, or the Attribution-ShareAlike license.  * &#x60;cc0&#x60; - The video is offered under CC0, or the public domain license. .</param>
 /// <param name="locale">The video&#39;s default language. For a full list of supported languages, use the [&#x60;/languages?filter&#x3D;texttracks&#x60;](https://developer.vimeo.com/api/reference/videos#get_languages) endpoint..</param>
 /// <param name="name">The title of the video..</param>
 /// <param name="password">The password. This field is required when **privacy.view** is &#x60;password&#x60;..</param>
 /// <param name="privacy">privacy.</param>
 /// <param name="reviewPage">reviewPage.</param>
 /// <param name="spatial">spatial.</param>
 /// <param name="upload">upload (required).</param>
 public InlineObject26(List <string> contentRating = default(List <string>), string description = default(string), MeVideosEmbed embed = default(MeVideosEmbed), LicenseEnum?license = default(LicenseEnum?), string locale = default(string), string name = default(string), string password = default(string), MeVideosPrivacy1 privacy = default(MeVideosPrivacy1), MeVideosReviewPage reviewPage = default(MeVideosReviewPage), MeVideosSpatial spatial = default(MeVideosSpatial), MeVideosUpload upload = default(MeVideosUpload))
 {
     // to ensure "upload" is required (not null)
     this.Upload        = upload ?? throw new ArgumentNullException("upload is a required property for InlineObject26 and cannot be null");
     this.ContentRating = contentRating;
     this.Description   = description;
     this.Embed         = embed;
     this.License       = license;
     this.Locale        = locale;
     this.Name          = name;
     this.Password      = password;
     this.Privacy       = privacy;
     this.ReviewPage    = reviewPage;
     this.Spatial       = spatial;
 }