Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.adif.elcanomovil.serviceStorage;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class BuildConfig {
|
||||
public static final String BUILD_TYPE = "release";
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String FLAVOR = "proNon_corporate";
|
||||
public static final String FLAVOR_is_corporate = "non_corporate";
|
||||
public static final String FLAVOR_version = "pro";
|
||||
public static final String LIBRARY_PACKAGE_NAME = "com.adif.elcanomovil.serviceStorage";
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
package com.adif.elcanomovil.serviceStorage;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class R {
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class anim {
|
||||
public static final int fragment_fast_out_extra_slow_in = 0x7f010022;
|
||||
|
||||
private anim() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class animator {
|
||||
public static final int fragment_close_enter = 0x7f020003;
|
||||
public static final int fragment_close_exit = 0x7f020004;
|
||||
public static final int fragment_fade_enter = 0x7f020005;
|
||||
public static final int fragment_fade_exit = 0x7f020006;
|
||||
public static final int fragment_open_enter = 0x7f020007;
|
||||
public static final int fragment_open_exit = 0x7f020008;
|
||||
|
||||
private animator() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class attr {
|
||||
public static final int alpha = 0x7f030031;
|
||||
public static final int font = 0x7f03022d;
|
||||
public static final int fontProviderAuthority = 0x7f03022f;
|
||||
public static final int fontProviderCerts = 0x7f030230;
|
||||
public static final int fontProviderFetchStrategy = 0x7f030231;
|
||||
public static final int fontProviderFetchTimeout = 0x7f030232;
|
||||
public static final int fontProviderPackage = 0x7f030233;
|
||||
public static final int fontProviderQuery = 0x7f030234;
|
||||
public static final int fontProviderSystemFontFamily = 0x7f030235;
|
||||
public static final int fontStyle = 0x7f030236;
|
||||
public static final int fontVariationSettings = 0x7f030237;
|
||||
public static final int fontWeight = 0x7f030238;
|
||||
public static final int lStar = 0x7f0302b6;
|
||||
public static final int nestedScrollViewStyle = 0x7f0303b8;
|
||||
public static final int queryPatterns = 0x7f030401;
|
||||
public static final int shortcutMatchRequired = 0x7f030449;
|
||||
public static final int ttcIndex = 0x7f030559;
|
||||
|
||||
private attr() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class color {
|
||||
public static final int androidx_core_ripple_material_light = 0x7f05001b;
|
||||
public static final int androidx_core_secondary_text_default_material_light = 0x7f05001c;
|
||||
public static final int call_notification_answer_color = 0x7f05002c;
|
||||
public static final int call_notification_decline_color = 0x7f05002d;
|
||||
public static final int notification_action_color_filter = 0x7f050315;
|
||||
public static final int notification_icon_bg_color = 0x7f050316;
|
||||
public static final int ripple_material_light = 0x7f050322;
|
||||
public static final int secondary_text_default_material_light = 0x7f050324;
|
||||
|
||||
private color() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class dimen {
|
||||
public static final int compat_button_inset_horizontal_material = 0x7f06006d;
|
||||
public static final int compat_button_inset_vertical_material = 0x7f06006e;
|
||||
public static final int compat_button_padding_horizontal_material = 0x7f06006f;
|
||||
public static final int compat_button_padding_vertical_material = 0x7f060070;
|
||||
public static final int compat_control_corner_material = 0x7f060071;
|
||||
public static final int compat_notification_large_icon_max_height = 0x7f060072;
|
||||
public static final int compat_notification_large_icon_max_width = 0x7f060073;
|
||||
public static final int notification_action_icon_size = 0x7f060385;
|
||||
public static final int notification_action_text_size = 0x7f060386;
|
||||
public static final int notification_big_circle_margin = 0x7f060387;
|
||||
public static final int notification_content_margin_start = 0x7f060388;
|
||||
public static final int notification_large_icon_height = 0x7f06038d;
|
||||
public static final int notification_large_icon_width = 0x7f06038e;
|
||||
public static final int notification_main_column_padding_top = 0x7f06038f;
|
||||
public static final int notification_media_narrow_margin = 0x7f060391;
|
||||
public static final int notification_right_icon_size = 0x7f060393;
|
||||
public static final int notification_right_side_padding_top = 0x7f060394;
|
||||
public static final int notification_small_icon_background_padding = 0x7f060395;
|
||||
public static final int notification_small_icon_size_as_large = 0x7f060396;
|
||||
public static final int notification_subtext_size = 0x7f060397;
|
||||
public static final int notification_top_pad = 0x7f06039b;
|
||||
public static final int notification_top_pad_large_text = 0x7f06039c;
|
||||
|
||||
private dimen() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class drawable {
|
||||
public static final int ic_call_answer = 0x7f0700cb;
|
||||
public static final int ic_call_answer_low = 0x7f0700cc;
|
||||
public static final int ic_call_answer_video = 0x7f0700cd;
|
||||
public static final int ic_call_answer_video_low = 0x7f0700ce;
|
||||
public static final int ic_call_decline = 0x7f0700cf;
|
||||
public static final int ic_call_decline_low = 0x7f0700d0;
|
||||
public static final int notification_action_background = 0x7f070181;
|
||||
public static final int notification_bg = 0x7f070182;
|
||||
public static final int notification_bg_low = 0x7f070183;
|
||||
public static final int notification_bg_low_normal = 0x7f070184;
|
||||
public static final int notification_bg_low_pressed = 0x7f070185;
|
||||
public static final int notification_bg_normal = 0x7f070186;
|
||||
public static final int notification_bg_normal_pressed = 0x7f070187;
|
||||
public static final int notification_icon_background = 0x7f070188;
|
||||
public static final int notification_oversize_large_icon_bg = 0x7f070189;
|
||||
public static final int notification_template_icon_bg = 0x7f07018a;
|
||||
public static final int notification_template_icon_low_bg = 0x7f07018b;
|
||||
public static final int notification_tile_bg = 0x7f07018c;
|
||||
public static final int notify_panel_notification_icon_bg = 0x7f07018d;
|
||||
|
||||
private drawable() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class id {
|
||||
public static final int accessibility_action_clickable_span = 0x7f090013;
|
||||
public static final int accessibility_custom_action_0 = 0x7f090014;
|
||||
public static final int accessibility_custom_action_1 = 0x7f090015;
|
||||
public static final int accessibility_custom_action_10 = 0x7f090016;
|
||||
public static final int accessibility_custom_action_11 = 0x7f090017;
|
||||
public static final int accessibility_custom_action_12 = 0x7f090018;
|
||||
public static final int accessibility_custom_action_13 = 0x7f090019;
|
||||
public static final int accessibility_custom_action_14 = 0x7f09001a;
|
||||
public static final int accessibility_custom_action_15 = 0x7f09001b;
|
||||
public static final int accessibility_custom_action_16 = 0x7f09001c;
|
||||
public static final int accessibility_custom_action_17 = 0x7f09001d;
|
||||
public static final int accessibility_custom_action_18 = 0x7f09001e;
|
||||
public static final int accessibility_custom_action_19 = 0x7f09001f;
|
||||
public static final int accessibility_custom_action_2 = 0x7f090020;
|
||||
public static final int accessibility_custom_action_20 = 0x7f090021;
|
||||
public static final int accessibility_custom_action_21 = 0x7f090022;
|
||||
public static final int accessibility_custom_action_22 = 0x7f090023;
|
||||
public static final int accessibility_custom_action_23 = 0x7f090024;
|
||||
public static final int accessibility_custom_action_24 = 0x7f090025;
|
||||
public static final int accessibility_custom_action_25 = 0x7f090026;
|
||||
public static final int accessibility_custom_action_26 = 0x7f090027;
|
||||
public static final int accessibility_custom_action_27 = 0x7f090028;
|
||||
public static final int accessibility_custom_action_28 = 0x7f090029;
|
||||
public static final int accessibility_custom_action_29 = 0x7f09002a;
|
||||
public static final int accessibility_custom_action_3 = 0x7f09002b;
|
||||
public static final int accessibility_custom_action_30 = 0x7f09002c;
|
||||
public static final int accessibility_custom_action_31 = 0x7f09002d;
|
||||
public static final int accessibility_custom_action_4 = 0x7f09002e;
|
||||
public static final int accessibility_custom_action_5 = 0x7f09002f;
|
||||
public static final int accessibility_custom_action_6 = 0x7f090030;
|
||||
public static final int accessibility_custom_action_7 = 0x7f090031;
|
||||
public static final int accessibility_custom_action_8 = 0x7f090032;
|
||||
public static final int accessibility_custom_action_9 = 0x7f090033;
|
||||
public static final int action_container = 0x7f090045;
|
||||
public static final int action_divider = 0x7f090048;
|
||||
public static final int action_image = 0x7f09004a;
|
||||
public static final int action_text = 0x7f090051;
|
||||
public static final int actions = 0x7f090052;
|
||||
public static final int async = 0x7f090071;
|
||||
public static final int blocking = 0x7f090082;
|
||||
public static final int chronometer = 0x7f0900a9;
|
||||
public static final int dialog_button = 0x7f09010b;
|
||||
public static final int edit_text_id = 0x7f090129;
|
||||
public static final int forever = 0x7f090152;
|
||||
public static final int fragment_container_view_tag = 0x7f090155;
|
||||
public static final int hide_ime_id = 0x7f090188;
|
||||
public static final int icon = 0x7f090195;
|
||||
public static final int icon_group = 0x7f090196;
|
||||
public static final int info = 0x7f0901a9;
|
||||
public static final int italic = 0x7f0901be;
|
||||
public static final int line1 = 0x7f0901e9;
|
||||
public static final int line3 = 0x7f0901ea;
|
||||
public static final int normal = 0x7f090265;
|
||||
public static final int notification_background = 0x7f090269;
|
||||
public static final int notification_main_column = 0x7f09026a;
|
||||
public static final int notification_main_column_container = 0x7f09026b;
|
||||
public static final int right_icon = 0x7f0902cf;
|
||||
public static final int right_side = 0x7f0902d0;
|
||||
public static final int special_effects_controller_view_tag = 0x7f090316;
|
||||
public static final int tag_accessibility_actions = 0x7f09035c;
|
||||
public static final int tag_accessibility_clickable_spans = 0x7f09035d;
|
||||
public static final int tag_accessibility_heading = 0x7f09035e;
|
||||
public static final int tag_accessibility_pane_title = 0x7f09035f;
|
||||
public static final int tag_on_apply_window_listener = 0x7f090360;
|
||||
public static final int tag_on_receive_content_listener = 0x7f090361;
|
||||
public static final int tag_on_receive_content_mime_types = 0x7f090362;
|
||||
public static final int tag_screen_reader_focusable = 0x7f090363;
|
||||
public static final int tag_state_description = 0x7f090364;
|
||||
public static final int tag_transition_group = 0x7f090365;
|
||||
public static final int tag_unhandled_key_event_manager = 0x7f090366;
|
||||
public static final int tag_unhandled_key_listeners = 0x7f090367;
|
||||
public static final int tag_window_insets_animation_callback = 0x7f090368;
|
||||
public static final int text = 0x7f09036d;
|
||||
public static final int text2 = 0x7f09036e;
|
||||
public static final int time = 0x7f09038e;
|
||||
public static final int title = 0x7f090393;
|
||||
public static final int view_tree_lifecycle_owner = 0x7f0903f4;
|
||||
public static final int view_tree_on_back_pressed_dispatcher_owner = 0x7f0903f5;
|
||||
public static final int view_tree_saved_state_registry_owner = 0x7f0903f6;
|
||||
public static final int view_tree_view_model_store_owner = 0x7f0903f7;
|
||||
public static final int visible_removing_fragment_view_tag = 0x7f0903f9;
|
||||
|
||||
private id() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class integer {
|
||||
public static final int status_bar_notification_info_maxnum = 0x7f0a0045;
|
||||
|
||||
private integer() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class layout {
|
||||
public static final int custom_dialog = 0x7f0c0026;
|
||||
public static final int ime_base_split_test_activity = 0x7f0c0056;
|
||||
public static final int ime_secondary_split_test_activity = 0x7f0c0057;
|
||||
public static final int notification_action = 0x7f0c00a8;
|
||||
public static final int notification_action_tombstone = 0x7f0c00a9;
|
||||
public static final int notification_template_custom_big = 0x7f0c00aa;
|
||||
public static final int notification_template_icon_group = 0x7f0c00ab;
|
||||
public static final int notification_template_part_chronometer = 0x7f0c00ac;
|
||||
public static final int notification_template_part_time = 0x7f0c00ad;
|
||||
|
||||
private layout() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class string {
|
||||
public static final int call_notification_answer_action = 0x7f13006d;
|
||||
public static final int call_notification_answer_video_action = 0x7f13006e;
|
||||
public static final int call_notification_decline_action = 0x7f13006f;
|
||||
public static final int call_notification_hang_up_action = 0x7f130070;
|
||||
public static final int call_notification_incoming_text = 0x7f130071;
|
||||
public static final int call_notification_ongoing_text = 0x7f130072;
|
||||
public static final int call_notification_screening_text = 0x7f130073;
|
||||
public static final int status_bar_notification_info_overflow = 0x7f13023b;
|
||||
|
||||
private string() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class style {
|
||||
public static final int TextAppearance_Compat_Notification = 0x7f1401fb;
|
||||
public static final int TextAppearance_Compat_Notification_Info = 0x7f1401fc;
|
||||
public static final int TextAppearance_Compat_Notification_Line2 = 0x7f1401fd;
|
||||
public static final int TextAppearance_Compat_Notification_Time = 0x7f1401fe;
|
||||
public static final int TextAppearance_Compat_Notification_Title = 0x7f1401ff;
|
||||
public static final int Widget_Compat_NotificationActionContainer = 0x7f1403a1;
|
||||
public static final int Widget_Compat_NotificationActionText = 0x7f1403a2;
|
||||
|
||||
private style() {
|
||||
}
|
||||
}
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public static final class styleable {
|
||||
public static final int Capability_queryPatterns = 0x00000000;
|
||||
public static final int Capability_shortcutMatchRequired = 0x00000001;
|
||||
public static final int ColorStateListItem_alpha = 0x00000003;
|
||||
public static final int ColorStateListItem_android_alpha = 0x00000001;
|
||||
public static final int ColorStateListItem_android_color = 0x00000000;
|
||||
public static final int ColorStateListItem_android_lStar = 0x00000002;
|
||||
public static final int ColorStateListItem_lStar = 0x00000004;
|
||||
public static final int FontFamilyFont_android_font = 0x00000000;
|
||||
public static final int FontFamilyFont_android_fontStyle = 0x00000002;
|
||||
public static final int FontFamilyFont_android_fontVariationSettings = 0x00000004;
|
||||
public static final int FontFamilyFont_android_fontWeight = 0x00000001;
|
||||
public static final int FontFamilyFont_android_ttcIndex = 0x00000003;
|
||||
public static final int FontFamilyFont_font = 0x00000005;
|
||||
public static final int FontFamilyFont_fontStyle = 0x00000006;
|
||||
public static final int FontFamilyFont_fontVariationSettings = 0x00000007;
|
||||
public static final int FontFamilyFont_fontWeight = 0x00000008;
|
||||
public static final int FontFamilyFont_ttcIndex = 0x00000009;
|
||||
public static final int FontFamily_fontProviderAuthority = 0x00000000;
|
||||
public static final int FontFamily_fontProviderCerts = 0x00000001;
|
||||
public static final int FontFamily_fontProviderFetchStrategy = 0x00000002;
|
||||
public static final int FontFamily_fontProviderFetchTimeout = 0x00000003;
|
||||
public static final int FontFamily_fontProviderPackage = 0x00000004;
|
||||
public static final int FontFamily_fontProviderQuery = 0x00000005;
|
||||
public static final int FontFamily_fontProviderSystemFontFamily = 0x00000006;
|
||||
public static final int FragmentContainerView_android_name = 0x00000000;
|
||||
public static final int FragmentContainerView_android_tag = 0x00000001;
|
||||
public static final int Fragment_android_id = 0x00000001;
|
||||
public static final int Fragment_android_name = 0x00000000;
|
||||
public static final int Fragment_android_tag = 0x00000002;
|
||||
public static final int GradientColorItem_android_color = 0x00000000;
|
||||
public static final int GradientColorItem_android_offset = 0x00000001;
|
||||
public static final int GradientColor_android_centerColor = 0x00000007;
|
||||
public static final int GradientColor_android_centerX = 0x00000003;
|
||||
public static final int GradientColor_android_centerY = 0x00000004;
|
||||
public static final int GradientColor_android_endColor = 0x00000001;
|
||||
public static final int GradientColor_android_endX = 0x0000000a;
|
||||
public static final int GradientColor_android_endY = 0x0000000b;
|
||||
public static final int GradientColor_android_gradientRadius = 0x00000005;
|
||||
public static final int GradientColor_android_startColor = 0x00000000;
|
||||
public static final int GradientColor_android_startX = 0x00000008;
|
||||
public static final int GradientColor_android_startY = 0x00000009;
|
||||
public static final int GradientColor_android_tileMode = 0x00000006;
|
||||
public static final int GradientColor_android_type = 0x00000002;
|
||||
public static final int[] Capability = {com.adif.elcanomovil.R.attr.queryPatterns, com.adif.elcanomovil.R.attr.shortcutMatchRequired};
|
||||
public static final int[] ColorStateListItem = {android.R.attr.color, android.R.attr.alpha, 16844359, com.adif.elcanomovil.R.attr.alpha, com.adif.elcanomovil.R.attr.lStar};
|
||||
public static final int[] FontFamily = {com.adif.elcanomovil.R.attr.fontProviderAuthority, com.adif.elcanomovil.R.attr.fontProviderCerts, com.adif.elcanomovil.R.attr.fontProviderFetchStrategy, com.adif.elcanomovil.R.attr.fontProviderFetchTimeout, com.adif.elcanomovil.R.attr.fontProviderPackage, com.adif.elcanomovil.R.attr.fontProviderQuery, com.adif.elcanomovil.R.attr.fontProviderSystemFontFamily};
|
||||
public static final int[] FontFamilyFont = {android.R.attr.font, android.R.attr.fontWeight, android.R.attr.fontStyle, android.R.attr.ttcIndex, android.R.attr.fontVariationSettings, com.adif.elcanomovil.R.attr.font, com.adif.elcanomovil.R.attr.fontStyle, com.adif.elcanomovil.R.attr.fontVariationSettings, com.adif.elcanomovil.R.attr.fontWeight, com.adif.elcanomovil.R.attr.ttcIndex};
|
||||
public static final int[] Fragment = {android.R.attr.name, android.R.attr.id, android.R.attr.tag};
|
||||
public static final int[] FragmentContainerView = {android.R.attr.name, android.R.attr.tag};
|
||||
public static final int[] GradientColor = {android.R.attr.startColor, android.R.attr.endColor, android.R.attr.type, android.R.attr.centerX, android.R.attr.centerY, android.R.attr.gradientRadius, android.R.attr.tileMode, android.R.attr.centerColor, android.R.attr.startX, android.R.attr.startY, android.R.attr.endX, android.R.attr.endY};
|
||||
public static final int[] GradientColorItem = {android.R.attr.color, android.R.attr.offset};
|
||||
|
||||
private styleable() {
|
||||
}
|
||||
}
|
||||
|
||||
private R() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\bg\u0018\u00002\u00020\u0001J\u000e\u0010\u0002\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\u0004J\u000e\u0010\u0005\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\u0004J\u0014\u0010\u0006\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\t0\b0\u0007H'J\u0014\u0010\n\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\b0\u0007H'J\u001c\u0010\f\u001a\u00020\u00032\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\t0\bH§@¢\u0006\u0002\u0010\u000eJ\u001c\u0010\u000f\u001a\u00020\u00032\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u000b0\bH§@¢\u0006\u0002\u0010\u000e¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/AvisaStationDao;", "", "deleteAll", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "deleteCategories", "getAll", "Lkotlinx/coroutines/flow/Flow;", "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;", "getAllCategories", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;", "insertAll", "stations", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "insertCategories", "categories", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface AvisaStationDao {
|
||||
Object deleteAll(Continuation<? super Unit> continuation);
|
||||
|
||||
Object deleteCategories(Continuation<? super Unit> continuation);
|
||||
|
||||
Flow<List<AvisaStationEntity>> getAll();
|
||||
|
||||
Flow<List<AvisaStationCategoryEntity>> getAllCategories();
|
||||
|
||||
Object insertAll(List<AvisaStationEntity> list, Continuation<? super Unit> continuation);
|
||||
|
||||
Object insertCategories(List<AvisaStationCategoryEntity> list, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.a;
|
||||
import A1.b;
|
||||
import A1.c;
|
||||
import A1.d;
|
||||
import A1.e;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
import m3.l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class AvisaStationDao_Impl implements AvisaStationDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfAvisaStationCategoryEntity;
|
||||
private final j __insertionAdapterOfAvisaStationEntity;
|
||||
private final y __preparedStmtOfDeleteAll;
|
||||
private final y __preparedStmtOfDeleteCategories;
|
||||
|
||||
public AvisaStationDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfAvisaStationEntity = new b(uVar, 0);
|
||||
this.__insertionAdapterOfAvisaStationCategoryEntity = new b(uVar, 1);
|
||||
this.__preparedStmtOfDeleteAll = new c(uVar, 0);
|
||||
this.__preparedStmtOfDeleteCategories = new c(uVar, 1);
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Object deleteAll(Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new e(this, 0), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Object deleteCategories(Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new e(this, 1), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Flow<List<AvisaStationEntity>> getAll() {
|
||||
return l.l(this.__db, false, new String[]{"AvisaStation"}, new a(this, w.d(0, "SELECT * FROM AvisaStation"), 1));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Flow<List<AvisaStationCategoryEntity>> getAllCategories() {
|
||||
return l.l(this.__db, false, new String[]{"AvisaStationCategory"}, new a(this, w.d(0, "SELECT * FROM AvisaStationCategory"), 0));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Object insertAll(List<AvisaStationEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new d(this, list, 0), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.AvisaStationDao
|
||||
public Object insertCategories(List<AvisaStationCategoryEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new d(this, list, 1), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteTrainEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationFavouritesEntity;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\bg\u0018\u00002\u00020\u0001J\u000e\u0010\u0002\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\u0004J.\u0010\u0005\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\fH§@¢\u0006\u0002\u0010\rJ&\u0010\u000e\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\fH§@¢\u0006\u0002\u0010\u000fJ&\u0010\u0010\u001a\u00020\u00032\u0006\u0010\u0011\u001a\u00020\f2\u0006\u0010\u0012\u001a\u00020\f2\u0006\u0010\u0013\u001a\u00020\fH§@¢\u0006\u0002\u0010\u0014J\u0014\u0010\u0015\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00180\u00170\u0016H'J(\u0010\u0019\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u001a0\u00172\u0006\u0010\u0011\u001a\u00020\f2\u0006\u0010\u0012\u001a\u00020\f2\u0006\u0010\u0013\u001a\u00020\fH'J\"\u0010\u001b\u001a\u0004\u0018\u00010\u00182\u0006\u0010\u0006\u001a\u00020\f2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\t\u001a\u00020\nH'J,\u0010\u001c\u001a\u0004\u0018\u00010\u00182\u0006\u0010\u0006\u001a\u00020\f2\b\u0010\b\u001a\u0004\u0018\u00010\f2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\t\u001a\u00020\nH'J\u0012\u0010\u001d\u001a\u0004\u0018\u00010\u00182\u0006\u0010\u001e\u001a\u00020\u0007H'J\u0012\u0010\u001f\u001a\u0004\u0018\u00010 2\u0006\u0010\u0006\u001a\u00020\u0007H'J\u0014\u0010!\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020 0\u00170\u0016H'J\u0014\u0010\"\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u001a0\u00170\u0016H'J\u001c\u0010#\u001a\u00020\u00032\f\u0010$\u001a\b\u0012\u0004\u0012\u00020\u00180\u0017H§@¢\u0006\u0002\u0010%J\u001c\u0010&\u001a\u00020\u00032\f\u0010'\u001a\b\u0012\u0004\u0012\u00020\u001a0\u0017H§@¢\u0006\u0002\u0010%¨\u0006("}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/FavouritesDao;", "", "deleteAll", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "deleteFavouriteRouteType", "stationCode", "", "stationToCode", "isCercanias", "", "type", "", "(IIZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "deleteFavouriteStationType", "(IZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "deleteFavouriteTrain", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getAll", "Lkotlinx/coroutines/flow/Flow;", "", "Lcom/adif/elcanomovil/serviceStorage/model/FavouriteEntity;", "getFavouriteTrain", "Lcom/adif/elcanomovil/serviceStorage/model/FavouriteTrainEntity;", "getFavouritesDeparturesOrArrivals", "getFavouritesRoute", "getStationFavourite", "favouriteId", "getStationFavourites", "Lcom/adif/elcanomovil/serviceStorage/model/StationFavouritesEntity;", "getStationsFavourites", "getTrainsFavourites", "insertAll", "favourites", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "insertFavouriteTrains", "trainEntities", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface FavouritesDao {
|
||||
Object deleteAll(Continuation<? super Unit> continuation);
|
||||
|
||||
Object deleteFavouriteRouteType(int i, int i4, boolean z3, String str, Continuation<? super Unit> continuation);
|
||||
|
||||
Object deleteFavouriteStationType(int i, boolean z3, String str, Continuation<? super Unit> continuation);
|
||||
|
||||
Object deleteFavouriteTrain(String str, String str2, String str3, Continuation<? super Unit> continuation);
|
||||
|
||||
Flow<List<FavouriteEntity>> getAll();
|
||||
|
||||
List<FavouriteTrainEntity> getFavouriteTrain(String commercialNumber, String originStationCode, String destinationStationCode);
|
||||
|
||||
FavouriteEntity getFavouritesDeparturesOrArrivals(String stationCode, String type, boolean isCercanias);
|
||||
|
||||
FavouriteEntity getFavouritesRoute(String stationCode, String stationToCode, String type, boolean isCercanias);
|
||||
|
||||
FavouriteEntity getStationFavourite(int favouriteId);
|
||||
|
||||
StationFavouritesEntity getStationFavourites(int stationCode);
|
||||
|
||||
Flow<List<StationFavouritesEntity>> getStationsFavourites();
|
||||
|
||||
Flow<List<FavouriteTrainEntity>> getTrainsFavourites();
|
||||
|
||||
Object insertAll(List<FavouriteEntity> list, Continuation<? super Unit> continuation);
|
||||
|
||||
Object insertFavouriteTrains(List<FavouriteTrainEntity> list, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,478 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.b;
|
||||
import A1.c;
|
||||
import A1.g;
|
||||
import A1.h;
|
||||
import A1.i;
|
||||
import A1.k;
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteTrainEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationFavouritesEntity;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
import m3.l;
|
||||
import s.C0581a;
|
||||
import s.e;
|
||||
import u.AbstractC0629f;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class FavouritesDao_Impl implements FavouritesDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfFavouriteEntity;
|
||||
private final j __insertionAdapterOfFavouriteTrainEntity;
|
||||
private final y __preparedStmtOfDeleteAll;
|
||||
private final y __preparedStmtOfDeleteFavouriteRouteType;
|
||||
private final y __preparedStmtOfDeleteFavouriteStationType;
|
||||
private final y __preparedStmtOfDeleteFavouriteTrain;
|
||||
|
||||
public FavouritesDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfFavouriteEntity = new b(uVar, 2);
|
||||
this.__insertionAdapterOfFavouriteTrainEntity = new b(uVar, 3);
|
||||
this.__preparedStmtOfDeleteAll = new c(uVar, 2);
|
||||
this.__preparedStmtOfDeleteFavouriteStationType = new c(uVar, 3);
|
||||
this.__preparedStmtOfDeleteFavouriteRouteType = new c(uVar, 4);
|
||||
this.__preparedStmtOfDeleteFavouriteTrain = new c(uVar, 5);
|
||||
}
|
||||
|
||||
public void __fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity(e map) {
|
||||
ArrayList arrayList;
|
||||
s.b bVar = (s.b) map.keySet();
|
||||
e eVar = bVar.f8332a;
|
||||
if (eVar.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
if (map.f8352c > 999) {
|
||||
Function1 fetchBlock = new Function1() { // from class: A1.f
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
Unit lambda$__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity$0;
|
||||
lambda$__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity$0 = FavouritesDao_Impl.this.lambda$__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity$0((s.e) obj);
|
||||
return lambda$__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity$0;
|
||||
}
|
||||
};
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
Intrinsics.checkNotNullParameter(fetchBlock, "fetchBlock");
|
||||
s.j jVar = new s.j(u.MAX_BIND_PARAMETER_CNT);
|
||||
int i = map.f8352c;
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
while (i4 < i) {
|
||||
jVar.put(map.f(i4), map.i(i4));
|
||||
i4++;
|
||||
i5++;
|
||||
if (i5 == 999) {
|
||||
fetchBlock.invoke(jVar);
|
||||
jVar.clear();
|
||||
i5 = 0;
|
||||
}
|
||||
}
|
||||
if (i5 > 0) {
|
||||
fetchBlock.invoke(jVar);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
StringBuilder builder = AbstractC0629f.a("SELECT `favouriteId`,`identifierStation`,`stationName`,`identifierToStation`,`stationToName`,`type`,`isCercanias`,`isRodalies` FROM `FavouriteEntity` WHERE `identifierStation` IN (");
|
||||
int i6 = eVar.f8352c;
|
||||
Intrinsics.checkNotNullParameter(builder, "builder");
|
||||
for (int i7 = 0; i7 < i6; i7++) {
|
||||
builder.append("?");
|
||||
if (i7 < i6 - 1) {
|
||||
builder.append(",");
|
||||
}
|
||||
}
|
||||
builder.append(")");
|
||||
w d4 = w.d(i6, builder.toString());
|
||||
Iterator it = bVar.iterator();
|
||||
int i8 = 1;
|
||||
while (true) {
|
||||
C0581a c0581a = (C0581a) it;
|
||||
if (!c0581a.hasNext()) {
|
||||
break;
|
||||
}
|
||||
d4.k(i8, (String) c0581a.next());
|
||||
i8++;
|
||||
}
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int q4 = l.q(M3, "identifierStation");
|
||||
if (q4 == -1) {
|
||||
M3.close();
|
||||
return;
|
||||
}
|
||||
while (M3.moveToNext()) {
|
||||
String string = M3.isNull(q4) ? null : M3.getString(q4);
|
||||
if (string != null && (arrayList = (ArrayList) map.get(string)) != null) {
|
||||
int i9 = M3.getInt(0);
|
||||
String string2 = M3.isNull(1) ? null : M3.getString(1);
|
||||
String string3 = M3.isNull(2) ? null : M3.getString(2);
|
||||
String string4 = M3.isNull(3) ? null : M3.getString(3);
|
||||
String string5 = M3.isNull(4) ? null : M3.getString(4);
|
||||
String string6 = M3.getString(5);
|
||||
Integer valueOf = M3.isNull(6) ? null : Integer.valueOf(M3.getInt(6));
|
||||
Boolean valueOf2 = valueOf == null ? null : Boolean.valueOf(valueOf.intValue() != 0);
|
||||
Integer valueOf3 = M3.isNull(7) ? null : Integer.valueOf(M3.getInt(7));
|
||||
arrayList.add(new FavouriteEntity(i9, string2, string3, string4, string5, string6, valueOf2, valueOf3 != null ? Boolean.valueOf(valueOf3.intValue() != 0) : null));
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
M3.close();
|
||||
}
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
public /* synthetic */ Unit lambda$__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity$0(e eVar) {
|
||||
__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity(eVar);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object deleteAll(Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new A1.l(this, 0), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object deleteFavouriteRouteType(int i, int i4, boolean z3, String str, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new h(this, i, i4, z3, str), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object deleteFavouriteStationType(int i, boolean z3, String str, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new g(this, i, z3, str), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object deleteFavouriteTrain(String str, String str2, String str3, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new i(this, str, str2, str3), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Flow<List<FavouriteEntity>> getAll() {
|
||||
return l.l(this.__db, false, new String[]{"FavouriteEntity"}, new A1.j(this, w.d(0, "SELECT * FROM FavouriteEntity"), 0));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public List<FavouriteTrainEntity> getFavouriteTrain(String str, String str2, String str3) {
|
||||
w d4 = w.d(3, "SELECT * FROM FavouriteTrainEntity WHERE commercialNumber = ? AND originStationCode = ? AND destinationStationCode = ? LIMIT 1");
|
||||
d4.k(1, str);
|
||||
d4.k(2, str2);
|
||||
d4.k(3, str3);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER);
|
||||
int r5 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE);
|
||||
int r6 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE);
|
||||
int r7 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE);
|
||||
int r8 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_OPERATOR);
|
||||
int r9 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT);
|
||||
int r10 = l.r(M3, "timeStationFrom");
|
||||
int r11 = l.r(M3, "timeStationTo");
|
||||
ArrayList arrayList = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList.add(new FavouriteTrainEntity(M3.getString(r4), M3.getString(r5), M3.getString(r6), M3.getLong(r7), M3.isNull(r8) ? null : M3.getString(r8), M3.isNull(r9) ? null : M3.getString(r9), M3.isNull(r10) ? null : M3.getString(r10), M3.isNull(r11) ? null : M3.getString(r11)));
|
||||
}
|
||||
return arrayList;
|
||||
} finally {
|
||||
M3.close();
|
||||
d4.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public FavouriteEntity getFavouritesDeparturesOrArrivals(String str, String str2, boolean z3) {
|
||||
Boolean valueOf;
|
||||
w d4 = w.d(3, "SELECT * FROM FavouriteEntity WHERE identifierStation = ? and isCercanias = ? and type = ? LIMIT 1");
|
||||
boolean z4 = true;
|
||||
d4.k(1, str);
|
||||
d4.I(2, z3 ? 1L : 0L);
|
||||
d4.k(3, str2);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
this.__db.beginTransaction();
|
||||
try {
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "favouriteId");
|
||||
int r5 = l.r(M3, "identifierStation");
|
||||
int r6 = l.r(M3, "stationName");
|
||||
int r7 = l.r(M3, "identifierToStation");
|
||||
int r8 = l.r(M3, "stationToName");
|
||||
int r9 = l.r(M3, "type");
|
||||
int r10 = l.r(M3, "isCercanias");
|
||||
int r11 = l.r(M3, "isRodalies");
|
||||
FavouriteEntity favouriteEntity = null;
|
||||
Boolean valueOf2 = null;
|
||||
if (M3.moveToFirst()) {
|
||||
int i = M3.getInt(r4);
|
||||
String string = M3.isNull(r5) ? null : M3.getString(r5);
|
||||
String string2 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
String string3 = M3.isNull(r7) ? null : M3.getString(r7);
|
||||
String string4 = M3.isNull(r8) ? null : M3.getString(r8);
|
||||
String string5 = M3.getString(r9);
|
||||
Integer valueOf3 = M3.isNull(r10) ? null : Integer.valueOf(M3.getInt(r10));
|
||||
if (valueOf3 == null) {
|
||||
valueOf = null;
|
||||
} else {
|
||||
valueOf = Boolean.valueOf(valueOf3.intValue() != 0);
|
||||
}
|
||||
Integer valueOf4 = M3.isNull(r11) ? null : Integer.valueOf(M3.getInt(r11));
|
||||
if (valueOf4 != null) {
|
||||
if (valueOf4.intValue() == 0) {
|
||||
z4 = false;
|
||||
}
|
||||
valueOf2 = Boolean.valueOf(z4);
|
||||
}
|
||||
favouriteEntity = new FavouriteEntity(i, string, string2, string3, string4, string5, valueOf, valueOf2);
|
||||
}
|
||||
this.__db.setTransactionSuccessful();
|
||||
M3.close();
|
||||
d4.release();
|
||||
return favouriteEntity;
|
||||
} catch (Throwable th) {
|
||||
M3.close();
|
||||
d4.release();
|
||||
throw th;
|
||||
}
|
||||
} finally {
|
||||
this.__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public FavouriteEntity getFavouritesRoute(String str, String str2, String str3, boolean z3) {
|
||||
Boolean valueOf;
|
||||
w d4 = w.d(4, "SELECT * FROM FavouriteEntity WHERE identifierStation = ? and identifierToStation = ? and isCercanias = ? and type = ? LIMIT 1");
|
||||
boolean z4 = true;
|
||||
d4.k(1, str);
|
||||
if (str2 == null) {
|
||||
d4.t(2);
|
||||
} else {
|
||||
d4.k(2, str2);
|
||||
}
|
||||
d4.I(3, z3 ? 1L : 0L);
|
||||
d4.k(4, str3);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
this.__db.beginTransaction();
|
||||
try {
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "favouriteId");
|
||||
int r5 = l.r(M3, "identifierStation");
|
||||
int r6 = l.r(M3, "stationName");
|
||||
int r7 = l.r(M3, "identifierToStation");
|
||||
int r8 = l.r(M3, "stationToName");
|
||||
int r9 = l.r(M3, "type");
|
||||
int r10 = l.r(M3, "isCercanias");
|
||||
int r11 = l.r(M3, "isRodalies");
|
||||
FavouriteEntity favouriteEntity = null;
|
||||
Boolean valueOf2 = null;
|
||||
if (M3.moveToFirst()) {
|
||||
int i = M3.getInt(r4);
|
||||
String string = M3.isNull(r5) ? null : M3.getString(r5);
|
||||
String string2 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
String string3 = M3.isNull(r7) ? null : M3.getString(r7);
|
||||
String string4 = M3.isNull(r8) ? null : M3.getString(r8);
|
||||
String string5 = M3.getString(r9);
|
||||
Integer valueOf3 = M3.isNull(r10) ? null : Integer.valueOf(M3.getInt(r10));
|
||||
if (valueOf3 == null) {
|
||||
valueOf = null;
|
||||
} else {
|
||||
valueOf = Boolean.valueOf(valueOf3.intValue() != 0);
|
||||
}
|
||||
Integer valueOf4 = M3.isNull(r11) ? null : Integer.valueOf(M3.getInt(r11));
|
||||
if (valueOf4 != null) {
|
||||
if (valueOf4.intValue() == 0) {
|
||||
z4 = false;
|
||||
}
|
||||
valueOf2 = Boolean.valueOf(z4);
|
||||
}
|
||||
favouriteEntity = new FavouriteEntity(i, string, string2, string3, string4, string5, valueOf, valueOf2);
|
||||
}
|
||||
this.__db.setTransactionSuccessful();
|
||||
M3.close();
|
||||
d4.release();
|
||||
return favouriteEntity;
|
||||
} catch (Throwable th) {
|
||||
M3.close();
|
||||
d4.release();
|
||||
throw th;
|
||||
}
|
||||
} finally {
|
||||
this.__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public FavouriteEntity getStationFavourite(int i) {
|
||||
Boolean valueOf;
|
||||
boolean z3 = true;
|
||||
w d4 = w.d(1, "SELECT * FROM FavouriteEntity WHERE favouriteId = ?");
|
||||
d4.I(1, i);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
this.__db.beginTransaction();
|
||||
try {
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "favouriteId");
|
||||
int r5 = l.r(M3, "identifierStation");
|
||||
int r6 = l.r(M3, "stationName");
|
||||
int r7 = l.r(M3, "identifierToStation");
|
||||
int r8 = l.r(M3, "stationToName");
|
||||
int r9 = l.r(M3, "type");
|
||||
int r10 = l.r(M3, "isCercanias");
|
||||
int r11 = l.r(M3, "isRodalies");
|
||||
FavouriteEntity favouriteEntity = null;
|
||||
Boolean valueOf2 = null;
|
||||
if (M3.moveToFirst()) {
|
||||
int i4 = M3.getInt(r4);
|
||||
String string = M3.isNull(r5) ? null : M3.getString(r5);
|
||||
String string2 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
String string3 = M3.isNull(r7) ? null : M3.getString(r7);
|
||||
String string4 = M3.isNull(r8) ? null : M3.getString(r8);
|
||||
String string5 = M3.getString(r9);
|
||||
Integer valueOf3 = M3.isNull(r10) ? null : Integer.valueOf(M3.getInt(r10));
|
||||
if (valueOf3 == null) {
|
||||
valueOf = null;
|
||||
} else {
|
||||
valueOf = Boolean.valueOf(valueOf3.intValue() != 0);
|
||||
}
|
||||
Integer valueOf4 = M3.isNull(r11) ? null : Integer.valueOf(M3.getInt(r11));
|
||||
if (valueOf4 != null) {
|
||||
if (valueOf4.intValue() == 0) {
|
||||
z3 = false;
|
||||
}
|
||||
valueOf2 = Boolean.valueOf(z3);
|
||||
}
|
||||
favouriteEntity = new FavouriteEntity(i4, string, string2, string3, string4, string5, valueOf, valueOf2);
|
||||
}
|
||||
this.__db.setTransactionSuccessful();
|
||||
M3.close();
|
||||
d4.release();
|
||||
return favouriteEntity;
|
||||
} catch (Throwable th) {
|
||||
M3.close();
|
||||
d4.release();
|
||||
throw th;
|
||||
}
|
||||
} finally {
|
||||
this.__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r15v0, types: [s.e, s.j] */
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public StationFavouritesEntity getStationFavourites(int i) {
|
||||
w wVar;
|
||||
int r4;
|
||||
int r5;
|
||||
int r6;
|
||||
int r7;
|
||||
int r8;
|
||||
int r9;
|
||||
int r10;
|
||||
int r11;
|
||||
int r12;
|
||||
int r13;
|
||||
int r14;
|
||||
int r15;
|
||||
int i4;
|
||||
w d4 = w.d(1, "SELECT * FROM StationEntity WHERE stationCode = ? LIMIT 1");
|
||||
d4.I(1, i);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
this.__db.beginTransaction();
|
||||
try {
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, true);
|
||||
try {
|
||||
r4 = l.r(M3, "stationCode");
|
||||
r5 = l.r(M3, "stationType");
|
||||
r6 = l.r(M3, "longName");
|
||||
r7 = l.r(M3, "shortName");
|
||||
r8 = l.r(M3, "longNameToFind");
|
||||
r9 = l.r(M3, "shortNameToFind");
|
||||
r10 = l.r(M3, "latitude");
|
||||
r11 = l.r(M3, "longitude");
|
||||
r12 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC);
|
||||
r13 = l.r(M3, "commercialZoneType");
|
||||
r14 = l.r(M3, "commuterNetwork");
|
||||
r15 = l.r(M3, "akaName");
|
||||
wVar = d4;
|
||||
} catch (Throwable th) {
|
||||
th = th;
|
||||
wVar = d4;
|
||||
}
|
||||
try {
|
||||
?? jVar = new s.j(0);
|
||||
while (M3.moveToNext()) {
|
||||
String string = M3.getString(r4);
|
||||
if (jVar.containsKey(string)) {
|
||||
i4 = r15;
|
||||
} else {
|
||||
i4 = r15;
|
||||
jVar.put(string, new ArrayList());
|
||||
}
|
||||
r15 = i4;
|
||||
}
|
||||
int i5 = r15;
|
||||
M3.moveToPosition(-1);
|
||||
__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity(jVar);
|
||||
StationFavouritesEntity stationFavouritesEntity = null;
|
||||
if (M3.moveToFirst()) {
|
||||
stationFavouritesEntity = new StationFavouritesEntity(new StationEntity(M3.getString(r4), M3.getString(r5), M3.getString(r6), M3.getString(r7), M3.getString(r8), M3.getString(r9), M3.getDouble(r10), M3.getDouble(r11), M3.getInt(r12), M3.isNull(r13) ? null : M3.getString(r13), M3.getString(r14), M3.getString(i5)), (ArrayList) jVar.get(M3.getString(r4)));
|
||||
}
|
||||
this.__db.setTransactionSuccessful();
|
||||
M3.close();
|
||||
wVar.release();
|
||||
return stationFavouritesEntity;
|
||||
} catch (Throwable th2) {
|
||||
th = th2;
|
||||
M3.close();
|
||||
wVar.release();
|
||||
throw th;
|
||||
}
|
||||
} finally {
|
||||
this.__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Flow<List<StationFavouritesEntity>> getStationsFavourites() {
|
||||
return l.l(this.__db, true, new String[]{"FavouriteEntity", "StationEntity"}, new A1.j(this, w.d(0, "SELECT * FROM StationEntity"), 1));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Flow<List<FavouriteTrainEntity>> getTrainsFavourites() {
|
||||
return l.l(this.__db, true, new String[]{"FavouriteTrainEntity"}, new A1.j(this, w.d(0, "SELECT * FROM FavouriteTrainEntity"), 2));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object insertAll(List<FavouriteEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new k(this, list, 0), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.FavouritesDao
|
||||
public Object insertFavouriteTrains(List<FavouriteTrainEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new k(this, list, 1), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceStationEntity;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\bg\u0018\u00002\u00020\u0001J\u000e\u0010\u0002\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\u0004J\u0014\u0010\u0005\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u00070\u0006H'J\u0016\u0010\t\u001a\b\u0012\u0004\u0012\u00020\b0\u00062\u0006\u0010\n\u001a\u00020\u000bH'J\u001c\u0010\f\u001a\u00020\u00032\f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u000e0\u0007H§@¢\u0006\u0002\u0010\u000fJ\u0016\u0010\u0010\u001a\u00020\u00032\u0006\u0010\u0011\u001a\u00020\u000eH§@¢\u0006\u0002\u0010\u0012¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/IncidenceDao;", "", "deleteAll", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getAll", "Lkotlinx/coroutines/flow/Flow;", "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceStationEntity;", "getIncidence", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "insertAll", "incidences", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "updateIncidence", "incidence", "(Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface IncidenceDao {
|
||||
Object deleteAll(Continuation<? super Unit> continuation);
|
||||
|
||||
Flow<List<IncidenceStationEntity>> getAll();
|
||||
|
||||
Flow<IncidenceStationEntity> getIncidence(int id);
|
||||
|
||||
Object insertAll(List<IncidenceEntity> list, Continuation<? super Unit> continuation);
|
||||
|
||||
Object updateIncidence(IncidenceEntity incidenceEntity, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.c;
|
||||
import A1.m;
|
||||
import A1.n;
|
||||
import A1.o;
|
||||
import A1.p;
|
||||
import androidx.room.i;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceStationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.CommentTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.PictureTypeConverter;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
import m3.l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class IncidenceDao_Impl implements IncidenceDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfIncidenceEntity;
|
||||
private final y __preparedStmtOfDeleteAll;
|
||||
private final i __updateAdapterOfIncidenceEntity;
|
||||
private final PictureTypeConverter __pictureTypeConverter = new PictureTypeConverter();
|
||||
private final CommentTypeConverter __commentTypeConverter = new CommentTypeConverter();
|
||||
|
||||
public IncidenceDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfIncidenceEntity = new m(this, uVar, 0);
|
||||
this.__updateAdapterOfIncidenceEntity = new n(this, uVar);
|
||||
this.__preparedStmtOfDeleteAll = new c(uVar, 6);
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.IncidenceDao
|
||||
public Object deleteAll(Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new A1.l(this, 1), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.IncidenceDao
|
||||
public Flow<List<IncidenceStationEntity>> getAll() {
|
||||
return l.l(this.__db, false, new String[]{"incidenceentity", "avisastation", "avisastationcategory"}, new p(this, w.d(0, "SELECT * FROM incidenceentity INNER JOIN avisastation ON incidenceentity.stationId = avisastation.stId INNER JOIN avisastationcategory ON incidenceentity.categoryId = avisastationcategory.catId"), 0));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.IncidenceDao
|
||||
public Flow<IncidenceStationEntity> getIncidence(int i) {
|
||||
w d4 = w.d(1, "SELECT * FROM incidenceentity INNER JOIN avisastation ON incidenceentity.stationId = avisastation.stId INNER JOIN avisastationcategory ON incidenceentity.categoryId = avisastationcategory.catId WHERE incidenceentity.id = ? LIMIT 1");
|
||||
d4.I(1, i);
|
||||
return l.l(this.__db, false, new String[]{"incidenceentity", "avisastation", "avisastationcategory"}, new p(this, d4, 1));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.IncidenceDao
|
||||
public Object insertAll(List<IncidenceEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(0, this, list), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.IncidenceDao
|
||||
public Object updateIncidence(IncidenceEntity incidenceEntity, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(1, this, incidenceEntity), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import Z2.G;
|
||||
import androidx.room.u;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b'\u0018\u0000 \u00162\u00020\u0001:\u0001\u0016B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H&¢\u0006\u0004\b\u0005\u0010\u0006J\u000f\u0010\b\u001a\u00020\u0007H&¢\u0006\u0004\b\b\u0010\tJ\u000f\u0010\u000b\u001a\u00020\nH&¢\u0006\u0004\b\u000b\u0010\fJ\u000f\u0010\u000e\u001a\u00020\rH&¢\u0006\u0004\b\u000e\u0010\u000fJ\u000f\u0010\u0011\u001a\u00020\u0010H&¢\u0006\u0004\b\u0011\u0010\u0012J\u000f\u0010\u0014\u001a\u00020\u0013H&¢\u0006\u0004\b\u0014\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;", "Landroidx/room/u;", "<init>", "()V", "Lcom/adif/elcanomovil/serviceStorage/database/StationsDao;", "stationsDAO", "()Lcom/adif/elcanomovil/serviceStorage/database/StationsDao;", "Lcom/adif/elcanomovil/serviceStorage/database/FavouritesDao;", "favouritesDAO", "()Lcom/adif/elcanomovil/serviceStorage/database/FavouritesDao;", "Lcom/adif/elcanomovil/serviceStorage/database/IncidenceDao;", "incidenceDao", "()Lcom/adif/elcanomovil/serviceStorage/database/IncidenceDao;", "Lcom/adif/elcanomovil/serviceStorage/database/AvisaStationDao;", "avisaStationDao", "()Lcom/adif/elcanomovil/serviceStorage/database/AvisaStationDao;", "Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsDao;", "subscriptionsDao", "()Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsDao;", "Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsAuxDataDao;", "subscriptionsAuxDataDao", "()Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsAuxDataDao;", "Companion", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class StationDatabase extends u {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
public static G moshi;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\"\u0010\u0005\u001a\u00020\u00048\u0006@\u0006X\u0086.¢\u0006\u0012\n\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\n¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase$Companion;", "", "<init>", "()V", "LZ2/G;", "moshi", "LZ2/G;", "getMoshi", "()LZ2/G;", "setMoshi", "(LZ2/G;)V", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final G getMoshi() {
|
||||
G g4 = StationDatabase.moshi;
|
||||
if (g4 != null) {
|
||||
return g4;
|
||||
}
|
||||
Intrinsics.throwUninitializedPropertyAccessException("moshi");
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setMoshi(G g4) {
|
||||
Intrinsics.checkNotNullParameter(g4, "<set-?>");
|
||||
StationDatabase.moshi = g4;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public abstract AvisaStationDao avisaStationDao();
|
||||
|
||||
public abstract FavouritesDao favouritesDAO();
|
||||
|
||||
public abstract IncidenceDao incidenceDao();
|
||||
|
||||
public abstract StationsDao stationsDAO();
|
||||
|
||||
public abstract SubscriptionsAuxDataDao subscriptionsAuxDataDao();
|
||||
|
||||
public abstract SubscriptionsDao subscriptionsDao();
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A.a;
|
||||
import android.content.Context;
|
||||
import androidx.room.g;
|
||||
import androidx.room.p;
|
||||
import androidx.room.v;
|
||||
import f0.C0338b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import w0.InterfaceC0645a;
|
||||
import w0.InterfaceC0646b;
|
||||
import x0.i;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class StationDatabase_Impl extends StationDatabase {
|
||||
private volatile AvisaStationDao _avisaStationDao;
|
||||
private volatile FavouritesDao _favouritesDao;
|
||||
private volatile IncidenceDao _incidenceDao;
|
||||
private volatile StationsDao _stationsDao;
|
||||
private volatile SubscriptionsAuxDataDao _subscriptionsAuxDataDao;
|
||||
private volatile SubscriptionsDao _subscriptionsDao;
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public AvisaStationDao avisaStationDao() {
|
||||
AvisaStationDao avisaStationDao;
|
||||
if (this._avisaStationDao != null) {
|
||||
return this._avisaStationDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._avisaStationDao == null) {
|
||||
this._avisaStationDao = new AvisaStationDao_Impl(this);
|
||||
}
|
||||
avisaStationDao = this._avisaStationDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return avisaStationDao;
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public void clearAllTables() {
|
||||
super.assertNotMainThread();
|
||||
InterfaceC0645a S3 = super.getOpenHelper().S();
|
||||
try {
|
||||
super.beginTransaction();
|
||||
S3.i("PRAGMA defer_foreign_keys = TRUE");
|
||||
S3.i("DELETE FROM `StationEntity`");
|
||||
S3.i("DELETE FROM `FavouriteEntity`");
|
||||
S3.i("DELETE FROM `AvisaStation`");
|
||||
S3.i("DELETE FROM `AvisaStationCategory`");
|
||||
S3.i("DELETE FROM `IncidenceEntity`");
|
||||
S3.i("DELETE FROM `IncidenceCommentEntity`");
|
||||
S3.i("DELETE FROM `IncidencePictureEntity`");
|
||||
S3.i("DELETE FROM `FavouriteTrainEntity`");
|
||||
S3.i("DELETE FROM `IncidenceStationEntity`");
|
||||
S3.i("DELETE FROM `SubscriptionEntity`");
|
||||
S3.i("DELETE FROM `SubscriptionAuxEntity`");
|
||||
super.setTransactionSuccessful();
|
||||
} finally {
|
||||
super.endTransaction();
|
||||
S3.V("PRAGMA wal_checkpoint(FULL)").close();
|
||||
if (!S3.B()) {
|
||||
S3.i("VACUUM");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public p createInvalidationTracker() {
|
||||
return new p(this, new HashMap(0), new HashMap(0), "StationEntity", "FavouriteEntity", "AvisaStation", "AvisaStationCategory", "IncidenceEntity", "IncidenceCommentEntity", "IncidencePictureEntity", "FavouriteTrainEntity", "IncidenceStationEntity", "SubscriptionEntity", "SubscriptionAuxEntity");
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public InterfaceC0646b createOpenHelper(g gVar) {
|
||||
v callback = new v(gVar, new a(this, 1));
|
||||
Context context = gVar.f3973a;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(callback, "callback");
|
||||
C0338b configuration = new C0338b(context, "station.db", callback);
|
||||
Intrinsics.checkNotNullParameter(configuration, "configuration");
|
||||
return new i(context, "station.db", callback);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public FavouritesDao favouritesDAO() {
|
||||
FavouritesDao favouritesDao;
|
||||
if (this._favouritesDao != null) {
|
||||
return this._favouritesDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._favouritesDao == null) {
|
||||
this._favouritesDao = new FavouritesDao_Impl(this);
|
||||
}
|
||||
favouritesDao = this._favouritesDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return favouritesDao;
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public List<Object> getAutoMigrations(Map<Class<Object>, Object> map) {
|
||||
return new ArrayList();
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public Set<Class<Object>> getRequiredAutoMigrationSpecs() {
|
||||
return new HashSet();
|
||||
}
|
||||
|
||||
@Override // androidx.room.u
|
||||
public Map<Class<?>, List<Class<?>>> getRequiredTypeConverters() {
|
||||
HashMap hashMap = new HashMap();
|
||||
hashMap.put(StationsDao.class, StationsDao_Impl.getRequiredConverters());
|
||||
hashMap.put(FavouritesDao.class, FavouritesDao_Impl.getRequiredConverters());
|
||||
hashMap.put(IncidenceDao.class, IncidenceDao_Impl.getRequiredConverters());
|
||||
hashMap.put(AvisaStationDao.class, AvisaStationDao_Impl.getRequiredConverters());
|
||||
hashMap.put(SubscriptionsDao.class, SubscriptionsDao_Impl.getRequiredConverters());
|
||||
hashMap.put(SubscriptionsAuxDataDao.class, SubscriptionsAuxDataDao_Impl.getRequiredConverters());
|
||||
return hashMap;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public IncidenceDao incidenceDao() {
|
||||
IncidenceDao incidenceDao;
|
||||
if (this._incidenceDao != null) {
|
||||
return this._incidenceDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._incidenceDao == null) {
|
||||
this._incidenceDao = new IncidenceDao_Impl(this);
|
||||
}
|
||||
incidenceDao = this._incidenceDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return incidenceDao;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public StationsDao stationsDAO() {
|
||||
StationsDao stationsDao;
|
||||
if (this._stationsDao != null) {
|
||||
return this._stationsDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._stationsDao == null) {
|
||||
this._stationsDao = new StationsDao_Impl(this);
|
||||
}
|
||||
stationsDao = this._stationsDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return stationsDao;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public SubscriptionsAuxDataDao subscriptionsAuxDataDao() {
|
||||
SubscriptionsAuxDataDao subscriptionsAuxDataDao;
|
||||
if (this._subscriptionsAuxDataDao != null) {
|
||||
return this._subscriptionsAuxDataDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._subscriptionsAuxDataDao == null) {
|
||||
this._subscriptionsAuxDataDao = new SubscriptionsAuxDataDao_Impl(this);
|
||||
}
|
||||
subscriptionsAuxDataDao = this._subscriptionsAuxDataDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return subscriptionsAuxDataDao;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationDatabase
|
||||
public SubscriptionsDao subscriptionsDao() {
|
||||
SubscriptionsDao subscriptionsDao;
|
||||
if (this._subscriptionsDao != null) {
|
||||
return this._subscriptionsDao;
|
||||
}
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this._subscriptionsDao == null) {
|
||||
this._subscriptionsDao = new SubscriptionsDao_Impl(this);
|
||||
}
|
||||
subscriptionsDao = this._subscriptionsDao;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return subscriptionsDao;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0004\bg\u0018\u00002\u00020\u0001J\u000e\u0010\u0002\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\u0004J\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\bH'J\u0014\u0010\t\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00060\u000b0\nH'J\u0016\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00060\u000b2\u0006\u0010\r\u001a\u00020\bH'J\b\u0010\u000e\u001a\u00020\u000fH'J\u001c\u0010\u0010\u001a\u00020\u00032\f\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00060\u000bH§@¢\u0006\u0002\u0010\u0012¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/StationsDao;", "", "deleteAll", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "get", "Lcom/adif/elcanomovil/serviceStorage/model/StationEntity;", "stationCode", "", "getAll", "Lkotlinx/coroutines/flow/Flow;", "", "getCoincidences", "searchText", "getNumberOfStations", "", "insertAll", "stations", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface StationsDao {
|
||||
Object deleteAll(Continuation<? super Unit> continuation);
|
||||
|
||||
StationEntity get(String stationCode);
|
||||
|
||||
Flow<List<StationEntity>> getAll();
|
||||
|
||||
List<StationEntity> getCoincidences(String searchText);
|
||||
|
||||
int getNumberOfStations();
|
||||
|
||||
Object insertAll(List<StationEntity> list, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.b;
|
||||
import A1.c;
|
||||
import A1.o;
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
import m3.l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class StationsDao_Impl implements StationsDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfStationEntity;
|
||||
private final y __preparedStmtOfDeleteAll;
|
||||
|
||||
public StationsDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfStationEntity = new b(uVar, 4);
|
||||
this.__preparedStmtOfDeleteAll = new c(uVar, 7);
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public Object deleteAll(Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new A1.l(this, 2), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public StationEntity get(String str) {
|
||||
w d4 = w.d(1, "SELECT * FROM StationEntity WHERE stationCode = ? LIMIT 1");
|
||||
d4.k(1, str);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "stationCode");
|
||||
int r5 = l.r(M3, "stationType");
|
||||
int r6 = l.r(M3, "longName");
|
||||
int r7 = l.r(M3, "shortName");
|
||||
int r8 = l.r(M3, "longNameToFind");
|
||||
int r9 = l.r(M3, "shortNameToFind");
|
||||
int r10 = l.r(M3, "latitude");
|
||||
int r11 = l.r(M3, "longitude");
|
||||
int r12 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC);
|
||||
int r13 = l.r(M3, "commercialZoneType");
|
||||
int r14 = l.r(M3, "commuterNetwork");
|
||||
int r15 = l.r(M3, "akaName");
|
||||
StationEntity stationEntity = null;
|
||||
if (M3.moveToFirst()) {
|
||||
stationEntity = new StationEntity(M3.getString(r4), M3.getString(r5), M3.getString(r6), M3.getString(r7), M3.getString(r8), M3.getString(r9), M3.getDouble(r10), M3.getDouble(r11), M3.getInt(r12), M3.isNull(r13) ? null : M3.getString(r13), M3.getString(r14), M3.getString(r15));
|
||||
}
|
||||
return stationEntity;
|
||||
} finally {
|
||||
M3.close();
|
||||
d4.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public Flow<List<StationEntity>> getAll() {
|
||||
return l.l(this.__db, false, new String[]{"StationEntity"}, new o(3, this, w.d(0, "SELECT * FROM StationEntity")));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public List<StationEntity> getCoincidences(String str) {
|
||||
w d4 = w.d(3, "SELECT * FROM StationEntity WHERE longNameToFind LIKE '%' || ? || '%' or shortNameToFind LIKE '%' || ? || '%' or akaName LIKE '%' || ? || '%'");
|
||||
d4.k(1, str);
|
||||
d4.k(2, str);
|
||||
d4.k(3, str);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "stationCode");
|
||||
int r5 = l.r(M3, "stationType");
|
||||
int r6 = l.r(M3, "longName");
|
||||
int r7 = l.r(M3, "shortName");
|
||||
int r8 = l.r(M3, "longNameToFind");
|
||||
int r9 = l.r(M3, "shortNameToFind");
|
||||
int r10 = l.r(M3, "latitude");
|
||||
int r11 = l.r(M3, "longitude");
|
||||
int r12 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC);
|
||||
int r13 = l.r(M3, "commercialZoneType");
|
||||
int r14 = l.r(M3, "commuterNetwork");
|
||||
int r15 = l.r(M3, "akaName");
|
||||
ArrayList arrayList = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList.add(new StationEntity(M3.getString(r4), M3.getString(r5), M3.getString(r6), M3.getString(r7), M3.getString(r8), M3.getString(r9), M3.getDouble(r10), M3.getDouble(r11), M3.getInt(r12), M3.isNull(r13) ? null : M3.getString(r13), M3.getString(r14), M3.getString(r15)));
|
||||
}
|
||||
return arrayList;
|
||||
} finally {
|
||||
M3.close();
|
||||
d4.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public int getNumberOfStations() {
|
||||
w d4 = w.d(0, "SELECT COUNT(*) FROM StationEntity");
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
return M3.moveToFirst() ? M3.getInt(0) : 0;
|
||||
} finally {
|
||||
M3.close();
|
||||
d4.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.StationsDao
|
||||
public Object insertAll(List<StationEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(2, this, list), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionAuxEntity;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\bg\u0018\u00002\u00020\u0001J\u0012\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0004\u001a\u00020\u0005H'J\u0016\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\u0003H§@¢\u0006\u0002\u0010\t¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsAuxDataDao;", "", "get", "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionAuxEntity;", "subscriptionType", "", "insert", "", "subscription", "(Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionAuxEntity;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface SubscriptionsAuxDataDao {
|
||||
SubscriptionAuxEntity get(String subscriptionType);
|
||||
|
||||
Object insert(SubscriptionAuxEntity subscriptionAuxEntity, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.b;
|
||||
import A1.o;
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionAuxEntity;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import m3.l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class SubscriptionsAuxDataDao_Impl implements SubscriptionsAuxDataDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfSubscriptionAuxEntity;
|
||||
|
||||
public SubscriptionsAuxDataDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfSubscriptionAuxEntity = new b(uVar, 5);
|
||||
}
|
||||
|
||||
public static /* synthetic */ u access$000(SubscriptionsAuxDataDao_Impl subscriptionsAuxDataDao_Impl) {
|
||||
return subscriptionsAuxDataDao_Impl.__db;
|
||||
}
|
||||
|
||||
public static /* synthetic */ j access$100(SubscriptionsAuxDataDao_Impl subscriptionsAuxDataDao_Impl) {
|
||||
return subscriptionsAuxDataDao_Impl.__insertionAdapterOfSubscriptionAuxEntity;
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsAuxDataDao
|
||||
public SubscriptionAuxEntity get(String str) {
|
||||
w d4 = w.d(1, "SELECT * FROM SubscriptionAuxEntity WHERE subscriptionType = ? ");
|
||||
d4.k(1, str);
|
||||
this.__db.assertNotSuspendingTransaction();
|
||||
Cursor M3 = AbstractC0105a.M(this.__db, d4, false);
|
||||
try {
|
||||
int r4 = l.r(M3, "subcriptionAuxId");
|
||||
int r5 = l.r(M3, "subscriptionType");
|
||||
int r6 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_OPERATOR);
|
||||
int r7 = l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT);
|
||||
SubscriptionAuxEntity subscriptionAuxEntity = null;
|
||||
String string = null;
|
||||
if (M3.moveToFirst()) {
|
||||
int i = M3.getInt(r4);
|
||||
String string2 = M3.getString(r5);
|
||||
String string3 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
if (!M3.isNull(r7)) {
|
||||
string = M3.getString(r7);
|
||||
}
|
||||
subscriptionAuxEntity = new SubscriptionAuxEntity(i, string2, string3, string);
|
||||
}
|
||||
return subscriptionAuxEntity;
|
||||
} finally {
|
||||
M3.close();
|
||||
d4.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsAuxDataDao
|
||||
public Object insert(SubscriptionAuxEntity subscriptionAuxEntity, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(4, this, subscriptionAuxEntity), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionEntity;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0007\bg\u0018\u00002\u00020\u0001J\u0016\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H§@¢\u0006\u0002\u0010\u0006J\u0018\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\tH§@¢\u0006\u0002\u0010\nJ\u0014\u0010\u000b\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000e0\r0\fH'J\u0016\u0010\u000f\u001a\u00020\u00032\u0006\u0010\u0010\u001a\u00020\u000eH§@¢\u0006\u0002\u0010\u0011J\u001c\u0010\u0012\u001a\u00020\u00032\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u000e0\rH§@¢\u0006\u0002\u0010\u0014¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsDao;", "", "delete", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "(ILkotlin/coroutines/Continuation;)Ljava/lang/Object;", "deleteAllStatus", AppMeasurementSdk.ConditionalUserProperty.ACTIVE, "", "(ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getAll", "Lkotlinx/coroutines/flow/Flow;", "", "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionEntity;", "insert", "subscription", "(Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionEntity;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "insertAll", "subscriptions", "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface SubscriptionsDao {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ Object deleteAllStatus$default(SubscriptionsDao subscriptionsDao, boolean z3, Continuation continuation, int i, Object obj) {
|
||||
if (obj != null) {
|
||||
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: deleteAllStatus");
|
||||
}
|
||||
if ((i & 1) != 0) {
|
||||
z3 = true;
|
||||
}
|
||||
return subscriptionsDao.deleteAllStatus(z3, continuation);
|
||||
}
|
||||
}
|
||||
|
||||
Object delete(int i, Continuation<? super Unit> continuation);
|
||||
|
||||
Object deleteAllStatus(boolean z3, Continuation<? super Unit> continuation);
|
||||
|
||||
Flow<List<SubscriptionEntity>> getAll();
|
||||
|
||||
Object insert(SubscriptionEntity subscriptionEntity, Continuation<? super Unit> continuation);
|
||||
|
||||
Object insertAll(List<SubscriptionEntity> list, Continuation<? super Unit> continuation);
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.adif.elcanomovil.serviceStorage.database;
|
||||
|
||||
import A1.c;
|
||||
import A1.m;
|
||||
import A1.o;
|
||||
import A1.q;
|
||||
import A1.r;
|
||||
import androidx.room.j;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DestinationTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.OriginTypeConverter;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
import m3.l;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class SubscriptionsDao_Impl implements SubscriptionsDao {
|
||||
private final u __db;
|
||||
private final j __insertionAdapterOfSubscriptionEntity;
|
||||
private final y __preparedStmtOfDelete;
|
||||
private final y __preparedStmtOfDeleteAllStatus;
|
||||
private final DestinationTypeConverter __destinationTypeConverter = new DestinationTypeConverter();
|
||||
private final OriginTypeConverter __originTypeConverter = new OriginTypeConverter();
|
||||
|
||||
public SubscriptionsDao_Impl(u uVar) {
|
||||
this.__db = uVar;
|
||||
this.__insertionAdapterOfSubscriptionEntity = new m(this, uVar, 1);
|
||||
this.__preparedStmtOfDeleteAllStatus = new c(uVar, 8);
|
||||
this.__preparedStmtOfDelete = new c(uVar, 9);
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao
|
||||
public Object delete(int i, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new r(this, i), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao
|
||||
public Object deleteAllStatus(boolean z3, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new q(this, z3), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao
|
||||
public Flow<List<SubscriptionEntity>> getAll() {
|
||||
return l.l(this.__db, false, new String[]{"SubscriptionEntity"}, new o(7, this, w.d(0, "SELECT * FROM SubscriptionEntity")));
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao
|
||||
public Object insert(SubscriptionEntity subscriptionEntity, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(6, this, subscriptionEntity), continuation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao
|
||||
public Object insertAll(List<SubscriptionEntity> list, Continuation<? super Unit> continuation) {
|
||||
return l.m(this.__db, new o(5, this, list), continuation);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import Z2.G;
|
||||
import Z2.InterfaceC0103k;
|
||||
import a3.a;
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.database.AvisaStationDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationsDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsAuxDataDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationStored;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationStoredEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.TrainStored;
|
||||
import com.adif.elcanomovil.serviceStorage.model.TrainStoredEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.preferences.PreferenceStorage;
|
||||
import com.adif.elcanomovil.serviceStorage.preferences.SharedPreferenceStorage;
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.android.qualifiers.ApplicationContext;
|
||||
import dagger.hilt.components.SingletonComponent;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import javax.inject.Named;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u0000`\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÇ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J!\u0010\t\u001a\u00020\b2\b\b\u0001\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0007¢\u0006\u0004\b\t\u0010\nJ!\u0010\f\u001a\u00020\u000b2\b\b\u0001\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0007¢\u0006\u0004\b\f\u0010\rJ\u0017\u0010\u0010\u001a\u00020\u000f2\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b\u0010\u0010\u0011J\u0017\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b\u0013\u0010\u0014J\u0017\u0010\u0016\u001a\u00020\u00152\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b\u0016\u0010\u0017J\u0017\u0010\u0019\u001a\u00020\u00182\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b\u0019\u0010\u001aJ\u000f\u0010\u001c\u001a\u00020\u001bH\u0007¢\u0006\u0004\b\u001c\u0010\u001dJ\u000f\u0010\u001e\u001a\u00020\u001bH\u0007¢\u0006\u0004\b\u001e\u0010\u001dJ\u0017\u0010 \u001a\u00020\u001f2\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b \u0010!J\u0017\u0010#\u001a\u00020\"2\u0006\u0010\u000e\u001a\u00020\u000bH\u0007¢\u0006\u0004\b#\u0010$¨\u0006%"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/di/StorageModule;", "", "<init>", "()V", "Landroid/content/Context;", "context", "LZ2/G;", "moshi", "Lcom/adif/elcanomovil/serviceStorage/preferences/PreferenceStorage;", "providePreferenceStorage", "(Landroid/content/Context;LZ2/G;)Lcom/adif/elcanomovil/serviceStorage/preferences/PreferenceStorage;", "Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;", "provideStationDatabase", "(Landroid/content/Context;LZ2/G;)Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;", "database", "Lcom/adif/elcanomovil/serviceStorage/database/StationsDao;", "provideStationsDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/StationsDao;", "Lcom/adif/elcanomovil/serviceStorage/database/FavouritesDao;", "provideFavouritesDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/FavouritesDao;", "Lcom/adif/elcanomovil/serviceStorage/database/IncidenceDao;", "provideIncidenceDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/IncidenceDao;", "Lcom/adif/elcanomovil/serviceStorage/database/AvisaStationDao;", "provideAvisaStationDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/AvisaStationDao;", "LZ2/k;", "provideMoshiPolymorphicFactory", "()LZ2/k;", "provideMoshiPolymorphicFactoryTrain", "Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsDao;", "provideSubscriptionDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsDao;", "Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsAuxDataDao;", "provideSubscriptionAuxDataDao", "(Lcom/adif/elcanomovil/serviceStorage/database/StationDatabase;)Lcom/adif/elcanomovil/serviceStorage/database/SubscriptionsAuxDataDao;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@Module
|
||||
@InstallIn({SingletonComponent.class})
|
||||
@SourceDebugExtension({"SMAP\nStorageModule.kt\nKotlin\n*S Kotlin\n*F\n+ 1 StorageModule.kt\ncom/adif/elcanomovil/serviceStorage/di/StorageModule\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,71:1\n1#2:72\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule {
|
||||
public static final StorageModule INSTANCE = new StorageModule();
|
||||
|
||||
private StorageModule() {
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final AvisaStationDao provideAvisaStationDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.avisaStationDao();
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final FavouritesDao provideFavouritesDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.favouritesDAO();
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final IncidenceDao provideIncidenceDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.incidenceDao();
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named("Station")
|
||||
public final InterfaceC0103k provideMoshiPolymorphicFactory() {
|
||||
List list = Collections.EMPTY_LIST;
|
||||
if (list.contains("station")) {
|
||||
throw new IllegalArgumentException("Labels must be unique.");
|
||||
}
|
||||
ArrayList arrayList = new ArrayList(list);
|
||||
arrayList.add("station");
|
||||
ArrayList arrayList2 = new ArrayList(list);
|
||||
arrayList2.add(StationStoredEntity.class);
|
||||
a aVar = new a(StationStored.class, "fav_type", arrayList, arrayList2);
|
||||
Intrinsics.checkNotNullExpressionValue(aVar, "withSubtype(...)");
|
||||
return aVar;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named("Train")
|
||||
public final InterfaceC0103k provideMoshiPolymorphicFactoryTrain() {
|
||||
List list = Collections.EMPTY_LIST;
|
||||
if (list.contains(NavArguments.ARG_DYNAMIC_TRAIN)) {
|
||||
throw new IllegalArgumentException("Labels must be unique.");
|
||||
}
|
||||
ArrayList arrayList = new ArrayList(list);
|
||||
arrayList.add(NavArguments.ARG_DYNAMIC_TRAIN);
|
||||
ArrayList arrayList2 = new ArrayList(list);
|
||||
arrayList2.add(TrainStoredEntity.class);
|
||||
a aVar = new a(TrainStored.class, "search_type", arrayList, arrayList2);
|
||||
Intrinsics.checkNotNullExpressionValue(aVar, "withSubtype(...)");
|
||||
return aVar;
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final PreferenceStorage providePreferenceStorage(@ApplicationContext Context context, G moshi) {
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(moshi, "moshi");
|
||||
return new SharedPreferenceStorage(context, moshi);
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:13:0x0098 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:18:0x00c3 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:24:0x00c5 A[Catch: InstantiationException -> 0x00fe, IllegalAccessException -> 0x0116, ClassNotFoundException -> 0x012e, TryCatch #2 {ClassNotFoundException -> 0x012e, IllegalAccessException -> 0x0116, InstantiationException -> 0x00fe, blocks: (B:16:0x00bd, B:19:0x00d7, B:24:0x00c5), top: B:15:0x00bd }] */
|
||||
@dagger.Provides
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final com.adif.elcanomovil.serviceStorage.database.StationDatabase provideStationDatabase(@dagger.hilt.android.qualifiers.ApplicationContext android.content.Context r13, Z2.G r14) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 347
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.serviceStorage.di.StorageModule.provideStationDatabase(android.content.Context, Z2.G):com.adif.elcanomovil.serviceStorage.database.StationDatabase");
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final StationsDao provideStationsDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.stationsDAO();
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final SubscriptionsAuxDataDao provideSubscriptionAuxDataDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.subscriptionsAuxDataDao();
|
||||
}
|
||||
|
||||
@Provides
|
||||
public final SubscriptionsDao provideSubscriptionDao(StationDatabase database) {
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
return database.subscriptionsDao();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.AvisaStationDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideAvisaStationDaoFactory implements Factory<AvisaStationDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideAvisaStationDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideAvisaStationDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideAvisaStationDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static AvisaStationDao provideAvisaStationDao(StationDatabase stationDatabase) {
|
||||
return (AvisaStationDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideAvisaStationDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public AvisaStationDao get() {
|
||||
return provideAvisaStationDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideFavouritesDaoFactory implements Factory<FavouritesDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideFavouritesDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideFavouritesDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideFavouritesDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static FavouritesDao provideFavouritesDao(StationDatabase stationDatabase) {
|
||||
return (FavouritesDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideFavouritesDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public FavouritesDao get() {
|
||||
return provideFavouritesDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideIncidenceDaoFactory implements Factory<IncidenceDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideIncidenceDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideIncidenceDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideIncidenceDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static IncidenceDao provideIncidenceDao(StationDatabase stationDatabase) {
|
||||
return (IncidenceDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideIncidenceDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public IncidenceDao get() {
|
||||
return provideIncidenceDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import B1.a;
|
||||
import Z2.InterfaceC0103k;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"javax.inject.Named"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideMoshiPolymorphicFactoryFactory implements Factory<InterfaceC0103k> {
|
||||
public static StorageModule_ProvideMoshiPolymorphicFactoryFactory create() {
|
||||
return a.f208a;
|
||||
}
|
||||
|
||||
public static InterfaceC0103k provideMoshiPolymorphicFactory() {
|
||||
return (InterfaceC0103k) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideMoshiPolymorphicFactory());
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public InterfaceC0103k get() {
|
||||
return provideMoshiPolymorphicFactory();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import B1.b;
|
||||
import Z2.InterfaceC0103k;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"javax.inject.Named"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideMoshiPolymorphicFactoryTrainFactory implements Factory<InterfaceC0103k> {
|
||||
public static StorageModule_ProvideMoshiPolymorphicFactoryTrainFactory create() {
|
||||
return b.f209a;
|
||||
}
|
||||
|
||||
public static InterfaceC0103k provideMoshiPolymorphicFactoryTrain() {
|
||||
return (InterfaceC0103k) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideMoshiPolymorphicFactoryTrain());
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public InterfaceC0103k get() {
|
||||
return provideMoshiPolymorphicFactoryTrain();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import Z2.G;
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.serviceStorage.preferences.PreferenceStorage;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.qualifiers.ApplicationContext"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvidePreferenceStorageFactory implements Factory<PreferenceStorage> {
|
||||
private final Provider<Context> contextProvider;
|
||||
private final Provider<G> moshiProvider;
|
||||
|
||||
public StorageModule_ProvidePreferenceStorageFactory(Provider<Context> provider, Provider<G> provider2) {
|
||||
this.contextProvider = provider;
|
||||
this.moshiProvider = provider2;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvidePreferenceStorageFactory create(Provider<Context> provider, Provider<G> provider2) {
|
||||
return new StorageModule_ProvidePreferenceStorageFactory(provider, provider2);
|
||||
}
|
||||
|
||||
public static PreferenceStorage providePreferenceStorage(Context context, G g4) {
|
||||
return (PreferenceStorage) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.providePreferenceStorage(context, g4));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public PreferenceStorage get() {
|
||||
return providePreferenceStorage(this.contextProvider.get(), this.moshiProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import Z2.G;
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.qualifiers.ApplicationContext"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideStationDatabaseFactory implements Factory<StationDatabase> {
|
||||
private final Provider<Context> contextProvider;
|
||||
private final Provider<G> moshiProvider;
|
||||
|
||||
public StorageModule_ProvideStationDatabaseFactory(Provider<Context> provider, Provider<G> provider2) {
|
||||
this.contextProvider = provider;
|
||||
this.moshiProvider = provider2;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideStationDatabaseFactory create(Provider<Context> provider, Provider<G> provider2) {
|
||||
return new StorageModule_ProvideStationDatabaseFactory(provider, provider2);
|
||||
}
|
||||
|
||||
public static StationDatabase provideStationDatabase(Context context, G g4) {
|
||||
return (StationDatabase) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideStationDatabase(context, g4));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public StationDatabase get() {
|
||||
return provideStationDatabase(this.contextProvider.get(), this.moshiProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationsDao;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideStationsDaoFactory implements Factory<StationsDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideStationsDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideStationsDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideStationsDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static StationsDao provideStationsDao(StationDatabase stationDatabase) {
|
||||
return (StationsDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideStationsDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public StationsDao get() {
|
||||
return provideStationsDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsAuxDataDao;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideSubscriptionAuxDataDaoFactory implements Factory<SubscriptionsAuxDataDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideSubscriptionAuxDataDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideSubscriptionAuxDataDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideSubscriptionAuxDataDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static SubscriptionsAuxDataDao provideSubscriptionAuxDataDao(StationDatabase stationDatabase) {
|
||||
return (SubscriptionsAuxDataDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideSubscriptionAuxDataDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public SubscriptionsAuxDataDao get() {
|
||||
return provideSubscriptionAuxDataDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.adif.elcanomovil.serviceStorage.di;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes.dex */
|
||||
public final class StorageModule_ProvideSubscriptionDaoFactory implements Factory<SubscriptionsDao> {
|
||||
private final Provider<StationDatabase> databaseProvider;
|
||||
|
||||
public StorageModule_ProvideSubscriptionDaoFactory(Provider<StationDatabase> provider) {
|
||||
this.databaseProvider = provider;
|
||||
}
|
||||
|
||||
public static StorageModule_ProvideSubscriptionDaoFactory create(Provider<StationDatabase> provider) {
|
||||
return new StorageModule_ProvideSubscriptionDaoFactory(provider);
|
||||
}
|
||||
|
||||
public static SubscriptionsDao provideSubscriptionDao(StationDatabase stationDatabase) {
|
||||
return (SubscriptionsDao) Preconditions.checkNotNullFromProvides(StorageModule.INSTANCE.provideSubscriptionDao(stationDatabase));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public SubscriptionsDao get() {
|
||||
return provideSubscriptionDao(this.databaseProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b \b\u0087\b\u0018\u00002\u00020\u0001BS\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\t\u001a\u00020\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\u0002\u0010\rJ\t\u0010\u001d\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010 \u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010\"\u001a\u00020\u0005HÆ\u0003J\u0010\u0010#\u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u0016J\u0010\u0010$\u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u0016Jj\u0010%\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\t\u001a\u00020\u00052\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000bHÆ\u0001¢\u0006\u0002\u0010&J\u0013\u0010'\u001a\u00020\u000b2\b\u0010(\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010)\u001a\u00020\u0003HÖ\u0001J\t\u0010*\u001a\u00020\u0005HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u001c\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0010\u0010\u0011\"\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0007\u001a\u0004\u0018\u00010\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\u0011\"\u0004\b\u0015\u0010\u0013R\u0015\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\n\n\u0002\u0010\u0017\u001a\u0004\b\n\u0010\u0016R\u0015\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\n\n\u0002\u0010\u0017\u001a\u0004\b\f\u0010\u0016R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0018\u0010\u0011\"\u0004\b\u0019\u0010\u0013R\u001c\u0010\b\u001a\u0004\u0018\u00010\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u001a\u0010\u0011\"\u0004\b\u001b\u0010\u0013R\u0011\u0010\t\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0011¨\u0006+"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/FavouriteEntity;", "", "favouriteId", "", "identifierStation", "", "stationName", "identifierToStation", "stationToName", "type", "isCercanias", "", "isRodalies", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;)V", "getFavouriteId", "()I", "getIdentifierStation", "()Ljava/lang/String;", "setIdentifierStation", "(Ljava/lang/String;)V", "getIdentifierToStation", "setIdentifierToStation", "()Ljava/lang/Boolean;", "Ljava/lang/Boolean;", "getStationName", "setStationName", "getStationToName", "setStationToName", "getType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lcom/adif/elcanomovil/serviceStorage/model/FavouriteEntity;", "equals", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class FavouriteEntity {
|
||||
private final int favouriteId;
|
||||
private String identifierStation;
|
||||
private String identifierToStation;
|
||||
private final Boolean isCercanias;
|
||||
private final Boolean isRodalies;
|
||||
private String stationName;
|
||||
private String stationToName;
|
||||
private final String type;
|
||||
|
||||
public FavouriteEntity(int i, String str, String str2, String str3, String str4, String type, Boolean bool, Boolean bool2) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
this.favouriteId = i;
|
||||
this.identifierStation = str;
|
||||
this.stationName = str2;
|
||||
this.identifierToStation = str3;
|
||||
this.stationToName = str4;
|
||||
this.type = type;
|
||||
this.isCercanias = bool;
|
||||
this.isRodalies = bool2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ FavouriteEntity copy$default(FavouriteEntity favouriteEntity, int i, String str, String str2, String str3, String str4, String str5, Boolean bool, Boolean bool2, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = favouriteEntity.favouriteId;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = favouriteEntity.identifierStation;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str2 = favouriteEntity.stationName;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str3 = favouriteEntity.identifierToStation;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str4 = favouriteEntity.stationToName;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
str5 = favouriteEntity.type;
|
||||
}
|
||||
if ((i4 & 64) != 0) {
|
||||
bool = favouriteEntity.isCercanias;
|
||||
}
|
||||
if ((i4 & 128) != 0) {
|
||||
bool2 = favouriteEntity.isRodalies;
|
||||
}
|
||||
Boolean bool3 = bool;
|
||||
Boolean bool4 = bool2;
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
return favouriteEntity.copy(i, str, str2, str3, str6, str7, bool3, bool4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getFavouriteId() {
|
||||
return this.favouriteId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getIdentifierStation() {
|
||||
return this.identifierStation;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getIdentifierToStation() {
|
||||
return this.identifierToStation;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getStationToName() {
|
||||
return this.stationToName;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Boolean getIsCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final Boolean getIsRodalies() {
|
||||
return this.isRodalies;
|
||||
}
|
||||
|
||||
public final FavouriteEntity copy(int favouriteId, String identifierStation, String stationName, String identifierToStation, String stationToName, String type, Boolean isCercanias, Boolean isRodalies) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new FavouriteEntity(favouriteId, identifierStation, stationName, identifierToStation, stationToName, type, isCercanias, isRodalies);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof FavouriteEntity)) {
|
||||
return false;
|
||||
}
|
||||
FavouriteEntity favouriteEntity = (FavouriteEntity) other;
|
||||
return this.favouriteId == favouriteEntity.favouriteId && Intrinsics.areEqual(this.identifierStation, favouriteEntity.identifierStation) && Intrinsics.areEqual(this.stationName, favouriteEntity.stationName) && Intrinsics.areEqual(this.identifierToStation, favouriteEntity.identifierToStation) && Intrinsics.areEqual(this.stationToName, favouriteEntity.stationToName) && Intrinsics.areEqual(this.type, favouriteEntity.type) && Intrinsics.areEqual(this.isCercanias, favouriteEntity.isCercanias) && Intrinsics.areEqual(this.isRodalies, favouriteEntity.isRodalies);
|
||||
}
|
||||
|
||||
public final int getFavouriteId() {
|
||||
return this.favouriteId;
|
||||
}
|
||||
|
||||
public final String getIdentifierStation() {
|
||||
return this.identifierStation;
|
||||
}
|
||||
|
||||
public final String getIdentifierToStation() {
|
||||
return this.identifierToStation;
|
||||
}
|
||||
|
||||
public final String getStationName() {
|
||||
return this.stationName;
|
||||
}
|
||||
|
||||
public final String getStationToName() {
|
||||
return this.stationToName;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = Integer.hashCode(this.favouriteId) * 31;
|
||||
String str = this.identifierStation;
|
||||
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.stationName;
|
||||
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.identifierToStation;
|
||||
int hashCode4 = (hashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.stationToName;
|
||||
int d4 = a.d(this.type, (hashCode4 + (str4 == null ? 0 : str4.hashCode())) * 31, 31);
|
||||
Boolean bool = this.isCercanias;
|
||||
int hashCode5 = (d4 + (bool == null ? 0 : bool.hashCode())) * 31;
|
||||
Boolean bool2 = this.isRodalies;
|
||||
return hashCode5 + (bool2 != null ? bool2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final Boolean isCercanias() {
|
||||
return this.isCercanias;
|
||||
}
|
||||
|
||||
public final Boolean isRodalies() {
|
||||
return this.isRodalies;
|
||||
}
|
||||
|
||||
public final void setIdentifierStation(String str) {
|
||||
this.identifierStation = str;
|
||||
}
|
||||
|
||||
public final void setIdentifierToStation(String str) {
|
||||
this.identifierToStation = str;
|
||||
}
|
||||
|
||||
public final void setStationName(String str) {
|
||||
this.stationName = str;
|
||||
}
|
||||
|
||||
public final void setStationToName(String str) {
|
||||
this.stationToName = str;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "FavouriteEntity(favouriteId=" + this.favouriteId + ", identifierStation=" + this.identifierStation + ", stationName=" + this.stationName + ", identifierToStation=" + this.identifierToStation + ", stationToName=" + this.stationToName + ", type=" + this.type + ", isCercanias=" + this.isCercanias + ", isRodalies=" + this.isRodalies + ')';
|
||||
}
|
||||
|
||||
public /* synthetic */ FavouriteEntity(int i, String str, String str2, String str3, String str4, String str5, Boolean bool, Boolean bool2, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i4 & 1) != 0 ? 0 : i, str, str2, str3, str4, str5, bool, bool2);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\fJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0007HÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003Ja\u0010\u001f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010 \u001a\u00020!2\b\u0010\"\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010#\u001a\u00020$HÖ\u0001J\t\u0010%\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000eR\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u000eR\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000e¨\u0006&"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/FavouriteTrainEntity;", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "timeStationFrom", "timeStationTo", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDestinationStationCode", "getLaunchingDate", "()J", "getOperator", "getOriginStationCode", "getTimeStationFrom", "getTimeStationTo", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class FavouriteTrainEntity {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String operator;
|
||||
private final String originStationCode;
|
||||
private final String timeStationFrom;
|
||||
private final String timeStationTo;
|
||||
|
||||
public FavouriteTrainEntity(String commercialNumber, String originStationCode, String destinationStationCode, long j4, String str, String str2, String str3, String str4) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
this.launchingDate = j4;
|
||||
this.operator = str;
|
||||
this.commercialProduct = str2;
|
||||
this.timeStationFrom = str3;
|
||||
this.timeStationTo = str4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ FavouriteTrainEntity copy$default(FavouriteTrainEntity favouriteTrainEntity, String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = favouriteTrainEntity.commercialNumber;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = favouriteTrainEntity.originStationCode;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = favouriteTrainEntity.destinationStationCode;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
j4 = favouriteTrainEntity.launchingDate;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str4 = favouriteTrainEntity.operator;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str5 = favouriteTrainEntity.commercialProduct;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str6 = favouriteTrainEntity.timeStationFrom;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str7 = favouriteTrainEntity.timeStationTo;
|
||||
}
|
||||
long j5 = j4;
|
||||
String str8 = str3;
|
||||
return favouriteTrainEntity.copy(str, str2, str8, j5, str4, str5, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getTimeStationFrom() {
|
||||
return this.timeStationFrom;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTimeStationTo() {
|
||||
return this.timeStationTo;
|
||||
}
|
||||
|
||||
public final FavouriteTrainEntity copy(String commercialNumber, String originStationCode, String destinationStationCode, long launchingDate, String operator, String commercialProduct, String timeStationFrom, String timeStationTo) {
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new FavouriteTrainEntity(commercialNumber, originStationCode, destinationStationCode, launchingDate, operator, commercialProduct, timeStationFrom, timeStationTo);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof FavouriteTrainEntity)) {
|
||||
return false;
|
||||
}
|
||||
FavouriteTrainEntity favouriteTrainEntity = (FavouriteTrainEntity) other;
|
||||
return Intrinsics.areEqual(this.commercialNumber, favouriteTrainEntity.commercialNumber) && Intrinsics.areEqual(this.originStationCode, favouriteTrainEntity.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, favouriteTrainEntity.destinationStationCode) && this.launchingDate == favouriteTrainEntity.launchingDate && Intrinsics.areEqual(this.operator, favouriteTrainEntity.operator) && Intrinsics.areEqual(this.commercialProduct, favouriteTrainEntity.commercialProduct) && Intrinsics.areEqual(this.timeStationFrom, favouriteTrainEntity.timeStationFrom) && Intrinsics.areEqual(this.timeStationTo, favouriteTrainEntity.timeStationTo);
|
||||
}
|
||||
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public final String getTimeStationFrom() {
|
||||
return this.timeStationFrom;
|
||||
}
|
||||
|
||||
public final String getTimeStationTo() {
|
||||
return this.timeStationTo;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int b4 = a.b(this.launchingDate, a.d(this.destinationStationCode, a.d(this.originStationCode, this.commercialNumber.hashCode() * 31, 31), 31), 31);
|
||||
String str = this.operator;
|
||||
int hashCode = (b4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.commercialProduct;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.timeStationFrom;
|
||||
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.timeStationTo;
|
||||
return hashCode3 + (str4 != null ? str4.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("FavouriteTrainEntity(commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
sb.append(this.destinationStationCode);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
sb.append(this.commercialProduct);
|
||||
sb.append(", timeStationFrom=");
|
||||
sb.append(this.timeStationFrom);
|
||||
sb.append(", timeStationTo=");
|
||||
return a.n(sb, this.timeStationTo, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\r\n\u0002\u0010\u000e\n\u0000\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\t\u0010\r\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00052\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001R\u001a\u0010\u0004\u001a\u00020\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0004\u0010\u0007\"\u0004\b\b\u0010\tR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/FilterEntity;", "", "key", "", "isEnabled", "", "(IZ)V", "()Z", "setEnabled", "(Z)V", "getKey", "()I", "component1", "component2", "copy", "equals", "other", "hashCode", "toString", "", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class FilterEntity {
|
||||
private boolean isEnabled;
|
||||
private final int key;
|
||||
|
||||
public FilterEntity(int i, boolean z3) {
|
||||
this.key = i;
|
||||
this.isEnabled = z3;
|
||||
}
|
||||
|
||||
public static /* synthetic */ FilterEntity copy$default(FilterEntity filterEntity, int i, boolean z3, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = filterEntity.key;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
z3 = filterEntity.isEnabled;
|
||||
}
|
||||
return filterEntity.copy(i, z3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final boolean getIsEnabled() {
|
||||
return this.isEnabled;
|
||||
}
|
||||
|
||||
public final FilterEntity copy(int key, boolean isEnabled) {
|
||||
return new FilterEntity(key, isEnabled);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
int i = this.key;
|
||||
FilterEntity filterEntity = (FilterEntity) other;
|
||||
Object valueOf = filterEntity != null ? Integer.valueOf(filterEntity.key) : Boolean.FALSE;
|
||||
return (valueOf instanceof Integer) && i == ((Number) valueOf).intValue();
|
||||
}
|
||||
|
||||
public final int getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Boolean.hashCode(this.isEnabled) + (Integer.hashCode(this.key) * 31);
|
||||
}
|
||||
|
||||
public final boolean isEnabled() {
|
||||
return this.isEnabled;
|
||||
}
|
||||
|
||||
public final void setEnabled(boolean z3) {
|
||||
this.isEnabled = z3;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "FilterEntity(key=" + this.key + ", isEnabled=" + this.isEnabled + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001R\u001a\u0010\u0004\u001a\u00020\u0005X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\nR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u0016"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/OperatorLogoValidityEntity;", "", "key", "", "epoch", "", "(Ljava/lang/String;J)V", "getEpoch", "()J", "setEpoch", "(J)V", "getKey", "()Ljava/lang/String;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class OperatorLogoValidityEntity {
|
||||
private long epoch;
|
||||
private final String key;
|
||||
|
||||
public OperatorLogoValidityEntity(String key, long j4) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
this.key = key;
|
||||
this.epoch = j4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ OperatorLogoValidityEntity copy$default(OperatorLogoValidityEntity operatorLogoValidityEntity, String str, long j4, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = operatorLogoValidityEntity.key;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
j4 = operatorLogoValidityEntity.epoch;
|
||||
}
|
||||
return operatorLogoValidityEntity.copy(str, j4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final long getEpoch() {
|
||||
return this.epoch;
|
||||
}
|
||||
|
||||
public final OperatorLogoValidityEntity copy(String key, long epoch) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
return new OperatorLogoValidityEntity(key, epoch);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OperatorLogoValidityEntity)) {
|
||||
return false;
|
||||
}
|
||||
OperatorLogoValidityEntity operatorLogoValidityEntity = (OperatorLogoValidityEntity) other;
|
||||
return Intrinsics.areEqual(this.key, operatorLogoValidityEntity.key) && this.epoch == operatorLogoValidityEntity.epoch;
|
||||
}
|
||||
|
||||
public final long getEpoch() {
|
||||
return this.epoch;
|
||||
}
|
||||
|
||||
public final String getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Long.hashCode(this.epoch) + (this.key.hashCode() * 31);
|
||||
}
|
||||
|
||||
public final void setEpoch(long j4) {
|
||||
this.epoch = j4;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "OperatorLogoValidityEntity(key=" + this.key + ", epoch=" + this.epoch + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import android.location.Location;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
|
||||
import java.io.Serializable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fH\u0016J\b\u0010\u0010\u001a\u00020\u0011H\u0016R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005R\u0012\u0010\u0006\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u0005R\u0012\u0010\b\u001a\u00020\tX¦\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u000b¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/StationBase;", "Ljava/io/Serializable;", "latitude", "", "getLatitude", "()D", "longitude", "getLongitude", "stId", "", "getStId", "()Ljava/lang/String;", "distanceTo", "", FirebaseAnalytics.Param.LOCATION, "Landroid/location/Location;", "isLocated", "", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface StationBase extends Serializable {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static float distanceTo(StationBase stationBase, Location location) {
|
||||
Intrinsics.checkNotNullParameter(location, "location");
|
||||
Location location2 = new Location(FirebaseAnalytics.Param.LOCATION);
|
||||
location2.setLatitude(stationBase.getLatitude());
|
||||
location2.setLongitude(stationBase.getLongitude());
|
||||
return location2.distanceTo(location);
|
||||
}
|
||||
|
||||
public static boolean isLocated(StationBase stationBase) {
|
||||
return (stationBase.getLatitude() == FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE && stationBase.getLongitude() == FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) ? false : true;
|
||||
}
|
||||
}
|
||||
|
||||
float distanceTo(Location location);
|
||||
|
||||
double getLatitude();
|
||||
|
||||
double getLongitude();
|
||||
|
||||
String getStId();
|
||||
|
||||
boolean isLocated();
|
||||
}
|
||||
@@ -0,0 +1,211 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b!\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001Bg\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0003\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u0006\u0010\u000b\u001a\u00020\n\u0012\u0006\u0010\f\u001a\u00020\r\u0012\b\u0010\u000e\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u000f\u001a\u00020\u0003\u0012\u0006\u0010\u0010\u001a\u00020\u0003¢\u0006\u0002\u0010\u0011J\t\u0010!\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\"\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010#\u001a\u00020\u0003HÆ\u0003J\t\u0010$\u001a\u00020\u0003HÆ\u0003J\t\u0010%\u001a\u00020\u0003HÆ\u0003J\t\u0010&\u001a\u00020\u0003HÆ\u0003J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\t\u0010(\u001a\u00020\u0003HÆ\u0003J\t\u0010)\u001a\u00020\u0003HÆ\u0003J\t\u0010*\u001a\u00020\nHÆ\u0003J\t\u0010+\u001a\u00020\nHÆ\u0003J\t\u0010,\u001a\u00020\rHÆ\u0003J\u0083\u0001\u0010-\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\u00032\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\n2\b\b\u0002\u0010\f\u001a\u00020\r2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u000f\u001a\u00020\u00032\b\b\u0002\u0010\u0010\u001a\u00020\u0003HÆ\u0001J\u0013\u0010.\u001a\u00020/2\b\u00100\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00101\u001a\u00020\rHÖ\u0001J\t\u00102\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0010\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\u000e\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0013R\u0011\u0010\u000f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0013R\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0013R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0013R\u0011\u0010\u000b\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0017R\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0013R\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0013R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u0013R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u0013R\u0011\u0010\f\u001a\u00020\r¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 ¨\u00063"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/StationEntity;", "", "stationCode", "", "stationType", "longName", "shortName", "longNameToFind", "shortNameToFind", "latitude", "", "longitude", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "", "commercialZoneType", "commuterNetwork", "akaName", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;DDILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getAkaName", "()Ljava/lang/String;", "getCommercialZoneType", "getCommuterNetwork", "getLatitude", "()D", "getLongName", "getLongNameToFind", "getLongitude", "getShortName", "getShortNameToFind", "getStationCode", "getStationType", "getTrafficType", "()I", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StationEntity {
|
||||
private final String akaName;
|
||||
private final String commercialZoneType;
|
||||
private final String commuterNetwork;
|
||||
private final double latitude;
|
||||
private final String longName;
|
||||
private final String longNameToFind;
|
||||
private final double longitude;
|
||||
private final String shortName;
|
||||
private final String shortNameToFind;
|
||||
private final String stationCode;
|
||||
private final String stationType;
|
||||
private final int trafficType;
|
||||
|
||||
public StationEntity(String stationCode, String stationType, String longName, String shortName, String longNameToFind, String shortNameToFind, double d4, double d5, int i, String str, String commuterNetwork, String akaName) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationType, "stationType");
|
||||
Intrinsics.checkNotNullParameter(longName, "longName");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(longNameToFind, "longNameToFind");
|
||||
Intrinsics.checkNotNullParameter(shortNameToFind, "shortNameToFind");
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
Intrinsics.checkNotNullParameter(akaName, "akaName");
|
||||
this.stationCode = stationCode;
|
||||
this.stationType = stationType;
|
||||
this.longName = longName;
|
||||
this.shortName = shortName;
|
||||
this.longNameToFind = longNameToFind;
|
||||
this.shortNameToFind = shortNameToFind;
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
this.trafficType = i;
|
||||
this.commercialZoneType = str;
|
||||
this.commuterNetwork = commuterNetwork;
|
||||
this.akaName = akaName;
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
/* renamed from: component11, reason: from getter */
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
/* renamed from: component12, reason: from getter */
|
||||
public final String getAkaName() {
|
||||
return this.akaName;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getStationType() {
|
||||
return this.stationType;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getLongName() {
|
||||
return this.longName;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getLongNameToFind() {
|
||||
return this.longNameToFind;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getShortNameToFind() {
|
||||
return this.shortNameToFind;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final int getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public final StationEntity copy(String stationCode, String stationType, String longName, String shortName, String longNameToFind, String shortNameToFind, double latitude, double longitude, int trafficType, String commercialZoneType, String commuterNetwork, String akaName) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
Intrinsics.checkNotNullParameter(stationType, "stationType");
|
||||
Intrinsics.checkNotNullParameter(longName, "longName");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(longNameToFind, "longNameToFind");
|
||||
Intrinsics.checkNotNullParameter(shortNameToFind, "shortNameToFind");
|
||||
Intrinsics.checkNotNullParameter(commuterNetwork, "commuterNetwork");
|
||||
Intrinsics.checkNotNullParameter(akaName, "akaName");
|
||||
return new StationEntity(stationCode, stationType, longName, shortName, longNameToFind, shortNameToFind, latitude, longitude, trafficType, commercialZoneType, commuterNetwork, akaName);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StationEntity)) {
|
||||
return false;
|
||||
}
|
||||
StationEntity stationEntity = (StationEntity) other;
|
||||
return Intrinsics.areEqual(this.stationCode, stationEntity.stationCode) && Intrinsics.areEqual(this.stationType, stationEntity.stationType) && Intrinsics.areEqual(this.longName, stationEntity.longName) && Intrinsics.areEqual(this.shortName, stationEntity.shortName) && Intrinsics.areEqual(this.longNameToFind, stationEntity.longNameToFind) && Intrinsics.areEqual(this.shortNameToFind, stationEntity.shortNameToFind) && Double.compare(this.latitude, stationEntity.latitude) == 0 && Double.compare(this.longitude, stationEntity.longitude) == 0 && this.trafficType == stationEntity.trafficType && Intrinsics.areEqual(this.commercialZoneType, stationEntity.commercialZoneType) && Intrinsics.areEqual(this.commuterNetwork, stationEntity.commuterNetwork) && Intrinsics.areEqual(this.akaName, stationEntity.akaName);
|
||||
}
|
||||
|
||||
public final String getAkaName() {
|
||||
return this.akaName;
|
||||
}
|
||||
|
||||
public final String getCommercialZoneType() {
|
||||
return this.commercialZoneType;
|
||||
}
|
||||
|
||||
public final String getCommuterNetwork() {
|
||||
return this.commuterNetwork;
|
||||
}
|
||||
|
||||
public final double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final String getLongName() {
|
||||
return this.longName;
|
||||
}
|
||||
|
||||
public final String getLongNameToFind() {
|
||||
return this.longNameToFind;
|
||||
}
|
||||
|
||||
public final double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getShortNameToFind() {
|
||||
return this.shortNameToFind;
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final String getStationType() {
|
||||
return this.stationType;
|
||||
}
|
||||
|
||||
public final int getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int x3 = w.x(this.trafficType, (Double.hashCode(this.longitude) + ((Double.hashCode(this.latitude) + a.d(this.shortNameToFind, a.d(this.longNameToFind, a.d(this.shortName, a.d(this.longName, a.d(this.stationType, this.stationCode.hashCode() * 31, 31), 31), 31), 31), 31)) * 31)) * 31, 31);
|
||||
String str = this.commercialZoneType;
|
||||
return this.akaName.hashCode() + a.d(this.commuterNetwork, (x3 + (str == null ? 0 : str.hashCode())) * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("StationEntity(stationCode=");
|
||||
sb.append(this.stationCode);
|
||||
sb.append(", stationType=");
|
||||
sb.append(this.stationType);
|
||||
sb.append(", longName=");
|
||||
sb.append(this.longName);
|
||||
sb.append(", shortName=");
|
||||
sb.append(this.shortName);
|
||||
sb.append(", longNameToFind=");
|
||||
sb.append(this.longNameToFind);
|
||||
sb.append(", shortNameToFind=");
|
||||
sb.append(this.shortNameToFind);
|
||||
sb.append(", latitude=");
|
||||
sb.append(this.latitude);
|
||||
sb.append(", longitude=");
|
||||
sb.append(this.longitude);
|
||||
sb.append(", trafficType=");
|
||||
sb.append(this.trafficType);
|
||||
sb.append(", commercialZoneType=");
|
||||
sb.append(this.commercialZoneType);
|
||||
sb.append(", commuterNetwork=");
|
||||
sb.append(this.commuterNetwork);
|
||||
sb.append(", akaName=");
|
||||
return a.n(sb, this.akaName, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0015HÖ\u0001R\u001c\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0016"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/StationFavouritesEntity;", "", "station", "Lcom/adif/elcanomovil/serviceStorage/model/StationEntity;", "favourites", "", "Lcom/adif/elcanomovil/serviceStorage/model/FavouriteEntity;", "(Lcom/adif/elcanomovil/serviceStorage/model/StationEntity;Ljava/util/List;)V", "getFavourites", "()Ljava/util/List;", "getStation", "()Lcom/adif/elcanomovil/serviceStorage/model/StationEntity;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StationFavouritesEntity {
|
||||
private final List<FavouriteEntity> favourites;
|
||||
private final StationEntity station;
|
||||
|
||||
public StationFavouritesEntity(StationEntity station, List<FavouriteEntity> favourites) {
|
||||
Intrinsics.checkNotNullParameter(station, "station");
|
||||
Intrinsics.checkNotNullParameter(favourites, "favourites");
|
||||
this.station = station;
|
||||
this.favourites = favourites;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ StationFavouritesEntity copy$default(StationFavouritesEntity stationFavouritesEntity, StationEntity stationEntity, List list, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
stationEntity = stationFavouritesEntity.station;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
list = stationFavouritesEntity.favourites;
|
||||
}
|
||||
return stationFavouritesEntity.copy(stationEntity, list);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final StationEntity getStation() {
|
||||
return this.station;
|
||||
}
|
||||
|
||||
public final List<FavouriteEntity> component2() {
|
||||
return this.favourites;
|
||||
}
|
||||
|
||||
public final StationFavouritesEntity copy(StationEntity station, List<FavouriteEntity> favourites) {
|
||||
Intrinsics.checkNotNullParameter(station, "station");
|
||||
Intrinsics.checkNotNullParameter(favourites, "favourites");
|
||||
return new StationFavouritesEntity(station, favourites);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StationFavouritesEntity)) {
|
||||
return false;
|
||||
}
|
||||
StationFavouritesEntity stationFavouritesEntity = (StationFavouritesEntity) other;
|
||||
return Intrinsics.areEqual(this.station, stationFavouritesEntity.station) && Intrinsics.areEqual(this.favourites, stationFavouritesEntity.favourites);
|
||||
}
|
||||
|
||||
public final List<FavouriteEntity> getFavourites() {
|
||||
return this.favourites;
|
||||
}
|
||||
|
||||
public final StationEntity getStation() {
|
||||
return this.station;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.favourites.hashCode() + (this.station.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("StationFavouritesEntity(station=");
|
||||
sb.append(this.station);
|
||||
sb.append(", favourites=");
|
||||
return a.o(sb, this.favourites, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001B\u000f\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006\u0082\u0001\u0001\u0007¨\u0006\b"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/StationStored;", "", "identifier", "", "(Ljava/lang/String;)V", "getIdentifier", "()Ljava/lang/String;", "Lcom/adif/elcanomovil/serviceStorage/model/StationStoredEntity;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class StationStored {
|
||||
private final String identifier;
|
||||
|
||||
public /* synthetic */ StationStored(String str, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str);
|
||||
}
|
||||
|
||||
public final String getIdentifier() {
|
||||
return this.identifier;
|
||||
}
|
||||
|
||||
private StationStored(String str) {
|
||||
this.identifier = str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/StationStoredEntity;", "Lcom/adif/elcanomovil/serviceStorage/model/StationStored;", "stationCode", "", "(Ljava/lang/String;)V", "getStationCode", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class StationStoredEntity extends StationStored {
|
||||
private final String stationCode;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public StationStoredEntity(String stationCode) {
|
||||
super(stationCode, null);
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
this.stationCode = stationCode;
|
||||
}
|
||||
|
||||
public static /* synthetic */ StationStoredEntity copy$default(StationStoredEntity stationStoredEntity, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = stationStoredEntity.stationCode;
|
||||
}
|
||||
return stationStoredEntity.copy(str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public final StationStoredEntity copy(String stationCode) {
|
||||
Intrinsics.checkNotNullParameter(stationCode, "stationCode");
|
||||
return new StationStoredEntity(stationCode);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof StationStoredEntity) && Intrinsics.areEqual(this.stationCode, ((StationStoredEntity) other).stationCode);
|
||||
}
|
||||
|
||||
public final String getStationCode() {
|
||||
return this.stationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.stationCode.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return a.n(new StringBuilder("StationStoredEntity(stationCode="), this.stationCode, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\t\n\u0002\b\r\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001BI\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\t\u0012\u0006\u0010\n\u001a\u00020\t\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\fR\u0014\u0010\u0005\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0004\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0007\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000eR\u0014\u0010\n\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0011R\u0016\u0010\u000b\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000eR\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000e\u0082\u0001\u0001\u0017¨\u0006\u0018"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/TrainStored;", "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "date", "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "observation", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDate", "()J", "getDestinationStationCode", "getLaunchingDate", "getObservation", "getOperator", "getOriginStationCode", "Lcom/adif/elcanomovil/serviceStorage/model/TrainStoredEntity;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class TrainStored {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final long date;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String observation;
|
||||
private final String operator;
|
||||
private final String originStationCode;
|
||||
|
||||
public /* synthetic */ TrainStored(String str, String str2, String str3, String str4, String str5, long j4, long j5, String str6, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, str2, str3, str4, str5, j4, j5, str6);
|
||||
}
|
||||
|
||||
public String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
public String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public long getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
public String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
public long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
public String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
private TrainStored(String str, String str2, String str3, String str4, String str5, long j4, long j5, String str6) {
|
||||
this.operator = str;
|
||||
this.commercialProduct = str2;
|
||||
this.commercialNumber = str3;
|
||||
this.originStationCode = str4;
|
||||
this.destinationStationCode = str5;
|
||||
this.date = j4;
|
||||
this.launchingDate = j5;
|
||||
this.observation = str6;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\t\n\u0002\b\u0017\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BG\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\t\u0012\u0006\u0010\n\u001a\u00020\t\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\fJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001c\u001a\u00020\tHÆ\u0003J\t\u0010\u001d\u001a\u00020\tHÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003J[\u0010\u001f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\n\u001a\u00020\t2\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010 \u001a\u00020!2\b\u0010\"\u001a\u0004\u0018\u00010#HÖ\u0003J\t\u0010$\u001a\u00020%HÖ\u0001J\t\u0010&\u001a\u00020\u0003HÖ\u0001R\u0014\u0010\u0005\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0004\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0007\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000eR\u0014\u0010\n\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0011R\u0016\u0010\u000b\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000eR\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000e¨\u0006'"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/TrainStoredEntity;", "Lcom/adif/elcanomovil/serviceStorage/model/TrainStored;", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "date", "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "observation", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "getCommercialProduct", "getDate", "()J", "getDestinationStationCode", "getLaunchingDate", "getObservation", "getOperator", "getOriginStationCode", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class TrainStoredEntity extends TrainStored {
|
||||
private final String commercialNumber;
|
||||
private final String commercialProduct;
|
||||
private final long date;
|
||||
private final String destinationStationCode;
|
||||
private final long launchingDate;
|
||||
private final String observation;
|
||||
private final String operator;
|
||||
private final String originStationCode;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public TrainStoredEntity(String operator, String commercialProduct, String commercialNumber, String originStationCode, String destinationStationCode, long j4, long j5, String str) {
|
||||
super(operator, commercialProduct, commercialNumber, originStationCode, destinationStationCode, j4, j5, str, null);
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
this.operator = operator;
|
||||
this.commercialProduct = commercialProduct;
|
||||
this.commercialNumber = commercialNumber;
|
||||
this.originStationCode = originStationCode;
|
||||
this.destinationStationCode = destinationStationCode;
|
||||
this.date = j4;
|
||||
this.launchingDate = j5;
|
||||
this.observation = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ TrainStoredEntity copy$default(TrainStoredEntity trainStoredEntity, String str, String str2, String str3, String str4, String str5, long j4, long j5, String str6, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = trainStoredEntity.operator;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = trainStoredEntity.commercialProduct;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = trainStoredEntity.commercialNumber;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
str4 = trainStoredEntity.originStationCode;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str5 = trainStoredEntity.destinationStationCode;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
j4 = trainStoredEntity.date;
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
j5 = trainStoredEntity.launchingDate;
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str6 = trainStoredEntity.observation;
|
||||
}
|
||||
String str7 = str6;
|
||||
long j6 = j5;
|
||||
long j7 = j4;
|
||||
String str8 = str5;
|
||||
String str9 = str3;
|
||||
return trainStoredEntity.copy(str, str2, str9, str4, str8, j7, j6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final long getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final TrainStoredEntity copy(String operator, String commercialProduct, String commercialNumber, String originStationCode, String destinationStationCode, long date, long launchingDate, String observation) {
|
||||
Intrinsics.checkNotNullParameter(operator, "operator");
|
||||
Intrinsics.checkNotNullParameter(commercialProduct, "commercialProduct");
|
||||
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
|
||||
Intrinsics.checkNotNullParameter(originStationCode, "originStationCode");
|
||||
Intrinsics.checkNotNullParameter(destinationStationCode, "destinationStationCode");
|
||||
return new TrainStoredEntity(operator, commercialProduct, commercialNumber, originStationCode, destinationStationCode, date, launchingDate, observation);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof TrainStoredEntity)) {
|
||||
return false;
|
||||
}
|
||||
TrainStoredEntity trainStoredEntity = (TrainStoredEntity) other;
|
||||
return Intrinsics.areEqual(this.operator, trainStoredEntity.operator) && Intrinsics.areEqual(this.commercialProduct, trainStoredEntity.commercialProduct) && Intrinsics.areEqual(this.commercialNumber, trainStoredEntity.commercialNumber) && Intrinsics.areEqual(this.originStationCode, trainStoredEntity.originStationCode) && Intrinsics.areEqual(this.destinationStationCode, trainStoredEntity.destinationStationCode) && this.date == trainStoredEntity.date && this.launchingDate == trainStoredEntity.launchingDate && Intrinsics.areEqual(this.observation, trainStoredEntity.observation);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getCommercialNumber() {
|
||||
return this.commercialNumber;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public long getDate() {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getDestinationStationCode() {
|
||||
return this.destinationStationCode;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public long getLaunchingDate() {
|
||||
return this.launchingDate;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.serviceStorage.model.TrainStored
|
||||
public String getOriginStationCode() {
|
||||
return this.originStationCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int b4 = a.b(this.launchingDate, a.b(this.date, a.d(this.destinationStationCode, a.d(this.originStationCode, a.d(this.commercialNumber, a.d(this.commercialProduct, this.operator.hashCode() * 31, 31), 31), 31), 31), 31), 31);
|
||||
String str = this.observation;
|
||||
return b4 + (str == null ? 0 : str.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TrainStoredEntity(operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
sb.append(this.commercialProduct);
|
||||
sb.append(", commercialNumber=");
|
||||
sb.append(this.commercialNumber);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.originStationCode);
|
||||
sb.append(", destinationStationCode=");
|
||||
sb.append(this.destinationStationCode);
|
||||
sb.append(", date=");
|
||||
sb.append(this.date);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.launchingDate);
|
||||
sb.append(", observation=");
|
||||
return a.n(sb, this.observation, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import R2.b;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0016\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;", "", "catId", "", "title", "(Ljava/lang/String;Ljava/lang/String;)V", "getCatId", "()Ljava/lang/String;", "getTitle", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStationCategoryEntity {
|
||||
|
||||
@b(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN)
|
||||
private final String catId;
|
||||
|
||||
@b("description")
|
||||
private final String title;
|
||||
|
||||
public AvisaStationCategoryEntity(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
this.catId = catId;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationCategoryEntity copy$default(AvisaStationCategoryEntity avisaStationCategoryEntity, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationCategoryEntity.catId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationCategoryEntity.title;
|
||||
}
|
||||
return avisaStationCategoryEntity.copy(str, str2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public final AvisaStationCategoryEntity copy(String catId, String title) {
|
||||
Intrinsics.checkNotNullParameter(catId, "catId");
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
return new AvisaStationCategoryEntity(catId, title);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationCategoryEntity)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationCategoryEntity avisaStationCategoryEntity = (AvisaStationCategoryEntity) other;
|
||||
return Intrinsics.areEqual(this.catId, avisaStationCategoryEntity.catId) && Intrinsics.areEqual(this.title, avisaStationCategoryEntity.title);
|
||||
}
|
||||
|
||||
public final String getCatId() {
|
||||
return this.catId;
|
||||
}
|
||||
|
||||
public final String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.title.hashCode() + (this.catId.hashCode() * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaStationCategoryEntity(catId=");
|
||||
sb.append(this.catId);
|
||||
sb.append(", title=");
|
||||
return a.n(sb, this.title, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0006\n\u0002\b\u0012\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B5\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\rJ\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\rJD\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u001dHÖ\u0001J\t\u0010\u001e\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\rR\u0015\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\u000f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000bR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000b¨\u0006\u001f"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;", "", "stId", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "code", "latitude", "", "longitude", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)V", "getCode", "()Ljava/lang/String;", "getLatitude", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getLongitude", "getName", "getStId", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;", "equals", "", "other", "hashCode", "", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaStationEntity {
|
||||
private final String code;
|
||||
private final Double latitude;
|
||||
private final Double longitude;
|
||||
private final String name;
|
||||
private final String stId;
|
||||
|
||||
public AvisaStationEntity(String stId, String name, String code, Double d4, Double d5) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
this.stId = stId;
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
this.latitude = d4;
|
||||
this.longitude = d5;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaStationEntity copy$default(AvisaStationEntity avisaStationEntity, String str, String str2, String str3, Double d4, Double d5, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = avisaStationEntity.stId;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = avisaStationEntity.name;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = avisaStationEntity.code;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
d4 = avisaStationEntity.latitude;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
d5 = avisaStationEntity.longitude;
|
||||
}
|
||||
Double d6 = d5;
|
||||
String str4 = str3;
|
||||
return avisaStationEntity.copy(str, str2, str4, d4, d6);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final AvisaStationEntity copy(String stId, String name, String code, Double latitude, Double longitude) {
|
||||
Intrinsics.checkNotNullParameter(stId, "stId");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(code, "code");
|
||||
return new AvisaStationEntity(stId, name, code, latitude, longitude);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaStationEntity)) {
|
||||
return false;
|
||||
}
|
||||
AvisaStationEntity avisaStationEntity = (AvisaStationEntity) other;
|
||||
return Intrinsics.areEqual(this.stId, avisaStationEntity.stId) && Intrinsics.areEqual(this.name, avisaStationEntity.name) && Intrinsics.areEqual(this.code, avisaStationEntity.code) && Intrinsics.areEqual((Object) this.latitude, (Object) avisaStationEntity.latitude) && Intrinsics.areEqual((Object) this.longitude, (Object) avisaStationEntity.longitude);
|
||||
}
|
||||
|
||||
public final String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public final Double getLatitude() {
|
||||
return this.latitude;
|
||||
}
|
||||
|
||||
public final Double getLongitude() {
|
||||
return this.longitude;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getStId() {
|
||||
return this.stId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.code, a.d(this.name, this.stId.hashCode() * 31, 31), 31);
|
||||
Double d5 = this.latitude;
|
||||
int hashCode = (d4 + (d5 == null ? 0 : d5.hashCode())) * 31;
|
||||
Double d6 = this.longitude;
|
||||
return hashCode + (d6 != null ? d6.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AvisaStationEntity(stId=" + this.stId + ", name=" + this.name + ", code=" + this.code + ", latitude=" + this.latitude + ", longitude=" + this.longitude + ')';
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public /* synthetic */ AvisaStationEntity(java.lang.String r3, java.lang.String r4, java.lang.String r5, java.lang.Double r6, java.lang.Double r7, int r8, kotlin.jvm.internal.DefaultConstructorMarker r9) {
|
||||
/*
|
||||
r2 = this;
|
||||
r9 = r8 & 8
|
||||
r0 = 0
|
||||
java.lang.Double r0 = java.lang.Double.valueOf(r0)
|
||||
if (r9 == 0) goto Lb
|
||||
r6 = r0
|
||||
Lb:
|
||||
r8 = r8 & 16
|
||||
if (r8 == 0) goto L10
|
||||
r7 = r0
|
||||
L10:
|
||||
r2.<init>(r3, r4, r5, r6, r7)
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.Double, java.lang.Double, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0010\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J;\u0010\u0016\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u0007HÖ\u0001J\t\u0010\u001b\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaToken;", "", "accessToken", "", "tokenType", "refreshToken", "expiresIn", "", "scope", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V", "getAccessToken", "()Ljava/lang/String;", "getExpiresIn", "()I", "getRefreshToken", "getScope", "getTokenType", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class AvisaToken {
|
||||
private final String accessToken;
|
||||
private final int expiresIn;
|
||||
private final String refreshToken;
|
||||
private final String scope;
|
||||
private final String tokenType;
|
||||
|
||||
public AvisaToken(String accessToken, String tokenType, String refreshToken, int i, String scope) {
|
||||
Intrinsics.checkNotNullParameter(accessToken, "accessToken");
|
||||
Intrinsics.checkNotNullParameter(tokenType, "tokenType");
|
||||
Intrinsics.checkNotNullParameter(refreshToken, "refreshToken");
|
||||
Intrinsics.checkNotNullParameter(scope, "scope");
|
||||
this.accessToken = accessToken;
|
||||
this.tokenType = tokenType;
|
||||
this.refreshToken = refreshToken;
|
||||
this.expiresIn = i;
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
public static /* synthetic */ AvisaToken copy$default(AvisaToken avisaToken, String str, String str2, String str3, int i, String str4, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
str = avisaToken.accessToken;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str2 = avisaToken.tokenType;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str3 = avisaToken.refreshToken;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
i = avisaToken.expiresIn;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str4 = avisaToken.scope;
|
||||
}
|
||||
String str5 = str4;
|
||||
String str6 = str3;
|
||||
return avisaToken.copy(str, str2, str6, i, str5);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getAccessToken() {
|
||||
return this.accessToken;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getExpiresIn() {
|
||||
return this.expiresIn;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getScope() {
|
||||
return this.scope;
|
||||
}
|
||||
|
||||
public final AvisaToken copy(String accessToken, String tokenType, String refreshToken, int expiresIn, String scope) {
|
||||
Intrinsics.checkNotNullParameter(accessToken, "accessToken");
|
||||
Intrinsics.checkNotNullParameter(tokenType, "tokenType");
|
||||
Intrinsics.checkNotNullParameter(refreshToken, "refreshToken");
|
||||
Intrinsics.checkNotNullParameter(scope, "scope");
|
||||
return new AvisaToken(accessToken, tokenType, refreshToken, expiresIn, scope);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof AvisaToken)) {
|
||||
return false;
|
||||
}
|
||||
AvisaToken avisaToken = (AvisaToken) other;
|
||||
return Intrinsics.areEqual(this.accessToken, avisaToken.accessToken) && Intrinsics.areEqual(this.tokenType, avisaToken.tokenType) && Intrinsics.areEqual(this.refreshToken, avisaToken.refreshToken) && this.expiresIn == avisaToken.expiresIn && Intrinsics.areEqual(this.scope, avisaToken.scope);
|
||||
}
|
||||
|
||||
public final String getAccessToken() {
|
||||
return this.accessToken;
|
||||
}
|
||||
|
||||
public final int getExpiresIn() {
|
||||
return this.expiresIn;
|
||||
}
|
||||
|
||||
public final String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
public final String getScope() {
|
||||
return this.scope;
|
||||
}
|
||||
|
||||
public final String getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.scope.hashCode() + w.x(this.expiresIn, a.d(this.refreshToken, a.d(this.tokenType, this.accessToken.hashCode() * 31, 31), 31), 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("AvisaToken(accessToken=");
|
||||
sb.append(this.accessToken);
|
||||
sb.append(", tokenType=");
|
||||
sb.append(this.tokenType);
|
||||
sb.append(", refreshToken=");
|
||||
sb.append(this.refreshToken);
|
||||
sb.append(", expiresIn=");
|
||||
sb.append(this.expiresIn);
|
||||
sb.append(", scope=");
|
||||
return a.n(sb, this.scope, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u001a\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001BU\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\n\u001a\u00020\b\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r¢\u0006\u0002\u0010\u000fJ\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010 \u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\bHÆ\u0003J\t\u0010\"\u001a\u00020\bHÆ\u0003J\t\u0010#\u001a\u00020\bHÆ\u0003J\u0010\u0010$\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0019J\u000f\u0010%\u001a\b\u0012\u0004\u0012\u00020\u000e0\rHÆ\u0003Jl\u0010&\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\b\b\u0002\u0010\t\u001a\u00020\b2\b\b\u0002\u0010\n\u001a\u00020\b2\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\u000e\b\u0002\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\rHÆ\u0001¢\u0006\u0002\u0010'J\u0013\u0010(\u001a\u00020)2\b\u0010*\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010+\u001a\u00020\u0003HÖ\u0001J\t\u0010,\u001a\u00020\bHÖ\u0001R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\n\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0017\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000e0\r¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0015\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u001a\u001a\u0004\b\u0018\u0010\u0019R\u0011\u0010\t\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0013R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0013R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u0011¨\u0006-"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceCommentEntity;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "createTime", "Ljava/util/Date;", "updatedTime", "type", "", "statusTypeId", "description", ServicePaths.IncidenceService.pathIncidenceId, "fixPhotos", "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidencePictureEntity;", "(ILjava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)V", "getCreateTime", "()Ljava/util/Date;", "getDescription", "()Ljava/lang/String;", "getFixPhotos", "()Ljava/util/List;", "getId", "()I", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getStatusTypeId", "getType", "getUpdatedTime", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "(ILjava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/List;)Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceCommentEntity;", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceCommentEntity {
|
||||
private final Date createTime;
|
||||
private final String description;
|
||||
private final List<IncidencePictureEntity> fixPhotos;
|
||||
private final int id;
|
||||
private final Integer incidenceId;
|
||||
private final String statusTypeId;
|
||||
private final String type;
|
||||
private final Date updatedTime;
|
||||
|
||||
public IncidenceCommentEntity(int i, Date date, Date date2, String str, String statusTypeId, String description, Integer num, List<IncidencePictureEntity> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
this.id = i;
|
||||
this.createTime = date;
|
||||
this.updatedTime = date2;
|
||||
this.type = str;
|
||||
this.statusTypeId = statusTypeId;
|
||||
this.description = description;
|
||||
this.incidenceId = num;
|
||||
this.fixPhotos = fixPhotos;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceCommentEntity copy$default(IncidenceCommentEntity incidenceCommentEntity, int i, Date date, Date date2, String str, String str2, String str3, Integer num, List list, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = incidenceCommentEntity.id;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
date = incidenceCommentEntity.createTime;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
date2 = incidenceCommentEntity.updatedTime;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str = incidenceCommentEntity.type;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str2 = incidenceCommentEntity.statusTypeId;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
str3 = incidenceCommentEntity.description;
|
||||
}
|
||||
if ((i4 & 64) != 0) {
|
||||
num = incidenceCommentEntity.incidenceId;
|
||||
}
|
||||
if ((i4 & 128) != 0) {
|
||||
list = incidenceCommentEntity.fixPhotos;
|
||||
}
|
||||
Integer num2 = num;
|
||||
List list2 = list;
|
||||
String str4 = str2;
|
||||
String str5 = str3;
|
||||
return incidenceCommentEntity.copy(i, date, date2, str, str4, str5, num2, list2);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureEntity> component8() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final IncidenceCommentEntity copy(int id, Date createTime, Date updatedTime, String type, String statusTypeId, String description, Integer incidenceId, List<IncidencePictureEntity> fixPhotos) {
|
||||
Intrinsics.checkNotNullParameter(statusTypeId, "statusTypeId");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(fixPhotos, "fixPhotos");
|
||||
return new IncidenceCommentEntity(id, createTime, updatedTime, type, statusTypeId, description, incidenceId, fixPhotos);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceCommentEntity)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceCommentEntity incidenceCommentEntity = (IncidenceCommentEntity) other;
|
||||
return this.id == incidenceCommentEntity.id && Intrinsics.areEqual(this.createTime, incidenceCommentEntity.createTime) && Intrinsics.areEqual(this.updatedTime, incidenceCommentEntity.updatedTime) && Intrinsics.areEqual(this.type, incidenceCommentEntity.type) && Intrinsics.areEqual(this.statusTypeId, incidenceCommentEntity.statusTypeId) && Intrinsics.areEqual(this.description, incidenceCommentEntity.description) && Intrinsics.areEqual(this.incidenceId, incidenceCommentEntity.incidenceId) && Intrinsics.areEqual(this.fixPhotos, incidenceCommentEntity.fixPhotos);
|
||||
}
|
||||
|
||||
public final Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureEntity> getFixPhotos() {
|
||||
return this.fixPhotos;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public final Date getUpdatedTime() {
|
||||
return this.updatedTime;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = Integer.hashCode(this.id) * 31;
|
||||
Date date = this.createTime;
|
||||
int hashCode2 = (hashCode + (date == null ? 0 : date.hashCode())) * 31;
|
||||
Date date2 = this.updatedTime;
|
||||
int hashCode3 = (hashCode2 + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str = this.type;
|
||||
int d4 = a.d(this.description, a.d(this.statusTypeId, (hashCode3 + (str == null ? 0 : str.hashCode())) * 31, 31), 31);
|
||||
Integer num = this.incidenceId;
|
||||
return this.fixPhotos.hashCode() + ((d4 + (num != null ? num.hashCode() : 0)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceCommentEntity(id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", createTime=");
|
||||
sb.append(this.createTime);
|
||||
sb.append(", updatedTime=");
|
||||
sb.append(this.updatedTime);
|
||||
sb.append(", type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", fixPhotos=");
|
||||
return a.o(sb, this.fixPhotos, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ IncidenceCommentEntity(int i, Date date, Date date2, String str, String str2, String str3, Integer num, List list, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i4 & 1) != 0 ? 0 : i, date, date2, str, str2, str3, num, list);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,260 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u001f\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001B}\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0005\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\u000e\u001a\u0004\u0018\u00010\u0005\u0012\u000e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010\u0012\u000e\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\u0002\u0010\u0014J\t\u0010%\u001a\u00020\u0003HÆ\u0003J\u000b\u0010&\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0011\u0010'\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010HÆ\u0003J\u0011\u0010(\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0003J\t\u0010)\u001a\u00020\u0005HÆ\u0003J\u000b\u0010*\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010+\u001a\u00020\u0003HÆ\u0003J\t\u0010,\u001a\u00020\u0005HÆ\u0003J\t\u0010-\u001a\u00020\u0003HÆ\u0003J\t\u0010.\u001a\u00020\u000bHÆ\u0003J\u000b\u0010/\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u000b\u00100\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u0099\u0001\u00101\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\u00052\b\b\u0002\u0010\t\u001a\u00020\u00032\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00052\u0010\b\u0002\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u00102\u0010\b\u0002\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010HÆ\u0001J\u0013\u00102\u001a\u0002032\b\u00104\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00105\u001a\u00020\u0003HÖ\u0001J\t\u00106\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u000e\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0019\u0010\u0012\u001a\n\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0016R\u0013\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001aR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0016R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u001eR\u0019\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0018R\u0013\u0010\r\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u001aR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b#\u0010\u0016R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b$\u0010\u001e¨\u00067"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "incidenceCode", "", "stationId", "statusTypeId", "description", "notificationTypeId", "createdTime", "Ljava/util/Date;", "estimatedDateTo", "solvedDate", "categoryId", "photos", "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidencePictureEntity;", "comments", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceCommentEntity;", "(ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;ILjava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V", "getCategoryId", "()Ljava/lang/String;", "getComments", "()Ljava/util/List;", "getCreatedTime", "()Ljava/util/Date;", "getDescription", "getEstimatedDateTo", "getId", "()I", "getIncidenceCode", "getNotificationTypeId", "getPhotos", "getSolvedDate", "getStationId", "getStatusTypeId", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceEntity {
|
||||
private final String categoryId;
|
||||
private final List<IncidenceCommentEntity> comments;
|
||||
private final Date createdTime;
|
||||
private final String description;
|
||||
private final Date estimatedDateTo;
|
||||
private final int id;
|
||||
private final String incidenceCode;
|
||||
private final int notificationTypeId;
|
||||
private final List<IncidencePictureEntity> photos;
|
||||
private final Date solvedDate;
|
||||
private final String stationId;
|
||||
private final int statusTypeId;
|
||||
|
||||
public IncidenceEntity(int i, String incidenceCode, String str, int i4, String description, int i5, Date createdTime, Date date, Date date2, String str2, List<IncidencePictureEntity> list, List<IncidenceCommentEntity> list2) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
this.id = i;
|
||||
this.incidenceCode = incidenceCode;
|
||||
this.stationId = str;
|
||||
this.statusTypeId = i4;
|
||||
this.description = description;
|
||||
this.notificationTypeId = i5;
|
||||
this.createdTime = createdTime;
|
||||
this.estimatedDateTo = date;
|
||||
this.solvedDate = date2;
|
||||
this.categoryId = str2;
|
||||
this.photos = list;
|
||||
this.comments = list2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceEntity copy$default(IncidenceEntity incidenceEntity, int i, String str, String str2, int i4, String str3, int i5, Date date, Date date2, Date date3, String str4, List list, List list2, int i6, Object obj) {
|
||||
if ((i6 & 1) != 0) {
|
||||
i = incidenceEntity.id;
|
||||
}
|
||||
if ((i6 & 2) != 0) {
|
||||
str = incidenceEntity.incidenceCode;
|
||||
}
|
||||
if ((i6 & 4) != 0) {
|
||||
str2 = incidenceEntity.stationId;
|
||||
}
|
||||
if ((i6 & 8) != 0) {
|
||||
i4 = incidenceEntity.statusTypeId;
|
||||
}
|
||||
if ((i6 & 16) != 0) {
|
||||
str3 = incidenceEntity.description;
|
||||
}
|
||||
if ((i6 & 32) != 0) {
|
||||
i5 = incidenceEntity.notificationTypeId;
|
||||
}
|
||||
if ((i6 & 64) != 0) {
|
||||
date = incidenceEntity.createdTime;
|
||||
}
|
||||
if ((i6 & 128) != 0) {
|
||||
date2 = incidenceEntity.estimatedDateTo;
|
||||
}
|
||||
if ((i6 & 256) != 0) {
|
||||
date3 = incidenceEntity.solvedDate;
|
||||
}
|
||||
if ((i6 & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
str4 = incidenceEntity.categoryId;
|
||||
}
|
||||
if ((i6 & 1024) != 0) {
|
||||
list = incidenceEntity.photos;
|
||||
}
|
||||
if ((i6 & 2048) != 0) {
|
||||
list2 = incidenceEntity.comments;
|
||||
}
|
||||
List list3 = list;
|
||||
List list4 = list2;
|
||||
Date date4 = date3;
|
||||
String str5 = str4;
|
||||
Date date5 = date;
|
||||
Date date6 = date2;
|
||||
String str6 = str3;
|
||||
int i7 = i5;
|
||||
return incidenceEntity.copy(i, str, str2, i4, str6, i7, date5, date6, date4, str5, list3, list4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureEntity> component11() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final List<IncidenceCommentEntity> component12() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final IncidenceEntity copy(int id, String incidenceCode, String stationId, int statusTypeId, String description, int notificationTypeId, Date createdTime, Date estimatedDateTo, Date solvedDate, String categoryId, List<IncidencePictureEntity> photos, List<IncidenceCommentEntity> comments) {
|
||||
Intrinsics.checkNotNullParameter(incidenceCode, "incidenceCode");
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(createdTime, "createdTime");
|
||||
return new IncidenceEntity(id, incidenceCode, stationId, statusTypeId, description, notificationTypeId, createdTime, estimatedDateTo, solvedDate, categoryId, photos, comments);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceEntity)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceEntity incidenceEntity = (IncidenceEntity) other;
|
||||
return this.id == incidenceEntity.id && Intrinsics.areEqual(this.incidenceCode, incidenceEntity.incidenceCode) && Intrinsics.areEqual(this.stationId, incidenceEntity.stationId) && this.statusTypeId == incidenceEntity.statusTypeId && Intrinsics.areEqual(this.description, incidenceEntity.description) && this.notificationTypeId == incidenceEntity.notificationTypeId && Intrinsics.areEqual(this.createdTime, incidenceEntity.createdTime) && Intrinsics.areEqual(this.estimatedDateTo, incidenceEntity.estimatedDateTo) && Intrinsics.areEqual(this.solvedDate, incidenceEntity.solvedDate) && Intrinsics.areEqual(this.categoryId, incidenceEntity.categoryId) && Intrinsics.areEqual(this.photos, incidenceEntity.photos) && Intrinsics.areEqual(this.comments, incidenceEntity.comments);
|
||||
}
|
||||
|
||||
public final String getCategoryId() {
|
||||
return this.categoryId;
|
||||
}
|
||||
|
||||
public final List<IncidenceCommentEntity> getComments() {
|
||||
return this.comments;
|
||||
}
|
||||
|
||||
public final Date getCreatedTime() {
|
||||
return this.createdTime;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final Date getEstimatedDateTo() {
|
||||
return this.estimatedDateTo;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final String getIncidenceCode() {
|
||||
return this.incidenceCode;
|
||||
}
|
||||
|
||||
public final int getNotificationTypeId() {
|
||||
return this.notificationTypeId;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureEntity> getPhotos() {
|
||||
return this.photos;
|
||||
}
|
||||
|
||||
public final Date getSolvedDate() {
|
||||
return this.solvedDate;
|
||||
}
|
||||
|
||||
public final String getStationId() {
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
public final int getStatusTypeId() {
|
||||
return this.statusTypeId;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.incidenceCode, Integer.hashCode(this.id) * 31, 31);
|
||||
String str = this.stationId;
|
||||
int hashCode = (this.createdTime.hashCode() + w.x(this.notificationTypeId, a.d(this.description, w.x(this.statusTypeId, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31), 31), 31)) * 31;
|
||||
Date date = this.estimatedDateTo;
|
||||
int hashCode2 = (hashCode + (date == null ? 0 : date.hashCode())) * 31;
|
||||
Date date2 = this.solvedDate;
|
||||
int hashCode3 = (hashCode2 + (date2 == null ? 0 : date2.hashCode())) * 31;
|
||||
String str2 = this.categoryId;
|
||||
int hashCode4 = (hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
List<IncidencePictureEntity> list = this.photos;
|
||||
int hashCode5 = (hashCode4 + (list == null ? 0 : list.hashCode())) * 31;
|
||||
List<IncidenceCommentEntity> list2 = this.comments;
|
||||
return hashCode5 + (list2 != null ? list2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidenceEntity(id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", incidenceCode=");
|
||||
sb.append(this.incidenceCode);
|
||||
sb.append(", stationId=");
|
||||
sb.append(this.stationId);
|
||||
sb.append(", statusTypeId=");
|
||||
sb.append(this.statusTypeId);
|
||||
sb.append(", description=");
|
||||
sb.append(this.description);
|
||||
sb.append(", notificationTypeId=");
|
||||
sb.append(this.notificationTypeId);
|
||||
sb.append(", createdTime=");
|
||||
sb.append(this.createdTime);
|
||||
sb.append(", estimatedDateTo=");
|
||||
sb.append(this.estimatedDateTo);
|
||||
sb.append(", solvedDate=");
|
||||
sb.append(this.solvedDate);
|
||||
sb.append(", categoryId=");
|
||||
sb.append(this.categoryId);
|
||||
sb.append(", photos=");
|
||||
sb.append(this.photos);
|
||||
sb.append(", comments=");
|
||||
return a.o(sb, this.comments, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001B=\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\nJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0005HÆ\u0003J\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0010J\u0010\u0010\u0019\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0010J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0005HÆ\u0003JP\u0010\u001b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u001cJ\u0013\u0010\u001d\u001a\u00020\u001e2\b\u0010\u001f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010 \u001a\u00020\u0003HÖ\u0001J\t\u0010!\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0015\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\fR\u0015\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u0013\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\f¨\u0006\""}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidencePictureEntity;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "type", "", FirebaseAnalytics.Param.CONTENT, "thumbnail", ServicePaths.IncidenceService.pathIncidenceId, NavArguments.ARG_DYNAMIC_LINKS_TAB, "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)V", "getContent", "()Ljava/lang/String;", "getId", "()I", "getIncidenceId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getPath", "getThumbnail", "getType", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;)Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidencePictureEntity;", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidencePictureEntity {
|
||||
private final String content;
|
||||
private final int id;
|
||||
private final Integer incidenceId;
|
||||
private final String path;
|
||||
private final Integer thumbnail;
|
||||
private final String type;
|
||||
|
||||
public IncidencePictureEntity(int i, String type, String content, Integer num, Integer num2, String str) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
this.id = i;
|
||||
this.type = type;
|
||||
this.content = content;
|
||||
this.thumbnail = num;
|
||||
this.incidenceId = num2;
|
||||
this.path = str;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidencePictureEntity copy$default(IncidencePictureEntity incidencePictureEntity, int i, String str, String str2, Integer num, Integer num2, String str3, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = incidencePictureEntity.id;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = incidencePictureEntity.type;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str2 = incidencePictureEntity.content;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
num = incidencePictureEntity.thumbnail;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
num2 = incidencePictureEntity.incidenceId;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
str3 = incidencePictureEntity.path;
|
||||
}
|
||||
Integer num3 = num2;
|
||||
String str4 = str3;
|
||||
return incidencePictureEntity.copy(i, str, str2, num, num3, str4);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final IncidencePictureEntity copy(int id, String type, String content, Integer thumbnail, Integer incidenceId, String path) {
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
Intrinsics.checkNotNullParameter(content, "content");
|
||||
return new IncidencePictureEntity(id, type, content, thumbnail, incidenceId, path);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidencePictureEntity)) {
|
||||
return false;
|
||||
}
|
||||
IncidencePictureEntity incidencePictureEntity = (IncidencePictureEntity) other;
|
||||
return this.id == incidencePictureEntity.id && Intrinsics.areEqual(this.type, incidencePictureEntity.type) && Intrinsics.areEqual(this.content, incidencePictureEntity.content) && Intrinsics.areEqual(this.thumbnail, incidencePictureEntity.thumbnail) && Intrinsics.areEqual(this.incidenceId, incidencePictureEntity.incidenceId) && Intrinsics.areEqual(this.path, incidencePictureEntity.path);
|
||||
}
|
||||
|
||||
public final String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final Integer getIncidenceId() {
|
||||
return this.incidenceId;
|
||||
}
|
||||
|
||||
public final String getPath() {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
public final Integer getThumbnail() {
|
||||
return this.thumbnail;
|
||||
}
|
||||
|
||||
public final String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.content, a.d(this.type, Integer.hashCode(this.id) * 31, 31), 31);
|
||||
Integer num = this.thumbnail;
|
||||
int hashCode = (d4 + (num == null ? 0 : num.hashCode())) * 31;
|
||||
Integer num2 = this.incidenceId;
|
||||
int hashCode2 = (hashCode + (num2 == null ? 0 : num2.hashCode())) * 31;
|
||||
String str = this.path;
|
||||
return hashCode2 + (str != null ? str.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("IncidencePictureEntity(id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", type=");
|
||||
sb.append(this.type);
|
||||
sb.append(", content=");
|
||||
sb.append(this.content);
|
||||
sb.append(", thumbnail=");
|
||||
sb.append(this.thumbnail);
|
||||
sb.append(", incidenceId=");
|
||||
sb.append(this.incidenceId);
|
||||
sb.append(", path=");
|
||||
return a.n(sb, this.path, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ IncidencePictureEntity(int i, String str, String str2, Integer num, Integer num2, String str3, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i4 & 1) != 0 ? 0 : i, str, str2, num, num2, str3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.avisa;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0087\b\u0018\u00002\u00020\u0001B)\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u0010J\t\u0010\u0015\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0017\u001a\u00020\tHÆ\u0003J8\u0010\u0018\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\tHÆ\u0001¢\u0006\u0002\u0010\u0019J\u0013\u0010\u001a\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001J\t\u0010\u001e\u001a\u00020\u001fHÖ\u0001R\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0016\u0010\b\u001a\u00020\t8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u001a\u0010\u0002\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0016\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013¨\u0006 "}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceStationEntity;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "incidence", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;", "avisaStation", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;", "categoryAvisa", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;", "(Ljava/lang/Integer;Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;)V", "getAvisaStation", "()Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;", "getCategoryAvisa", "()Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;", "getId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getIncidence", "()Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;", "component1", "component2", "component3", "component4", "copy", "(Ljava/lang/Integer;Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceEntity;Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationEntity;Lcom/adif/elcanomovil/serviceStorage/model/avisa/AvisaStationCategoryEntity;)Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceStationEntity;", "equals", "", "other", "hashCode", "toString", "", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class IncidenceStationEntity {
|
||||
private final AvisaStationEntity avisaStation;
|
||||
private final AvisaStationCategoryEntity categoryAvisa;
|
||||
private final Integer id;
|
||||
private final IncidenceEntity incidence;
|
||||
|
||||
public IncidenceStationEntity(Integer num, IncidenceEntity incidence, AvisaStationEntity avisaStation, AvisaStationCategoryEntity categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
this.id = num;
|
||||
this.incidence = incidence;
|
||||
this.avisaStation = avisaStation;
|
||||
this.categoryAvisa = categoryAvisa;
|
||||
}
|
||||
|
||||
public static /* synthetic */ IncidenceStationEntity copy$default(IncidenceStationEntity incidenceStationEntity, Integer num, IncidenceEntity incidenceEntity, AvisaStationEntity avisaStationEntity, AvisaStationCategoryEntity avisaStationCategoryEntity, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
num = incidenceStationEntity.id;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
incidenceEntity = incidenceStationEntity.incidence;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
avisaStationEntity = incidenceStationEntity.avisaStation;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
avisaStationCategoryEntity = incidenceStationEntity.categoryAvisa;
|
||||
}
|
||||
return incidenceStationEntity.copy(num, incidenceEntity, avisaStationEntity, avisaStationCategoryEntity);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Integer getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final IncidenceEntity getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final AvisaStationEntity getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final AvisaStationCategoryEntity getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final IncidenceStationEntity copy(Integer id, IncidenceEntity incidence, AvisaStationEntity avisaStation, AvisaStationCategoryEntity categoryAvisa) {
|
||||
Intrinsics.checkNotNullParameter(incidence, "incidence");
|
||||
Intrinsics.checkNotNullParameter(avisaStation, "avisaStation");
|
||||
Intrinsics.checkNotNullParameter(categoryAvisa, "categoryAvisa");
|
||||
return new IncidenceStationEntity(id, incidence, avisaStation, categoryAvisa);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof IncidenceStationEntity)) {
|
||||
return false;
|
||||
}
|
||||
IncidenceStationEntity incidenceStationEntity = (IncidenceStationEntity) other;
|
||||
return Intrinsics.areEqual(this.id, incidenceStationEntity.id) && Intrinsics.areEqual(this.incidence, incidenceStationEntity.incidence) && Intrinsics.areEqual(this.avisaStation, incidenceStationEntity.avisaStation) && Intrinsics.areEqual(this.categoryAvisa, incidenceStationEntity.categoryAvisa);
|
||||
}
|
||||
|
||||
public final AvisaStationEntity getAvisaStation() {
|
||||
return this.avisaStation;
|
||||
}
|
||||
|
||||
public final AvisaStationCategoryEntity getCategoryAvisa() {
|
||||
return this.categoryAvisa;
|
||||
}
|
||||
|
||||
public final Integer getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final IncidenceEntity getIncidence() {
|
||||
return this.incidence;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
Integer num = this.id;
|
||||
return this.categoryAvisa.hashCode() + ((this.avisaStation.hashCode() + ((this.incidence.hashCode() + ((num == null ? 0 : num.hashCode()) * 31)) * 31)) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "IncidenceStationEntity(id=" + this.id + ", incidence=" + this.incidence + ", avisaStation=" + this.avisaStation + ", categoryAvisa=" + this.categoryAvisa + ')';
|
||||
}
|
||||
|
||||
public /* synthetic */ IncidenceStationEntity(Integer num, IncidenceEntity incidenceEntity, AvisaStationEntity avisaStationEntity, AvisaStationCategoryEntity avisaStationCategoryEntity, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i & 1) != 0 ? 0 : num, incidenceEntity, avisaStationEntity, avisaStationCategoryEntity);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.subscriptions;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u0006\n\u0002\b\u001a\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003Ja\u0010\"\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\f\u001a\u00020\u00032\b\b\u0002\u0010\r\u001a\u00020\u0003HÆ\u0001J\u0013\u0010#\u001a\u00020$2\b\u0010%\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010&\u001a\u00020\u0005HÖ\u0001J\t\u0010'\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010¨\u0006("}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/DestinationEntity;", "", "commercialZone", "", "customerService", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "latlong", "", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "observation", "shortName", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "(Ljava/lang/String;IILjava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialZone", "()Ljava/lang/String;", "getCustomerService", "()I", "getId", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class DestinationEntity {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private final int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public DestinationEntity(String commercialZone, int i, int i4, List<Double> latlong, String name, String str, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
this.commercialZone = commercialZone;
|
||||
this.customerService = i;
|
||||
this.id = i4;
|
||||
this.latlong = latlong;
|
||||
this.name = name;
|
||||
this.observation = str;
|
||||
this.shortName = shortName;
|
||||
this.trafficType = trafficType;
|
||||
}
|
||||
|
||||
public static /* synthetic */ DestinationEntity copy$default(DestinationEntity destinationEntity, String str, int i, int i4, List list, String str2, String str3, String str4, String str5, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = destinationEntity.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = destinationEntity.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = destinationEntity.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = destinationEntity.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = destinationEntity.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = destinationEntity.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = destinationEntity.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = destinationEntity.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return destinationEntity.copy(str, i, i4, list, str8, str9, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> component4() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public final DestinationEntity copy(String commercialZone, int customerService, int id, List<Double> latlong, String name, String observation, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new DestinationEntity(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof DestinationEntity)) {
|
||||
return false;
|
||||
}
|
||||
DestinationEntity destinationEntity = (DestinationEntity) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, destinationEntity.commercialZone) && this.customerService == destinationEntity.customerService && this.id == destinationEntity.id && Intrinsics.areEqual(this.latlong, destinationEntity.latlong) && Intrinsics.areEqual(this.name, destinationEntity.name) && Intrinsics.areEqual(this.observation, destinationEntity.observation) && Intrinsics.areEqual(this.shortName, destinationEntity.shortName) && Intrinsics.areEqual(this.trafficType, destinationEntity.trafficType);
|
||||
}
|
||||
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> getLatlong() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.name, (this.latlong.hashCode() + w.x(this.id, w.x(this.customerService, this.commercialZone.hashCode() * 31, 31), 31)) * 31, 31);
|
||||
String str = this.observation;
|
||||
return this.trafficType.hashCode() + a.d(this.shortName, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DestinationEntity(commercialZone=");
|
||||
sb.append(this.commercialZone);
|
||||
sb.append(", customerService=");
|
||||
sb.append(this.customerService);
|
||||
sb.append(", id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", latlong=");
|
||||
sb.append(this.latlong);
|
||||
sb.append(", name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.observation);
|
||||
sb.append(", shortName=");
|
||||
sb.append(this.shortName);
|
||||
sb.append(", trafficType=");
|
||||
return a.n(sb, this.trafficType, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.subscriptions;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u0006\n\u0002\b\u001a\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\t0\bHÆ\u0003J\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\u0003HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003Ja\u0010\"\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b2\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\f\u001a\u00020\u00032\b\b\u0002\u0010\r\u001a\u00020\u0003HÆ\u0001J\u0013\u0010#\u001a\u00020$2\b\u0010%\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010&\u001a\u00020\u0005HÖ\u0001J\t\u0010'\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0010R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0010R\u0011\u0010\f\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0010R\u0011\u0010\r\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0010¨\u0006("}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/OriginEntity;", "", "commercialZone", "", "customerService", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "latlong", "", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "observation", "shortName", NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "(Ljava/lang/String;IILjava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialZone", "()Ljava/lang/String;", "getCustomerService", "()I", "getId", "getLatlong", "()Ljava/util/List;", "getName", "getObservation", "getShortName", "getTrafficType", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class OriginEntity {
|
||||
private final String commercialZone;
|
||||
private final int customerService;
|
||||
private final int id;
|
||||
private final List<Double> latlong;
|
||||
private final String name;
|
||||
private final String observation;
|
||||
private final String shortName;
|
||||
private final String trafficType;
|
||||
|
||||
public OriginEntity(String commercialZone, int i, int i4, List<Double> latlong, String name, String str, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
this.commercialZone = commercialZone;
|
||||
this.customerService = i;
|
||||
this.id = i4;
|
||||
this.latlong = latlong;
|
||||
this.name = name;
|
||||
this.observation = str;
|
||||
this.shortName = shortName;
|
||||
this.trafficType = trafficType;
|
||||
}
|
||||
|
||||
public static /* synthetic */ OriginEntity copy$default(OriginEntity originEntity, String str, int i, int i4, List list, String str2, String str3, String str4, String str5, int i5, Object obj) {
|
||||
if ((i5 & 1) != 0) {
|
||||
str = originEntity.commercialZone;
|
||||
}
|
||||
if ((i5 & 2) != 0) {
|
||||
i = originEntity.customerService;
|
||||
}
|
||||
if ((i5 & 4) != 0) {
|
||||
i4 = originEntity.id;
|
||||
}
|
||||
if ((i5 & 8) != 0) {
|
||||
list = originEntity.latlong;
|
||||
}
|
||||
if ((i5 & 16) != 0) {
|
||||
str2 = originEntity.name;
|
||||
}
|
||||
if ((i5 & 32) != 0) {
|
||||
str3 = originEntity.observation;
|
||||
}
|
||||
if ((i5 & 64) != 0) {
|
||||
str4 = originEntity.shortName;
|
||||
}
|
||||
if ((i5 & 128) != 0) {
|
||||
str5 = originEntity.trafficType;
|
||||
}
|
||||
String str6 = str4;
|
||||
String str7 = str5;
|
||||
String str8 = str2;
|
||||
String str9 = str3;
|
||||
return originEntity.copy(str, i, i4, list, str8, str9, str6, str7);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> component4() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public final OriginEntity copy(String commercialZone, int customerService, int id, List<Double> latlong, String name, String observation, String shortName, String trafficType) {
|
||||
Intrinsics.checkNotNullParameter(commercialZone, "commercialZone");
|
||||
Intrinsics.checkNotNullParameter(latlong, "latlong");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(shortName, "shortName");
|
||||
Intrinsics.checkNotNullParameter(trafficType, "trafficType");
|
||||
return new OriginEntity(commercialZone, customerService, id, latlong, name, observation, shortName, trafficType);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof OriginEntity)) {
|
||||
return false;
|
||||
}
|
||||
OriginEntity originEntity = (OriginEntity) other;
|
||||
return Intrinsics.areEqual(this.commercialZone, originEntity.commercialZone) && this.customerService == originEntity.customerService && this.id == originEntity.id && Intrinsics.areEqual(this.latlong, originEntity.latlong) && Intrinsics.areEqual(this.name, originEntity.name) && Intrinsics.areEqual(this.observation, originEntity.observation) && Intrinsics.areEqual(this.shortName, originEntity.shortName) && Intrinsics.areEqual(this.trafficType, originEntity.trafficType);
|
||||
}
|
||||
|
||||
public final String getCommercialZone() {
|
||||
return this.commercialZone;
|
||||
}
|
||||
|
||||
public final int getCustomerService() {
|
||||
return this.customerService;
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final List<Double> getLatlong() {
|
||||
return this.latlong;
|
||||
}
|
||||
|
||||
public final String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public final String getObservation() {
|
||||
return this.observation;
|
||||
}
|
||||
|
||||
public final String getShortName() {
|
||||
return this.shortName;
|
||||
}
|
||||
|
||||
public final String getTrafficType() {
|
||||
return this.trafficType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.name, (this.latlong.hashCode() + w.x(this.id, w.x(this.customerService, this.commercialZone.hashCode() * 31, 31), 31)) * 31, 31);
|
||||
String str = this.observation;
|
||||
return this.trafficType.hashCode() + a.d(this.shortName, (d4 + (str == null ? 0 : str.hashCode())) * 31, 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OriginEntity(commercialZone=");
|
||||
sb.append(this.commercialZone);
|
||||
sb.append(", customerService=");
|
||||
sb.append(this.customerService);
|
||||
sb.append(", id=");
|
||||
sb.append(this.id);
|
||||
sb.append(", latlong=");
|
||||
sb.append(this.latlong);
|
||||
sb.append(", name=");
|
||||
sb.append(this.name);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.observation);
|
||||
sb.append(", shortName=");
|
||||
sb.append(this.shortName);
|
||||
sb.append(", trafficType=");
|
||||
return a.n(sb, this.trafficType, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.subscriptions;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001B+\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0005HÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0005HÆ\u0003J5\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0018\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n¨\u0006\u0019"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionAuxEntity;", "", "subcriptionAuxId", "", "subscriptionType", "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCommercialProduct", "()Ljava/lang/String;", "getOperator", "getSubcriptionAuxId", "()I", "getSubscriptionType", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class SubscriptionAuxEntity {
|
||||
private final String commercialProduct;
|
||||
private final String operator;
|
||||
private final int subcriptionAuxId;
|
||||
private final String subscriptionType;
|
||||
|
||||
public SubscriptionAuxEntity(int i, String subscriptionType, String str, String str2) {
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
this.subcriptionAuxId = i;
|
||||
this.subscriptionType = subscriptionType;
|
||||
this.operator = str;
|
||||
this.commercialProduct = str2;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionAuxEntity copy$default(SubscriptionAuxEntity subscriptionAuxEntity, int i, String str, String str2, String str3, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = subscriptionAuxEntity.subcriptionAuxId;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = subscriptionAuxEntity.subscriptionType;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
str2 = subscriptionAuxEntity.operator;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str3 = subscriptionAuxEntity.commercialProduct;
|
||||
}
|
||||
return subscriptionAuxEntity.copy(i, str, str2, str3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getSubcriptionAuxId() {
|
||||
return this.subcriptionAuxId;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final SubscriptionAuxEntity copy(int subcriptionAuxId, String subscriptionType, String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
return new SubscriptionAuxEntity(subcriptionAuxId, subscriptionType, operator, commercialProduct);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionAuxEntity)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionAuxEntity subscriptionAuxEntity = (SubscriptionAuxEntity) other;
|
||||
return this.subcriptionAuxId == subscriptionAuxEntity.subcriptionAuxId && Intrinsics.areEqual(this.subscriptionType, subscriptionAuxEntity.subscriptionType) && Intrinsics.areEqual(this.operator, subscriptionAuxEntity.operator) && Intrinsics.areEqual(this.commercialProduct, subscriptionAuxEntity.commercialProduct);
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final int getSubcriptionAuxId() {
|
||||
return this.subcriptionAuxId;
|
||||
}
|
||||
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int d4 = a.d(this.subscriptionType, Integer.hashCode(this.subcriptionAuxId) * 31, 31);
|
||||
String str = this.operator;
|
||||
int hashCode = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.commercialProduct;
|
||||
return hashCode + (str2 != null ? str2.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionAuxEntity(subcriptionAuxId=");
|
||||
sb.append(this.subcriptionAuxId);
|
||||
sb.append(", subscriptionType=");
|
||||
sb.append(this.subscriptionType);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
return a.n(sb, this.commercialProduct, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ SubscriptionAuxEntity(int i, String str, String str2, String str3, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i4 & 1) != 0 ? 0 : i, str, str2, str3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,251 @@
|
||||
package com.adif.elcanomovil.serviceStorage.model.subscriptions;
|
||||
|
||||
import C.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.io.ConstantsKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b$\b\u0087\b\u0018\u00002\u00020\u0001Bo\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\b\u0001\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t\u0012\u0006\u0010\n\u001a\u00020\t\u0012\u0006\u0010\u000b\u001a\u00020\t\u0012\b\u0010\f\u001a\u0004\u0018\u00010\t\u0012\b\u0010\r\u001a\u0004\u0018\u00010\t\u0012\b\b\u0002\u0010\u000e\u001a\u00020\u000f\u0012\b\u0010\u0010\u001a\u0004\u0018\u00010\t\u0012\b\u0010\u0011\u001a\u0004\u0018\u00010\t¢\u0006\u0002\u0010\u0012J\t\u0010#\u001a\u00020\u0003HÆ\u0003J\u000b\u0010$\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010%\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010&\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010'\u001a\u00020\u0007HÆ\u0003J\t\u0010(\u001a\u00020\tHÆ\u0003J\t\u0010)\u001a\u00020\tHÆ\u0003J\t\u0010*\u001a\u00020\tHÆ\u0003J\u000b\u0010+\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010,\u001a\u0004\u0018\u00010\tHÆ\u0003J\t\u0010-\u001a\u00020\u000fHÆ\u0003J\u0081\u0001\u0010.\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0003\u0010\u0004\u001a\u0004\u0018\u00010\u00052\b\b\u0003\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\n\u001a\u00020\t2\b\b\u0002\u0010\u000b\u001a\u00020\t2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\t2\b\b\u0002\u0010\u000e\u001a\u00020\u000f2\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\tHÆ\u0001J\u0013\u0010/\u001a\u00020\u000f2\b\u00100\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00101\u001a\u00020\u0003HÖ\u0001J\t\u00102\u001a\u00020\tHÖ\u0001R\u0011\u0010\u000e\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0013\u0010\u0011\u001a\u0004\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u0013\u0010\u0010\u001a\u0004\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0016R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u001bR\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0016R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\n\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u0016R\u0011\u0010\u000b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u0016R\u0013\u0010\f\u001a\u0004\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0016R\u0013\u0010\r\u001a\u0004\u0018\u00010\t¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u0016¨\u00063"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/SubscriptionEntity;", "", "subcriptionId", "", FirebaseAnalytics.Param.DESTINATION, "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/DestinationEntity;", "origin", "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/OriginEntity;", "repeats", "", "subscriptionType", "timeCenter", "timeEnd", "timeStart", AppMeasurementSdk.ConditionalUserProperty.ACTIVE, "", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "(ILcom/adif/elcanomovil/serviceStorage/model/subscriptions/DestinationEntity;Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/OriginEntity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)V", "getActive", "()Z", "getCommercialProduct", "()Ljava/lang/String;", "getDestination", "()Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/DestinationEntity;", "getOperator", "getOrigin", "()Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/OriginEntity;", "getRepeats", "getSubcriptionId", "()I", "getSubscriptionType", "getTimeCenter", "getTimeEnd", "getTimeStart", "component1", "component10", "component11", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "other", "hashCode", "toString", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* data */ class SubscriptionEntity {
|
||||
private final boolean active;
|
||||
private final String commercialProduct;
|
||||
private final DestinationEntity destination;
|
||||
private final String operator;
|
||||
private final OriginEntity origin;
|
||||
private final String repeats;
|
||||
private final int subcriptionId;
|
||||
private final String subscriptionType;
|
||||
private final String timeCenter;
|
||||
private final String timeEnd;
|
||||
private final String timeStart;
|
||||
|
||||
public SubscriptionEntity(int i, DestinationEntity destinationEntity, OriginEntity origin, String repeats, String subscriptionType, String timeCenter, String str, String str2, boolean z3, String str3, String str4) {
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(repeats, "repeats");
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
Intrinsics.checkNotNullParameter(timeCenter, "timeCenter");
|
||||
this.subcriptionId = i;
|
||||
this.destination = destinationEntity;
|
||||
this.origin = origin;
|
||||
this.repeats = repeats;
|
||||
this.subscriptionType = subscriptionType;
|
||||
this.timeCenter = timeCenter;
|
||||
this.timeEnd = str;
|
||||
this.timeStart = str2;
|
||||
this.active = z3;
|
||||
this.operator = str3;
|
||||
this.commercialProduct = str4;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SubscriptionEntity copy$default(SubscriptionEntity subscriptionEntity, int i, DestinationEntity destinationEntity, OriginEntity originEntity, String str, String str2, String str3, String str4, String str5, boolean z3, String str6, String str7, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = subscriptionEntity.subcriptionId;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
destinationEntity = subscriptionEntity.destination;
|
||||
}
|
||||
if ((i4 & 4) != 0) {
|
||||
originEntity = subscriptionEntity.origin;
|
||||
}
|
||||
if ((i4 & 8) != 0) {
|
||||
str = subscriptionEntity.repeats;
|
||||
}
|
||||
if ((i4 & 16) != 0) {
|
||||
str2 = subscriptionEntity.subscriptionType;
|
||||
}
|
||||
if ((i4 & 32) != 0) {
|
||||
str3 = subscriptionEntity.timeCenter;
|
||||
}
|
||||
if ((i4 & 64) != 0) {
|
||||
str4 = subscriptionEntity.timeEnd;
|
||||
}
|
||||
if ((i4 & 128) != 0) {
|
||||
str5 = subscriptionEntity.timeStart;
|
||||
}
|
||||
if ((i4 & 256) != 0) {
|
||||
z3 = subscriptionEntity.active;
|
||||
}
|
||||
if ((i4 & ConstantsKt.MINIMUM_BLOCK_SIZE) != 0) {
|
||||
str6 = subscriptionEntity.operator;
|
||||
}
|
||||
if ((i4 & 1024) != 0) {
|
||||
str7 = subscriptionEntity.commercialProduct;
|
||||
}
|
||||
String str8 = str6;
|
||||
String str9 = str7;
|
||||
String str10 = str5;
|
||||
boolean z4 = z3;
|
||||
String str11 = str3;
|
||||
String str12 = str4;
|
||||
String str13 = str2;
|
||||
OriginEntity originEntity2 = originEntity;
|
||||
return subscriptionEntity.copy(i, destinationEntity, originEntity2, str, str13, str11, str12, str10, z4, str8, str9);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getSubcriptionId() {
|
||||
return this.subcriptionId;
|
||||
}
|
||||
|
||||
/* renamed from: component10, reason: from getter */
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
/* renamed from: component11, reason: from getter */
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final DestinationEntity getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
/* renamed from: component3, reason: from getter */
|
||||
public final OriginEntity getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
/* renamed from: component4, reason: from getter */
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
/* renamed from: component5, reason: from getter */
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
/* renamed from: component6, reason: from getter */
|
||||
public final String getTimeCenter() {
|
||||
return this.timeCenter;
|
||||
}
|
||||
|
||||
/* renamed from: component7, reason: from getter */
|
||||
public final String getTimeEnd() {
|
||||
return this.timeEnd;
|
||||
}
|
||||
|
||||
/* renamed from: component8, reason: from getter */
|
||||
public final String getTimeStart() {
|
||||
return this.timeStart;
|
||||
}
|
||||
|
||||
/* renamed from: component9, reason: from getter */
|
||||
public final boolean getActive() {
|
||||
return this.active;
|
||||
}
|
||||
|
||||
public final SubscriptionEntity copy(int subcriptionId, DestinationEntity destination, OriginEntity origin, String repeats, String subscriptionType, String timeCenter, String timeEnd, String timeStart, boolean active, String operator, String commercialProduct) {
|
||||
Intrinsics.checkNotNullParameter(origin, "origin");
|
||||
Intrinsics.checkNotNullParameter(repeats, "repeats");
|
||||
Intrinsics.checkNotNullParameter(subscriptionType, "subscriptionType");
|
||||
Intrinsics.checkNotNullParameter(timeCenter, "timeCenter");
|
||||
return new SubscriptionEntity(subcriptionId, destination, origin, repeats, subscriptionType, timeCenter, timeEnd, timeStart, active, operator, commercialProduct);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof SubscriptionEntity)) {
|
||||
return false;
|
||||
}
|
||||
SubscriptionEntity subscriptionEntity = (SubscriptionEntity) other;
|
||||
return this.subcriptionId == subscriptionEntity.subcriptionId && Intrinsics.areEqual(this.destination, subscriptionEntity.destination) && Intrinsics.areEqual(this.origin, subscriptionEntity.origin) && Intrinsics.areEqual(this.repeats, subscriptionEntity.repeats) && Intrinsics.areEqual(this.subscriptionType, subscriptionEntity.subscriptionType) && Intrinsics.areEqual(this.timeCenter, subscriptionEntity.timeCenter) && Intrinsics.areEqual(this.timeEnd, subscriptionEntity.timeEnd) && Intrinsics.areEqual(this.timeStart, subscriptionEntity.timeStart) && this.active == subscriptionEntity.active && Intrinsics.areEqual(this.operator, subscriptionEntity.operator) && Intrinsics.areEqual(this.commercialProduct, subscriptionEntity.commercialProduct);
|
||||
}
|
||||
|
||||
public final boolean getActive() {
|
||||
return this.active;
|
||||
}
|
||||
|
||||
public final String getCommercialProduct() {
|
||||
return this.commercialProduct;
|
||||
}
|
||||
|
||||
public final DestinationEntity getDestination() {
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
public final String getOperator() {
|
||||
return this.operator;
|
||||
}
|
||||
|
||||
public final OriginEntity getOrigin() {
|
||||
return this.origin;
|
||||
}
|
||||
|
||||
public final String getRepeats() {
|
||||
return this.repeats;
|
||||
}
|
||||
|
||||
public final int getSubcriptionId() {
|
||||
return this.subcriptionId;
|
||||
}
|
||||
|
||||
public final String getSubscriptionType() {
|
||||
return this.subscriptionType;
|
||||
}
|
||||
|
||||
public final String getTimeCenter() {
|
||||
return this.timeCenter;
|
||||
}
|
||||
|
||||
public final String getTimeEnd() {
|
||||
return this.timeEnd;
|
||||
}
|
||||
|
||||
public final String getTimeStart() {
|
||||
return this.timeStart;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int hashCode = Integer.hashCode(this.subcriptionId) * 31;
|
||||
DestinationEntity destinationEntity = this.destination;
|
||||
int d4 = a.d(this.timeCenter, a.d(this.subscriptionType, a.d(this.repeats, (this.origin.hashCode() + ((hashCode + (destinationEntity == null ? 0 : destinationEntity.hashCode())) * 31)) * 31, 31), 31), 31);
|
||||
String str = this.timeEnd;
|
||||
int hashCode2 = (d4 + (str == null ? 0 : str.hashCode())) * 31;
|
||||
String str2 = this.timeStart;
|
||||
int c4 = w.c((hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31, 31, this.active);
|
||||
String str3 = this.operator;
|
||||
int hashCode3 = (c4 + (str3 == null ? 0 : str3.hashCode())) * 31;
|
||||
String str4 = this.commercialProduct;
|
||||
return hashCode3 + (str4 != null ? str4.hashCode() : 0);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SubscriptionEntity(subcriptionId=");
|
||||
sb.append(this.subcriptionId);
|
||||
sb.append(", destination=");
|
||||
sb.append(this.destination);
|
||||
sb.append(", origin=");
|
||||
sb.append(this.origin);
|
||||
sb.append(", repeats=");
|
||||
sb.append(this.repeats);
|
||||
sb.append(", subscriptionType=");
|
||||
sb.append(this.subscriptionType);
|
||||
sb.append(", timeCenter=");
|
||||
sb.append(this.timeCenter);
|
||||
sb.append(", timeEnd=");
|
||||
sb.append(this.timeEnd);
|
||||
sb.append(", timeStart=");
|
||||
sb.append(this.timeStart);
|
||||
sb.append(", active=");
|
||||
sb.append(this.active);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.operator);
|
||||
sb.append(", commercialProduct=");
|
||||
return a.n(sb, this.commercialProduct, ')');
|
||||
}
|
||||
|
||||
public /* synthetic */ SubscriptionEntity(int i, DestinationEntity destinationEntity, OriginEntity originEntity, String str, String str2, String str3, String str4, String str5, boolean z3, String str6, String str7, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i4 & 1) != 0 ? 0 : i, destinationEntity, originEntity, str, str2, str3, str4, str5, (i4 & 256) != 0 ? true : z3, str6, str7);
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
package com.adif.elcanomovil.serviceStorage.preferences;
|
||||
|
||||
import Z2.G;
|
||||
import android.content.Context;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.qualifiers.ApplicationContext"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class SharedPreferenceStorage_Factory implements Factory<SharedPreferenceStorage> {
|
||||
private final Provider<Context> contextProvider;
|
||||
private final Provider<G> moshiProvider;
|
||||
|
||||
public SharedPreferenceStorage_Factory(Provider<Context> provider, Provider<G> provider2) {
|
||||
this.contextProvider = provider;
|
||||
this.moshiProvider = provider2;
|
||||
}
|
||||
|
||||
public static SharedPreferenceStorage_Factory create(Provider<Context> provider, Provider<G> provider2) {
|
||||
return new SharedPreferenceStorage_Factory(provider, provider2);
|
||||
}
|
||||
|
||||
public static SharedPreferenceStorage newInstance(Context context, G g4) {
|
||||
return new SharedPreferenceStorage(context, g4);
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public SharedPreferenceStorage get() {
|
||||
return newInstance(this.contextProvider.get(), this.moshiProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.properties.ReadWriteProperty;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B#\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\u0003¢\u0006\u0002\u0010\nJ\"\u0010\u000b\u001a\u00020\u00032\u0006\u0010\f\u001a\u00020\u00022\n\u0010\r\u001a\u0006\u0012\u0002\b\u00030\u000eH\u0097\u0002¢\u0006\u0002\u0010\u000fJ%\u0010\u0010\u001a\u00020\u00112\u0006\u0010\f\u001a\u00020\u00022\n\u0010\r\u001a\u0006\u0012\u0002\b\u00030\u000e2\u0006\u0010\u0012\u001a\u00020\u0003H\u0096\u0002R\u000e\u0010\t\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/BooleanPreference;", "Lkotlin/properties/ReadWriteProperty;", "", "", "preferences", "Lkotlin/Lazy;", "Landroid/content/SharedPreferences;", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "defaultValue", "(Lkotlin/Lazy;Ljava/lang/String;Z)V", "getValue", "thisRef", "property", "Lkotlin/reflect/KProperty;", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Boolean;", "setValue", "", "value", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nBooleanPreference.kt\nKotlin\n*S Kotlin\n*F\n+ 1 BooleanPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/BooleanPreference\n+ 2 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,30:1\n39#2,12:31\n*S KotlinDebug\n*F\n+ 1 BooleanPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/BooleanPreference\n*L\n27#1:31,12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class BooleanPreference implements ReadWriteProperty<Object, Boolean> {
|
||||
private final boolean defaultValue;
|
||||
private final String name;
|
||||
private final Lazy<SharedPreferences> preferences;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public BooleanPreference(Lazy<? extends SharedPreferences> preferences, String name, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(preferences, "preferences");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
this.preferences = preferences;
|
||||
this.name = name;
|
||||
this.defaultValue = z3;
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public /* bridge */ /* synthetic */ Object getValue(Object obj, KProperty kProperty) {
|
||||
return getValue(obj, (KProperty<?>) kProperty);
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty
|
||||
public /* bridge */ /* synthetic */ void setValue(Object obj, KProperty kProperty, Boolean bool) {
|
||||
setValue(obj, (KProperty<?>) kProperty, bool.booleanValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public Boolean getValue(Object thisRef, KProperty<?> property) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
return Boolean.valueOf(this.preferences.getValue().getBoolean(this.name, this.defaultValue));
|
||||
}
|
||||
|
||||
public void setValue(Object thisRef, KProperty<?> property, boolean value) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
SharedPreferences.Editor edit = this.preferences.getValue().edit();
|
||||
edit.putBoolean(this.name, value);
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import Q2.d;
|
||||
import X2.a;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceCommentEntity;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u001f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0007¢\u0006\u0004\b\b\u0010\tJ\u001f\u0010\u000b\u001a\u00020\u00042\u000e\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u0006H\u0007¢\u0006\u0004\b\u000b\u0010\fR\u0014\u0010\u000e\u001a\u00020\r8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000e\u0010\u000f¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/CommentTypeConverter;", "", "<init>", "()V", "", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidenceCommentEntity;", "stringToList", "(Ljava/lang/String;)Ljava/util/List;", "someObjects", "listToString", "(Ljava/util/List;)Ljava/lang/String;", "LQ2/d;", "gson", "LQ2/d;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CommentTypeConverter {
|
||||
private final d gson = new d();
|
||||
|
||||
public final String listToString(List<IncidenceCommentEntity> someObjects) {
|
||||
String f2 = this.gson.f(someObjects);
|
||||
Intrinsics.checkNotNullExpressionValue(f2, "toJson(...)");
|
||||
return f2;
|
||||
}
|
||||
|
||||
public final List<IncidenceCommentEntity> stringToList(String data) {
|
||||
if (data == null || Intrinsics.areEqual(data, "null")) {
|
||||
List<IncidenceCommentEntity> list = Collections.EMPTY_LIST;
|
||||
Intrinsics.checkNotNullExpressionValue(list, "emptyList(...)");
|
||||
return list;
|
||||
}
|
||||
Type type = new a() { // from class: com.adif.elcanomovil.serviceStorage.utils.CommentTypeConverter$stringToList$listType$1
|
||||
}.getType();
|
||||
d dVar = this.gson;
|
||||
dVar.getClass();
|
||||
Object c4 = dVar.c(data, a.get(type));
|
||||
Intrinsics.checkNotNullExpressionValue(c4, "fromJson(...)");
|
||||
return (List) c4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import java.util.Date;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.JvmStatic;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0019\u0010\u0003\u001a\u0004\u0018\u00010\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007¢\u0006\u0002\u0010\u0007J\u0019\u0010\b\u001a\u0004\u0018\u00010\u00062\b\u0010\t\u001a\u0004\u0018\u00010\u0004H\u0007¢\u0006\u0002\u0010\n¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/DateConverter;", "", "()V", "toDate", "Ljava/util/Date;", "timestamp", "", "(Ljava/lang/Long;)Ljava/util/Date;", "toTimestamp", "date", "(Ljava/util/Date;)Ljava/lang/Long;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DateConverter {
|
||||
public static final DateConverter INSTANCE = new DateConverter();
|
||||
|
||||
private DateConverter() {
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final Date toDate(Long timestamp) {
|
||||
if (timestamp == null) {
|
||||
return null;
|
||||
}
|
||||
return new Date(timestamp.longValue());
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final Long toTimestamp(Date date) {
|
||||
if (date != null) {
|
||||
return Long.valueOf(date.getTime());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0010\n\u0002\b\u0002\n\u0002\u0010\u0010\n\u0002\u0010\b\n\u0002\b\u0004\u001a$\u0010\u0000\u001a\u0002H\u0001\"\u0010\b\u0000\u0010\u0001\u0018\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u0002*\u00020\u0003H\u0082\b¢\u0006\u0002\u0010\u0004\u001a\"\u0010\u0005\u001a\u00020\u0003\"\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u0002*\u0002H\u0001H\u0082\b¢\u0006\u0002\u0010\u0006¨\u0006\u0007"}, d2 = {"toEnum", "T", "", "", "(I)Ljava/lang/Enum;", "toInt", "(Ljava/lang/Enum;)I", "service-storage_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DbConvertersKt {
|
||||
private static final /* synthetic */ <T extends Enum<T>> T toEnum(int i) {
|
||||
Intrinsics.reifiedOperationMarker(5, "T");
|
||||
return (T) new Enum[0][i];
|
||||
}
|
||||
|
||||
private static final <T extends Enum<T>> int toInt(T t2) {
|
||||
return t2.ordinal();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.DestinationEntity;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0014\u0010\u0003\u001a\u0004\u0018\u00010\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007J\u0012\u0010\u0007\u001a\u0004\u0018\u00010\u00062\u0006\u0010\b\u001a\u00020\u0004H\u0007¨\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/DestinationTypeConverter;", "", "()V", "destinationToString", "", "orderInfo", "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/DestinationEntity;", "stringToDestination", "value", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DestinationTypeConverter {
|
||||
public final String destinationToString(DestinationEntity orderInfo) {
|
||||
return StationDatabase.INSTANCE.getMoshi().a(DestinationEntity.class).toJson(orderInfo);
|
||||
}
|
||||
|
||||
public final DestinationEntity stringToDestination(String value) {
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
return (DestinationEntity) StationDatabase.INSTANCE.getMoshi().a(DestinationEntity.class).fromJson(value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.properties.ReadWriteProperty;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u001b\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u0006\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tJ\"\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\u00022\n\u0010\f\u001a\u0006\u0012\u0002\b\u00030\rH\u0097\u0002¢\u0006\u0002\u0010\u000eJ%\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u000b\u001a\u00020\u00022\n\u0010\f\u001a\u0006\u0012\u0002\b\u00030\r2\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/LongPreference;", "Lkotlin/properties/ReadWriteProperty;", "", "", "preferences", "Lkotlin/Lazy;", "Landroid/content/SharedPreferences;", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "(Lkotlin/Lazy;Ljava/lang/String;)V", "getValue", "thisRef", "property", "Lkotlin/reflect/KProperty;", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Long;", "setValue", "", "value", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nLongPreference.kt\nKotlin\n*S Kotlin\n*F\n+ 1 LongPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/LongPreference\n+ 2 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,31:1\n39#2,12:32\n*S KotlinDebug\n*F\n+ 1 LongPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/LongPreference\n*L\n26#1:32,12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class LongPreference implements ReadWriteProperty<Object, Long> {
|
||||
private final String name;
|
||||
private final Lazy<SharedPreferences> preferences;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public LongPreference(Lazy<? extends SharedPreferences> preferences, String name) {
|
||||
Intrinsics.checkNotNullParameter(preferences, "preferences");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
this.preferences = preferences;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public /* bridge */ /* synthetic */ Object getValue(Object obj, KProperty kProperty) {
|
||||
return getValue(obj, (KProperty<?>) kProperty);
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty
|
||||
public /* bridge */ /* synthetic */ void setValue(Object obj, KProperty kProperty, Long l4) {
|
||||
setValue(obj, (KProperty<?>) kProperty, l4.longValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public Long getValue(Object thisRef, KProperty<?> property) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
return Long.valueOf(this.preferences.getValue().getLong(this.name, 0L));
|
||||
}
|
||||
|
||||
public void setValue(Object thisRef, KProperty<?> property, long value) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
SharedPreferences.Editor edit = this.preferences.getValue().edit();
|
||||
edit.putLong(this.name, value);
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import Z2.AbstractC0104l;
|
||||
import Z2.G;
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.properties.ReadWriteProperty;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\b\u0018\u0000*\b\b\u0000\u0010\u0002*\u00020\u00012\u0010\u0012\u0004\u0012\u00020\u0001\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u0003B7\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\u0006\u0010\n\u001a\u00020\t\u0012\b\u0010\u000b\u001a\u0004\u0018\u00018\u0000\u0012\u0006\u0010\r\u001a\u00020\f¢\u0006\u0004\b\u000e\u0010\u000fJ&\u0010\u0013\u001a\u0004\u0018\u00018\u00002\u0006\u0010\u0010\u001a\u00020\u00012\n\u0010\u0012\u001a\u0006\u0012\u0002\b\u00030\u0011H\u0097\u0002¢\u0006\u0004\b\u0013\u0010\u0014J.\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0010\u001a\u00020\u00012\n\u0010\u0012\u001a\u0006\u0012\u0002\b\u00030\u00112\b\u0010\u0015\u001a\u0004\u0018\u00018\u0000H\u0096\u0002¢\u0006\u0004\b\u0017\u0010\u0018R\u001a\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0006\u0010\u0019R\u0014\u0010\b\u001a\u00020\u00078\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\b\u0010\u001aR\u0014\u0010\n\u001a\u00020\t8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\n\u0010\u001bR\u0016\u0010\u000b\u001a\u0004\u0018\u00018\u00008\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000b\u0010\u001cR\u0014\u0010\r\u001a\u00020\f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\r\u0010\u001d¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/ObjectPreference;", "", "T", "Lkotlin/properties/ReadWriteProperty;", "Lkotlin/Lazy;", "Landroid/content/SharedPreferences;", "preferences", "LZ2/G;", "moshi", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "defaultValue", "Ljava/lang/reflect/Type;", "type", "<init>", "(Lkotlin/Lazy;LZ2/G;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/reflect/Type;)V", "thisRef", "Lkotlin/reflect/KProperty;", "property", "getValue", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;", "value", "", "setValue", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V", "Lkotlin/Lazy;", "LZ2/G;", "Ljava/lang/String;", "Ljava/lang/Object;", "Ljava/lang/reflect/Type;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nObjectPreference.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ObjectPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/ObjectPreference\n+ 2 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,85:1\n39#2,12:86\n*S KotlinDebug\n*F\n+ 1 ObjectPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/ObjectPreference\n*L\n45#1:86,12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class ObjectPreference<T> implements ReadWriteProperty<Object, T> {
|
||||
private final T defaultValue;
|
||||
private final G moshi;
|
||||
private final String name;
|
||||
private final Lazy<SharedPreferences> preferences;
|
||||
private final Type type;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public ObjectPreference(Lazy<? extends SharedPreferences> preferences, G moshi, String name, T t2, Type type) {
|
||||
Intrinsics.checkNotNullParameter(preferences, "preferences");
|
||||
Intrinsics.checkNotNullParameter(moshi, "moshi");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
this.preferences = preferences;
|
||||
this.moshi = moshi;
|
||||
this.name = name;
|
||||
this.defaultValue = t2;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public T getValue(Object thisRef, KProperty<?> property) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
try {
|
||||
if (!this.preferences.getValue().contains(this.name)) {
|
||||
return this.defaultValue;
|
||||
}
|
||||
String string = this.preferences.getValue().getString(this.name, null);
|
||||
if (string != null && string.length() != 0) {
|
||||
T t2 = (T) this.moshi.b(this.type).fromJson(string);
|
||||
return t2 == null ? this.defaultValue : t2;
|
||||
}
|
||||
return this.defaultValue;
|
||||
} catch (Exception unused) {
|
||||
return this.defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty
|
||||
public void setValue(Object thisRef, KProperty<?> property, T value) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
AbstractC0104l b4 = this.moshi.b(this.type);
|
||||
SharedPreferences.Editor edit = this.preferences.getValue().edit();
|
||||
edit.putString(this.name, b4.toJson(value));
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import Z2.AbstractC0104l;
|
||||
import Z2.G;
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.lang.reflect.Type;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.properties.ReadWriteProperty;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\b\u0018\u0000*\b\b\u0000\u0010\u0002*\u00020\u00012\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00028\u00000\u0003B5\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\u0006\u0010\n\u001a\u00020\t\u0012\u0006\u0010\u000b\u001a\u00028\u0000\u0012\u0006\u0010\r\u001a\u00020\f¢\u0006\u0004\b\u000e\u0010\u000fJ$\u0010\u0013\u001a\u00028\u00002\u0006\u0010\u0010\u001a\u00020\u00012\n\u0010\u0012\u001a\u0006\u0012\u0002\b\u00030\u0011H\u0097\u0002¢\u0006\u0004\b\u0013\u0010\u0014J,\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0010\u001a\u00020\u00012\n\u0010\u0012\u001a\u0006\u0012\u0002\b\u00030\u00112\u0006\u0010\u0015\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0004\b\u0017\u0010\u0018R\u001a\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0006\u0010\u0019R\u0014\u0010\b\u001a\u00020\u00078\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\b\u0010\u001aR\u0014\u0010\n\u001a\u00020\t8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\n\u0010\u001bR\u0014\u0010\u000b\u001a\u00028\u00008\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000b\u0010\u001cR\u0014\u0010\r\u001a\u00020\f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\r\u0010\u001d¨\u0006\u001e"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/ObjectPreferenceNotNull;", "", "T", "Lkotlin/properties/ReadWriteProperty;", "Lkotlin/Lazy;", "Landroid/content/SharedPreferences;", "preferences", "LZ2/G;", "moshi", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "defaultValue", "Ljava/lang/reflect/Type;", "type", "<init>", "(Lkotlin/Lazy;LZ2/G;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/reflect/Type;)V", "thisRef", "Lkotlin/reflect/KProperty;", "property", "getValue", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;", "value", "", "setValue", "(Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V", "Lkotlin/Lazy;", "LZ2/G;", "Ljava/lang/String;", "Ljava/lang/Object;", "Ljava/lang/reflect/Type;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nObjectPreference.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ObjectPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/ObjectPreferenceNotNull\n+ 2 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,85:1\n39#2,12:86\n*S KotlinDebug\n*F\n+ 1 ObjectPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/ObjectPreferenceNotNull\n*L\n82#1:86,12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class ObjectPreferenceNotNull<T> implements ReadWriteProperty<Object, T> {
|
||||
private final T defaultValue;
|
||||
private final G moshi;
|
||||
private final String name;
|
||||
private final Lazy<SharedPreferences> preferences;
|
||||
private final Type type;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public ObjectPreferenceNotNull(Lazy<? extends SharedPreferences> preferences, G moshi, String name, T defaultValue, Type type) {
|
||||
Intrinsics.checkNotNullParameter(preferences, "preferences");
|
||||
Intrinsics.checkNotNullParameter(moshi, "moshi");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
this.preferences = preferences;
|
||||
this.moshi = moshi;
|
||||
this.name = name;
|
||||
this.defaultValue = defaultValue;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public T getValue(Object thisRef, KProperty<?> property) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
try {
|
||||
if (!this.preferences.getValue().contains(this.name)) {
|
||||
return this.defaultValue;
|
||||
}
|
||||
String string = this.preferences.getValue().getString(this.name, null);
|
||||
if (string != null && string.length() != 0) {
|
||||
T t2 = (T) this.moshi.b(this.type).fromJson(string);
|
||||
return t2 == null ? this.defaultValue : t2;
|
||||
}
|
||||
return this.defaultValue;
|
||||
} catch (Exception unused) {
|
||||
return this.defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty
|
||||
public void setValue(Object thisRef, KProperty<?> property, T value) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
AbstractC0104l b4 = this.moshi.b(this.type);
|
||||
SharedPreferences.Editor edit = this.preferences.getValue().edit();
|
||||
edit.putString(this.name, b4.toJson(value));
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationDatabase;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.OriginEntity;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0014\u0010\u0003\u001a\u0004\u0018\u00010\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0007J\u0012\u0010\u0007\u001a\u0004\u0018\u00010\u00062\u0006\u0010\b\u001a\u00020\u0004H\u0007¨\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/OriginTypeConverter;", "", "()V", "origiginToString", "", "orderInfo", "Lcom/adif/elcanomovil/serviceStorage/model/subscriptions/OriginEntity;", "stringToOrigin", "value", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class OriginTypeConverter {
|
||||
public final String origiginToString(OriginEntity orderInfo) {
|
||||
return StationDatabase.INSTANCE.getMoshi().a(OriginEntity.class).toJson(orderInfo);
|
||||
}
|
||||
|
||||
public final OriginEntity stringToOrigin(String value) {
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
return (OriginEntity) StationDatabase.INSTANCE.getMoshi().a(OriginEntity.class).fromJson(value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import Q2.d;
|
||||
import X2.a;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidencePictureEntity;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u001f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0007¢\u0006\u0004\b\b\u0010\tJ\u001f\u0010\u000b\u001a\u00020\u00042\u000e\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u0006H\u0007¢\u0006\u0004\b\u000b\u0010\fR\u0014\u0010\u000e\u001a\u00020\r8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000e\u0010\u000f¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/PictureTypeConverter;", "", "<init>", "()V", "", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "", "Lcom/adif/elcanomovil/serviceStorage/model/avisa/IncidencePictureEntity;", "stringToList", "(Ljava/lang/String;)Ljava/util/List;", "someObjects", "listToString", "(Ljava/util/List;)Ljava/lang/String;", "LQ2/d;", "gson", "LQ2/d;", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class PictureTypeConverter {
|
||||
private final d gson = new d();
|
||||
|
||||
public final String listToString(List<IncidencePictureEntity> someObjects) {
|
||||
String f2 = this.gson.f(someObjects);
|
||||
Intrinsics.checkNotNullExpressionValue(f2, "toJson(...)");
|
||||
return f2;
|
||||
}
|
||||
|
||||
public final List<IncidencePictureEntity> stringToList(String data) {
|
||||
if (data == null || Intrinsics.areEqual(data, "null")) {
|
||||
List<IncidencePictureEntity> list = Collections.EMPTY_LIST;
|
||||
Intrinsics.checkNotNullExpressionValue(list, "emptyList(...)");
|
||||
return list;
|
||||
}
|
||||
Type type = new a() { // from class: com.adif.elcanomovil.serviceStorage.utils.PictureTypeConverter$stringToList$listType$1
|
||||
}.getType();
|
||||
d dVar = this.gson;
|
||||
dVar.getClass();
|
||||
Object c4 = dVar.c(data, a.get(type));
|
||||
Intrinsics.checkNotNullExpressionValue(c4, "fromJson(...)");
|
||||
return (List) c4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.adif.elcanomovil.serviceStorage.utils;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.properties.ReadWriteProperty;
|
||||
import kotlin.reflect.KProperty;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B#\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\u001d\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\u00022\n\u0010\f\u001a\u0006\u0012\u0002\b\u00030\rH\u0097\u0002J'\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u000b\u001a\u00020\u00022\n\u0010\f\u001a\u0006\u0012\u0002\b\u00030\r2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0003H\u0096\u0002R\u000e\u0010\b\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/serviceStorage/utils/StringPreference;", "Lkotlin/properties/ReadWriteProperty;", "", "", "preferences", "Lkotlin/Lazy;", "Landroid/content/SharedPreferences;", AppMeasurementSdk.ConditionalUserProperty.NAME, "defaultValue", "(Lkotlin/Lazy;Ljava/lang/String;Ljava/lang/String;)V", "getValue", "thisRef", "property", "Lkotlin/reflect/KProperty;", "setValue", "", "value", "service-storage_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nStringPreference.kt\nKotlin\n*S Kotlin\n*F\n+ 1 StringPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/StringPreference\n+ 2 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,30:1\n39#2,12:31\n*S KotlinDebug\n*F\n+ 1 StringPreference.kt\ncom/adif/elcanomovil/serviceStorage/utils/StringPreference\n*L\n27#1:31,12\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class StringPreference implements ReadWriteProperty<Object, String> {
|
||||
private final String defaultValue;
|
||||
private final String name;
|
||||
private final Lazy<SharedPreferences> preferences;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public StringPreference(Lazy<? extends SharedPreferences> preferences, String name, String defaultValue) {
|
||||
Intrinsics.checkNotNullParameter(preferences, "preferences");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Intrinsics.checkNotNullParameter(defaultValue, "defaultValue");
|
||||
this.preferences = preferences;
|
||||
this.name = name;
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public /* bridge */ /* synthetic */ Object getValue(Object obj, KProperty kProperty) {
|
||||
return getValue(obj, (KProperty<?>) kProperty);
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty
|
||||
public /* bridge */ /* synthetic */ void setValue(Object obj, KProperty kProperty, String str) {
|
||||
setValue2(obj, (KProperty<?>) kProperty, str);
|
||||
}
|
||||
|
||||
@Override // kotlin.properties.ReadWriteProperty, kotlin.properties.ReadOnlyProperty
|
||||
public String getValue(Object thisRef, KProperty<?> property) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
String string = this.preferences.getValue().getString(this.name, this.defaultValue);
|
||||
return string == null ? this.defaultValue : string;
|
||||
}
|
||||
|
||||
/* renamed from: setValue, reason: avoid collision after fix types in other method */
|
||||
public void setValue2(Object thisRef, KProperty<?> property, String value) {
|
||||
Intrinsics.checkNotNullParameter(thisRef, "thisRef");
|
||||
Intrinsics.checkNotNullParameter(property, "property");
|
||||
SharedPreferences.Editor edit = this.preferences.getValue().edit();
|
||||
edit.putString(this.name, value);
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user