diff --git a/src/FishyFlip/Lexicon/App/Bsky/Actor/StatusView.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Actor/StatusView.g.cs index 6e9e5b0e..3d03f51e 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Actor/StatusView.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Actor/StatusView.g.cs @@ -13,6 +13,8 @@ public partial class StatusView : ATObject, ICBOREncodable, IJsonEnc /// /// Initializes a new instance of the class. /// + /// + /// /// The status for the account. ///
Known Values:
/// live - Advertises an account as currently offering live content.
@@ -24,13 +26,17 @@ public partial class StatusView : ATObject, ICBOREncodable, IJsonEnc /// /// The date when this status will expire. The application might choose to no longer return the status after expiration. /// True if the status is not expired, false if it is expired. Only present if expiration was set. - public StatusView(string status = default, ATObject record = default, FishyFlip.Lexicon.App.Bsky.Embed.ViewExternal? embed = default, DateTime? expiresAt = default, bool? isActive = default) + /// True if the user's go-live access has been disabled by a moderator, false otherwise. + public StatusView(FishyFlip.Models.ATUri? uri = default, string? cid = default, string status = default, ATObject record = default, FishyFlip.Lexicon.App.Bsky.Embed.ViewExternal? embed = default, DateTime? expiresAt = default, bool? isActive = default, bool? isDisabled = default) { + this.Uri = uri; + this.Cid = cid; this.Status = status; this.Record = record; this.Embed = embed; this.ExpiresAt = expiresAt; this.IsActive = isActive; + this.IsDisabled = isDisabled; this.Type = "app.bsky.actor.defs#statusView"; } @@ -49,14 +55,32 @@ public StatusView() /// public StatusView(CBORObject obj) { + if (obj["uri"] is not null) this.Uri = obj["uri"].ToATUri(); + if (obj["cid"] is not null) this.Cid = obj["cid"].AsString(); if (obj["status"] is not null) this.Status = obj["status"].AsString(); if (obj["record"] is not null) this.Record = obj["record"].ToATObject(); if (obj["embed"] is not null) this.Embed = new FishyFlip.Lexicon.App.Bsky.Embed.ViewExternal(obj["embed"]); if (obj["expiresAt"] is not null) this.ExpiresAt = obj["expiresAt"].ToDateTime(); if (obj["isActive"] is not null) this.IsActive = obj["isActive"].AsBoolean(); + if (obj["isDisabled"] is not null) this.IsDisabled = obj["isDisabled"].AsBoolean(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } + /// + /// Gets or sets the uri. + /// + [JsonPropertyName("uri")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonConverter(typeof(FishyFlip.Tools.Json.ATUriJsonConverter))] + public FishyFlip.Models.ATUri? Uri { get; set; } + + /// + /// Gets or sets the cid. + /// + [JsonPropertyName("cid")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public string? Cid { get; set; } + /// /// Gets or sets the status. ///
The status for the account. @@ -100,6 +124,14 @@ public StatusView(CBORObject obj) [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public bool? IsActive { get; set; } + /// + /// Gets or sets the isDisabled. + ///
True if the user's go-live access has been disabled by a moderator, false otherwise. + ///
+ [JsonPropertyName("isDisabled")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public bool? IsDisabled { get; set; } + public const string RecordType = "app.bsky.actor.defs#statusView"; public override string ToJson() diff --git a/src/FishyFlip/Lexicon/App/Bsky/Ageassurance/ConfigRegion.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Ageassurance/ConfigRegion.g.cs index 5ff80c19..c72d8896 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Ageassurance/ConfigRegion.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Ageassurance/ConfigRegion.g.cs @@ -18,6 +18,7 @@ public partial class ConfigRegion : ATObject, ICBOREncodable, IJso ///
/// The ISO 3166-1 alpha-2 country code this configuration applies to. /// The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country. + /// The minimum age (as a whole integer) required to use Bluesky in this region. /// The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item. ///
Union Types:
/// (app.bsky.ageassurance.defs#configRegionRuleDefault)
@@ -28,10 +29,11 @@ public partial class ConfigRegion : ATObject, ICBOREncodable, IJso /// (app.bsky.ageassurance.defs#configRegionRuleIfAccountNewerThan)
/// (app.bsky.ageassurance.defs#configRegionRuleIfAccountOlderThan)
/// - public ConfigRegion(string countryCode = default, string? regionCode = default, List rules = default) + public ConfigRegion(string countryCode = default, string? regionCode = default, long minAccessAge = default, List rules = default) { this.CountryCode = countryCode; this.RegionCode = regionCode; + this.MinAccessAge = minAccessAge; this.Rules = rules; this.Type = "app.bsky.ageassurance.defs#configRegion"; } @@ -53,6 +55,7 @@ public ConfigRegion(CBORObject obj) { if (obj["countryCode"] is not null) this.CountryCode = obj["countryCode"].AsString(); if (obj["regionCode"] is not null) this.RegionCode = obj["regionCode"].AsString(); + if (obj["minAccessAge"] is not null) this.MinAccessAge = obj["minAccessAge"].AsInt64Value(); if (obj["rules"] is not null) this.Rules = obj["rules"].Values.Select(n =>n.ToATObject()).ToList(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } @@ -73,6 +76,14 @@ public ConfigRegion(CBORObject obj) [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? RegionCode { get; set; } + /// + /// Gets or sets the minAccessAge. + ///
The minimum age (as a whole integer) required to use Bluesky in this region. + ///
+ [JsonPropertyName("minAccessAge")] + [JsonRequired] + public long MinAccessAge { get; set; } + /// /// Gets or sets the rules. ///
The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item. diff --git a/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersOutput.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersOutput.g.cs index e93bf794..b9c55079 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersOutput.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersOutput.g.cs @@ -14,9 +14,11 @@ public partial class GetSuggestedUsersOutput : ATObject, ICBOREncodable class. ///
/// - public GetSuggestedUsersOutput(List actors = default) + /// Snowflake for this recommendation, use when submitting recommendation events. + public GetSuggestedUsersOutput(List actors = default, long? recId = default) { this.Actors = actors; + this.RecId = recId; this.Type = "app.bsky.unspecced.getSuggestedUsers#GetSuggestedUsersOutput"; } @@ -36,6 +38,7 @@ public GetSuggestedUsersOutput() public GetSuggestedUsersOutput(CBORObject obj) { if (obj["actors"] is not null) this.Actors = obj["actors"].Values.Select(n =>new FishyFlip.Lexicon.App.Bsky.Actor.ProfileView(n)).ToList(); + if (obj["recId"] is not null) this.RecId = obj["recId"].AsInt64Value(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } @@ -46,6 +49,14 @@ public GetSuggestedUsersOutput(CBORObject obj) [JsonRequired] public List Actors { get; set; } + /// + /// Gets or sets the recId. + ///
Snowflake for this recommendation, use when submitting recommendation events. + ///
+ [JsonPropertyName("recId")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public long? RecId { get; set; } + public const string RecordType = "app.bsky.unspecced.getSuggestedUsers#GetSuggestedUsersOutput"; public override string ToJson() diff --git a/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersSkeletonOutput.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersSkeletonOutput.g.cs index 0e7f2f8f..17ceaecc 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersSkeletonOutput.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Unspecced/GetSuggestedUsersSkeletonOutput.g.cs @@ -14,9 +14,11 @@ public partial class GetSuggestedUsersSkeletonOutput : ATObject, ICBOREncodable< /// Initializes a new instance of the class. /// /// - public GetSuggestedUsersSkeletonOutput(List dids = default) + /// Snowflake for this recommendation, use when submitting recommendation events. + public GetSuggestedUsersSkeletonOutput(List dids = default, long? recId = default) { this.Dids = dids; + this.RecId = recId; this.Type = "app.bsky.unspecced.getSuggestedUsersSkeleton#GetSuggestedUsersSkeletonOutput"; } @@ -36,6 +38,7 @@ public GetSuggestedUsersSkeletonOutput() public GetSuggestedUsersSkeletonOutput(CBORObject obj) { if (obj["dids"] is not null) this.Dids = obj["dids"].Values.Select(n =>n.ToATDid()!).ToList(); + if (obj["recId"] is not null) this.RecId = obj["recId"].AsInt64Value(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } @@ -46,6 +49,14 @@ public GetSuggestedUsersSkeletonOutput(CBORObject obj) [JsonRequired] public List Dids { get; set; } + /// + /// Gets or sets the recId. + ///
Snowflake for this recommendation, use when submitting recommendation events. + ///
+ [JsonPropertyName("recId")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public long? RecId { get; set; } + public const string RecordType = "app.bsky.unspecced.getSuggestedUsersSkeleton#GetSuggestedUsersSkeletonOutput"; public override string ToJson()