// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/json_object.dart' as _i2;
import 'package:built_value/serializer.dart';
import 'package:mapflow/features/mapflow/data/graphql/__generated__/schema.schema.gql.dart'
    as _i3;
import 'package:mapflow/features/mapflow/data/graphql/__generated__/serializers.gql.dart'
    as _i1;

part 'nearby_places.data.gql.g.dart';

abstract class GNearbyPlacesData
    implements Built<GNearbyPlacesData, GNearbyPlacesDataBuilder> {
  GNearbyPlacesData._();

  factory GNearbyPlacesData(
          [void Function(GNearbyPlacesDataBuilder b) updates]) =
      _$GNearbyPlacesData;

  static void _initializeBuilder(GNearbyPlacesDataBuilder b) =>
      b..G__typename = 'Query';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  BuiltList<GNearbyPlacesData_nearbyPlaces> get nearbyPlaces;
  static Serializer<GNearbyPlacesData> get serializer =>
      _$gNearbyPlacesDataSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GNearbyPlacesData.serializer,
        this,
      ) as Map<String, dynamic>);

  static GNearbyPlacesData? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GNearbyPlacesData.serializer,
        json,
      );
}

abstract class GNearbyPlacesData_nearbyPlaces
    implements
        Built<GNearbyPlacesData_nearbyPlaces,
            GNearbyPlacesData_nearbyPlacesBuilder> {
  GNearbyPlacesData_nearbyPlaces._();

  factory GNearbyPlacesData_nearbyPlaces(
          [void Function(GNearbyPlacesData_nearbyPlacesBuilder b) updates]) =
      _$GNearbyPlacesData_nearbyPlaces;

  static void _initializeBuilder(GNearbyPlacesData_nearbyPlacesBuilder b) =>
      b..G__typename = 'Place';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get id;
  String get googlePlaceId;
  String get name;
  double get latitude;
  double get longitude;
  String? get googlePrimaryType;
  BuiltList<String> get googleTypes;
  String? get googleBusinessStatus;
  double? get googleRating;
  int? get googleUserRatingCount;
  _i2.JsonObject? get googleRegularOpeningHours;
  _i2.JsonObject? get googleCurrentOpeningHours;
  BuiltList<String> get photoUrls;
  BuiltList<String> get traits;
  bool get isFavorite;
  BuiltList<GNearbyPlacesData_nearbyPlaces_experiences> get experiences;
  static Serializer<GNearbyPlacesData_nearbyPlaces> get serializer =>
      _$gNearbyPlacesDataNearbyPlacesSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GNearbyPlacesData_nearbyPlaces.serializer,
        this,
      ) as Map<String, dynamic>);

  static GNearbyPlacesData_nearbyPlaces? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GNearbyPlacesData_nearbyPlaces.serializer,
        json,
      );
}

abstract class GNearbyPlacesData_nearbyPlaces_experiences
    implements
        Built<GNearbyPlacesData_nearbyPlaces_experiences,
            GNearbyPlacesData_nearbyPlaces_experiencesBuilder> {
  GNearbyPlacesData_nearbyPlaces_experiences._();

  factory GNearbyPlacesData_nearbyPlaces_experiences(
      [void Function(GNearbyPlacesData_nearbyPlaces_experiencesBuilder b)
          updates]) = _$GNearbyPlacesData_nearbyPlaces_experiences;

  static void _initializeBuilder(
          GNearbyPlacesData_nearbyPlaces_experiencesBuilder b) =>
      b..G__typename = 'VoiceExperience';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get id;
  _i3.GVoiceExperienceStatus get status;
  String get createdAt;
  static Serializer<GNearbyPlacesData_nearbyPlaces_experiences>
      get serializer => _$gNearbyPlacesDataNearbyPlacesExperiencesSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GNearbyPlacesData_nearbyPlaces_experiences.serializer,
        this,
      ) as Map<String, dynamic>);

  static GNearbyPlacesData_nearbyPlaces_experiences? fromJson(
          Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GNearbyPlacesData_nearbyPlaces_experiences.serializer,
        json,
      );
}
