Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
16 changes: 8 additions & 8 deletions output/csharp/src/Seam/Api/AccessCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -955,15 +955,15 @@ protected ListRequest() { }

public ListRequest(
List<string>? accessCodeIds = default,
List<string>? customerIds = default,
string? customerKey = default,
string? deviceId = default,
float? limit = default,
string? pageCursor = default,
string? userIdentifierKey = default
)
{
AccessCodeIds = accessCodeIds;
CustomerIds = customerIds;
CustomerKey = customerKey;
DeviceId = deviceId;
Limit = limit;
PageCursor = pageCursor;
Expand All @@ -973,8 +973,8 @@ public ListRequest(
[DataMember(Name = "access_code_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? AccessCodeIds { get; set; }

[DataMember(Name = "customer_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? CustomerIds { get; set; }
[DataMember(Name = "customer_key", IsRequired = false, EmitDefaultValue = false)]
public string? CustomerKey { get; set; }

[DataMember(Name = "device_id", IsRequired = false, EmitDefaultValue = false)]
public string? DeviceId { get; set; }
Expand Down Expand Up @@ -1051,7 +1051,7 @@ public List<AccessCode> List(ListRequest request)

public List<AccessCode> List(
List<string>? accessCodeIds = default,
List<string>? customerIds = default,
string? customerKey = default,
string? deviceId = default,
float? limit = default,
string? pageCursor = default,
Expand All @@ -1061,7 +1061,7 @@ public List<AccessCode> List(
return List(
new ListRequest(
accessCodeIds: accessCodeIds,
customerIds: customerIds,
customerKey: customerKey,
deviceId: deviceId,
limit: limit,
pageCursor: pageCursor,
Expand All @@ -1081,7 +1081,7 @@ public async Task<List<AccessCode>> ListAsync(ListRequest request)

public async Task<List<AccessCode>> ListAsync(
List<string>? accessCodeIds = default,
List<string>? customerIds = default,
string? customerKey = default,
string? deviceId = default,
float? limit = default,
string? pageCursor = default,
Expand All @@ -1092,7 +1092,7 @@ public async Task<List<AccessCode>> ListAsync(
await ListAsync(
new ListRequest(
accessCodeIds: accessCodeIds,
customerIds: customerIds,
customerKey: customerKey,
deviceId: deviceId,
limit: limit,
pageCursor: pageCursor,
Expand Down
43 changes: 42 additions & 1 deletion output/csharp/src/Seam/Api/AccessGrants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,31 @@ public CreateRequest(
CreateRequestUserIdentity? userIdentity = default,
string? accessGrantKey = default,
List<string>? acsEntranceIds = default,
string? customizationProfileId = default,
List<string>? deviceIds = default,
string? endsAt = default,
CreateRequestLocation? location = default,
List<string>? locationIds = default,
string? name = default,
List<CreateRequestRequestedAccessMethods> requestedAccessMethods = default,
List<string>? spaceIds = default,
List<string>? spaceKeys = default,
string? startsAt = default
)
{
UserIdentityId = userIdentityId;
UserIdentity = userIdentity;
AccessGrantKey = accessGrantKey;
AcsEntranceIds = acsEntranceIds;
CustomizationProfileId = customizationProfileId;
DeviceIds = deviceIds;
EndsAt = endsAt;
Location = location;
LocationIds = locationIds;
Name = name;
RequestedAccessMethods = requestedAccessMethods;
SpaceIds = spaceIds;
SpaceKeys = spaceKeys;
StartsAt = startsAt;
}

Expand All @@ -65,6 +69,13 @@ public CreateRequest(
[DataMember(Name = "acs_entrance_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? AcsEntranceIds { get; set; }

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

[DataMember(Name = "device_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? DeviceIds { get; set; }

Expand All @@ -90,6 +101,9 @@ public CreateRequest(
[DataMember(Name = "space_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? SpaceIds { get; set; }

[DataMember(Name = "space_keys", IsRequired = false, EmitDefaultValue = false)]
public List<string>? SpaceKeys { get; set; }

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

Expand Down Expand Up @@ -122,12 +136,14 @@ protected CreateRequestUserIdentity() { }
public CreateRequestUserIdentity(
string? emailAddress = default,
string? fullName = default,
string? phoneNumber = default
string? phoneNumber = default,
string? userIdentityKey = default
)
{
EmailAddress = emailAddress;
FullName = fullName;
PhoneNumber = phoneNumber;
UserIdentityKey = userIdentityKey;
}

[DataMember(Name = "email_address", IsRequired = false, EmitDefaultValue = false)]
Expand All @@ -139,6 +155,9 @@ public CreateRequestUserIdentity(
[DataMember(Name = "phone_number", IsRequired = false, EmitDefaultValue = false)]
public string? PhoneNumber { get; set; }

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

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
Expand Down Expand Up @@ -212,9 +231,11 @@ public class CreateRequestRequestedAccessMethods
protected CreateRequestRequestedAccessMethods() { }

public CreateRequestRequestedAccessMethods(
string? code = default,
CreateRequestRequestedAccessMethods.ModeEnum mode = default
)
{
Code = code;
Mode = mode;
}

Expand All @@ -234,6 +255,9 @@ public enum ModeEnum
MobileKey = 3,
}

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

[DataMember(Name = "mode", IsRequired = true, EmitDefaultValue = false)]
public CreateRequestRequestedAccessMethods.ModeEnum Mode { get; set; }

Expand Down Expand Up @@ -305,13 +329,15 @@ public AccessGrant Create(
CreateRequestUserIdentity? userIdentity = default,
string? accessGrantKey = default,
List<string>? acsEntranceIds = default,
string? customizationProfileId = default,
List<string>? deviceIds = default,
string? endsAt = default,
CreateRequestLocation? location = default,
List<string>? locationIds = default,
string? name = default,
List<CreateRequestRequestedAccessMethods> requestedAccessMethods = default,
List<string>? spaceIds = default,
List<string>? spaceKeys = default,
string? startsAt = default
)
{
Expand All @@ -321,13 +347,15 @@ public AccessGrant Create(
userIdentity: userIdentity,
accessGrantKey: accessGrantKey,
acsEntranceIds: acsEntranceIds,
customizationProfileId: customizationProfileId,
deviceIds: deviceIds,
endsAt: endsAt,
location: location,
locationIds: locationIds,
name: name,
requestedAccessMethods: requestedAccessMethods,
spaceIds: spaceIds,
spaceKeys: spaceKeys,
startsAt: startsAt
)
);
Expand All @@ -347,13 +375,15 @@ public async Task<AccessGrant> CreateAsync(
CreateRequestUserIdentity? userIdentity = default,
string? accessGrantKey = default,
List<string>? acsEntranceIds = default,
string? customizationProfileId = default,
List<string>? deviceIds = default,
string? endsAt = default,
CreateRequestLocation? location = default,
List<string>? locationIds = default,
string? name = default,
List<CreateRequestRequestedAccessMethods> requestedAccessMethods = default,
List<string>? spaceIds = default,
List<string>? spaceKeys = default,
string? startsAt = default
)
{
Expand All @@ -364,13 +394,15 @@ await CreateAsync(
userIdentity: userIdentity,
accessGrantKey: accessGrantKey,
acsEntranceIds: acsEntranceIds,
customizationProfileId: customizationProfileId,
deviceIds: deviceIds,
endsAt: endsAt,
location: location,
locationIds: locationIds,
name: name,
requestedAccessMethods: requestedAccessMethods,
spaceIds: spaceIds,
spaceKeys: spaceKeys,
startsAt: startsAt
)
)
Expand Down Expand Up @@ -552,6 +584,7 @@ public ListRequest(
string? accessGrantKey = default,
string? acsEntranceId = default,
string? acsSystemId = default,
string? customerKey = default,
string? locationId = default,
string? spaceId = default,
string? userIdentityId = default
Expand All @@ -560,6 +593,7 @@ public ListRequest(
AccessGrantKey = accessGrantKey;
AcsEntranceId = acsEntranceId;
AcsSystemId = acsSystemId;
CustomerKey = customerKey;
LocationId = locationId;
SpaceId = spaceId;
UserIdentityId = userIdentityId;
Expand All @@ -574,6 +608,9 @@ public ListRequest(
[DataMember(Name = "acs_system_id", IsRequired = false, EmitDefaultValue = false)]
public string? AcsSystemId { get; set; }

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

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

Expand Down Expand Up @@ -650,6 +687,7 @@ public List<AccessGrant> List(
string? accessGrantKey = default,
string? acsEntranceId = default,
string? acsSystemId = default,
string? customerKey = default,
string? locationId = default,
string? spaceId = default,
string? userIdentityId = default
Expand All @@ -660,6 +698,7 @@ public List<AccessGrant> List(
accessGrantKey: accessGrantKey,
acsEntranceId: acsEntranceId,
acsSystemId: acsSystemId,
customerKey: customerKey,
locationId: locationId,
spaceId: spaceId,
userIdentityId: userIdentityId
Expand All @@ -680,6 +719,7 @@ public async Task<List<AccessGrant>> ListAsync(
string? accessGrantKey = default,
string? acsEntranceId = default,
string? acsSystemId = default,
string? customerKey = default,
string? locationId = default,
string? spaceId = default,
string? userIdentityId = default
Expand All @@ -691,6 +731,7 @@ await ListAsync(
accessGrantKey: accessGrantKey,
acsEntranceId: acsEntranceId,
acsSystemId: acsSystemId,
customerKey: customerKey,
locationId: locationId,
spaceId: spaceId,
userIdentityId: userIdentityId
Expand Down
Loading
Loading