Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add complex response components #53

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add docs on complex model components
  • Loading branch information
tweakch committed Sep 26, 2021
commit 9c73b272d014c54d8fc8aed4d4c5b0cdf0638c17
17 changes: 0 additions & 17 deletions samples/blockfrost-dotnet-samples.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp", "net472\console\ConsoleApp\ConsoleApp.csproj", "{747B55AD-B517-4AEA-AE50-B170B75F6366}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "net472", "net472", "{B09121E0-1EDA-4A3A-A12B-C3C97CFB8292}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleApp1", "netstandard21\console\ConsoleApp1\ConsoleApp1.csproj", "{3D00FA8D-E073-4935-8117-C2B44B5D9CF6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "netstandard21", "netstandard21", "{06A4341B-B4A0-4D84-A5F9-CFB1A2EE2232}"
Expand Down Expand Up @@ -40,18 +36,6 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|Any CPU.Build.0 = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|x64.ActiveCfg = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|x64.Build.0 = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|x86.ActiveCfg = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Debug|x86.Build.0 = Debug|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|Any CPU.ActiveCfg = Release|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|Any CPU.Build.0 = Release|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|x64.ActiveCfg = Release|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|x64.Build.0 = Release|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|x86.ActiveCfg = Release|Any CPU
{747B55AD-B517-4AEA-AE50-B170B75F6366}.Release|x86.Build.0 = Release|Any CPU
{3D00FA8D-E073-4935-8117-C2B44B5D9CF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3D00FA8D-E073-4935-8117-C2B44B5D9CF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D00FA8D-E073-4935-8117-C2B44B5D9CF6}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand Down Expand Up @@ -117,7 +101,6 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{747B55AD-B517-4AEA-AE50-B170B75F6366} = {B09121E0-1EDA-4A3A-A12B-C3C97CFB8292}
{3D00FA8D-E073-4935-8117-C2B44B5D9CF6} = {06A4341B-B4A0-4D84-A5F9-CFB1A2EE2232}
{2667F531-5ABC-4FBF-B482-5047B9EDC2EA} = {0E65D5EA-FBBE-4007-B2DC-4BCB3176AD78}
{063DA81E-4C0D-4DF4-9E68-D10758F3CCB6} = {3DDB4AE1-0D3A-4883-AAB2-FC9DDD60FAD1}
Expand Down
3 changes: 3 additions & 0 deletions src/Blockfrost.Api/Models/Components/Amount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

namespace Blockfrost.Api.Models
{
/// <summary>
/// The amound of a UTxO
/// </summary>
public partial class Amount : IEquatable<Amount>
{
/// <summary>The quantity of the unit</summary>
Expand Down
3 changes: 3 additions & 0 deletions src/Blockfrost.Api/Models/Components/AmountCollection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
namespace Blockfrost.Api.Models
{
/// <summary>
/// Collection of UTxO amounts
/// </summary>
public partial class AmountCollection : System.Collections.ObjectModel.Collection<Amount>
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace Blockfrost.Api.Models
{
/// <summary>
/// Relays
/// </summary>
public partial class TxContentPoolCertsResponseRelays
{
/// <summary>DNS name of the relay</summary>
Expand All @@ -10,15 +13,15 @@ public partial class TxContentPoolCertsResponseRelays

/// <summary>DNS SRV entry of the relay</summary>
[JsonPropertyName("dns_srv")]
public string Dns_srv { get; set; }
public string DnsSrv { get; set; }

/// <summary>IPv4 address of the relay</summary>
[JsonPropertyName("ipv4")]
public string Ipv4 { get; set; }
public string IPv4 { get; set; }

/// <summary>IPv6 address of the relay</summary>
[JsonPropertyName("ipv6")]
public string Ipv6 { get; set; }
public string IPv6 { get; set; }

/// <summary>Network port of the relay</summary>
[JsonPropertyName("port")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

namespace Blockfrost.Api.Models
{
/// <summary>
/// UTxO inputs
/// </summary>
public partial class TxContentUtxoResponseInputs

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

namespace Blockfrost.Api.Models
{
/// <summary>
/// UTxO Outputs
/// </summary>
public partial class TxContentUtxoResponseOutputs
{
/// <summary>Output address</summary>
Expand Down