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

games.mythical.saga.sdk.proto.api.currency.UserAmountProtoKt.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("-initializeuserAmountProto")
inline fun userAmountProto(block: games.mythical.saga.sdk.proto.api.currency.UserAmountProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.UserAmountProto =
  games.mythical.saga.sdk.proto.api.currency.UserAmountProtoKt.Dsl._create(games.mythical.saga.sdk.proto.api.currency.UserAmountProto.newBuilder()).apply { block() }._build()
object UserAmountProtoKt {
  @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.UserAmountProto.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.currency.UserAmountProto.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * 
     * User to issue currency to 
     * 
* * string oauth_id = 1; */ var oauthId: kotlin.String @JvmName("getOauthId") get() = _builder.getOauthId() @JvmName("setOauthId") set(value) { _builder.setOauthId(value) } /** *
     * User to issue currency to 
     * 
* * string oauth_id = 1; */ fun clearOauthId() { _builder.clearOauthId() } /** *
     * Amount to issue 
     * 
* * string amount_in_wei = 2; */ var amountInWei: kotlin.String @JvmName("getAmountInWei") get() = _builder.getAmountInWei() @JvmName("setAmountInWei") set(value) { _builder.setAmountInWei(value) } /** *
     * Amount to issue 
     * 
* * string amount_in_wei = 2; */ fun clearAmountInWei() { _builder.clearAmountInWei() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.currency.UserAmountProto.copy(block: games.mythical.saga.sdk.proto.api.currency.UserAmountProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.UserAmountProto = games.mythical.saga.sdk.proto.api.currency.UserAmountProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy