public QueryApplicationsApiModel(
     string applicationName,
     string applicationUri,
     QueryApplicationType applicationType,
     string productUri,
     IList <string> serverCapabilities,
     QueryApplicationState?applicationState
     )
 {
     this.ApplicationName    = applicationName;
     this.ApplicationUri     = applicationUri;
     this.ApplicationType    = applicationType;
     this.ProductUri         = productUri;
     this.ServerCapabilities = serverCapabilities;
     this.ApplicationState   = applicationState;
 }
        internal static string ToSerializedValue(this QueryApplicationType value)
        {
            switch (value)
            {
            case QueryApplicationType.Any:
                return("any");

            case QueryApplicationType.Server:
                return("server");

            case QueryApplicationType.Client:
                return("client");

            case QueryApplicationType.ClientAndServer:
                return("clientAndServer");
            }
            return(null);
        }