public static PSMatchCondition ToPSMatchCondition(this sdkMatchCondition sdkMatchCondition)
 {
     return(new PSMatchCondition
     {
         MatchVariable = sdkMatchCondition.MatchVariable == null? (PSMatchVariable?)null : (PSMatchVariable)Enum.Parse(typeof(PSMatchVariable), sdkMatchCondition.MatchVariable),
         MatchValue = sdkMatchCondition.MatchValue.ToList(),
         OperatorProperty = sdkMatchCondition.OperatorProperty == null? (PSOperatorProperty?)null : (PSOperatorProperty)Enum.Parse(typeof(PSOperatorProperty), sdkMatchCondition.OperatorProperty),
         Selector = sdkMatchCondition.Selector,
         NegateCondition = sdkMatchCondition.NegateCondition,
     });
 }
 public static PSMatchCondition ToPSMatchCondition(this sdkMatchCondition sdkMatchCondition)
 {
     return(new PSMatchCondition
     {
         MatchVariable = sdkMatchCondition.MatchVariable,
         MatchValue = sdkMatchCondition.MatchValue.ToList(),
         OperatorProperty = sdkMatchCondition.OperatorProperty,
         Selector = sdkMatchCondition.Selector,
         NegateCondition = sdkMatchCondition.NegateCondition,
     });
 }