diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Check/EchoArg.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Check/EchoArg.cs
index b728e42f96..d145c33efc 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Check/EchoArg.cs
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Check/EchoArg.cs
@@ -37,6 +37,10 @@ public EchoArg(string query = "")
{
throw new sys.ArgumentNullException("query");
}
+ if (query.Length > 500)
+ {
+ throw new sys.ArgumentOutOfRangeException("query", "Length should be at most 500");
+ }
this.Query = query;
}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/AuthError.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/AuthError.cs
new file mode 100644
index 0000000000..eb47f91e06
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/AuthError.cs
@@ -0,0 +1,388 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.Openid
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The auth error object
+ ///
+ public class AuthError
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AuthErrorEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AuthErrorDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AuthError()
+ {
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is InvalidToken
+ ///
+ public bool IsInvalidToken
+ {
+ get
+ {
+ return this is InvalidToken;
+ }
+ }
+
+ ///
+ /// Gets this instance as a InvalidToken, or null.
+ ///
+ public InvalidToken AsInvalidToken
+ {
+ get
+ {
+ return this as InvalidToken;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is NoOpenidAuth
+ ///
+ public bool IsNoOpenidAuth
+ {
+ get
+ {
+ return this is NoOpenidAuth;
+ }
+ }
+
+ ///
+ /// Gets this instance as a NoOpenidAuth, or null.
+ ///
+ public NoOpenidAuth AsNoOpenidAuth
+ {
+ get
+ {
+ return this as NoOpenidAuth;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Other
+ ///
+ public bool IsOther
+ {
+ get
+ {
+ return this is Other;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Other, or null.
+ ///
+ public Other AsOther
+ {
+ get
+ {
+ return this as Other;
+ }
+ }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AuthErrorEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AuthError value, enc.IJsonWriter writer)
+ {
+ if (value is InvalidToken)
+ {
+ WriteProperty(".tag", "invalid_token", writer, enc.StringEncoder.Instance);
+ InvalidToken.Encoder.EncodeFields((InvalidToken)value, writer);
+ return;
+ }
+ if (value is NoOpenidAuth)
+ {
+ WriteProperty(".tag", "no_openid_auth", writer, enc.StringEncoder.Instance);
+ NoOpenidAuth.Encoder.EncodeFields((NoOpenidAuth)value, writer);
+ return;
+ }
+ if (value is Other)
+ {
+ WriteProperty(".tag", "other", writer, enc.StringEncoder.Instance);
+ Other.Encoder.EncodeFields((Other)value, writer);
+ return;
+ }
+ throw new sys.InvalidOperationException();
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AuthErrorDecoder : enc.UnionDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AuthError Create()
+ {
+ return new AuthError();
+ }
+
+ ///
+ /// Decode based on given tag.
+ ///
+ /// The tag.
+ /// The json reader.
+ /// The decoded object.
+ protected override AuthError Decode(string tag, enc.IJsonReader reader)
+ {
+ switch (tag)
+ {
+ case "invalid_token":
+ return InvalidToken.Decoder.DecodeFields(reader);
+ case "no_openid_auth":
+ return NoOpenidAuth.Decoder.DecodeFields(reader);
+ default:
+ return Other.Decoder.DecodeFields(reader);
+ }
+ }
+ }
+
+ #endregion
+
+ ///
+ /// The invalid token object
+ ///
+ public sealed class InvalidToken : AuthError
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new InvalidTokenEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new InvalidTokenDecoder();
+
+ ///
+ /// Initializes a new instance of the
+ /// class.
+ ///
+ private InvalidToken()
+ {
+ }
+
+ ///
+ /// A singleton instance of InvalidToken
+ ///
+ public static readonly InvalidToken Instance = new InvalidToken();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class InvalidTokenEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(InvalidToken value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class InvalidTokenDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override InvalidToken Create()
+ {
+ return InvalidToken.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The no openid auth object
+ ///
+ public sealed class NoOpenidAuth : AuthError
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new NoOpenidAuthEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new NoOpenidAuthDecoder();
+
+ ///
+ /// Initializes a new instance of the
+ /// class.
+ ///
+ private NoOpenidAuth()
+ {
+ }
+
+ ///
+ /// A singleton instance of NoOpenidAuth
+ ///
+ public static readonly NoOpenidAuth Instance = new NoOpenidAuth();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class NoOpenidAuthEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(NoOpenidAuth value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class NoOpenidAuthDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override NoOpenidAuth Create()
+ {
+ return NoOpenidAuth.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The other object
+ ///
+ public sealed class Other : AuthError
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new OtherEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new OtherDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Other()
+ {
+ }
+
+ ///
+ /// A singleton instance of Other
+ ///
+ public static readonly Other Instance = new Other();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class OtherEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Other value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class OtherDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Other Create()
+ {
+ return Other.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/ErrUnion.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/ErrUnion.cs
new file mode 100644
index 0000000000..285d27608b
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/ErrUnion.cs
@@ -0,0 +1,314 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.Openid
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The err union object
+ ///
+ public class ErrUnion
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new ErrUnionEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new ErrUnionDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public ErrUnion()
+ {
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is AuthError
+ ///
+ public bool IsAuthError
+ {
+ get
+ {
+ return this is AuthError;
+ }
+ }
+
+ ///
+ /// Gets this instance as a AuthError, or null.
+ ///
+ public AuthError AsAuthError
+ {
+ get
+ {
+ return this as AuthError;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Other
+ ///
+ public bool IsOther
+ {
+ get
+ {
+ return this is Other;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Other, or null.
+ ///
+ public Other AsOther
+ {
+ get
+ {
+ return this as Other;
+ }
+ }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class ErrUnionEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(ErrUnion value, enc.IJsonWriter writer)
+ {
+ if (value is AuthError)
+ {
+ WriteProperty(".tag", "auth_error", writer, enc.StringEncoder.Instance);
+ AuthError.Encoder.EncodeFields((AuthError)value, writer);
+ return;
+ }
+ if (value is Other)
+ {
+ WriteProperty(".tag", "other", writer, enc.StringEncoder.Instance);
+ Other.Encoder.EncodeFields((Other)value, writer);
+ return;
+ }
+ throw new sys.InvalidOperationException();
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class ErrUnionDecoder : enc.UnionDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override ErrUnion Create()
+ {
+ return new ErrUnion();
+ }
+
+ ///
+ /// Decode based on given tag.
+ ///
+ /// The tag.
+ /// The json reader.
+ /// The decoded object.
+ protected override ErrUnion Decode(string tag, enc.IJsonReader reader)
+ {
+ switch (tag)
+ {
+ case "auth_error":
+ return AuthError.Decoder.DecodeFields(reader);
+ default:
+ return Other.Decoder.DecodeFields(reader);
+ }
+ }
+ }
+
+ #endregion
+
+ ///
+ /// The auth error object
+ ///
+ public sealed class AuthError : ErrUnion
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AuthErrorEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AuthErrorDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The value
+ public AuthError(global::Dropbox.Api.Openid.AuthError value)
+ {
+ this.Value = value;
+ }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private AuthError()
+ {
+ }
+
+ ///
+ /// Gets the value of this instance.
+ ///
+ public global::Dropbox.Api.Openid.AuthError Value { get; private set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AuthErrorEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AuthError value, enc.IJsonWriter writer)
+ {
+ WriteProperty("auth_error", value.Value, writer, global::Dropbox.Api.Openid.AuthError.Encoder);
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AuthErrorDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AuthError Create()
+ {
+ return new AuthError();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(AuthError value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ case "auth_error":
+ value.Value = global::Dropbox.Api.Openid.AuthError.Decoder.Decode(reader);
+ break;
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The other object
+ ///
+ public sealed class Other : ErrUnion
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new OtherEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new OtherDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Other()
+ {
+ }
+
+ ///
+ /// A singleton instance of Other
+ ///
+ public static readonly Other Instance = new Other();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class OtherEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Other value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class OtherDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Other Create()
+ {
+ return Other.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoArgs.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoArgs.cs
new file mode 100644
index 0000000000..f21f4043a0
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoArgs.cs
@@ -0,0 +1,93 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.Openid
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// This struct is empty. The comment here is intentionally emitted to avoid
+ /// indentation issues with Stone.
+ ///
+ public class UserInfoArgs
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new UserInfoArgsEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new UserInfoArgsDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public UserInfoArgs()
+ {
+ }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class UserInfoArgsEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(UserInfoArgs value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class UserInfoArgsDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override UserInfoArgs Create()
+ {
+ return new UserInfoArgs();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(UserInfoArgs value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoError.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoError.cs
new file mode 100644
index 0000000000..53e041ce8c
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoError.cs
@@ -0,0 +1,134 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.Openid
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The user info error object
+ ///
+ public class UserInfoError
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new UserInfoErrorEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new UserInfoErrorDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The err
+ /// The error message
+ public UserInfoError(ErrUnion err = null,
+ string errorMessage = "")
+ {
+ if (errorMessage == null)
+ {
+ throw new sys.ArgumentNullException("errorMessage");
+ }
+
+ this.Err = err;
+ this.ErrorMessage = errorMessage;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// This is to construct an instance of the object when
+ /// deserializing.
+ [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)]
+ public UserInfoError()
+ {
+ this.ErrorMessage = "";
+ }
+
+ ///
+ /// Gets the err of the user info error
+ ///
+ public ErrUnion Err { get; protected set; }
+
+ ///
+ /// Gets the error message of the user info error
+ ///
+ public string ErrorMessage { get; protected set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class UserInfoErrorEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(UserInfoError value, enc.IJsonWriter writer)
+ {
+ if (value.Err != null)
+ {
+ WriteProperty("err", value.Err, writer, global::Dropbox.Api.Openid.ErrUnion.Encoder);
+ }
+ WriteProperty("error_message", value.ErrorMessage, writer, enc.StringEncoder.Instance);
+ }
+ }
+
+ #endregion
+
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class UserInfoErrorDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override UserInfoError Create()
+ {
+ return new UserInfoError();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(UserInfoError value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ case "err":
+ value.Err = global::Dropbox.Api.Openid.ErrUnion.Decoder.Decode(reader);
+ break;
+ case "error_message":
+ value.ErrorMessage = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoResult.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoResult.cs
new file mode 100644
index 0000000000..941212bdba
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Openid/UserInfoResult.cs
@@ -0,0 +1,197 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.Openid
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The user info result object
+ ///
+ public class UserInfoResult
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new UserInfoResultEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new UserInfoResultDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The family name
+ /// The given name
+ /// The email
+ /// The email verified
+ /// The iss
+ /// The sub
+ public UserInfoResult(string familyName = null,
+ string givenName = null,
+ string email = null,
+ bool? emailVerified = null,
+ string iss = "",
+ string sub = "")
+ {
+ if (iss == null)
+ {
+ throw new sys.ArgumentNullException("iss");
+ }
+
+ if (sub == null)
+ {
+ throw new sys.ArgumentNullException("sub");
+ }
+
+ this.FamilyName = familyName;
+ this.GivenName = givenName;
+ this.Email = email;
+ this.EmailVerified = emailVerified;
+ this.Iss = iss;
+ this.Sub = sub;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// This is to construct an instance of the object when
+ /// deserializing.
+ [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)]
+ public UserInfoResult()
+ {
+ this.Iss = "";
+ this.Sub = "";
+ }
+
+ ///
+ /// Gets the family name of the user info result
+ ///
+ public string FamilyName { get; protected set; }
+
+ ///
+ /// Gets the given name of the user info result
+ ///
+ public string GivenName { get; protected set; }
+
+ ///
+ /// Gets the email of the user info result
+ ///
+ public string Email { get; protected set; }
+
+ ///
+ /// Gets the email verified of the user info result
+ ///
+ public bool? EmailVerified { get; protected set; }
+
+ ///
+ /// Gets the iss of the user info result
+ ///
+ public string Iss { get; protected set; }
+
+ ///
+ /// Gets the sub of the user info result
+ ///
+ public string Sub { get; protected set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class UserInfoResultEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(UserInfoResult value, enc.IJsonWriter writer)
+ {
+ if (value.FamilyName != null)
+ {
+ WriteProperty("family_name", value.FamilyName, writer, enc.StringEncoder.Instance);
+ }
+ if (value.GivenName != null)
+ {
+ WriteProperty("given_name", value.GivenName, writer, enc.StringEncoder.Instance);
+ }
+ if (value.Email != null)
+ {
+ WriteProperty("email", value.Email, writer, enc.StringEncoder.Instance);
+ }
+ if (value.EmailVerified != null)
+ {
+ WriteProperty("email_verified", value.EmailVerified.Value, writer, enc.BooleanEncoder.Instance);
+ }
+ WriteProperty("iss", value.Iss, writer, enc.StringEncoder.Instance);
+ WriteProperty("sub", value.Sub, writer, enc.StringEncoder.Instance);
+ }
+ }
+
+ #endregion
+
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class UserInfoResultDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override UserInfoResult Create()
+ {
+ return new UserInfoResult();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(UserInfoResult value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ case "family_name":
+ value.FamilyName = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ case "given_name":
+ value.GivenName = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ case "email":
+ value.Email = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ case "email_verified":
+ value.EmailVerified = enc.BooleanDecoder.Instance.Decode(reader);
+ break;
+ case "iss":
+ value.Iss = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ case "sub":
+ value.Sub = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/FileMemberActionResult.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/FileMemberActionResult.cs
index c5e824b48c..c6592da109 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/FileMemberActionResult.cs
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/FileMemberActionResult.cs
@@ -34,8 +34,14 @@ public class FileMemberActionResult
///
/// One of specified input members.
/// The outcome of the action on this member.
+ /// The SHA-1 encrypted shared content key.
+ /// The sharing sender-recipient invitation
+ /// signatures for the input member_id. A member_id can be a group and thus have
+ /// multiple users and multiple invitation signatures.
public FileMemberActionResult(MemberSelector member,
- FileMemberActionIndividualResult result)
+ FileMemberActionIndividualResult result,
+ string sckeySha1 = null,
+ col.IEnumerable invitationSignature = null)
{
if (member == null)
{
@@ -47,8 +53,12 @@ public FileMemberActionResult(MemberSelector member,
throw new sys.ArgumentNullException("result");
}
+ var invitationSignatureList = enc.Util.ToList(invitationSignature);
+
this.Member = member;
this.Result = result;
+ this.SckeySha1 = sckeySha1;
+ this.InvitationSignature = invitationSignatureList;
}
///
@@ -72,6 +82,18 @@ public FileMemberActionResult()
///
public FileMemberActionIndividualResult Result { get; protected set; }
+ ///
+ /// The SHA-1 encrypted shared content key.
+ ///
+ public string SckeySha1 { get; protected set; }
+
+ ///
+ /// The sharing sender-recipient invitation signatures for the input member_id. A
+ /// member_id can be a group and thus have multiple users and multiple invitation
+ /// signatures.
+ ///
+ public col.IList InvitationSignature { get; protected set; }
+
#region Encoder class
///
@@ -88,6 +110,14 @@ public override void EncodeFields(FileMemberActionResult value, enc.IJsonWriter
{
WriteProperty("member", value.Member, writer, global::Dropbox.Api.Sharing.MemberSelector.Encoder);
WriteProperty("result", value.Result, writer, global::Dropbox.Api.Sharing.FileMemberActionIndividualResult.Encoder);
+ if (value.SckeySha1 != null)
+ {
+ WriteProperty("sckey_sha1", value.SckeySha1, writer, enc.StringEncoder.Instance);
+ }
+ if (value.InvitationSignature.Count > 0)
+ {
+ WriteListProperty("invitation_signature", value.InvitationSignature, writer, enc.StringEncoder.Instance);
+ }
}
}
@@ -127,6 +157,12 @@ protected override void SetField(FileMemberActionResult value, string fieldName,
case "result":
value.Result = global::Dropbox.Api.Sharing.FileMemberActionIndividualResult.Decoder.Decode(reader);
break;
+ case "sckey_sha1":
+ value.SckeySha1 = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ case "invitation_signature":
+ value.InvitationSignature = ReadList(reader, enc.StringDecoder.Instance);
+ break;
default:
reader.Skip();
break;
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedDetails.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedDetails.cs
new file mode 100644
index 0000000000..d40d4bb20a
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedDetails.cs
@@ -0,0 +1,138 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.TeamLog
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// Changed admin email reminder policy for team requests to join.
+ ///
+ public class AdminEmailRemindersChangedDetails
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersChangedDetailsEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersChangedDetailsDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// To.
+ /// From.
+ public AdminEmailRemindersChangedDetails(AdminEmailRemindersPolicy newValue,
+ AdminEmailRemindersPolicy previousValue)
+ {
+ if (newValue == null)
+ {
+ throw new sys.ArgumentNullException("newValue");
+ }
+
+ if (previousValue == null)
+ {
+ throw new sys.ArgumentNullException("previousValue");
+ }
+
+ this.NewValue = newValue;
+ this.PreviousValue = previousValue;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// This is to construct an instance of the object when
+ /// deserializing.
+ [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)]
+ public AdminEmailRemindersChangedDetails()
+ {
+ }
+
+ ///
+ /// To.
+ ///
+ public AdminEmailRemindersPolicy NewValue { get; protected set; }
+
+ ///
+ /// From.
+ ///
+ public AdminEmailRemindersPolicy PreviousValue { get; protected set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersChangedDetailsEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersChangedDetails value, enc.IJsonWriter writer)
+ {
+ WriteProperty("new_value", value.NewValue, writer, global::Dropbox.Api.TeamLog.AdminEmailRemindersPolicy.Encoder);
+ WriteProperty("previous_value", value.PreviousValue, writer, global::Dropbox.Api.TeamLog.AdminEmailRemindersPolicy.Encoder);
+ }
+ }
+
+ #endregion
+
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersChangedDetailsDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersChangedDetails Create()
+ {
+ return new AdminEmailRemindersChangedDetails();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(AdminEmailRemindersChangedDetails value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ case "new_value":
+ value.NewValue = global::Dropbox.Api.TeamLog.AdminEmailRemindersPolicy.Decoder.Decode(reader);
+ break;
+ case "previous_value":
+ value.PreviousValue = global::Dropbox.Api.TeamLog.AdminEmailRemindersPolicy.Decoder.Decode(reader);
+ break;
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedType.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedType.cs
new file mode 100644
index 0000000000..6ee12deb2a
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersChangedType.cs
@@ -0,0 +1,121 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.TeamLog
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The admin email reminders changed type object
+ ///
+ public class AdminEmailRemindersChangedType
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersChangedTypeEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersChangedTypeDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The description
+ public AdminEmailRemindersChangedType(string description)
+ {
+ if (description == null)
+ {
+ throw new sys.ArgumentNullException("description");
+ }
+
+ this.Description = description;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// This is to construct an instance of the object when
+ /// deserializing.
+ [sys.ComponentModel.EditorBrowsable(sys.ComponentModel.EditorBrowsableState.Never)]
+ public AdminEmailRemindersChangedType()
+ {
+ }
+
+ ///
+ /// Gets the description of the admin email reminders changed type
+ ///
+ public string Description { get; protected set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersChangedTypeEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersChangedType value, enc.IJsonWriter writer)
+ {
+ WriteProperty("description", value.Description, writer, enc.StringEncoder.Instance);
+ }
+ }
+
+ #endregion
+
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersChangedTypeDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersChangedType Create()
+ {
+ return new AdminEmailRemindersChangedType();
+ }
+
+ ///
+ /// Set given field.
+ ///
+ /// The field value.
+ /// The field name.
+ /// The json reader.
+ protected override void SetField(AdminEmailRemindersChangedType value, string fieldName, enc.IJsonReader reader)
+ {
+ switch (fieldName)
+ {
+ case "description":
+ value.Description = enc.StringDecoder.Instance.Decode(reader);
+ break;
+ default:
+ reader.Skip();
+ break;
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersPolicy.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersPolicy.cs
new file mode 100644
index 0000000000..b8352c7c5e
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/AdminEmailRemindersPolicy.cs
@@ -0,0 +1,488 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.TeamLog
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// Policy for deciding whether team admins receive reminder emails for requests to
+ /// join the team
+ ///
+ public class AdminEmailRemindersPolicy
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersPolicyEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersPolicyDecoder();
+
+ ///
+ /// Initializes a new instance of the
+ /// class.
+ ///
+ public AdminEmailRemindersPolicy()
+ {
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Default
+ ///
+ public bool IsDefault
+ {
+ get
+ {
+ return this is Default;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Default, or null.
+ ///
+ public Default AsDefault
+ {
+ get
+ {
+ return this as Default;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Disabled
+ ///
+ public bool IsDisabled
+ {
+ get
+ {
+ return this is Disabled;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Disabled, or null.
+ ///
+ public Disabled AsDisabled
+ {
+ get
+ {
+ return this as Disabled;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Enabled
+ ///
+ public bool IsEnabled
+ {
+ get
+ {
+ return this is Enabled;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Enabled, or null.
+ ///
+ public Enabled AsEnabled
+ {
+ get
+ {
+ return this as Enabled;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Other
+ ///
+ public bool IsOther
+ {
+ get
+ {
+ return this is Other;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Other, or null.
+ ///
+ public Other AsOther
+ {
+ get
+ {
+ return this as Other;
+ }
+ }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersPolicyEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersPolicy value, enc.IJsonWriter writer)
+ {
+ if (value is Default)
+ {
+ WriteProperty(".tag", "default", writer, enc.StringEncoder.Instance);
+ Default.Encoder.EncodeFields((Default)value, writer);
+ return;
+ }
+ if (value is Disabled)
+ {
+ WriteProperty(".tag", "disabled", writer, enc.StringEncoder.Instance);
+ Disabled.Encoder.EncodeFields((Disabled)value, writer);
+ return;
+ }
+ if (value is Enabled)
+ {
+ WriteProperty(".tag", "enabled", writer, enc.StringEncoder.Instance);
+ Enabled.Encoder.EncodeFields((Enabled)value, writer);
+ return;
+ }
+ if (value is Other)
+ {
+ WriteProperty(".tag", "other", writer, enc.StringEncoder.Instance);
+ Other.Encoder.EncodeFields((Other)value, writer);
+ return;
+ }
+ throw new sys.InvalidOperationException();
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersPolicyDecoder : enc.UnionDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersPolicy Create()
+ {
+ return new AdminEmailRemindersPolicy();
+ }
+
+ ///
+ /// Decode based on given tag.
+ ///
+ /// The tag.
+ /// The json reader.
+ /// The decoded object.
+ protected override AdminEmailRemindersPolicy Decode(string tag, enc.IJsonReader reader)
+ {
+ switch (tag)
+ {
+ case "default":
+ return Default.Decoder.DecodeFields(reader);
+ case "disabled":
+ return Disabled.Decoder.DecodeFields(reader);
+ case "enabled":
+ return Enabled.Decoder.DecodeFields(reader);
+ default:
+ return Other.Decoder.DecodeFields(reader);
+ }
+ }
+ }
+
+ #endregion
+
+ ///
+ /// The default object
+ ///
+ public sealed class Default : AdminEmailRemindersPolicy
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new DefaultEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new DefaultDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Default()
+ {
+ }
+
+ ///
+ /// A singleton instance of Default
+ ///
+ public static readonly Default Instance = new Default();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class DefaultEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Default value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class DefaultDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Default Create()
+ {
+ return Default.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The disabled object
+ ///
+ public sealed class Disabled : AdminEmailRemindersPolicy
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new DisabledEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new DisabledDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Disabled()
+ {
+ }
+
+ ///
+ /// A singleton instance of Disabled
+ ///
+ public static readonly Disabled Instance = new Disabled();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class DisabledEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Disabled value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class DisabledDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Disabled Create()
+ {
+ return Disabled.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The enabled object
+ ///
+ public sealed class Enabled : AdminEmailRemindersPolicy
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new EnabledEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new EnabledDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Enabled()
+ {
+ }
+
+ ///
+ /// A singleton instance of Enabled
+ ///
+ public static readonly Enabled Instance = new Enabled();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class EnabledEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Enabled value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class EnabledDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Enabled Create()
+ {
+ return Enabled.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The other object
+ ///
+ public sealed class Other : AdminEmailRemindersPolicy
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new OtherEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new OtherDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Other()
+ {
+ }
+
+ ///
+ /// A singleton instance of Other
+ ///
+ public static readonly Other Instance = new Other();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class OtherEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Other value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class OtherDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Other Create()
+ {
+ return Other.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventDetails.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventDetails.cs
index 16c51ea4f3..13e7c0ab49 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventDetails.cs
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventDetails.cs
@@ -8247,6 +8247,30 @@ public AccountCaptureChangePolicyDetails AsAccountCaptureChangePolicyDetails
}
}
+ ///
+ /// Gets a value indicating whether this instance is
+ /// AdminEmailRemindersChangedDetails
+ ///
+ public bool IsAdminEmailRemindersChangedDetails
+ {
+ get
+ {
+ return this is AdminEmailRemindersChangedDetails;
+ }
+ }
+
+ ///
+ /// Gets this instance as a AdminEmailRemindersChangedDetails, or
+ /// null.
+ ///
+ public AdminEmailRemindersChangedDetails AsAdminEmailRemindersChangedDetails
+ {
+ get
+ {
+ return this as AdminEmailRemindersChangedDetails;
+ }
+ }
+
///
/// Gets a value indicating whether this instance is
/// AllowDownloadDisabledDetails
@@ -13461,6 +13485,12 @@ public override void EncodeFields(EventDetails value, enc.IJsonWriter writer)
AccountCaptureChangePolicyDetails.Encoder.EncodeFields((AccountCaptureChangePolicyDetails)value, writer);
return;
}
+ if (value is AdminEmailRemindersChangedDetails)
+ {
+ WriteProperty(".tag", "admin_email_reminders_changed_details", writer, enc.StringEncoder.Instance);
+ AdminEmailRemindersChangedDetails.Encoder.EncodeFields((AdminEmailRemindersChangedDetails)value, writer);
+ return;
+ }
if (value is AllowDownloadDisabledDetails)
{
WriteProperty(".tag", "allow_download_disabled_details", writer, enc.StringEncoder.Instance);
@@ -14979,6 +15009,8 @@ protected override EventDetails Decode(string tag, enc.IJsonReader reader)
return TeamSelectiveSyncSettingsChangedDetails.Decoder.DecodeFields(reader);
case "account_capture_change_policy_details":
return AccountCaptureChangePolicyDetails.Decoder.DecodeFields(reader);
+ case "admin_email_reminders_changed_details":
+ return AdminEmailRemindersChangedDetails.Decoder.DecodeFields(reader);
case "allow_download_disabled_details":
return AllowDownloadDisabledDetails.Decoder.DecodeFields(reader);
case "allow_download_enabled_details":
@@ -47101,6 +47133,96 @@ public override AccountCaptureChangePolicyDetails DecodeFields(enc.IJsonReader r
#endregion
}
+ ///
+ /// The admin email reminders changed details object
+ ///
+ public sealed class AdminEmailRemindersChangedDetails : EventDetails
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersChangedDetailsEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersChangedDetailsDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The value
+ public AdminEmailRemindersChangedDetails(global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedDetails value)
+ {
+ this.Value = value;
+ }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private AdminEmailRemindersChangedDetails()
+ {
+ }
+
+ ///
+ /// Gets the value of this instance.
+ ///
+ public global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedDetails Value { get; private set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersChangedDetailsEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersChangedDetails value, enc.IJsonWriter writer)
+ {
+ WriteProperty("admin_email_reminders_changed_details", value.Value, writer, global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedDetails.Encoder);
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersChangedDetailsDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersChangedDetails Create()
+ {
+ return new AdminEmailRemindersChangedDetails();
+ }
+
+ ///
+ /// Decode fields without ensuring start and end object.
+ ///
+ /// The json reader.
+ /// The decoded object.
+ public override AdminEmailRemindersChangedDetails DecodeFields(enc.IJsonReader reader)
+ {
+ return new AdminEmailRemindersChangedDetails(global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedDetails.Decoder.DecodeFields(reader));
+ }
+ }
+
+ #endregion
+ }
+
///
/// The allow download disabled details object
///
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventType.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventType.cs
index 8dfa846bdb..8a984b97fa 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventType.cs
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventType.cs
@@ -8024,6 +8024,29 @@ public AccountCaptureChangePolicy AsAccountCaptureChangePolicy
}
}
+ ///
+ /// Gets a value indicating whether this instance is
+ /// AdminEmailRemindersChanged
+ ///
+ public bool IsAdminEmailRemindersChanged
+ {
+ get
+ {
+ return this is AdminEmailRemindersChanged;
+ }
+ }
+
+ ///
+ /// Gets this instance as a AdminEmailRemindersChanged, or null.
+ ///
+ public AdminEmailRemindersChanged AsAdminEmailRemindersChanged
+ {
+ get
+ {
+ return this as AdminEmailRemindersChanged;
+ }
+ }
+
///
/// Gets a value indicating whether this instance is AllowDownloadDisabled
///
@@ -13141,6 +13164,12 @@ public override void EncodeFields(EventType value, enc.IJsonWriter writer)
AccountCaptureChangePolicy.Encoder.EncodeFields((AccountCaptureChangePolicy)value, writer);
return;
}
+ if (value is AdminEmailRemindersChanged)
+ {
+ WriteProperty(".tag", "admin_email_reminders_changed", writer, enc.StringEncoder.Instance);
+ AdminEmailRemindersChanged.Encoder.EncodeFields((AdminEmailRemindersChanged)value, writer);
+ return;
+ }
if (value is AllowDownloadDisabled)
{
WriteProperty(".tag", "allow_download_disabled", writer, enc.StringEncoder.Instance);
@@ -14653,6 +14682,8 @@ protected override EventType Decode(string tag, enc.IJsonReader reader)
return TeamSelectiveSyncSettingsChanged.Decoder.DecodeFields(reader);
case "account_capture_change_policy":
return AccountCaptureChangePolicy.Decoder.DecodeFields(reader);
+ case "admin_email_reminders_changed":
+ return AdminEmailRemindersChanged.Decoder.DecodeFields(reader);
case "allow_download_disabled":
return AllowDownloadDisabled.Decoder.DecodeFields(reader);
case "allow_download_enabled":
@@ -46631,6 +46662,97 @@ public override AccountCaptureChangePolicy DecodeFields(enc.IJsonReader reader)
#endregion
}
+ ///
+ /// (team_policies) Changed admin email reminder policy for team requests to
+ /// join
+ ///
+ public sealed class AdminEmailRemindersChanged : EventType
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersChangedEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersChangedDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The value
+ public AdminEmailRemindersChanged(AdminEmailRemindersChangedType value)
+ {
+ this.Value = value;
+ }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private AdminEmailRemindersChanged()
+ {
+ }
+
+ ///
+ /// Gets the value of this instance.
+ ///
+ public AdminEmailRemindersChangedType Value { get; private set; }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersChangedEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersChanged value, enc.IJsonWriter writer)
+ {
+ WriteProperty("admin_email_reminders_changed", value.Value, writer, global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedType.Encoder);
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersChangedDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersChanged Create()
+ {
+ return new AdminEmailRemindersChanged();
+ }
+
+ ///
+ /// Decode fields without ensuring start and end object.
+ ///
+ /// The json reader.
+ /// The decoded object.
+ public override AdminEmailRemindersChanged DecodeFields(enc.IJsonReader reader)
+ {
+ return new AdminEmailRemindersChanged(global::Dropbox.Api.TeamLog.AdminEmailRemindersChangedType.Decoder.DecodeFields(reader));
+ }
+ }
+
+ #endregion
+ }
+
///
/// (team_policies) Disabled downloads (deprecated, no longer logged)
///
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventTypeArg.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventTypeArg.cs
index e5b76195bd..0cfb20c3c8 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventTypeArg.cs
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventTypeArg.cs
@@ -8024,6 +8024,29 @@ public AccountCaptureChangePolicy AsAccountCaptureChangePolicy
}
}
+ ///
+ /// Gets a value indicating whether this instance is
+ /// AdminEmailRemindersChanged
+ ///
+ public bool IsAdminEmailRemindersChanged
+ {
+ get
+ {
+ return this is AdminEmailRemindersChanged;
+ }
+ }
+
+ ///
+ /// Gets this instance as a AdminEmailRemindersChanged, or null.
+ ///
+ public AdminEmailRemindersChanged AsAdminEmailRemindersChanged
+ {
+ get
+ {
+ return this as AdminEmailRemindersChanged;
+ }
+ }
+
///
/// Gets a value indicating whether this instance is AllowDownloadDisabled
///
@@ -13141,6 +13164,12 @@ public override void EncodeFields(EventTypeArg value, enc.IJsonWriter writer)
AccountCaptureChangePolicy.Encoder.EncodeFields((AccountCaptureChangePolicy)value, writer);
return;
}
+ if (value is AdminEmailRemindersChanged)
+ {
+ WriteProperty(".tag", "admin_email_reminders_changed", writer, enc.StringEncoder.Instance);
+ AdminEmailRemindersChanged.Encoder.EncodeFields((AdminEmailRemindersChanged)value, writer);
+ return;
+ }
if (value is AllowDownloadDisabled)
{
WriteProperty(".tag", "allow_download_disabled", writer, enc.StringEncoder.Instance);
@@ -14653,6 +14682,8 @@ protected override EventTypeArg Decode(string tag, enc.IJsonReader reader)
return TeamSelectiveSyncSettingsChanged.Decoder.DecodeFields(reader);
case "account_capture_change_policy":
return AccountCaptureChangePolicy.Decoder.DecodeFields(reader);
+ case "admin_email_reminders_changed":
+ return AdminEmailRemindersChanged.Decoder.DecodeFields(reader);
case "allow_download_disabled":
return AllowDownloadDisabled.Decoder.DecodeFields(reader);
case "allow_download_enabled":
@@ -39942,6 +39973,78 @@ protected override AccountCaptureChangePolicy Create()
#endregion
}
+ ///
+ /// (team_policies) Changed admin email reminder policy for team requests to
+ /// join
+ ///
+ public sealed class AdminEmailRemindersChanged : EventTypeArg
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new AdminEmailRemindersChangedEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new AdminEmailRemindersChangedDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private AdminEmailRemindersChanged()
+ {
+ }
+
+ ///
+ /// A singleton instance of AdminEmailRemindersChanged
+ ///
+ public static readonly AdminEmailRemindersChanged Instance = new AdminEmailRemindersChanged();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class AdminEmailRemindersChangedEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(AdminEmailRemindersChanged value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class AdminEmailRemindersChangedDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override AdminEmailRemindersChanged Create()
+ {
+ return AdminEmailRemindersChanged.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
///
/// (team_policies) Disabled downloads (deprecated, no longer logged)
///
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamPolicies/FileProviderMigrationPolicyState.cs b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamPolicies/FileProviderMigrationPolicyState.cs
new file mode 100644
index 0000000000..cf921721eb
--- /dev/null
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamPolicies/FileProviderMigrationPolicyState.cs
@@ -0,0 +1,488 @@
+//
+// Auto-generated by StoneAPI, do not modify.
+//
+
+namespace Dropbox.Api.TeamPolicies
+{
+ using sys = System;
+ using col = System.Collections.Generic;
+ using re = System.Text.RegularExpressions;
+
+ using enc = Dropbox.Api.Stone;
+
+ ///
+ /// The file provider migration policy state object
+ ///
+ public class FileProviderMigrationPolicyState
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new FileProviderMigrationPolicyStateEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new FileProviderMigrationPolicyStateDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public FileProviderMigrationPolicyState()
+ {
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Disabled
+ ///
+ public bool IsDisabled
+ {
+ get
+ {
+ return this is Disabled;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Disabled, or null.
+ ///
+ public Disabled AsDisabled
+ {
+ get
+ {
+ return this as Disabled;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Enabled
+ ///
+ public bool IsEnabled
+ {
+ get
+ {
+ return this is Enabled;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Enabled, or null.
+ ///
+ public Enabled AsEnabled
+ {
+ get
+ {
+ return this as Enabled;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Default
+ ///
+ public bool IsDefault
+ {
+ get
+ {
+ return this is Default;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Default, or null.
+ ///
+ public Default AsDefault
+ {
+ get
+ {
+ return this as Default;
+ }
+ }
+
+ ///
+ /// Gets a value indicating whether this instance is Other
+ ///
+ public bool IsOther
+ {
+ get
+ {
+ return this is Other;
+ }
+ }
+
+ ///
+ /// Gets this instance as a Other, or null.
+ ///
+ public Other AsOther
+ {
+ get
+ {
+ return this as Other;
+ }
+ }
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class FileProviderMigrationPolicyStateEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(FileProviderMigrationPolicyState value, enc.IJsonWriter writer)
+ {
+ if (value is Disabled)
+ {
+ WriteProperty(".tag", "disabled", writer, enc.StringEncoder.Instance);
+ Disabled.Encoder.EncodeFields((Disabled)value, writer);
+ return;
+ }
+ if (value is Enabled)
+ {
+ WriteProperty(".tag", "enabled", writer, enc.StringEncoder.Instance);
+ Enabled.Encoder.EncodeFields((Enabled)value, writer);
+ return;
+ }
+ if (value is Default)
+ {
+ WriteProperty(".tag", "default", writer, enc.StringEncoder.Instance);
+ Default.Encoder.EncodeFields((Default)value, writer);
+ return;
+ }
+ if (value is Other)
+ {
+ WriteProperty(".tag", "other", writer, enc.StringEncoder.Instance);
+ Other.Encoder.EncodeFields((Other)value, writer);
+ return;
+ }
+ throw new sys.InvalidOperationException();
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class FileProviderMigrationPolicyStateDecoder : enc.UnionDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override FileProviderMigrationPolicyState Create()
+ {
+ return new FileProviderMigrationPolicyState();
+ }
+
+ ///
+ /// Decode based on given tag.
+ ///
+ /// The tag.
+ /// The json reader.
+ /// The decoded object.
+ protected override FileProviderMigrationPolicyState Decode(string tag, enc.IJsonReader reader)
+ {
+ switch (tag)
+ {
+ case "disabled":
+ return Disabled.Decoder.DecodeFields(reader);
+ case "enabled":
+ return Enabled.Decoder.DecodeFields(reader);
+ case "default":
+ return Default.Decoder.DecodeFields(reader);
+ default:
+ return Other.Decoder.DecodeFields(reader);
+ }
+ }
+ }
+
+ #endregion
+
+ ///
+ /// Team admin has opted out of File Provider Migration for team members.
+ ///
+ public sealed class Disabled : FileProviderMigrationPolicyState
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new DisabledEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new DisabledDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Disabled()
+ {
+ }
+
+ ///
+ /// A singleton instance of Disabled
+ ///
+ public static readonly Disabled Instance = new Disabled();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class DisabledEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Disabled value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class DisabledDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Disabled Create()
+ {
+ return Disabled.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// Team admin has not opted out of File Provider Migration for team
+ /// members.
+ ///
+ public sealed class Enabled : FileProviderMigrationPolicyState
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new EnabledEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new EnabledDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Enabled()
+ {
+ }
+
+ ///
+ /// A singleton instance of Enabled
+ ///
+ public static readonly Enabled Instance = new Enabled();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class EnabledEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Enabled value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class EnabledDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Enabled Create()
+ {
+ return Enabled.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// Team admin has default value based on team tier.
+ ///
+ public sealed class Default : FileProviderMigrationPolicyState
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new DefaultEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new DefaultDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Default()
+ {
+ }
+
+ ///
+ /// A singleton instance of Default
+ ///
+ public static readonly Default Instance = new Default();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class DefaultEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Default value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class DefaultDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Default Create()
+ {
+ return Default.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+
+ ///
+ /// The other object
+ ///
+ public sealed class Other : FileProviderMigrationPolicyState
+ {
+ #pragma warning disable 108
+
+ ///
+ /// The encoder instance.
+ ///
+ internal static enc.StructEncoder Encoder = new OtherEncoder();
+
+ ///
+ /// The decoder instance.
+ ///
+ internal static enc.StructDecoder Decoder = new OtherDecoder();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ private Other()
+ {
+ }
+
+ ///
+ /// A singleton instance of Other
+ ///
+ public static readonly Other Instance = new Other();
+
+ #region Encoder class
+
+ ///
+ /// Encoder for .
+ ///
+ private class OtherEncoder : enc.StructEncoder
+ {
+ ///
+ /// Encode fields of given value.
+ ///
+ /// The value.
+ /// The writer.
+ public override void EncodeFields(Other value, enc.IJsonWriter writer)
+ {
+ }
+ }
+
+ #endregion
+
+ #region Decoder class
+
+ ///
+ /// Decoder for .
+ ///
+ private class OtherDecoder : enc.StructDecoder
+ {
+ ///
+ /// Create a new instance of type .
+ ///
+ /// The struct instance.
+ protected override Other Create()
+ {
+ return Other.Instance;
+ }
+
+ }
+
+ #endregion
+ }
+ }
+}
diff --git a/dropbox-sdk-dotnet/Dropbox.Api/Generated/namespace_summaries.xml b/dropbox-sdk-dotnet/Dropbox.Api/Generated/namespace_summaries.xml
index c886741125..57cdbba8e7 100644
--- a/dropbox-sdk-dotnet/Dropbox.Api/Generated/namespace_summaries.xml
+++ b/dropbox-sdk-dotnet/Dropbox.Api/Generated/namespace_summaries.xml
@@ -153,6 +153,18 @@
namespace.
+
+
+ Contains the types used by the routes declared in .
+
+
+
+
+ Contains the routes for the
+ namespace.
+
+
This namespace contains endpoints and data types for managing docs and
diff --git a/spec b/spec
index c26b11df51..f91238c750 160000
--- a/spec
+++ b/spec
@@ -1 +1 @@
-Subproject commit c26b11df5170dcc03a86046b162c284ed24f7487
+Subproject commit f91238c7508770245030a449d86bd698d30ebfc3