/// <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 [`/contentratings`](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's default language. For a full list of supported languages, use the [`/languages?filter=texttracks`](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 `password`, 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; }
/// <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 [`/contentratings`](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: * `by` - The video is offered under CC BY, or the attibution-only license. * `by-nc` - The video is offered under CC BY-NC, or the Attribution-NonCommercial license. * `by-nc-nd` - The video is offered under CC BY-NC-ND, or the Attribution-NonCommercian-NoDerivs license. * `by-nc-sa` - The video is offered under CC BY-NC-SA, or the Attribution-NonCommercial-ShareAlike licence. * `by-nd` - The video is offered under CC BY-ND, or the Attribution-NoDerivs license. * `by-sa` - The video is offered under CC BY-SA, or the Attribution-ShareAlike license. * `cc0` - The video is offered under CC0, or the public domain license. .</param> /// <param name="locale">The video's default language. For a full list of supported languages, use the [`/languages?filter=texttracks`](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 `password`..</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; }