Files
whatsms-gateway-android/app/src/main/java/pt/whatsms/gateway/domain/HealthResponse.kt
T
ealmeida 5c5b35f9e2
Build AAB — WhatSMS Gateway / build (push) Failing after 34s
refactor: renomear package me.capcom.smsgateway → pt.whatsms.gateway
- namespace, applicationId, todos os ficheiros .kt/.xml/.gradle actualizados
- directório me/capcom/smsgateway/ → pt/whatsms/gateway/
- zero referências a capcom no código fonte
2026-04-24 18:28:08 +01:00

16 lines
521 B
Kotlin

package pt.whatsms.gateway.domain
import pt.whatsms.gateway.BuildConfig
import pt.whatsms.gateway.modules.health.domain.CheckResult
import pt.whatsms.gateway.modules.health.domain.HealthResult
import pt.whatsms.gateway.modules.health.domain.Status
class HealthResponse(
healthResult: HealthResult,
val version: String = BuildConfig.VERSION_NAME,
val releaseId: Int = BuildConfig.VERSION_CODE,
) {
val status: Status = healthResult.status
val checks: Map<String, CheckResult> = healthResult.checks
}