Skip to content

Commit 850ff8f

Browse files
author
SDKgen-Bot
committed
Type "tweet.hideReply.arguments.payload" (reference) ref has changed from "HideReply_Update" to "HideReply"
1 parent 8f5bb17 commit 850ff8f

22 files changed

+104
-39
lines changed

sdkgen.lock

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/SdkFabric.Twitter/BookmarkResponseMessage.cs renamed to src/SdkFabric.Twitter/Bookmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* BookmarkResponseMessage automatically generated by SDKgen please do not edit this file manually
2+
* Bookmark automatically generated by SDKgen please do not edit this file manually
33
* @see https://sdkgen.app
44
*/
55

66
using System.Text.Json.Serialization;
77
namespace SdkFabric.Twitter;
8-
public class BookmarkResponseMessage
8+
public class Bookmark
99
{
1010
[JsonPropertyName("bookmarked")]
1111
public bool? Bookmarked { get; set; }

src/SdkFabric.Twitter/BookmarkResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ namespace SdkFabric.Twitter;
88
public class BookmarkResponse
99
{
1010
[JsonPropertyName("data")]
11-
public BookmarkResponseMessage? Data { get; set; }
11+
public Bookmark? Data { get; set; }
1212
}

src/SdkFabric.Twitter/BookmarkTag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public BookmarkTag(RestClient httpClient, Parser parser): base(httpClient, parse
2222
/**
2323
* Allows you to get an authenticated user's 800 most recent bookmarked Tweets.
2424
*/
25-
public async Task<TweetCollectionResponse> GetAll(string userId, string expansions, int maxResults, string paginationToken, Fields fields)
25+
public async Task<TweetCollection> GetAll(string userId, string expansions, int maxResults, string paginationToken, Fields fields)
2626
{
2727
Dictionary<string, object> pathParams = new();
2828
pathParams.Add("user_id", userId);
@@ -43,7 +43,7 @@ public async Task<TweetCollectionResponse> GetAll(string userId, string expansio
4343

4444
if (response.IsSuccessful)
4545
{
46-
return this.Parser.Parse<TweetCollectionResponse>(response.Content);
46+
return this.Parser.Parse<TweetCollection>(response.Content);
4747
}
4848

4949
if (response.ErrorException != null)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* HideReplyUpdate automatically generated by SDKgen please do not edit this file manually
2+
* HideReply automatically generated by SDKgen please do not edit this file manually
33
* @see https://sdkgen.app
44
*/
55

66
using System.Text.Json.Serialization;
77
namespace SdkFabric.Twitter;
8-
public class HideReplyUpdate
8+
public class HideReply
99
{
1010
[JsonPropertyName("hidden")]
1111
public bool? Hidden { get; set; }

src/SdkFabric.Twitter/HideReplyResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ namespace SdkFabric.Twitter;
88
public class HideReplyResponse
99
{
1010
[JsonPropertyName("data")]
11-
public HideReplyUpdate? Data { get; set; }
11+
public HideReply? Data { get; set; }
1212
}

src/SdkFabric.Twitter/LikeResponseMessage.cs renamed to src/SdkFabric.Twitter/Like.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* LikeResponseMessage automatically generated by SDKgen please do not edit this file manually
2+
* Like automatically generated by SDKgen please do not edit this file manually
33
* @see https://sdkgen.app
44
*/
55

66
using System.Text.Json.Serialization;
77
namespace SdkFabric.Twitter;
8-
public class LikeResponseMessage
8+
public class Like
99
{
1010
[JsonPropertyName("liked")]
1111
public string? Liked { get; set; }

src/SdkFabric.Twitter/LikeResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ namespace SdkFabric.Twitter;
88
public class LikeResponse
99
{
1010
[JsonPropertyName("data")]
11-
public LikeResponseMessage? Data { get; set; }
11+
public Like? Data { get; set; }
1212
}

src/SdkFabric.Twitter/QuoteTag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public QuoteTag(RestClient httpClient, Parser parser): base(httpClient, parser)
2222
/**
2323
* Returns Quote Tweets for a Tweet specified by the requested Tweet ID.
2424
*/
25-
public async Task<TweetCollectionResponse> GetAll(string tweetId, string exclude, string expansions, int maxResults, string paginationToken, Fields fields)
25+
public async Task<TweetCollection> GetAll(string tweetId, string exclude, string expansions, int maxResults, string paginationToken, Fields fields)
2626
{
2727
Dictionary<string, object> pathParams = new();
2828
pathParams.Add("tweet_id", tweetId);
@@ -44,7 +44,7 @@ public async Task<TweetCollectionResponse> GetAll(string tweetId, string exclude
4444

4545
if (response.IsSuccessful)
4646
{
47-
return this.Parser.Parse<TweetCollectionResponse>(response.Content);
47+
return this.Parser.Parse<TweetCollection>(response.Content);
4848
}
4949

5050
if (response.ErrorException != null)

src/SdkFabric.Twitter/SearchTag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public SearchTag(RestClient httpClient, Parser parser): base(httpClient, parser)
1919
}
2020

2121

22-
public async Task<TweetCollectionResponse> GetRecent(string query, string startTime, string endTime, string sinceId, string untilId, string sortOrder, string expansions, int maxResults, Fields fields)
22+
public async Task<TweetCollection> GetRecent(string query, string startTime, string endTime, string sinceId, string untilId, string sortOrder, string expansions, int maxResults, Fields fields)
2323
{
2424
Dictionary<string, object> pathParams = new();
2525

@@ -44,7 +44,7 @@ public async Task<TweetCollectionResponse> GetRecent(string query, string startT
4444

4545
if (response.IsSuccessful)
4646
{
47-
return this.Parser.Parse<TweetCollectionResponse>(response.Content);
47+
return this.Parser.Parse<TweetCollection>(response.Content);
4848
}
4949

5050
if (response.ErrorException != null)

0 commit comments

Comments
 (0)