All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avito.android.providers.RemoteAvitoCodeOwner.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

The newest version!
package com.avito.android.providers

import com.avito.android.model.Owner
import com.avito.android.model.network.OwnerType
import com.avito.capitalize

internal class RemoteAvitoCodeOwner(
    val type: OwnerType,
    val name: String,
    val id: String,
    val parent: String?
) : Owner {
    override fun toString() =
        "${type.key.capitalize()} ${name}${if (parent != null) " (Юнит $parent)" else ""}"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy