Skip to content

Commit

Permalink
Missing members and camera models applied
Browse files Browse the repository at this point in the history
  • Loading branch information
stashjones committed Oct 22, 2024
1 parent e72e9af commit ce27f06
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 7 deletions.
22 changes: 22 additions & 0 deletions Meraki.Api/Data/MV73X.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace Meraki.Api.Data;

/// <summary>
/// Quality and resolution for MV73X camera models.
/// </summary>
[DataContract]
public class Mv73X
{
/// <summary>
/// Gets or Sets Quality
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "quality")]
public StandardEnhancedHighQuality Quality { get; set; }

/// <summary>
/// Gets or Sets Resolution
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "resolution")]
public Mv73XResolution Resolution { get; set; }
}
26 changes: 26 additions & 0 deletions Meraki.Api/Data/Mv73XResolution.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
namespace Meraki.Api.Data;

/// <summary>
/// Resolution of the camera. Resolution of the camera.Can be one of '1920x1080', '2688x1512' or '3840x2160'.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum Mv73XResolution
{
/// <summary>
/// Enum _1920x1080
/// </summary>
[EnumMember(Value = "1920x1080")]
Size1920x1080,

/// <summary>
/// Enum _2688x1512
/// </summary>
[EnumMember(Value = "2688x1512")]
Size2688x1512,

/// <summary>
/// Enum _3840x2160
/// </summary>
[EnumMember(Value = "3840x2160")]
Size3840x2160
}
7 changes: 7 additions & 0 deletions Meraki.Api/Data/ThirdPartyVpnPeer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,11 @@ public class ThirdPartyVpnPeer : NamedItem
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "isRouteBased")]
public bool? IsRouteBased { get; set; }

/// <summary>
/// Undocumented 2024-10-22
/// </summary>
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "network")]
public ThirdPartyVpnPeerNetwork? Network { get; set; }
}
22 changes: 22 additions & 0 deletions Meraki.Api/Data/ThirdPartyVpnPeerNetwork.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace Meraki.Api.Data;

/// <summary>
/// Peer Network
/// </summary>
[DataContract]
public class ThirdPartyVpnPeerNetwork
{
/// <summary>
/// Names - Undocumented - 2024-10-22
/// </summary>
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "names")]
public List<string>? Names { get; set; }

/// <summary>
/// Ids - Undocumented - 2024-10-22
/// </summary>
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "ids")]
public List<string>? Ids { get; set; }
}
42 changes: 35 additions & 7 deletions Meraki.Api/Data/VideoSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ public class VideoSettings
[DataMember(Name = "MV63X")]
public Mv63X? Mv63X { get; set; }

/// <summary>
/// Gets or Sets MV73
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV73")]
public Mv73? Mv73 { get; set; }

/// <summary>
/// Gets or Sets MV73M
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV73M")]
public Mv73X? Mv73M { get; set; }

/// <summary>
/// Gets or Sets MV73X
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV73X")]
public Mv73X? Mv73X { get; set; }

/// <summary>
/// Gets or Sets MV93
/// </summary>
Expand All @@ -69,6 +90,20 @@ public class VideoSettings
[DataMember(Name = "MV23")]
public Mv23? Mv23 { get; set; }

/// <summary>
/// Gets or Sets MV23M
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV23M")]
public Mv23? Mv23M { get; set; }

/// <summary>
/// Gets or Sets MV23X
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV23X")]
public Mv23? Mv23X { get; set; }

/// <summary>
/// Gets or Sets MV32
/// </summary>
Expand Down Expand Up @@ -125,13 +160,6 @@ public class VideoSettings
[DataMember(Name = "MV63M")]
public MV63M? MV63M { get; set; }

/// <summary>
/// Gets or Sets MV73
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "MV73")]
public Mv73? MV73 { get; set; }

/// <summary>
/// Gets or Sets MV93M
/// </summary>
Expand Down

0 comments on commit ce27f06

Please sign in to comment.