// 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__/serializers.gql.dart'
    as _i1;

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

abstract class GPlaceData implements Built<GPlaceData, GPlaceDataBuilder> {
  GPlaceData._();

  factory GPlaceData([void Function(GPlaceDataBuilder b) updates]) =
      _$GPlaceData;

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

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  GPlaceData_place get place;
  static Serializer<GPlaceData> get serializer => _$gPlaceDataSerializer;

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

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

abstract class GPlaceData_place
    implements Built<GPlaceData_place, GPlaceData_placeBuilder> {
  GPlaceData_place._();

  factory GPlaceData_place([void Function(GPlaceData_placeBuilder b) updates]) =
      _$GPlaceData_place;

  static void _initializeBuilder(GPlaceData_placeBuilder 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;
  _i2.JsonObject? get googleRegularOpeningHours;
  _i2.JsonObject? get googleCurrentOpeningHours;
  BuiltList<String> get photoUrls;
  BuiltList<String> get traits;
  bool get isFavorite;
  static Serializer<GPlaceData_place> get serializer =>
      _$gPlaceDataPlaceSerializer;

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

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