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

games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequestKt.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/playerwallet/definition.proto

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

@kotlin.jvm.JvmName("-initializecreatePlayerWalletRequest")
inline fun createPlayerWalletRequest(block: games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequest =
  games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequest.newBuilder()).apply { block() }._build()
object CreatePlayerWalletRequestKt {
  @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.playerwallet.CreatePlayerWalletRequest.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequest.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * string oauth_id = 1;
     */
    var oauthId: kotlin.String
      @JvmName("getOauthId")
      get() = _builder.getOauthId()
      @JvmName("setOauthId")
      set(value) {
        _builder.setOauthId(value)
      }
    /**
     * string oauth_id = 1;
     */
    fun clearOauthId() {
      _builder.clearOauthId()
    }
  }
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequest.copy(block: games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequest =
  games.mythical.saga.sdk.proto.api.playerwallet.CreatePlayerWalletRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy