Skip to content

Commit 901e5c3

Browse files
refactor: Undo renaming class user to User
1 parent 4ad71a4 commit 901e5c3

File tree

1 file changed

+3
-3
lines changed
  • test/RestSharp.Tests.Serializers.Xml/SampleClasses

1 file changed

+3
-3
lines changed

test/RestSharp.Tests.Serializers.Xml/SampleClasses/twitter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ public class status {
2323
public string in_reply_to_screen_name { get; set; }
2424

2525
// ignore contributors for now
26-
public User user { get; set; }
26+
public user user { get; set; }
2727

2828
// ignore geo
2929
public long id { get; set; }
3030

3131
public string text { get; set; }
3232
}
3333

34-
public class User {
34+
public class user {
3535
public string url { get; set; }
3636

3737
public string description { get; set; }
@@ -105,7 +105,7 @@ public class complexStatus {
105105
public string in_reply_to_screen_name { get; set; }
106106

107107
// ignore contributors for now
108-
[DeserializeAs(Name = "User.following")]
108+
[DeserializeAs(Name = "user.following")]
109109
public bool follow { get; set; }
110110

111111
// ignore geo

0 commit comments

Comments
 (0)