Skip to content

Commit

Permalink
Update FCAResponse.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueion76 authored Nov 16, 2024
1 parent 6fdd2a2 commit d426173
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions FCAAddon/FCAClient/FCAResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public abstract class BaseResponse
public abstract void ThrowOnError(string message);
}

public class FiatResponse
public class FCAResponse
{
public string CallId { get; set; }
public long ErrorCode { get; set; }
Expand All @@ -33,17 +33,17 @@ public void ThrowOnError(string message)
}
}

public class FiatLoginResponse : FiatResponse
public class FCALoginResponse : FCAResponse
{
}

public class FiatAuthResponse : FiatResponse
public class FCAAuthResponse : FCAResponse
{
public string UID { get; set; }

Check warning on line 42 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (armv7, linux-musl-arm)

Non-nullable property 'UID' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 42 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (amd64, linux-musl-x64)

Non-nullable property 'UID' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
public FiatSessionInfo SessionInfo { get; set; }
public FCASessionInfo SessionInfo { get; set; }

Check warning on line 43 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (armv7, linux-musl-arm)

Non-nullable property 'SessionInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 43 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (amd64, linux-musl-x64)

Non-nullable property 'SessionInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
}

public class FiatJwtResponse : FiatResponse
public class FCAJwtResponse : FCAResponse
{
[JsonProperty("id_token")] public string IdToken { get; set; }

Check warning on line 48 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (armv7, linux-musl-arm)

Non-nullable property 'IdToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 48 in FCAAddon/FCAClient/FCAResponse.cs

View workflow job for this annotation

GitHub Actions / build (amd64, linux-musl-x64)

Non-nullable property 'IdToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
}
Expand All @@ -67,7 +67,7 @@ public override void ThrowOnError(string message)
}
}

public class FiatSessionInfo
public class FCASessionInfo
{
[JsonProperty("login_token")] public string LoginToken { get; set; }
}
Expand Down

0 comments on commit d426173

Please sign in to comment.