private void fromJSONRequestRedirectOnConfirmation(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field RequestRedirectOnConfirmation of UberRequestSettingsJSON is not true for false."); } } setRequestRedirectOnConfirmation(the_bool); }
private void fromJSONAliasMatched(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field AliasMatched of UserAppParsingItemJSON is not true for false."); } } setAliasMatched(the_bool); }
private void fromJSONValue(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field Value of DisambiguateResultsBeforeActionJSON is not true for false."); } } setValue(the_bool); }
private void fromJSONNew(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field New of MortgageCalculatorInputVariableJSON is not true for false."); } } setNew(the_bool); }
private void fromJSONOldConversation(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field OldConversation of StockQueryBlockJSON is not true for false."); } } setOldConversation(the_bool); }
private void fromJSONExpressedAsDuration(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field ExpressedAsDuration of DateAndOrTimeRangeSpecJSON is not true for false."); } } setExpressedAsDuration(the_bool); }
private void fromJSONAutoPlayPreview(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field AutoPlayPreview of MusicVideoJSON is not true for false."); } } setAutoPlayPreview(the_bool); }
private void fromJSONDestinationIsNow(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field DestinationIsNow of AgeCalculatorRequestedDateOutOfBoundsJSON is not true for false."); } } setDestinationIsNow(the_bool); }
private void fromJSONHasVideoCamera(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field HasVideoCamera of TypeSensorsJSON is not true for false."); } } setHasVideoCamera(the_bool); }
private void fromJSONIsOwned(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field IsOwned of RememberUserLocationIntentJSON is not true for false."); } } setIsOwned(the_bool); }
private void fromJSONDateAndOrTimeSpecInFuture(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field DateAndOrTimeSpecInFuture of HolidaysOnDateLookupInformationNuggetJSON is not true for false."); } } setDateAndOrTimeSpecInFuture(the_bool); }
private void fromJSONValue(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field Value of ReturnInformationNuggetsForMusicSearchJSON is not true for false."); } } setValue(the_bool); }
private void fromJSONFromDiceOrNumbers(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field FromDiceOrNumbers of RandomNumberGeneratorCoinFlipRequestResultJSON is not true for false."); } } setFromDiceOrNumbers(the_bool); }
private void fromJSONValue(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field Value of AllowContextFreeMusicSearchForPopularEntitiesJSON is not true for false."); } } setValue(the_bool); }
private void fromJSONInvalidBornDateWasGiven(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field InvalidBornDateWasGiven of AgeCalculatorStartCommandJSON is not true for false."); } } setInvalidBornDateWasGiven(the_bool); }
private void fromJSONIsMobile(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field IsMobile of RobotConfigurationJSON is not true for false."); } } setIsMobile(the_bool); }
private void fromJSONDestinationIsToday(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field DestinationIsToday of AgeCalculatorStartCommandJSON is not true for false."); } } setDestinationIsToday(the_bool); }
private void fromJSONIsGameOver(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field IsGameOver of BattleshipPlayerDataJSON is not true for false."); } } setIsGameOver(the_bool); }
private void fromJSONResultReference(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field ResultReference of SportsPlayersArgumentPlayerJSON is not true for false."); } } setResultReference(the_bool); }
private void fromJSONIsOfficial(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field IsOfficial of GeonameAttributeArgumentJSON is not true for false."); } } setIsOfficial(the_bool); }
private void fromJSONCountdownIsSupported(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field CountdownIsSupported of CountdownCommandJSON is not true for false."); } } setCountdownIsSupported(the_bool); }
private void fromJSONDividerBelow(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field DividerBelow of TypeItemsJSON is not true for false."); } } setDividerBelow(the_bool); }
private void fromJSONHDSpecified(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field HDSpecified of FMChannelCommandIntentJSON is not true for false."); } } setHDSpecified(the_bool); }
private void fromJSONUserRequestedAutoPlay(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field UserRequestedAutoPlay of MusicConversationStateElementJSON is not true for false."); } } setUserRequestedAutoPlay(the_bool); }
private void fromJSONValue(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field Value of RadioControlRecognizeNorthAmericanAMBandJSON is not true for false."); } } setValue(the_bool); }
private void fromJSONSafeToStopAudio(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field SafeToStopAudio of HoundPartialTranscriptJSON is not true for false."); } } setSafeToStopAudio(the_bool); }
private void fromJSONPageIsGlobal(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field PageIsGlobal of StoredPageMatchWriteCommandJSON is not true for false."); } } setPageIsGlobal(the_bool); }
private void fromJSONRequestedCoordinates(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field RequestedCoordinates of ShowMapInformationNuggetJSON is not true for false."); } } setRequestedCoordinates(the_bool); }
private void fromJSONStartDateTimeInferred(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field StartDateTimeInferred of DateTimeSpecRangeSetOfTimeJSON is not true for false."); } } setStartDateTimeInferred(the_bool); }
private void fromJSONIsToInclusive(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONTrueValue json_true = json_value.true_value(); bool the_bool; if (json_true != null) { the_bool = true; } else { JSONFalseValue json_false = json_value.false_value(); if (json_false != null) { the_bool = false; } else { throw new Exception("The value for field IsToInclusive of PriceRangeJSON is not true for false."); } } setIsToInclusive(the_bool); }