/// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Carbon.Json.JsonObject" /> to deserialize from.</param>
 internal NewSecurityRule_SecurityRuleApiVersionMetadataSpec(Carbon.Json.JsonObject json)
 {
     // deserialize the contents
     _body = If(json?.PropertyT <Carbon.Json.JsonObject>("Body"), out var __jsonBody) ? Nutanix.Powershell.Models.NetworkSecurityRuleIntentInput.FromJson(__jsonBody) : Body;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Carbon.Json.JsonObject" /> to deserialize from.</param>
 internal SetSecurityRule_SecurityRuleUuidApiVersionMetadataSpecExpanded(Carbon.Json.JsonObject json)
 {
     // deserialize the contents
     _uuid = If(json?.PropertyT <Carbon.Json.JsonString>("Uuid"), out var __jsonUuid) ? (string)__jsonUuid : (string)Uuid;
     _body = If(json?.PropertyT <Carbon.Json.JsonObject>("Body"), out var __jsonBody) ? Nutanix.Powershell.Models.NetworkSecurityRuleIntentInput.FromJson(__jsonBody) : Body;
 }