/// <summary> /// Initializes a new instance of the CredentialStoreDto class. /// </summary> /// <param name="type">Possible values include: 'Database', /// 'CyberArk'</param> /// <param name="additionalConfiguration">Additional information /// specific to the type of the Credential Store.</param> public CredentialStoreDto(string name, CredentialStoreDtoType type, string additionalConfiguration = default(string), long?id = default(long?)) { Name = name; Type = type; AdditionalConfiguration = additionalConfiguration; Id = id; CustomInit(); }
internal static string ToSerializedValue(this CredentialStoreDtoType value) { switch (value) { case CredentialStoreDtoType.Database: return("Database"); case CredentialStoreDtoType.CyberArk: return("CyberArk"); } return(null); }