Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Dec 14, 2024
1 parent 9a1d0d4 commit 0b9a20f
Show file tree
Hide file tree
Showing 4 changed files with 5,259 additions and 94 deletions.
27 changes: 5 additions & 22 deletions output/csharp/src/Seam/Api/EncodersAcs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,14 @@ public class ScanCredentialRequest
[JsonConstructorAttribute]
protected ScanCredentialRequest() { }

public ScanCredentialRequest(
string acsEncoderId = default,
string acsSystemId = default
)
public ScanCredentialRequest(string acsEncoderId = default)
{
AcsEncoderId = acsEncoderId;
AcsSystemId = acsSystemId;
}

[DataMember(Name = "acs_encoder_id", IsRequired = true, EmitDefaultValue = false)]
public string AcsEncoderId { get; set; }

[DataMember(Name = "acs_system_id", IsRequired = true, EmitDefaultValue = false)]
public string AcsSystemId { get; set; }

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
Expand Down Expand Up @@ -228,14 +221,9 @@ public ActionAttempt ScanCredential(ScanCredentialRequest request)
.Data.ActionAttempt;
}

public ActionAttempt ScanCredential(
string acsEncoderId = default,
string acsSystemId = default
)
public ActionAttempt ScanCredential(string acsEncoderId = default)
{
return ScanCredential(
new ScanCredentialRequest(acsEncoderId: acsEncoderId, acsSystemId: acsSystemId)
);
return ScanCredential(new ScanCredentialRequest(acsEncoderId: acsEncoderId));
}

public async Task<ActionAttempt> ScanCredentialAsync(ScanCredentialRequest request)
Expand All @@ -252,15 +240,10 @@ await _seam.PostAsync<ScanCredentialResponse>(
.ActionAttempt;
}

public async Task<ActionAttempt> ScanCredentialAsync(
string acsEncoderId = default,
string acsSystemId = default
)
public async Task<ActionAttempt> ScanCredentialAsync(string acsEncoderId = default)
{
return (
await ScanCredentialAsync(
new ScanCredentialRequest(acsEncoderId: acsEncoderId, acsSystemId: acsSystemId)
)
await ScanCredentialAsync(new ScanCredentialRequest(acsEncoderId: acsEncoderId))
);
}
}
Expand Down
10 changes: 5 additions & 5 deletions output/csharp/src/Seam/Api/UsersAcs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public CreateRequest(
string acsSystemId = default,
string? email = default,
string? emailAddress = default,
string? fullName = default,
string fullName = default,
string? phoneNumber = default,
string? userIdentityId = default
)
Expand Down Expand Up @@ -142,8 +142,8 @@ public CreateRequest(
[DataMember(Name = "email_address", IsRequired = false, EmitDefaultValue = false)]
public string? EmailAddress { get; set; }

[DataMember(Name = "full_name", IsRequired = false, EmitDefaultValue = false)]
public string? FullName { get; set; }
[DataMember(Name = "full_name", IsRequired = true, EmitDefaultValue = false)]
public string FullName { get; set; }

[DataMember(Name = "phone_number", IsRequired = false, EmitDefaultValue = false)]
public string? PhoneNumber { get; set; }
Expand Down Expand Up @@ -256,7 +256,7 @@ public AcsUser Create(
string acsSystemId = default,
string? email = default,
string? emailAddress = default,
string? fullName = default,
string fullName = default,
string? phoneNumber = default,
string? userIdentityId = default
)
Expand Down Expand Up @@ -290,7 +290,7 @@ public async Task<AcsUser> CreateAsync(
string acsSystemId = default,
string? email = default,
string? emailAddress = default,
string? fullName = default,
string fullName = default,
string? phoneNumber = default,
string? userIdentityId = default
)
Expand Down
Loading

0 comments on commit 0b9a20f

Please sign in to comment.