From 46fb310c7fdf7e6b7cbbddc92c0f7a53ae76e39a Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Mon, 27 Jan 2020 11:15:12 -0800 Subject: [PATCH] Disable nullable reference type generation (#431) --- .../Generated/Models/Enum0.cs | 8 +- .../Generated/Models/Error.Serialization.cs | 2 + .../Generated/Models/Error.cs | 10 +- .../Generated/Models/Get6ItemsItem.cs | 8 +- .../Generated/Models/Get7ItemsItem.cs | 8 +- .../Generated/Models/Head6ItemsItem.cs | 8 +- .../Generated/Models/Head7ItemsItem.cs | 8 +- .../Generated/Models/Key.Serialization.cs | 2 + .../AppConfiguration/Generated/Models/Key.cs | 4 +- .../Models/KeyListResult.Serialization.cs | 2 + .../Generated/Models/KeyListResult.cs | 6 +- .../Models/KeyValue.Serialization.cs | 2 + .../Generated/Models/KeyValue.cs | 14 +- .../KeyValueListResult.Serialization.cs | 2 + .../Generated/Models/KeyValueListResult.cs | 6 +- .../Generated/Models/Label.Serialization.cs | 2 + .../Generated/Models/Label.cs | 4 +- .../Models/LabelListResult.Serialization.cs | 2 + .../Generated/Models/LabelListResult.cs | 6 +- .../Generated/Operations/AllOperations.cs | 130 +++++++++--------- .../Operations/CheckKeyValueHeaders.cs | 8 +- .../Operations/CheckKeyValuesHeaders.cs | 4 +- .../Generated/Operations/CheckKeysHeaders.cs | 4 +- .../Operations/CheckLabelsHeaders.cs | 4 +- .../Operations/CheckRevisionsHeaders.cs | 4 +- .../Operations/DeleteKeyValueHeaders.cs | 6 +- .../Generated/Operations/DeleteLockHeaders.cs | 6 +- .../Operations/GetKeyValueHeaders.cs | 8 +- .../Operations/GetKeyValuesHeaders.cs | 4 +- .../Generated/Operations/GetKeysHeaders.cs | 4 +- .../Generated/Operations/GetLabelsHeaders.cs | 4 +- .../Operations/GetRevisionsHeaders.cs | 4 +- .../Operations/PutKeyValueHeaders.cs | 6 +- .../Generated/Operations/PutLockHeaders.cs | 6 +- .../Models/AnalyzeRequest.Serialization.cs | 2 + .../Generated/Models/AnalyzeRequest.cs | 6 +- .../Models/AnalyzeResult.Serialization.cs | 2 + .../Generated/Models/AnalyzeResult.cs | 4 +- .../Models/Analyzer.Serialization.cs | 2 + .../Generated/Models/Analyzer.cs | 2 + .../Generated/Models/AnalyzerName.cs | 8 +- .../AsciiFoldingTokenFilter.Serialization.cs | 2 + .../Models/AsciiFoldingTokenFilter.cs | 2 + .../Models/AutocompleteItem.Serialization.cs | 2 + .../Generated/Models/AutocompleteItem.cs | 6 +- .../Models/AutocompleteMode.Serialization.cs | 2 + .../Generated/Models/AutocompleteMode.cs | 2 + .../AutocompleteRequest.Serialization.cs | 2 + .../Generated/Models/AutocompleteRequest.cs | 14 +- .../AutocompleteResult.Serialization.cs | 2 + .../Generated/Models/AutocompleteResult.cs | 4 +- .../Models/CharFilter.Serialization.cs | 2 + .../Generated/Models/CharFilter.cs | 2 + .../CjkBigramTokenFilter.Serialization.cs | 2 + .../Generated/Models/CjkBigramTokenFilter.cs | 4 +- ...kBigramTokenFilterScripts.Serialization.cs | 2 + .../Models/CjkBigramTokenFilterScripts.cs | 2 + .../Models/ClassicTokenizer.Serialization.cs | 2 + .../Generated/Models/ClassicTokenizer.cs | 2 + .../CognitiveServicesAccount.Serialization.cs | 2 + .../Models/CognitiveServicesAccount.cs | 4 +- ...gnitiveServicesAccountKey.Serialization.cs | 2 + .../Models/CognitiveServicesAccountKey.cs | 2 + .../CommonGramTokenFilter.Serialization.cs | 2 + .../Generated/Models/CommonGramTokenFilter.cs | 4 +- ...esultAdditionalproperties.Serialization.cs | 2 + ...sSchemasFacetresultAdditionalproperties.cs | 2 + .../Models/ConditionalSkill.Serialization.cs | 2 + .../Generated/Models/ConditionalSkill.cs | 2 + .../Models/CorsOptions.Serialization.cs | 2 + .../Generated/Models/CorsOptions.cs | 4 +- .../Models/CustomAnalyzer.Serialization.cs | 2 + .../Generated/Models/CustomAnalyzer.cs | 6 +- ...DataChangeDetectionPolicy.Serialization.cs | 2 + .../Models/DataChangeDetectionPolicy.cs | 2 + .../Models/DataContainer.Serialization.cs | 2 + .../Generated/Models/DataContainer.cs | 4 +- ...taDeletionDetectionPolicy.Serialization.cs | 2 + .../Models/DataDeletionDetectionPolicy.cs | 2 + .../Models/DataSource.Serialization.cs | 2 + .../Generated/Models/DataSource.cs | 10 +- .../DataSourceCredentials.Serialization.cs | 2 + .../Generated/Models/DataSourceCredentials.cs | 4 +- .../Generated/Models/DataSourceType.cs | 8 +- .../Generated/Models/DataType.cs | 8 +- ...tCognitiveServicesAccount.Serialization.cs | 2 + .../Models/DefaultCognitiveServicesAccount.cs | 2 + ...ryDecompounderTokenFilter.Serialization.cs | 2 + .../DictionaryDecompounderTokenFilter.cs | 4 +- .../DistanceScoringFunction.Serialization.cs | 2 + .../Models/DistanceScoringFunction.cs | 2 + ...DistanceScoringParameters.Serialization.cs | 2 + .../Models/DistanceScoringParameters.cs | 2 + .../EdgeNGramTokenFilter.Serialization.cs | 2 + .../Generated/Models/EdgeNGramTokenFilter.cs | 2 + .../EdgeNGramTokenFilterSide.Serialization.cs | 2 + .../Models/EdgeNGramTokenFilterSide.cs | 2 + .../EdgeNGramTokenFilterV2.Serialization.cs | 2 + .../Models/EdgeNGramTokenFilterV2.cs | 2 + .../EdgeNGramTokenizer.Serialization.cs | 2 + .../Generated/Models/EdgeNGramTokenizer.cs | 4 +- .../ElisionTokenFilter.Serialization.cs | 2 + .../Generated/Models/ElisionTokenFilter.cs | 4 +- .../Models/EntityCategory.Serialization.cs | 2 + .../Generated/Models/EntityCategory.cs | 2 + .../EntityRecognitionSkill.Serialization.cs | 2 + .../Models/EntityRecognitionSkill.cs | 4 +- .../Models/EntityRecognitionSkillLanguage.cs | 8 +- .../Models/FacetResult.Serialization.cs | 2 + .../Generated/Models/FacetResult.cs | 4 +- .../Generated/Models/Field.Serialization.cs | 2 + .../CognitiveSearch/Generated/Models/Field.cs | 6 +- .../Models/FieldMapping.Serialization.cs | 2 + .../Generated/Models/FieldMapping.cs | 6 +- .../FieldMappingFunction.Serialization.cs | 2 + .../Generated/Models/FieldMappingFunction.cs | 4 +- .../FreshnessScoringFunction.Serialization.cs | 2 + .../Models/FreshnessScoringFunction.cs | 2 + ...reshnessScoringParameters.Serialization.cs | 2 + .../Models/FreshnessScoringParameters.cs | 2 + .../GetIndexStatisticsResult.Serialization.cs | 2 + .../Models/GetIndexStatisticsResult.cs | 2 + ...MarkChangeDetectionPolicy.Serialization.cs | 2 + .../HighWaterMarkChangeDetectionPolicy.cs | 2 + .../ImageAnalysisSkill.Serialization.cs | 2 + .../Generated/Models/ImageAnalysisSkill.cs | 6 +- .../Models/ImageAnalysisSkillLanguage.cs | 8 +- .../Models/ImageDetail.Serialization.cs | 2 + .../Generated/Models/ImageDetail.cs | 2 + .../Generated/Models/Index.Serialization.cs | 2 + .../CognitiveSearch/Generated/Models/Index.cs | 22 +-- .../Models/IndexAction.Serialization.cs | 2 + .../Generated/Models/IndexAction.cs | 4 +- .../Models/IndexActionType.Serialization.cs | 2 + .../Generated/Models/IndexActionType.cs | 2 + .../Models/IndexBatch.Serialization.cs | 2 + .../Generated/Models/IndexBatch.cs | 4 +- .../IndexDocumentsResult.Serialization.cs | 2 + .../Generated/Models/IndexDocumentsResult.cs | 4 +- .../Generated/Models/Indexer.Serialization.cs | 2 + .../Generated/Models/Indexer.cs | 16 ++- .../IndexerExecutionInfo.Serialization.cs | 2 + .../Generated/Models/IndexerExecutionInfo.cs | 8 +- .../IndexerExecutionResult.Serialization.cs | 2 + .../Models/IndexerExecutionResult.cs | 12 +- .../IndexerExecutionStatus.Serialization.cs | 2 + .../Models/IndexerExecutionStatus.cs | 2 + .../Models/IndexerLimits.Serialization.cs | 2 + .../Generated/Models/IndexerLimits.cs | 2 + .../Models/IndexerStatus.Serialization.cs | 2 + .../Generated/Models/IndexerStatus.cs | 2 + .../IndexingParameters.Serialization.cs | 2 + .../Generated/Models/IndexingParameters.cs | 4 +- .../Models/IndexingResult.Serialization.cs | 2 + .../Generated/Models/IndexingResult.cs | 6 +- .../Models/IndexingSchedule.Serialization.cs | 2 + .../Generated/Models/IndexingSchedule.cs | 2 + .../InputFieldMappingEntry.Serialization.cs | 2 + .../Models/InputFieldMappingEntry.cs | 8 +- .../Models/ItemError.Serialization.cs | 2 + .../Generated/Models/ItemError.cs | 12 +- .../Models/ItemWarning.Serialization.cs | 2 + .../Generated/Models/ItemWarning.cs | 12 +- .../Models/KeepTokenFilter.Serialization.cs | 2 + .../Generated/Models/KeepTokenFilter.cs | 4 +- .../KeyPhraseExtractionSkill.Serialization.cs | 2 + .../Models/KeyPhraseExtractionSkill.cs | 2 + .../KeyPhraseExtractionSkillLanguage.cs | 8 +- .../KeywordMarkerTokenFilter.Serialization.cs | 2 + .../Models/KeywordMarkerTokenFilter.cs | 4 +- .../Models/KeywordTokenizer.Serialization.cs | 2 + .../Generated/Models/KeywordTokenizer.cs | 2 + .../KeywordTokenizerV2.Serialization.cs | 2 + .../Generated/Models/KeywordTokenizerV2.cs | 2 + .../LanguageDetectionSkill.Serialization.cs | 2 + .../Models/LanguageDetectionSkill.cs | 2 + .../Models/LengthTokenFilter.Serialization.cs | 2 + .../Generated/Models/LengthTokenFilter.cs | 2 + .../Models/LimitTokenFilter.Serialization.cs | 2 + .../Generated/Models/LimitTokenFilter.cs | 2 + .../ListDataSourcesResult.Serialization.cs | 2 + .../Generated/Models/ListDataSourcesResult.cs | 4 +- .../ListIndexersResult.Serialization.cs | 2 + .../Generated/Models/ListIndexersResult.cs | 4 +- .../Models/ListIndexesResult.Serialization.cs | 2 + .../Generated/Models/ListIndexesResult.cs | 4 +- .../ListSkillsetsResult.Serialization.cs | 2 + .../Generated/Models/ListSkillsetsResult.cs | 4 +- .../ListSynonymMapsResult.Serialization.cs | 2 + .../Generated/Models/ListSynonymMapsResult.cs | 4 +- .../MagnitudeScoringFunction.Serialization.cs | 2 + .../Models/MagnitudeScoringFunction.cs | 2 + ...agnitudeScoringParameters.Serialization.cs | 2 + .../Models/MagnitudeScoringParameters.cs | 2 + .../Models/MappingCharFilter.Serialization.cs | 2 + .../Generated/Models/MappingCharFilter.cs | 4 +- .../Models/MergeSkill.Serialization.cs | 2 + .../Generated/Models/MergeSkill.cs | 6 +- ...LanguageStemmingTokenizer.Serialization.cs | 2 + .../MicrosoftLanguageStemmingTokenizer.cs | 2 + ...icrosoftLanguageTokenizer.Serialization.cs | 2 + .../Models/MicrosoftLanguageTokenizer.cs | 2 + ...StemmingTokenizerLanguage.Serialization.cs | 2 + .../MicrosoftStemmingTokenizerLanguage.cs | 2 + ...icrosoftTokenizerLanguage.Serialization.cs | 2 + .../Models/MicrosoftTokenizerLanguage.cs | 2 + .../Models/NGramTokenFilter.Serialization.cs | 2 + .../Generated/Models/NGramTokenFilter.cs | 2 + .../NGramTokenFilterV2.Serialization.cs | 2 + .../Generated/Models/NGramTokenFilterV2.cs | 2 + .../Models/NGramTokenizer.Serialization.cs | 2 + .../Generated/Models/NGramTokenizer.cs | 4 +- .../Generated/Models/NamedEntityCategory.cs | 8 +- .../Models/OcrSkill.Serialization.cs | 2 + .../Generated/Models/OcrSkill.cs | 2 + .../Generated/Models/OcrSkillLanguage.cs | 8 +- .../OutputFieldMappingEntry.Serialization.cs | 2 + .../Models/OutputFieldMappingEntry.cs | 4 +- .../PathHierarchyTokenizer.Serialization.cs | 2 + .../Models/PathHierarchyTokenizer.cs | 2 + .../PathHierarchyTokenizerV2.Serialization.cs | 2 + .../Models/PathHierarchyTokenizerV2.cs | 2 + .../Models/PatternAnalyzer.Serialization.cs | 2 + .../Generated/Models/PatternAnalyzer.cs | 6 +- ...PatternCaptureTokenFilter.Serialization.cs | 2 + .../Models/PatternCaptureTokenFilter.cs | 4 +- .../PatternReplaceCharFilter.Serialization.cs | 2 + .../Models/PatternReplaceCharFilter.cs | 2 + ...PatternReplaceTokenFilter.Serialization.cs | 2 + .../Models/PatternReplaceTokenFilter.cs | 2 + .../Models/PatternTokenizer.Serialization.cs | 2 + .../Generated/Models/PatternTokenizer.cs | 4 +- .../Models/PhoneticEncoder.Serialization.cs | 2 + .../Generated/Models/PhoneticEncoder.cs | 2 + .../PhoneticTokenFilter.Serialization.cs | 2 + .../Generated/Models/PhoneticTokenFilter.cs | 2 + .../Models/QueryType.Serialization.cs | 2 + .../Generated/Models/QueryType.cs | 2 + .../Generated/Models/RegexFlags.cs | 8 +- .../Models/ResourceCounter.Serialization.cs | 2 + .../Generated/Models/ResourceCounter.cs | 2 + .../Models/ScoringFunction.Serialization.cs | 2 + .../Generated/Models/ScoringFunction.cs | 2 + ...coringFunctionAggregation.Serialization.cs | 2 + .../Models/ScoringFunctionAggregation.cs | 2 + ...ringFunctionInterpolation.Serialization.cs | 2 + .../Models/ScoringFunctionInterpolation.cs | 2 + .../Models/ScoringProfile.Serialization.cs | 2 + .../Generated/Models/ScoringProfile.cs | 6 +- .../SearchDocumentsResult.Serialization.cs | 2 + .../Generated/Models/SearchDocumentsResult.cs | 10 +- .../Models/SearchMode.Serialization.cs | 2 + .../Generated/Models/SearchMode.cs | 2 + .../Models/SearchRequest.Serialization.cs | 2 + .../Generated/Models/SearchRequest.cs | 24 ++-- .../Models/SearchResult.Serialization.cs | 2 + .../Generated/Models/SearchResult.cs | 6 +- .../Models/SentimentSkill.Serialization.cs | 2 + .../Generated/Models/SentimentSkill.cs | 2 + .../Models/SentimentSkillLanguage.cs | 8 +- .../Models/ServiceCounters.Serialization.cs | 2 + .../Generated/Models/ServiceCounters.cs | 14 +- .../Models/ServiceLimits.Serialization.cs | 2 + .../Generated/Models/ServiceLimits.cs | 2 + .../Models/ServiceStatistics.Serialization.cs | 2 + .../Generated/Models/ServiceStatistics.cs | 6 +- .../Models/ShaperSkill.Serialization.cs | 2 + .../Generated/Models/ShaperSkill.cs | 2 + .../ShingleTokenFilter.Serialization.cs | 2 + .../Generated/Models/ShingleTokenFilter.cs | 6 +- .../Generated/Models/Skill.Serialization.cs | 2 + .../CognitiveSearch/Generated/Models/Skill.cs | 12 +- .../Models/Skillset.Serialization.cs | 2 + .../Generated/Models/Skillset.cs | 8 +- .../SnowballTokenFilter.Serialization.cs | 2 + .../Generated/Models/SnowballTokenFilter.cs | 2 + ...owballTokenFilterLanguage.Serialization.cs | 2 + .../Models/SnowballTokenFilterLanguage.cs | 2 + ...mnDeletionDetectionPolicy.Serialization.cs | 2 + ...SoftDeleteColumnDeletionDetectionPolicy.cs | 6 +- .../Models/SplitSkill.Serialization.cs | 2 + .../Generated/Models/SplitSkill.cs | 2 + .../Generated/Models/SplitSkillLanguage.cs | 8 +- ...ratedChangeTrackingPolicy.Serialization.cs | 2 + .../SqlIntegratedChangeTrackingPolicy.cs | 2 + .../Models/StandardAnalyzer.Serialization.cs | 2 + .../Generated/Models/StandardAnalyzer.cs | 4 +- .../Models/StandardTokenizer.Serialization.cs | 2 + .../Generated/Models/StandardTokenizer.cs | 2 + .../StandardTokenizerV2.Serialization.cs | 2 + .../Generated/Models/StandardTokenizerV2.cs | 2 + ...temmerOverrideTokenFilter.Serialization.cs | 2 + .../Models/StemmerOverrideTokenFilter.cs | 4 +- .../StemmerTokenFilter.Serialization.cs | 2 + .../Generated/Models/StemmerTokenFilter.cs | 2 + ...temmerTokenFilterLanguage.Serialization.cs | 2 + .../Models/StemmerTokenFilterLanguage.cs | 2 + .../Models/StopAnalyzer.Serialization.cs | 2 + .../Generated/Models/StopAnalyzer.cs | 4 +- .../Models/StopwordsList.Serialization.cs | 2 + .../Generated/Models/StopwordsList.cs | 2 + .../StopwordsTokenFilter.Serialization.cs | 2 + .../Generated/Models/StopwordsTokenFilter.cs | 4 +- .../SuggestDocumentsResult.Serialization.cs | 2 + .../Models/SuggestDocumentsResult.cs | 4 +- .../Models/SuggestRequest.Serialization.cs | 2 + .../Generated/Models/SuggestRequest.cs | 18 +-- .../Models/SuggestResult.Serialization.cs | 2 + .../Generated/Models/SuggestResult.cs | 6 +- .../Models/Suggester.Serialization.cs | 2 + .../Generated/Models/Suggester.cs | 4 +- .../Models/SynonymMap.Serialization.cs | 2 + .../Generated/Models/SynonymMap.cs | 4 +- .../SynonymTokenFilter.Serialization.cs | 2 + .../Generated/Models/SynonymTokenFilter.cs | 4 +- .../TagScoringFunction.Serialization.cs | 2 + .../Generated/Models/TagScoringFunction.cs | 2 + .../TagScoringParameters.Serialization.cs | 2 + .../Generated/Models/TagScoringParameters.cs | 2 + .../TextExtractionAlgorithm.Serialization.cs | 2 + .../Models/TextExtractionAlgorithm.cs | 2 + .../Models/TextSplitMode.Serialization.cs | 2 + .../Generated/Models/TextSplitMode.cs | 2 + .../TextTranslationSkill.Serialization.cs | 2 + .../Generated/Models/TextTranslationSkill.cs | 2 + .../Models/TextTranslationSkillLanguage.cs | 8 +- .../Models/TextWeights.Serialization.cs | 2 + .../Generated/Models/TextWeights.cs | 4 +- .../TokenCharacterKind.Serialization.cs | 2 + .../Generated/Models/TokenCharacterKind.cs | 2 + .../Models/TokenFilter.Serialization.cs | 2 + .../Generated/Models/TokenFilter.cs | 2 + .../Generated/Models/TokenFilterName.cs | 8 +- .../Models/TokenInfo.Serialization.cs | 2 + .../Generated/Models/TokenInfo.cs | 4 +- .../Models/Tokenizer.Serialization.cs | 2 + .../Generated/Models/Tokenizer.cs | 2 + .../Generated/Models/TokenizerName.cs | 8 +- .../TruncateTokenFilter.Serialization.cs | 2 + .../Generated/Models/TruncateTokenFilter.cs | 2 + .../UaxUrlEmailTokenizer.Serialization.cs | 2 + .../Generated/Models/UaxUrlEmailTokenizer.cs | 2 + .../Models/UniqueTokenFilter.Serialization.cs | 2 + .../Generated/Models/UniqueTokenFilter.cs | 2 + .../Models/VisualFeature.Serialization.cs | 2 + .../Generated/Models/VisualFeature.cs | 2 + .../Models/WebApiSkill.Serialization.cs | 2 + .../Generated/Models/WebApiSkill.cs | 6 +- .../WordDelimiterTokenFilter.Serialization.cs | 2 + .../Models/WordDelimiterTokenFilter.cs | 4 +- .../Generated/Operations/AllOperations.cs | 2 + .../Operations/DataSourcesOperations.cs | 20 +-- .../Operations/DocumentsOperations.cs | 26 ++-- .../Operations/IndexersOperations.cs | 20 +-- .../Generated/Operations/IndexesOperations.cs | 20 +-- .../Operations/SkillsetsOperations.cs | 20 +-- .../Operations/SynonymMapsOperations.cs | 20 +-- .../Models/DetectedLanguage.Serialization.cs | 2 + .../Generated/Models/DetectedLanguage.cs | 2 + .../Models/DocumentEntities.Serialization.cs | 2 + .../Generated/Models/DocumentEntities.cs | 6 +- .../Models/DocumentError.Serialization.cs | 2 + .../Generated/Models/DocumentError.cs | 2 + .../DocumentErrorError.Serialization.cs | 2 + .../Generated/Models/DocumentErrorError.cs | 2 + .../DocumentKeyPhrases.Serialization.cs | 2 + .../Generated/Models/DocumentKeyPhrases.cs | 6 +- .../Models/DocumentLanguage.Serialization.cs | 2 + .../Generated/Models/DocumentLanguage.cs | 6 +- .../DocumentLinkedEntities.Serialization.cs | 2 + .../Models/DocumentLinkedEntities.cs | 6 +- .../Models/DocumentSentiment.Serialization.cs | 2 + .../Generated/Models/DocumentSentiment.cs | 6 +- .../Models/DocumentSentimentSentiment.cs | 8 +- .../DocumentStatistics.Serialization.cs | 2 + .../Generated/Models/DocumentStatistics.cs | 2 + .../Models/EntitiesResult.Serialization.cs | 2 + .../Generated/Models/EntitiesResult.cs | 8 +- .../Generated/Models/Entity.Serialization.cs | 2 + .../Generated/Models/Entity.cs | 4 +- .../EntityLinkingResult.Serialization.cs | 2 + .../Generated/Models/EntityLinkingResult.cs | 8 +- .../Generated/Models/Error.Serialization.cs | 2 + .../Generated/Models/Error.cs | 8 +- .../Generated/Models/ErrorCode.cs | 8 +- .../Models/InnerError.Serialization.cs | 2 + .../Generated/Models/InnerError.cs | 6 +- .../Generated/Models/InnerErrorCode.cs | 8 +- .../Models/KeyPhraseResult.Serialization.cs | 2 + .../Generated/Models/KeyPhraseResult.cs | 8 +- .../LanguageBatchInput.Serialization.cs | 2 + .../Generated/Models/LanguageBatchInput.cs | 4 +- .../Models/LanguageInput.Serialization.cs | 2 + .../Generated/Models/LanguageInput.cs | 4 +- .../Models/LanguageResult.Serialization.cs | 2 + .../Generated/Models/LanguageResult.cs | 8 +- .../Models/LinkedEntity.Serialization.cs | 2 + .../Generated/Models/LinkedEntity.cs | 6 +- .../Generated/Models/Match.Serialization.cs | 2 + .../Generated/Models/Match.cs | 2 + .../MultiLanguageBatchInput.Serialization.cs | 2 + .../Models/MultiLanguageBatchInput.cs | 4 +- .../MultiLanguageInput.Serialization.cs | 2 + .../Generated/Models/MultiLanguageInput.cs | 4 +- .../Models/RequestStatistics.Serialization.cs | 2 + .../Generated/Models/RequestStatistics.cs | 2 + .../Models/SentenceSentiment.Serialization.cs | 2 + .../Generated/Models/SentenceSentiment.cs | 4 +- .../Models/SentenceSentimentSentiment.cs | 8 +- ...ntConfidenceScorePerLabel.Serialization.cs | 2 + .../SentimentConfidenceScorePerLabel.cs | 2 + .../Models/SentimentResponse.Serialization.cs | 2 + .../Generated/Models/SentimentResponse.cs | 8 +- .../Generated/Operations/AllOperations.cs | 38 ++--- .../Generation/Writers/CodeWriter.cs | 4 +- .../Models/OriginalSchema.Serialization.cs | 2 + .../Generated/Models/OriginalSchema.cs | 6 +- .../Generated/Operations/AllOperations.cs | 2 + .../Operations/OriginalOperationHeaders.cs | 4 +- .../Generated/Models/CustomFruitEnum.cs | 8 +- .../Models/CustomizedModel.Serialization.cs | 2 + .../Generated/Models/CustomizedModel.cs | 4 +- .../Generated/Models/DaysOfWeek.cs | 8 +- .../Generated/Operations/AllOperations.cs | 8 +- .../Models/CatAPTrue.Serialization.cs | 2 + .../Generated/Models/CatAPTrue.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../Generated/Models/Error.cs | 4 +- .../Models/PetAPInProperties.Serialization.cs | 2 + .../Generated/Models/PetAPInProperties.cs | 6 +- ...PInPropertiesWithAPString.Serialization.cs | 2 + .../Models/PetAPInPropertiesWithAPString.cs | 8 +- .../Models/PetAPObject.Serialization.cs | 2 + .../Generated/Models/PetAPObject.cs | 6 +- .../Models/PetAPString.Serialization.cs | 2 + .../Generated/Models/PetAPString.cs | 6 +- .../Models/PetAPTrue.Serialization.cs | 2 + .../Generated/Models/PetAPTrue.cs | 6 +- .../Generated/Operations/PetsOperations.cs | 2 + .../body-array/Generated/Models/Enum0.cs | 8 +- .../Generated/Models/Error.Serialization.cs | 2 + .../body-array/Generated/Models/Error.cs | 4 +- .../Generated/Models/FooEnum.Serialization.cs | 2 + .../body-array/Generated/Models/FooEnum.cs | 2 + .../Generated/Models/Product.Serialization.cs | 2 + .../body-array/Generated/Models/Product.cs | 4 +- .../Generated/Operations/ArrayOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-boolean/Generated/Models/Error.cs | 4 +- .../Generated/Operations/BoolOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-byte/Generated/Models/Error.cs | 4 +- .../Generated/Operations/ByteOperations.cs | 2 + .../Models/ArrayWrapper.Serialization.cs | 2 + .../Generated/Models/ArrayWrapper.cs | 4 +- .../Generated/Models/Basic.Serialization.cs | 2 + .../body-complex/Generated/Models/Basic.cs | 4 +- .../Models/BooleanWrapper.Serialization.cs | 2 + .../Generated/Models/BooleanWrapper.cs | 2 + .../Models/ByteWrapper.Serialization.cs | 2 + .../Generated/Models/ByteWrapper.cs | 4 +- .../Generated/Models/CMYKColors.cs | 8 +- .../Generated/Models/Cat.Serialization.cs | 2 + .../body-complex/Generated/Models/Cat.cs | 6 +- .../Models/Cookiecuttershark.Serialization.cs | 2 + .../Generated/Models/Cookiecuttershark.cs | 2 + .../Models/DateWrapper.Serialization.cs | 2 + .../Generated/Models/DateWrapper.cs | 2 + .../Models/DatetimeWrapper.Serialization.cs | 2 + .../Generated/Models/DatetimeWrapper.cs | 2 + .../Datetimerfc1123Wrapper.Serialization.cs | 2 + .../Models/Datetimerfc1123Wrapper.cs | 2 + .../Models/DictionaryWrapper.Serialization.cs | 2 + .../Generated/Models/DictionaryWrapper.cs | 4 +- .../Generated/Models/Dog.Serialization.cs | 2 + .../body-complex/Generated/Models/Dog.cs | 4 +- .../Generated/Models/DotFish.Serialization.cs | 2 + .../body-complex/Generated/Models/DotFish.cs | 4 +- .../Models/DotFishMarket.Serialization.cs | 2 + .../Generated/Models/DotFishMarket.cs | 10 +- .../Models/DotSalmon.Serialization.cs | 2 + .../Generated/Models/DotSalmon.cs | 4 +- .../Models/DoubleWrapper.Serialization.cs | 2 + .../Generated/Models/DoubleWrapper.cs | 2 + .../Models/DurationWrapper.Serialization.cs | 2 + .../Generated/Models/DurationWrapper.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-complex/Generated/Models/Error.cs | 4 +- .../Generated/Models/Fish.Serialization.cs | 2 + .../body-complex/Generated/Models/Fish.cs | 6 +- .../Models/FloatWrapper.Serialization.cs | 2 + .../Generated/Models/FloatWrapper.cs | 2 + .../Generated/Models/GoblinSharkColor.cs | 8 +- .../Models/Goblinshark.Serialization.cs | 2 + .../Generated/Models/Goblinshark.cs | 2 + .../Models/IntWrapper.Serialization.cs | 2 + .../Generated/Models/IntWrapper.cs | 2 + .../Models/LongWrapper.Serialization.cs | 2 + .../Generated/Models/LongWrapper.cs | 2 + .../Models/MyBaseHelperType.Serialization.cs | 2 + .../Generated/Models/MyBaseHelperType.cs | 4 +- .../Models/MyBaseType.Serialization.cs | 2 + .../Generated/Models/MyBaseType.cs | 6 +- .../Models/MyDerivedType.Serialization.cs | 2 + .../Generated/Models/MyDerivedType.cs | 4 +- .../Generated/Models/Pet.Serialization.cs | 2 + .../body-complex/Generated/Models/Pet.cs | 4 +- .../Models/ReadonlyObj.Serialization.cs | 2 + .../Generated/Models/ReadonlyObj.cs | 4 +- .../Generated/Models/Salmon.Serialization.cs | 2 + .../body-complex/Generated/Models/Salmon.cs | 4 +- .../Models/Sawshark.Serialization.cs | 2 + .../body-complex/Generated/Models/Sawshark.cs | 4 +- .../Generated/Models/Shark.Serialization.cs | 2 + .../body-complex/Generated/Models/Shark.cs | 2 + .../Generated/Models/Siamese.Serialization.cs | 2 + .../body-complex/Generated/Models/Siamese.cs | 4 +- .../Models/SmartSalmon.Serialization.cs | 2 + .../Generated/Models/SmartSalmon.cs | 6 +- .../Models/StringWrapper.Serialization.cs | 2 + .../Generated/Models/StringWrapper.cs | 8 +- .../Generated/Operations/ArrayOperations.cs | 2 + .../Generated/Operations/BasicOperations.cs | 2 + .../Operations/DictionaryOperations.cs | 2 + .../Operations/FlattencomplexOperations.cs | 2 + .../Operations/InheritanceOperations.cs | 2 + .../PolymorphicrecursiveOperations.cs | 2 + .../Operations/PolymorphismOperations.cs | 2 + .../Operations/PrimitiveOperations.cs | 2 + .../Operations/ReadonlypropertyOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-date/Generated/Models/Error.cs | 4 +- .../Generated/Operations/DateOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../Generated/Models/Error.cs | 4 +- .../Operations/Datetimerfc1123Operations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-datetime/Generated/Models/Error.cs | 4 +- .../Operations/DatetimeOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-dictionary/Generated/Models/Error.cs | 4 +- .../Generated/Models/Widget.Serialization.cs | 2 + .../Generated/Models/Widget.cs | 4 +- .../Operations/DictionaryOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-duration/Generated/Models/Error.cs | 4 +- .../Operations/DurationOperations.cs | 2 + .../body-file/Generated/Models/Error.cs | 4 +- .../Generated/Operations/FilesOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-integer/Generated/Models/Error.cs | 4 +- .../Generated/Operations/IntOperations.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-number/Generated/Models/Error.cs | 4 +- .../Generated/Operations/NumberOperations.cs | 2 + .../Generated/Models/Colors.Serialization.cs | 2 + .../body-string/Generated/Models/Colors.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../body-string/Generated/Models/Error.cs | 4 +- .../Models/RefColorConstant.Serialization.cs | 2 + .../Generated/Models/RefColorConstant.cs | 4 +- .../Generated/Operations/EnumOperations.cs | 2 + .../Generated/Operations/StringOperations.cs | 4 +- .../Generated/Models/Error.cs | 4 +- .../Generated/Operations/PathsOperations.cs | 8 +- .../Generated/Models/Error.Serialization.cs | 2 + .../Generated/Models/Error.cs | 4 +- .../Generated/Models/Product.Serialization.cs | 2 + .../Generated/Models/Product.cs | 4 +- .../Models/ProductProperties.Serialization.cs | 2 + .../Generated/Models/ProductProperties.cs | 4 +- .../Models/ProductResult.Serialization.cs | 2 + .../Generated/Models/ProductResult.cs | 6 +- .../Generated/Operations/PagingOperations.cs | 2 + .../custom-baseUrl/Generated/Models/Error.cs | 4 +- .../Generated/Operations/PathsOperations.cs | 2 + .../Models/DaysOfWeekExtensibleEnum.cs | 8 +- .../Generated/Models/IntEnum.cs | 8 +- .../Generated/Models/Pet.Serialization.cs | 2 + .../Generated/Models/Pet.cs | 4 +- .../Generated/Operations/PetOperations.cs | 8 +- .../header/Generated/Models/Error.cs | 4 +- .../Models/GreyscaleColors.Serialization.cs | 2 + .../Generated/Models/GreyscaleColors.cs | 2 + .../Generated/Operations/HeaderOperations.cs | 8 +- .../Operations/ResponseBoolHeaders.cs | 2 + .../Operations/ResponseByteHeaders.cs | 4 +- .../Operations/ResponseDateHeaders.cs | 2 + .../Operations/ResponseDatetimeHeaders.cs | 2 + .../ResponseDatetimeRfc1123Headers.cs | 2 + .../Operations/ResponseDoubleHeaders.cs | 2 + .../Operations/ResponseDurationHeaders.cs | 2 + .../Operations/ResponseEnumHeaders.cs | 2 + .../Operations/ResponseExistingKeyHeaders.cs | 4 +- .../Operations/ResponseFloatHeaders.cs | 2 + .../Operations/ResponseIntegerHeaders.cs | 2 + .../Operations/ResponseLongHeaders.cs | 2 + .../Operations/ResponseProtectedKeyHeaders.cs | 4 +- .../Operations/ResponseStringHeaders.cs | 4 +- .../OdataProductResult.Serialization.cs | 2 + .../Generated/Models/OdataProductResult.cs | 6 +- .../Models/OperationResult.Serialization.cs | 2 + .../Generated/Models/OperationResult.cs | 2 + .../Generated/Models/OperationResultStatus.cs | 8 +- .../Generated/Models/Product.Serialization.cs | 2 + .../paging/Generated/Models/Product.cs | 4 +- .../Models/ProductProperties.Serialization.cs | 2 + .../Generated/Models/ProductProperties.cs | 4 +- .../Models/ProductResult.Serialization.cs | 2 + .../paging/Generated/Models/ProductResult.cs | 6 +- .../ProductResultValue.Serialization.cs | 2 + .../Generated/Models/ProductResultValue.cs | 6 +- .../Generated/Operations/PagingOperations.cs | 66 ++++----- .../Generated/Models/Error.cs | 4 +- .../Generated/Operations/QueriesOperations.cs | 20 +-- .../url/Generated/Models/Error.cs | 4 +- .../Models/UriColor.Serialization.cs | 2 + .../url/Generated/Models/UriColor.cs | 2 + .../Operations/PathItemsOperations.cs | 30 ++-- .../Generated/Operations/PathsOperations.cs | 2 + .../Generated/Operations/QueriesOperations.cs | 56 ++++---- .../Models/ChildProduct.Serialization.cs | 2 + .../Generated/Models/ChildProduct.cs | 2 + .../Models/ConstantProduct.Serialization.cs | 2 + .../Generated/Models/ConstantProduct.cs | 2 + .../Generated/Models/Error.Serialization.cs | 2 + .../validation/Generated/Models/Error.cs | 6 +- .../Generated/Models/Product.Serialization.cs | 2 + .../validation/Generated/Models/Product.cs | 6 +- .../Generated/Operations/AllOperations.cs | 14 +- .../Models/AccessPolicy.Serialization.cs | 2 + .../Generated/Models/AccessPolicy.cs | 2 + .../Generated/Models/AccessTier.cs | 8 +- .../Models/AppleBarrel.Serialization.cs | 6 +- .../Generated/Models/AppleBarrel.cs | 6 +- .../Generated/Models/ArchiveStatus.cs | 8 +- .../Generated/Models/Banana.Serialization.cs | 10 +- .../xml-service/Generated/Models/Banana.cs | 6 +- .../Generated/Models/Blob.Serialization.cs | 6 +- .../xml-service/Generated/Models/Blob.cs | 4 +- .../Models/BlobPrefix.Serialization.cs | 2 + .../Generated/Models/BlobPrefix.cs | 2 + .../Models/BlobProperties.Serialization.cs | 46 ++++--- .../Generated/Models/BlobProperties.cs | 24 ++-- .../Models/BlobType.Serialization.cs | 2 + .../xml-service/Generated/Models/BlobType.cs | 2 + .../Generated/Models/Blobs.Serialization.cs | 6 +- .../xml-service/Generated/Models/Blobs.cs | 6 +- .../Models/ComplexTypeNoMeta.Serialization.cs | 6 +- .../Generated/Models/ComplexTypeNoMeta.cs | 4 +- .../ComplexTypeWithMeta.Serialization.cs | 6 +- .../Generated/Models/ComplexTypeWithMeta.cs | 4 +- .../Models/Container.Serialization.cs | 6 +- .../xml-service/Generated/Models/Container.cs | 4 +- .../ContainerProperties.Serialization.cs | 2 + .../Generated/Models/ContainerProperties.cs | 2 + .../Models/CopyStatusType.Serialization.cs | 2 + .../Generated/Models/CopyStatusType.cs | 2 + .../Models/CorsRule.Serialization.cs | 2 + .../xml-service/Generated/Models/CorsRule.cs | 2 + .../Generated/Models/Error.Serialization.cs | 6 +- .../xml-service/Generated/Models/Error.cs | 4 +- .../Models/JSONInput.Serialization.cs | 2 + .../xml-service/Generated/Models/JSONInput.cs | 2 + .../Models/JSONOutput.Serialization.cs | 2 + .../Generated/Models/JSONOutput.cs | 2 + .../Models/LeaseDurationType.Serialization.cs | 2 + .../Generated/Models/LeaseDurationType.cs | 2 + .../Models/LeaseStateType.Serialization.cs | 2 + .../Generated/Models/LeaseStateType.cs | 2 + .../Models/LeaseStatusType.Serialization.cs | 2 + .../Generated/Models/LeaseStatusType.cs | 2 + .../Models/ListBlobsResponse.Serialization.cs | 2 + .../Generated/Models/ListBlobsResponse.cs | 2 + .../ListContainersResponse.Serialization.cs | 6 +- .../Models/ListContainersResponse.cs | 6 +- .../Generated/Models/Logging.Serialization.cs | 2 + .../xml-service/Generated/Models/Logging.cs | 2 + .../Generated/Models/Metrics.Serialization.cs | 8 +- .../xml-service/Generated/Models/Metrics.cs | 6 +- .../Generated/Models/PublicAccessType.cs | 8 +- .../Models/RetentionPolicy.Serialization.cs | 2 + .../Generated/Models/RetentionPolicy.cs | 2 + .../RootWithRefAndMeta.Serialization.cs | 8 +- .../Generated/Models/RootWithRefAndMeta.cs | 6 +- .../RootWithRefAndNoMeta.Serialization.cs | 8 +- .../Generated/Models/RootWithRefAndNoMeta.cs | 6 +- .../Models/SignedIdentifier.Serialization.cs | 2 + .../Generated/Models/SignedIdentifier.cs | 2 + .../Generated/Models/Slide.Serialization.cs | 10 +- .../xml-service/Generated/Models/Slide.cs | 8 +- .../Models/Slideshow.Serialization.cs | 10 +- .../xml-service/Generated/Models/Slideshow.cs | 10 +- .../StorageServiceProperties.Serialization.cs | 14 +- .../Models/StorageServiceProperties.cs | 14 +- .../Generated/Operations/GetHeadersHeaders.cs | 4 +- .../Generated/Operations/XmlOperations.cs | 2 + 697 files changed, 2170 insertions(+), 776 deletions(-) diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs index e41416a9..fd2d55f4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Enum0.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Enum0 : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Enum0(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Enum0 other && Equals(other); + public override bool Equals(object obj) => obj is Enum0 other && Equals(other); /// public bool Equals(Enum0 other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs index 43978358..b5d931ee 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs index a7f34ead..a7dcbd53 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Error.cs @@ -1,19 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// Azure App Configuration error object. public partial class Error { /// The type of the error. - public string? Type { get; set; } + public string Type { get; set; } /// A brief summary of the error. - public string? Title { get; set; } + public string Title { get; set; } /// The name of the parameter that resulted in the error. - public string? Name { get; set; } + public string Name { get; set; } /// A detailed description of the error. - public string? Detail { get; set; } + public string Detail { get; set; } /// The HTTP status code that the error maps to. public int? Status { get; set; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs index 8591b8a2..9b82e1a4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get6ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Get6ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Get6ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Get6ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Get6ItemsItem other && Equals(other); /// public bool Equals(Get6ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs index 50a4b8b5..472a25c4 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Get7ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Get7ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Get7ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Get7ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Get7ItemsItem other && Equals(other); /// public bool Equals(Get7ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs index f9be899f..00e26da6 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head6ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Head6ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Head6ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Head6ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Head6ItemsItem other && Equals(other); /// public bool Equals(Head6ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs index 306b4d99..9e881af6 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Head7ItemsItem.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.ComponentModel; @@ -9,7 +11,7 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-CHOICE. public readonly partial struct Head7ItemsItem : IEquatable { - private readonly string? _value; + private readonly string _value; /// Determines if two values are the same. public Head7ItemsItem(string value) @@ -51,7 +53,7 @@ namespace AppConfiguration.Models /// [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is Head7ItemsItem other && Equals(other); + public override bool Equals(object obj) => obj is Head7ItemsItem other && Equals(other); /// public bool Equals(Head7ItemsItem other) => string.Equals(_value, other._value, StringComparison.Ordinal); @@ -59,6 +61,6 @@ namespace AppConfiguration.Models [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value?.GetHashCode() ?? 0; /// - public override string? ToString() => _value; + public override string ToString() => _value; } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs index d70d95a8..31bfd1f8 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs index ee8de732..e3c5656e 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Key.cs @@ -1,11 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class Key { - public string? Name { get; internal set; } + public string Name { get; internal set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs index c8c0bf0b..614a3133 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs index abfe3b52..17f1169c 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class KeyListResult { /// The collection value. - public ICollection? Items { get; set; } + public ICollection Items { get; set; } /// The URI that can be used to request the next set of paged results. - public string? NextLink { get; set; } + public string NextLink { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs index 7145fde4..05365835 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs index 45d456ee..a160ef3a 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValue.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System; using System.Collections.Generic; @@ -9,16 +11,16 @@ namespace AppConfiguration.Models /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class KeyValue { - public string? Key { get; set; } - public string? Label { get; set; } - public string? ContentType { get; set; } - public string? Value { get; set; } + public string Key { get; set; } + public string Label { get; set; } + public string ContentType { get; set; } + public string Value { get; set; } /// MISSING·SCHEMA-DESCRIPTION-DATETIME. public DateTimeOffset? LastModified { get; set; } /// Dictionary of <paths·keys·get·parameters·0·schema>. - public IDictionary? Tags { get; set; } + public IDictionary Tags { get; set; } /// MISSING·SCHEMA-DESCRIPTION-BOOLEAN. public bool? Locked { get; set; } - public string? Etag { get; set; } + public string Etag { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs index 628d71dd..a32969ae 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs index 226ac35b..a61c83a7 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/KeyValueListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class KeyValueListResult { /// The collection value. - public ICollection? Items { get; set; } + public ICollection Items { get; set; } /// The URI that can be used to request the next set of paged results. - public string? NextLink { get; set; } + public string NextLink { get; set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs index 0a63336e..bb849db3 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs index 09674a83..ea766000 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/Label.cs @@ -1,11 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + namespace AppConfiguration.Models { /// MISSING·SCHEMA-DESCRIPTION-OBJECTSCHEMA. public partial class Label { - public string? Name { get; internal set; } + public string Name { get; internal set; } } } diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs index 2abefc74..68944e3f 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.Serialization.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; using System.Text.Json; using Azure.Core; diff --git a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs index 19aa98d9..6ae10ee1 100644 --- a/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs +++ b/samples/AppConfiguration/AppConfiguration/Generated/Models/LabelListResult.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +#nullable disable + using System.Collections.Generic; namespace AppConfiguration.Models @@ -9,8 +11,8 @@ namespace AppConfiguration.Models public partial class LabelListResult { /// The collection value. - public ICollection