From 937452db3251035586988c58fe3c8d495dde3bc0 Mon Sep 17 00:00:00 2001 From: cboyce428 Date: Tue, 11 Apr 2023 05:15:18 +0100 Subject: [PATCH] Summary Text As per https://developer.vimeo.com/api/reference/videos#upload_video --- src/VimeoDotNet/Enums/VideoPrivacyEnum.cs | 21 +++++++++++++-------- src/VimeoDotNet/Models/Video.cs | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/VimeoDotNet/Enums/VideoPrivacyEnum.cs b/src/VimeoDotNet/Enums/VideoPrivacyEnum.cs index 126a768..2136fce 100644 --- a/src/VimeoDotNet/Enums/VideoPrivacyEnum.cs +++ b/src/VimeoDotNet/Enums/VideoPrivacyEnum.cs @@ -1,4 +1,6 @@ -namespace VimeoDotNet.Enums +using System; + +namespace VimeoDotNet.Enums { /// /// View privacy @@ -6,37 +8,40 @@ public enum VideoPrivacyEnum { /// - /// Nobody + /// Nobody - No one except the owner can access the video. This privacy setting appears as Private on the Vimeo front end. /// Nobody, /// - /// Anybody + /// Anybody - Anyone can access the video. This privacy setting appears as Public on the Vimeo front end. /// Anybody, /// - /// Only contacts + /// Contacts - Only those who follow the owner on Vimeo can access the video. /// + [Obsolete] Contacts, /// - /// Only users + /// Users - Only Vimeo members can access the video. /// + [Obsolete] Users, /// - /// Password + /// Password - Only those with the password can access the video. /// Password, /// - /// Disable + /// Disable - The video is embeddable, but it's hidden on Vimeo and can't be played. This privacy setting appears as Hide from Vimeo on the Vimeo front end. /// + [Obsolete] Disable, /// - /// Unlisted + /// Unlisted - Only those with the private link can access the video. /// Unlisted } diff --git a/src/VimeoDotNet/Models/Video.cs b/src/VimeoDotNet/Models/Video.cs index 14ecb51..b3fb150 100644 --- a/src/VimeoDotNet/Models/Video.cs +++ b/src/VimeoDotNet/Models/Video.cs @@ -60,7 +60,7 @@ public class Video public string Link { get; set; } /// - /// player_embed_url + /// The video's player embed URL /// [PublicAPI] [JsonProperty(PropertyName = "player_embed_url")]