| OLD | NEW |
| 1 library googleapis.youtube.v3; | 1 library googleapis.youtube.v3; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 5207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5218 | 5218 |
| 5219 /** | 5219 /** |
| 5220 * The ingestionInfo object contains information that YouTube provides that | 5220 * The ingestionInfo object contains information that YouTube provides that |
| 5221 * you need to transmit your RTMP or HTTP stream to YouTube. | 5221 * you need to transmit your RTMP or HTTP stream to YouTube. |
| 5222 */ | 5222 */ |
| 5223 IngestionInfo ingestionInfo; | 5223 IngestionInfo ingestionInfo; |
| 5224 | 5224 |
| 5225 /** | 5225 /** |
| 5226 * The method or protocol used to transmit the video stream. | 5226 * The method or protocol used to transmit the video stream. |
| 5227 * Possible string values are: | 5227 * Possible string values are: |
| 5228 * - "dash" |
| 5228 * - "rtmp" | 5229 * - "rtmp" |
| 5229 */ | 5230 */ |
| 5230 core.String ingestionType; | 5231 core.String ingestionType; |
| 5231 | 5232 |
| 5232 | 5233 |
| 5233 CdnSettings(); | 5234 CdnSettings(); |
| 5234 | 5235 |
| 5235 CdnSettings.fromJson(core.Map _json) { | 5236 CdnSettings.fromJson(core.Map _json) { |
| 5236 if (_json.containsKey("format")) { | 5237 if (_json.containsKey("format")) { |
| 5237 format = _json["format"]; | 5238 format = _json["format"]; |
| (...skipping 7523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12761 return _json; | 12762 return _json; |
| 12762 } | 12763 } |
| 12763 } | 12764 } |
| 12764 | 12765 |
| 12765 | 12766 |
| 12766 /** Not documented yet. */ | 12767 /** Not documented yet. */ |
| 12767 class VideoGetRatingResponse { | 12768 class VideoGetRatingResponse { |
| 12768 /** Etag of this resource. */ | 12769 /** Etag of this resource. */ |
| 12769 core.String etag; | 12770 core.String etag; |
| 12770 | 12771 |
| 12772 /** Serialized EventId of the request which produced this response. */ |
| 12773 core.String eventId; |
| 12774 |
| 12771 /** A list of ratings that match the request criteria. */ | 12775 /** A list of ratings that match the request criteria. */ |
| 12772 core.List<VideoRating> items; | 12776 core.List<VideoRating> items; |
| 12773 | 12777 |
| 12774 /** | 12778 /** |
| 12775 * Identifies what kind of resource this is. Value: the fixed string | 12779 * Identifies what kind of resource this is. Value: the fixed string |
| 12776 * "youtube#videoGetRatingResponse". | 12780 * "youtube#videoGetRatingResponse". |
| 12777 */ | 12781 */ |
| 12778 core.String kind; | 12782 core.String kind; |
| 12779 | 12783 |
| 12784 /** The visitorId identifies the visitor. */ |
| 12785 core.String visitorId; |
| 12786 |
| 12780 | 12787 |
| 12781 VideoGetRatingResponse(); | 12788 VideoGetRatingResponse(); |
| 12782 | 12789 |
| 12783 VideoGetRatingResponse.fromJson(core.Map _json) { | 12790 VideoGetRatingResponse.fromJson(core.Map _json) { |
| 12784 if (_json.containsKey("etag")) { | 12791 if (_json.containsKey("etag")) { |
| 12785 etag = _json["etag"]; | 12792 etag = _json["etag"]; |
| 12786 } | 12793 } |
| 12794 if (_json.containsKey("eventId")) { |
| 12795 eventId = _json["eventId"]; |
| 12796 } |
| 12787 if (_json.containsKey("items")) { | 12797 if (_json.containsKey("items")) { |
| 12788 items = _json["items"].map((value) => new VideoRating.fromJson(value)).toL
ist(); | 12798 items = _json["items"].map((value) => new VideoRating.fromJson(value)).toL
ist(); |
| 12789 } | 12799 } |
| 12790 if (_json.containsKey("kind")) { | 12800 if (_json.containsKey("kind")) { |
| 12791 kind = _json["kind"]; | 12801 kind = _json["kind"]; |
| 12792 } | 12802 } |
| 12803 if (_json.containsKey("visitorId")) { |
| 12804 visitorId = _json["visitorId"]; |
| 12805 } |
| 12793 } | 12806 } |
| 12794 | 12807 |
| 12795 core.Map toJson() { | 12808 core.Map toJson() { |
| 12796 var _json = new core.Map(); | 12809 var _json = new core.Map(); |
| 12797 if (etag != null) { | 12810 if (etag != null) { |
| 12798 _json["etag"] = etag; | 12811 _json["etag"] = etag; |
| 12799 } | 12812 } |
| 12813 if (eventId != null) { |
| 12814 _json["eventId"] = eventId; |
| 12815 } |
| 12800 if (items != null) { | 12816 if (items != null) { |
| 12801 _json["items"] = items.map((value) => (value).toJson()).toList(); | 12817 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 12802 } | 12818 } |
| 12803 if (kind != null) { | 12819 if (kind != null) { |
| 12804 _json["kind"] = kind; | 12820 _json["kind"] = kind; |
| 12805 } | 12821 } |
| 12822 if (visitorId != null) { |
| 12823 _json["visitorId"] = visitorId; |
| 12824 } |
| 12806 return _json; | 12825 return _json; |
| 12807 } | 12826 } |
| 12808 } | 12827 } |
| 12809 | 12828 |
| 12810 | 12829 |
| 12811 /** Not documented yet. */ | 12830 /** Not documented yet. */ |
| 12812 class VideoListResponse { | 12831 class VideoListResponse { |
| 12813 /** Etag of this resource. */ | 12832 /** Etag of this resource. */ |
| 12814 core.String etag; | 12833 core.String etag; |
| 12815 | 12834 |
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13880 _json["featuredPlaylistId"] = featuredPlaylistId; | 13899 _json["featuredPlaylistId"] = featuredPlaylistId; |
| 13881 } | 13900 } |
| 13882 if (textColor != null) { | 13901 if (textColor != null) { |
| 13883 _json["textColor"] = textColor; | 13902 _json["textColor"] = textColor; |
| 13884 } | 13903 } |
| 13885 return _json; | 13904 return _json; |
| 13886 } | 13905 } |
| 13887 } | 13906 } |
| 13888 | 13907 |
| 13889 | 13908 |
| OLD | NEW |