games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequestKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
//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("-initializegetPlayerWalletRequest")
inline fun getPlayerWalletRequest(block: games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest =
games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest.newBuilder()).apply { block() }._build()
object GetPlayerWalletRequestKt {
@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.GetPlayerWalletRequest.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest = _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()
}
/**
* string wallet_address = 2;
*/
var walletAddress: kotlin.String
@JvmName("getWalletAddress")
get() = _builder.getWalletAddress()
@JvmName("setWalletAddress")
set(value) {
_builder.setWalletAddress(value)
}
/**
* string wallet_address = 2;
*/
fun clearWalletAddress() {
_builder.clearWalletAddress()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest.copy(block: games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequest =
games.mythical.saga.sdk.proto.api.playerwallet.GetPlayerWalletRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()