diff --git a/Flagsmith.FlagsmithClient/Flag.cs b/Flagsmith.FlagsmithClient/Flag.cs index fc4f47d..7f1ff01 100644 --- a/Flagsmith.FlagsmithClient/Flag.cs +++ b/Flagsmith.FlagsmithClient/Flag.cs @@ -15,8 +15,6 @@ public Flag(Feature feature, bool enabled, string value, int featureId = default this.Value = value; this.Feature = feature; } - [JsonProperty("id")] - public int Id { get; private set; } [JsonProperty("feature")] private Feature Feature { get; set; } @@ -26,10 +24,6 @@ public Flag(Feature feature, bool enabled, string value, int featureId = default [JsonProperty("feature_state_value")] public string Value { get; private set; } - public int getFeatureId() - { - return this.Feature.Id; - } public string GetFeatureName() { return this.Feature.Name; diff --git a/Flagsmith.FlagsmithClient/Flagsmith.FlagsmithClient.csproj b/Flagsmith.FlagsmithClient/Flagsmith.FlagsmithClient.csproj index 0782ef2..f10e36c 100644 --- a/Flagsmith.FlagsmithClient/Flagsmith.FlagsmithClient.csproj +++ b/Flagsmith.FlagsmithClient/Flagsmith.FlagsmithClient.csproj @@ -7,7 +7,7 @@ true Flagsmith Flagsmith - 6.0.0 + 7.0.0 flagsmith Flagsmith Client SDK for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://flagsmith.com/ diff --git a/Flagsmith.FlagsmithClient/IFlag.cs b/Flagsmith.FlagsmithClient/IFlag.cs index ce7f41f..e9c3389 100644 --- a/Flagsmith.FlagsmithClient/IFlag.cs +++ b/Flagsmith.FlagsmithClient/IFlag.cs @@ -2,11 +2,8 @@ { public interface IFlag { - int Id { get; } bool Enabled { get; } string Value { get; } - int getFeatureId(); string GetFeatureName(); - string ToString(); } } \ No newline at end of file