Skip to content

Commit

Permalink
chore: generated code for commit fa326a5. [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Mouaad Aallam <mouaad.aallam@algolia.com>
  • Loading branch information
algolia-bot and aallam committed Oct 23, 2023
1 parent fa326a5 commit 11c1d8d
Show file tree
Hide file tree
Showing 106 changed files with 2,622 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export 'src/model/converted_object_ids.dart';
export 'src/model/converted_object_ids_after_search.dart';
export 'src/model/error_base.dart';
export 'src/model/events_response.dart';
export 'src/model/identify.dart';
export 'src/model/identify_event.dart';
export 'src/model/insights_events.dart';
export 'src/model/object_data.dart';
export 'src/model/object_data_after_search.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import 'package:algolia_client_insights/src/model/converted_object_ids.dart';
import 'package:algolia_client_insights/src/model/converted_object_ids_after_search.dart';
import 'package:algolia_client_insights/src/model/error_base.dart';
import 'package:algolia_client_insights/src/model/events_response.dart';
import 'package:algolia_client_insights/src/model/identify.dart';
import 'package:algolia_client_insights/src/model/identify_event.dart';
import 'package:algolia_client_insights/src/model/insights_events.dart';
import 'package:algolia_client_insights/src/model/object_data.dart';
import 'package:algolia_client_insights/src/model/object_data_after_search.dart';
Expand Down Expand Up @@ -75,6 +77,10 @@ ReturnType deserialize<ReturnType, BaseType>(dynamic value, String targetType,
case 'EventsResponse':
return EventsResponse.fromJson(value as Map<String, dynamic>)
as ReturnType;
case 'Identify':
return Identify.fromJson(value as Map<String, dynamic>) as ReturnType;
case 'IdentifyEvent':
return IdentifyEvent.fromJson(value) as ReturnType;
case 'InsightsEvents':
return InsightsEvents.fromJson(value as Map<String, dynamic>)
as ReturnType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ final class AddedToCartObjectIDs {
this.currency,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand Down Expand Up @@ -57,6 +58,10 @@ final class AddedToCartObjectIDs {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -69,7 +74,8 @@ final class AddedToCartObjectIDs {
other.objectData == objectData &&
other.currency == currency &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -81,7 +87,8 @@ final class AddedToCartObjectIDs {
objectData.hashCode +
currency.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory AddedToCartObjectIDs.fromJson(Map<String, dynamic> json) =>
_$AddedToCartObjectIDsFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class AddedToCartObjectIDsAfterSearch {
this.currency,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand Down Expand Up @@ -62,6 +63,10 @@ final class AddedToCartObjectIDsAfterSearch {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -75,7 +80,8 @@ final class AddedToCartObjectIDsAfterSearch {
other.objectData == objectData &&
other.currency == currency &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -88,7 +94,8 @@ final class AddedToCartObjectIDsAfterSearch {
objectData.hashCode +
currency.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory AddedToCartObjectIDsAfterSearch.fromJson(Map<String, dynamic> json) =>
_$AddedToCartObjectIDsAfterSearchFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ final class ClickedFilters {
required this.filters,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand All @@ -41,6 +42,10 @@ final class ClickedFilters {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -50,7 +55,8 @@ final class ClickedFilters {
other.index == index &&
other.filters == filters &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -59,7 +65,8 @@ final class ClickedFilters {
index.hashCode +
filters.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory ClickedFilters.fromJson(Map<String, dynamic> json) =>
_$ClickedFiltersFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ final class ClickedObjectIDsAfterSearch {
required this.queryID,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand Down Expand Up @@ -51,6 +52,10 @@ final class ClickedObjectIDsAfterSearch {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -62,7 +67,8 @@ final class ClickedObjectIDsAfterSearch {
other.positions == positions &&
other.queryID == queryID &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -73,7 +79,8 @@ final class ClickedObjectIDsAfterSearch {
positions.hashCode +
queryID.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory ClickedObjectIDsAfterSearch.fromJson(Map<String, dynamic> json) =>
_$ClickedObjectIDsAfterSearchFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ final class ConvertedFilters {
required this.filters,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand All @@ -41,6 +42,10 @@ final class ConvertedFilters {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -50,7 +55,8 @@ final class ConvertedFilters {
other.index == index &&
other.filters == filters &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -59,7 +65,8 @@ final class ConvertedFilters {
index.hashCode +
filters.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory ConvertedFilters.fromJson(Map<String, dynamic> json) =>
_$ConvertedFiltersFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ final class ConvertedObjectIDs {
required this.objectIDs,
required this.userToken,
this.timestamp,
this.authenticatedUserToken,
});

/// Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
Expand All @@ -41,6 +42,10 @@ final class ConvertedObjectIDs {
@JsonKey(name: r'timestamp')
final int? timestamp;

/// User token for authenticated users.
@JsonKey(name: r'authenticatedUserToken')
final String? authenticatedUserToken;

@override
bool operator ==(Object other) =>
identical(this, other) ||
Expand All @@ -50,7 +55,8 @@ final class ConvertedObjectIDs {
other.index == index &&
other.objectIDs == objectIDs &&
other.userToken == userToken &&
other.timestamp == timestamp;
other.timestamp == timestamp &&
other.authenticatedUserToken == authenticatedUserToken;

@override
int get hashCode =>
Expand All @@ -59,7 +65,8 @@ final class ConvertedObjectIDs {
index.hashCode +
objectIDs.hashCode +
userToken.hashCode +
timestamp.hashCode;
timestamp.hashCode +
authenticatedUserToken.hashCode;

factory ConvertedObjectIDs.fromJson(Map<String, dynamic> json) =>
_$ConvertedObjectIDsFromJson(json);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11c1d8d

Please sign in to comment.