// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_dictionary_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.vc.v1; @kotlin.jvm.JvmName("-initializetariff") public inline fun tariff(block: ru.keyapis.vc.v1.TariffKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff = ru.keyapis.vc.v1.TariffKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff.newBuilder()).apply { block() }._build() /** * ``` * Тариф * ``` * * Protobuf type `keyapis.vc.v1.Tariff` */ public object TariffKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff = _builder.build() /** * ``` * Идентификатор * ``` * * `int32 id = 1;` */ public var id: kotlin.Int @JvmName("getId") get() = _builder.getId() @JvmName("setId") set(value) { _builder.setId(value) } /** * ``` * Идентификатор * ``` * * `int32 id = 1;` */ public fun clearId() { _builder.clearId() } /** * ``` * Наименование * ``` * * `string title = 2;` */ public var title: kotlin.String @JvmName("getTitle") get() = _builder.getTitle() @JvmName("setTitle") set(value) { _builder.setTitle(value) } /** * ``` * Наименование * ``` * * `string title = 2;` */ public fun clearTitle() { _builder.clearTitle() } /** * ``` * Параметр slug * ``` * * `string slug = 3;` */ public var slug: kotlin.String @JvmName("getSlug") get() = _builder.getSlug() @JvmName("setSlug") set(value) { _builder.setSlug(value) } /** * ``` * Параметр slug * ``` * * `string slug = 3;` */ public fun clearSlug() { _builder.clearSlug() } /** * ``` * Тип статуса * ``` * * `string status_kind = 4;` */ public var statusKind: kotlin.String @JvmName("getStatusKind") get() = _builder.getStatusKind() @JvmName("setStatusKind") set(value) { _builder.setStatusKind(value) } /** * ``` * Тип статуса * ``` * * `string status_kind = 4;` */ public fun clearStatusKind() { _builder.clearStatusKind() } /** * ``` * Дата действия от. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp from_at = 5;` */ public var fromAt: com.google.protobuf.Timestamp @JvmName("getFromAt") get() = _builder.getFromAt() @JvmName("setFromAt") set(value) { _builder.setFromAt(value) } /** * ``` * Дата действия от. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp from_at = 5;` */ public fun clearFromAt() { _builder.clearFromAt() } /** * ``` * Дата действия от. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp from_at = 5;` * @return Whether the fromAt field is set. */ public fun hasFromAt(): kotlin.Boolean { return _builder.hasFromAt() } /** * ``` * Дата действия до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp to_at = 6;` */ public var toAt: com.google.protobuf.Timestamp @JvmName("getToAt") get() = _builder.getToAt() @JvmName("setToAt") set(value) { _builder.setToAt(value) } /** * ``` * Дата действия до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp to_at = 6;` */ public fun clearToAt() { _builder.clearToAt() } /** * ``` * Дата действия до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp to_at = 6;` * @return Whether the toAt field is set. */ public fun hasToAt(): kotlin.Boolean { return _builder.hasToAt() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff.copy(block: ru.keyapis.vc.v1.TariffKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.Tariff = ru.keyapis.vc.v1.TariffKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.TariffOrBuilder.fromAtOrNull: com.google.protobuf.Timestamp? get() = if (hasFromAt()) getFromAt() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.TariffOrBuilder.toAtOrNull: com.google.protobuf.Timestamp? get() = if (hasToAt()) getToAt() else null