| Index: generated/googleapis_beta/lib/language/v1beta2.dart
|
| diff --git a/generated/googleapis_beta/lib/language/v1beta2.dart b/generated/googleapis_beta/lib/language/v1beta2.dart
|
| index 234c06278d34835fcf2ac15ab3702c61594e9c18..0c0ecfabd7c5f450aa0321decc28987252dc47e7 100644
|
| --- a/generated/googleapis_beta/lib/language/v1beta2.dart
|
| +++ b/generated/googleapis_beta/lib/language/v1beta2.dart
|
| @@ -280,8 +280,8 @@ class AnalyzeEntitiesRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -314,8 +314,8 @@ class AnalyzeEntitiesResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (entities != null) {
|
| _json["entities"] = entities.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -362,8 +362,8 @@ class AnalyzeEntitySentimentRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -398,8 +398,8 @@ class AnalyzeEntitySentimentResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (entities != null) {
|
| _json["entities"] = entities.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -447,8 +447,8 @@ class AnalyzeSentimentRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -486,8 +486,8 @@ class AnalyzeSentimentResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (documentSentiment != null) {
|
| _json["documentSentiment"] = (documentSentiment).toJson();
|
| }
|
| @@ -537,8 +537,8 @@ class AnalyzeSyntaxRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -576,8 +576,8 @@ class AnalyzeSyntaxResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (language != null) {
|
| _json["language"] = language;
|
| }
|
| @@ -635,8 +635,8 @@ class AnnotateTextRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -701,8 +701,8 @@ class AnnotateTextResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (documentSentiment != null) {
|
| _json["documentSentiment"] = (documentSentiment).toJson();
|
| }
|
| @@ -827,8 +827,8 @@ class DependencyEdge {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (headTokenIndex != null) {
|
| _json["headTokenIndex"] = headTokenIndex;
|
| }
|
| @@ -892,8 +892,8 @@ class Document {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (content != null) {
|
| _json["content"] = content;
|
| }
|
| @@ -983,8 +983,8 @@ class Entity {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (mentions != null) {
|
| _json["mentions"] = mentions.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -1044,8 +1044,8 @@ class EntityMention {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (sentiment != null) {
|
| _json["sentiment"] = (sentiment).toJson();
|
| }
|
| @@ -1090,8 +1090,8 @@ class Features {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (extractDocumentSentiment != null) {
|
| _json["extractDocumentSentiment"] = extractDocumentSentiment;
|
| }
|
| @@ -1306,8 +1306,8 @@ class PartOfSpeech {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (aspect != null) {
|
| _json["aspect"] = aspect;
|
| }
|
| @@ -1370,8 +1370,8 @@ class Sentence {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (sentiment != null) {
|
| _json["sentiment"] = (sentiment).toJson();
|
| }
|
| @@ -1410,8 +1410,8 @@ class Sentiment {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (magnitude != null) {
|
| _json["magnitude"] = magnitude;
|
| }
|
| @@ -1510,8 +1510,8 @@ class Status {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (code != null) {
|
| _json["code"] = code;
|
| }
|
| @@ -1546,8 +1546,8 @@ class TextSpan {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (beginOffset != null) {
|
| _json["beginOffset"] = beginOffset;
|
| }
|
| @@ -1588,8 +1588,8 @@ class Token {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (dependencyEdge != null) {
|
| _json["dependencyEdge"] = (dependencyEdge).toJson();
|
| }
|
|
|