Пример #1
0
        public static TypeEntriesJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
        {
            TypeEntriesJSON result;

            {
                HoldingGenerator generator = new HoldingGenerator("Type TypeEntries", ignore_extras);
                generator.set_allow_incomplete(allow_incomplete);
                generator.set_allow_unpolished(allow_unpolished);
                if (allow_incomplete || allow_unpolished)
                {
                    json_value.write_partial_as_json(generator);
                }
                else
                {
                    json_value.write_as_json(generator);
                }
                Debug.Assert(generator.have_value);
                result = generator.value;
            };
            return(result);
        }
Пример #2
0
    public static new MoonPhaseAtTimeInformationNuggetJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MoonPhaseAtTimeInformationNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MoonPhaseAtTimeInformationNugget", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #3
0
    public static new SportsOlympicsMedalStandingsArgumentQueryTypeJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsMedalStandingsArgumentQueryTypeJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsMedalStandingsArgumentQueryType", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new HomeAutomationWriteClientSettingsCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationWriteClientSettingsCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type HomeAutomationWriteClientSettingsCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #5
0
    public static SportsPlayerPositionsResponseStateJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsPlayerPositionsResponseStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsPlayerPositionsResponseState", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #6
0
    public static new BattleshipInvalidCoordinatesCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        BattleshipInvalidCoordinatesCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type BattleshipInvalidCoordinatesCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #7
0
    public static new SMSDisambiguateChoiceNotUnderstoodCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SMSDisambiguateChoiceNotUnderstoodCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SMSDisambiguateChoiceNotUnderstoodCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new MusicSearchCommandConversationStateElementJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MusicSearchCommandConversationStateElementJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MusicSearchCommandConversationStateElement", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #9
0
    public static new MortgageCalculatorInputVariablePrincipalJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MortgageCalculatorInputVariablePrincipalJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MortgageCalculatorInputVariablePrincipal", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #10
0
    public static SportsOlympicsEventSchedulesAndResultsQueryComponentJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsEventSchedulesAndResultsQueryComponentJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsEventSchedulesAndResultsQueryComponent", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #11
0
    public static new RobotStopRecordingVideoCommandIntentJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        RobotStopRecordingVideoCommandIntentJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type RobotStopRecordingVideoCommandIntent", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Пример #12
0
    public static new RandomNumberGeneratorDiceRollRequestResultJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        RandomNumberGeneratorDiceRollRequestResultJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type RandomNumberGeneratorDiceRollRequestResult", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new AstronomyDistanceFromEarthCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        AstronomyDistanceFromEarthCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type AstronomyDistanceFromEarthCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new CarControlLightsModeNotUnderstoodJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        CarControlLightsModeNotUnderstoodJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type CarControlLightsModeNotUnderstood", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new FiniteIntegerPlusFractionBuildingNumberJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FiniteIntegerPlusFractionBuildingNumberJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FiniteIntegerPlusFractionBuildingNumber", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new DialOneContactNumberAmbiguousCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        DialOneContactNumberAmbiguousCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type DialOneContactNumberAmbiguousCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }