Update to latest openapi code.

This commit is contained in:
Kavin 2023-06-09 19:59:12 +01:00
parent fd20ae95b1
commit 26f755fc52
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
49 changed files with 1224 additions and 452 deletions

View file

@ -66,22 +66,18 @@ class _$ChannelInfo extends ChannelInfo {
@override
int get hashCode {
return $jf($jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc($jc(0, avatarUrl.hashCode),
bannerUrl.hashCode),
description.hashCode),
id.hashCode),
name.hashCode),
nextpage.hashCode),
relatedStreams.hashCode),
subscriberCount.hashCode),
verified.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, avatarUrl.hashCode);
_$hash = $jc(_$hash, bannerUrl.hashCode);
_$hash = $jc(_$hash, description.hashCode);
_$hash = $jc(_$hash, id.hashCode);
_$hash = $jc(_$hash, name.hashCode);
_$hash = $jc(_$hash, nextpage.hashCode);
_$hash = $jc(_$hash, relatedStreams.hashCode);
_$hash = $jc(_$hash, subscriberCount.hashCode);
_$hash = $jc(_$hash, verified.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -207,4 +203,4 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -40,7 +40,11 @@ class _$ExceptionError extends ExceptionError {
@override
int get hashCode {
return $jf($jc($jc(0, error.hashCode), message.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, error.hashCode);
_$hash = $jc(_$hash, message.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -104,4 +108,4 @@ class ExceptionErrorBuilder
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -803,4 +803,4 @@ class _$RegionsSerializer implements PrimitiveSerializer<Regions> {
_fromWire[serialized] ?? (serialized is String ? serialized : ''));
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -159,32 +159,23 @@ class _$Stream extends Stream {
@override
int get hashCode {
return $jf($jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc($jc(0, url.hashCode),
format.hashCode),
quality.hashCode),
mimeType.hashCode),
codec.hashCode),
videoOnly.hashCode),
bitrate.hashCode),
initStart.hashCode),
initEnd.hashCode),
indexStart.hashCode),
indexEnd.hashCode),
width.hashCode),
height.hashCode),
fps.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, url.hashCode);
_$hash = $jc(_$hash, format.hashCode);
_$hash = $jc(_$hash, quality.hashCode);
_$hash = $jc(_$hash, mimeType.hashCode);
_$hash = $jc(_$hash, codec.hashCode);
_$hash = $jc(_$hash, videoOnly.hashCode);
_$hash = $jc(_$hash, bitrate.hashCode);
_$hash = $jc(_$hash, initStart.hashCode);
_$hash = $jc(_$hash, initEnd.hashCode);
_$hash = $jc(_$hash, indexStart.hashCode);
_$hash = $jc(_$hash, indexEnd.hashCode);
_$hash = $jc(_$hash, width.hashCode);
_$hash = $jc(_$hash, height.hashCode);
_$hash = $jc(_$hash, fps.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -329,4 +320,4 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -80,26 +80,20 @@ class _$StreamItem extends StreamItem {
@override
int get hashCode {
return $jf($jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc($jc(0, duration.hashCode),
thumbnail.hashCode),
title.hashCode),
uploaded.hashCode),
uploadedDate.hashCode),
uploaderAvatar.hashCode),
uploaderName.hashCode),
uploaderUrl.hashCode),
uploaderVerified.hashCode),
url.hashCode),
views.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, duration.hashCode);
_$hash = $jc(_$hash, thumbnail.hashCode);
_$hash = $jc(_$hash, title.hashCode);
_$hash = $jc(_$hash, uploaded.hashCode);
_$hash = $jc(_$hash, uploadedDate.hashCode);
_$hash = $jc(_$hash, uploaderAvatar.hashCode);
_$hash = $jc(_$hash, uploaderName.hashCode);
_$hash = $jc(_$hash, uploaderUrl.hashCode);
_$hash = $jc(_$hash, uploaderVerified.hashCode);
_$hash = $jc(_$hash, url.hashCode);
_$hash = $jc(_$hash, views.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -229,4 +223,4 @@ class StreamItemBuilder implements Builder<StreamItem, StreamItemBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -35,7 +35,11 @@ class _$StreamsPage extends StreamsPage {
@override
int get hashCode {
return $jf($jc($jc(0, relatedStreams.hashCode), nextpage.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, relatedStreams.hashCode);
_$hash = $jc(_$hash, nextpage.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -110,4 +114,4 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -42,10 +42,13 @@ class _$Subtitle extends Subtitle {
@override
int get hashCode {
return $jf($jc(
$jc($jc($jc(0, autoGenerated.hashCode), code.hashCode),
mimeType.hashCode),
url.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, autoGenerated.hashCode);
_$hash = $jc(_$hash, code.hashCode);
_$hash = $jc(_$hash, mimeType.hashCode);
_$hash = $jc(_$hash, url.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -121,4 +124,4 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint

View file

@ -110,44 +110,29 @@ class _$VideoInfo extends VideoInfo {
@override
int get hashCode {
return $jf($jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc($jc(0, audioStreams.hashCode),
videoStreams.hashCode),
description.hashCode),
dislikes.hashCode),
duration.hashCode),
hls.hashCode),
lbryId.hashCode),
likes.hashCode),
livestream.hashCode),
proxyUrl.hashCode),
subtitles.hashCode),
dash.hashCode),
thumbnailUrl.hashCode),
title.hashCode),
uploadDate.hashCode),
uploader.hashCode),
uploaderAvatar.hashCode),
uploaderUrl.hashCode),
uploaderVerified.hashCode),
relatedStreams.hashCode));
var _$hash = 0;
_$hash = $jc(_$hash, audioStreams.hashCode);
_$hash = $jc(_$hash, videoStreams.hashCode);
_$hash = $jc(_$hash, description.hashCode);
_$hash = $jc(_$hash, dislikes.hashCode);
_$hash = $jc(_$hash, duration.hashCode);
_$hash = $jc(_$hash, hls.hashCode);
_$hash = $jc(_$hash, lbryId.hashCode);
_$hash = $jc(_$hash, likes.hashCode);
_$hash = $jc(_$hash, livestream.hashCode);
_$hash = $jc(_$hash, proxyUrl.hashCode);
_$hash = $jc(_$hash, subtitles.hashCode);
_$hash = $jc(_$hash, dash.hashCode);
_$hash = $jc(_$hash, thumbnailUrl.hashCode);
_$hash = $jc(_$hash, title.hashCode);
_$hash = $jc(_$hash, uploadDate.hashCode);
_$hash = $jc(_$hash, uploader.hashCode);
_$hash = $jc(_$hash, uploaderAvatar.hashCode);
_$hash = $jc(_$hash, uploaderUrl.hashCode);
_$hash = $jc(_$hash, uploaderVerified.hashCode);
_$hash = $jc(_$hash, relatedStreams.hashCode);
_$hash = $jf(_$hash);
return _$hash;
}
@override
@ -365,4 +350,4 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
// ignore_for_file: deprecated_member_use_from_same_package,type=lint