-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ff3cc9
commit ba1bf81
Showing
5 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Meraki.Api.Data; | ||
|
||
/// <summary> | ||
/// FloorPlanBatchDevicesUpdateRequest | ||
/// </summary> | ||
[DataContract] | ||
public class FloorPlanBatchDevicesUpdateRequest | ||
{ | ||
/// <summary> | ||
/// List of floorplan assignments to update. Up to 100 floor plan assignments can be provided in a request. | ||
/// </summary> | ||
[DataMember(Name = "assignments")] | ||
public List<FloorPlanBatchDevicesUpdateRequestAssignment> Assignments { get; set; } = new(); | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
Meraki.Api/Data/FloorPlanBatchDevicesUpdateRequestAssignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace Meraki.Api.Data; | ||
|
||
/// <summary> | ||
/// FloorPlanBatchDevicesUpdateRequestAssignment | ||
/// </summary> | ||
[DataContract] | ||
public class FloorPlanBatchDevicesUpdateRequestAssignment | ||
{ | ||
/// <summary> | ||
/// Serial of the device to change the floor plan assignment for | ||
/// </summary> | ||
[DataMember(Name = "serial")] | ||
public string Serial { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// Floorplan to be assigned or unassigned | ||
/// </summary> | ||
[DataMember(Name = "floorPlan")] | ||
public FloorPlanBatchDevicesUpdateRequestAssignment FloorPlan { get; set; } = new(); | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
Meraki.Api/Data/FloorPlanBatchDevicesUpdateRequestAssignmentFloorPlan.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Meraki.Api.Data; | ||
|
||
/// <summary> | ||
/// FloorPlanBatchDevicesUpdateRequestAssignmentFloorPlan | ||
/// </summary> | ||
[DataContract] | ||
public class FloorPlanBatchDevicesUpdateRequestAssignmentFloorPlan | ||
{ | ||
/// <summary> | ||
/// The ID of the floor plan to assign the device to, or null to unassign the device from its floor plan | ||
/// </summary> | ||
[DataMember(Name = "id")] | ||
public string Id { get; set; } = string.Empty; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace Meraki.Api.Data; | ||
|
||
/// <summary> | ||
/// FloorPlanBatchDevicesUpdateResponse | ||
/// </summary> | ||
[DataContract] | ||
public class FloorPlanBatchDevicesUpdateResponse | ||
{ | ||
/// <summary> | ||
/// Status of attempt to update device floorplan assignments | ||
/// </summary> | ||
[ApiAccess(ApiAccess.Read)] | ||
[DataMember(Name = "success")] | ||
public bool Success { get; set; } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters