|
| 1 | +using System; |
| 2 | + |
| 3 | +namespace Appwrite.Enums |
| 4 | +{ |
| 5 | + public class Scopes : IEnum |
| 6 | + { |
| 7 | + public string Value { get; private set; } |
| 8 | + |
| 9 | + public Scopes(string value) |
| 10 | + { |
| 11 | + Value = value; |
| 12 | + } |
| 13 | + |
| 14 | + public static Scopes SessionsWrite => new Scopes("sessions.write"); |
| 15 | + public static Scopes UsersRead => new Scopes("users.read"); |
| 16 | + public static Scopes UsersWrite => new Scopes("users.write"); |
| 17 | + public static Scopes TeamsRead => new Scopes("teams.read"); |
| 18 | + public static Scopes TeamsWrite => new Scopes("teams.write"); |
| 19 | + public static Scopes DatabasesRead => new Scopes("databases.read"); |
| 20 | + public static Scopes DatabasesWrite => new Scopes("databases.write"); |
| 21 | + public static Scopes CollectionsRead => new Scopes("collections.read"); |
| 22 | + public static Scopes CollectionsWrite => new Scopes("collections.write"); |
| 23 | + public static Scopes TablesRead => new Scopes("tables.read"); |
| 24 | + public static Scopes TablesWrite => new Scopes("tables.write"); |
| 25 | + public static Scopes AttributesRead => new Scopes("attributes.read"); |
| 26 | + public static Scopes AttributesWrite => new Scopes("attributes.write"); |
| 27 | + public static Scopes ColumnsRead => new Scopes("columns.read"); |
| 28 | + public static Scopes ColumnsWrite => new Scopes("columns.write"); |
| 29 | + public static Scopes IndexesRead => new Scopes("indexes.read"); |
| 30 | + public static Scopes IndexesWrite => new Scopes("indexes.write"); |
| 31 | + public static Scopes DocumentsRead => new Scopes("documents.read"); |
| 32 | + public static Scopes DocumentsWrite => new Scopes("documents.write"); |
| 33 | + public static Scopes RowsRead => new Scopes("rows.read"); |
| 34 | + public static Scopes RowsWrite => new Scopes("rows.write"); |
| 35 | + public static Scopes FilesRead => new Scopes("files.read"); |
| 36 | + public static Scopes FilesWrite => new Scopes("files.write"); |
| 37 | + public static Scopes BucketsRead => new Scopes("buckets.read"); |
| 38 | + public static Scopes BucketsWrite => new Scopes("buckets.write"); |
| 39 | + public static Scopes FunctionsRead => new Scopes("functions.read"); |
| 40 | + public static Scopes FunctionsWrite => new Scopes("functions.write"); |
| 41 | + public static Scopes SitesRead => new Scopes("sites.read"); |
| 42 | + public static Scopes SitesWrite => new Scopes("sites.write"); |
| 43 | + public static Scopes LogRead => new Scopes("log.read"); |
| 44 | + public static Scopes LogWrite => new Scopes("log.write"); |
| 45 | + public static Scopes ExecutionRead => new Scopes("execution.read"); |
| 46 | + public static Scopes ExecutionWrite => new Scopes("execution.write"); |
| 47 | + public static Scopes LocaleRead => new Scopes("locale.read"); |
| 48 | + public static Scopes AvatarsRead => new Scopes("avatars.read"); |
| 49 | + public static Scopes HealthRead => new Scopes("health.read"); |
| 50 | + public static Scopes ProvidersRead => new Scopes("providers.read"); |
| 51 | + public static Scopes ProvidersWrite => new Scopes("providers.write"); |
| 52 | + public static Scopes MessagesRead => new Scopes("messages.read"); |
| 53 | + public static Scopes MessagesWrite => new Scopes("messages.write"); |
| 54 | + public static Scopes TopicsRead => new Scopes("topics.read"); |
| 55 | + public static Scopes TopicsWrite => new Scopes("topics.write"); |
| 56 | + public static Scopes SubscribersRead => new Scopes("subscribers.read"); |
| 57 | + public static Scopes SubscribersWrite => new Scopes("subscribers.write"); |
| 58 | + public static Scopes TargetsRead => new Scopes("targets.read"); |
| 59 | + public static Scopes TargetsWrite => new Scopes("targets.write"); |
| 60 | + public static Scopes RulesRead => new Scopes("rules.read"); |
| 61 | + public static Scopes RulesWrite => new Scopes("rules.write"); |
| 62 | + public static Scopes MigrationsRead => new Scopes("migrations.read"); |
| 63 | + public static Scopes MigrationsWrite => new Scopes("migrations.write"); |
| 64 | + public static Scopes VcsRead => new Scopes("vcs.read"); |
| 65 | + public static Scopes VcsWrite => new Scopes("vcs.write"); |
| 66 | + public static Scopes AssistantRead => new Scopes("assistant.read"); |
| 67 | + public static Scopes TokensRead => new Scopes("tokens.read"); |
| 68 | + public static Scopes TokensWrite => new Scopes("tokens.write"); |
| 69 | + } |
| 70 | +} |
0 commit comments