games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequestKt.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/currency/definition.proto
package games.mythical.saga.sdk.proto.api.currency;
@kotlin.jvm.JvmName("-initializeburnCurrencyRequest")
inline fun burnCurrencyRequest(block: games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest =
games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest.newBuilder()).apply { block() }._build()
object BurnCurrencyRequestKt {
@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.BurnCurrencyRequest.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest = _builder.build()
/**
* string currency_type_id = 1;
*/
var currencyTypeId: kotlin.String
@JvmName("getCurrencyTypeId")
get() = _builder.getCurrencyTypeId()
@JvmName("setCurrencyTypeId")
set(value) {
_builder.setCurrencyTypeId(value)
}
/**
* string currency_type_id = 1;
*/
fun clearCurrencyTypeId() {
_builder.clearCurrencyTypeId()
}
/**
* string oauth_id = 2;
*/
var oauthId: kotlin.String
@JvmName("getOauthId")
get() = _builder.getOauthId()
@JvmName("setOauthId")
set(value) {
_builder.setOauthId(value)
}
/**
* string oauth_id = 2;
*/
fun clearOauthId() {
_builder.clearOauthId()
}
/**
* string amount_in_wei = 3;
*/
var amountInWei: kotlin.String
@JvmName("getAmountInWei")
get() = _builder.getAmountInWei()
@JvmName("setAmountInWei")
set(value) {
_builder.setAmountInWei(value)
}
/**
* string amount_in_wei = 3;
*/
fun clearAmountInWei() {
_builder.clearAmountInWei()
}
/**
* string idempotency_id = 4;
*/
var idempotencyId: kotlin.String
@JvmName("getIdempotencyId")
get() = _builder.getIdempotencyId()
@JvmName("setIdempotencyId")
set(value) {
_builder.setIdempotencyId(value)
}
/**
* string idempotency_id = 4;
*/
fun clearIdempotencyId() {
_builder.clearIdempotencyId()
}
/**
* bool prefund_gas = 5;
*/
var prefundGas: kotlin.Boolean
@JvmName("getPrefundGas")
get() = _builder.getPrefundGas()
@JvmName("setPrefundGas")
set(value) {
_builder.setPrefundGas(value)
}
/**
* bool prefund_gas = 5;
*/
fun clearPrefundGas() {
_builder.clearPrefundGas()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest.copy(block: games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequest =
games.mythical.saga.sdk.proto.api.currency.BurnCurrencyRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()