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

games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequestKt.kt Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/currency/definition.proto

package games.mythical.saga.sdk.proto.api.currency;

@kotlin.jvm.JvmName("-initializeissueCurrencyRequest")
inline fun issueCurrencyRequest(block: games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest =
  games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest.newBuilder()).apply { block() }._build()
object IssueCurrencyRequestKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  class Dsl private constructor(
    private val _builder: games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest = _builder.build()

    /**
     * 
     * Currency Type the currency to issue belongs to 
     * 
* * string currency_type_id = 1; */ var currencyTypeId: kotlin.String @JvmName("getCurrencyTypeId") get() = _builder.getCurrencyTypeId() @JvmName("setCurrencyTypeId") set(value) { _builder.setCurrencyTypeId(value) } /** *
     * Currency Type the currency to issue belongs to 
     * 
* * string currency_type_id = 1; */ fun clearCurrencyTypeId() { _builder.clearCurrencyTypeId() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class UserAmountsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; */ val userAmounts: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getUserAmountsList() ) /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; * @param value The userAmounts to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addUserAmounts") fun com.google.protobuf.kotlin.DslList.add(value: games.mythical.saga.sdk.proto.api.currency.UserAmountProto) { _builder.addUserAmounts(value) } /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; * @param value The userAmounts to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignUserAmounts") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: games.mythical.saga.sdk.proto.api.currency.UserAmountProto) { add(value) } /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; * @param values The userAmounts to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllUserAmounts") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllUserAmounts(values) } /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; * @param values The userAmounts to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllUserAmounts") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; * @param index The index to set the value at. * @param value The userAmounts to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setUserAmounts") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: games.mythical.saga.sdk.proto.api.currency.UserAmountProto) { _builder.setUserAmounts(index, value) } /** *
     * Users to issue currency to 
     * 
* * repeated .saga.api.currency.UserAmountProto user_amounts = 2; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearUserAmounts") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearUserAmounts() } /** *
     * Unique id to ensure request is processed only once 
     * 
* * string idempotency_id = 3; */ var idempotencyId: kotlin.String @JvmName("getIdempotencyId") get() = _builder.getIdempotencyId() @JvmName("setIdempotencyId") set(value) { _builder.setIdempotencyId(value) } /** *
     * Unique id to ensure request is processed only once 
     * 
* * string idempotency_id = 3; */ fun clearIdempotencyId() { _builder.clearIdempotencyId() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest.copy(block: games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequest = games.mythical.saga.sdk.proto.api.currency.IssueCurrencyRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy