games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequestKt.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("-initializetransferCurrencyRequest")
inline fun transferCurrencyRequest(block: games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest =
games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest.newBuilder()).apply { block() }._build()
object TransferCurrencyRequestKt {
@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.TransferCurrencyRequest.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest = _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 source_oauth_id = 2;
*/
var sourceOauthId: kotlin.String
@JvmName("getSourceOauthId")
get() = _builder.getSourceOauthId()
@JvmName("setSourceOauthId")
set(value) {
_builder.setSourceOauthId(value)
}
/**
* string source_oauth_id = 2;
*/
fun clearSourceOauthId() {
_builder.clearSourceOauthId()
}
/**
* string dest_oauth_id = 3;
*/
var destOauthId: kotlin.String
@JvmName("getDestOauthId")
get() = _builder.getDestOauthId()
@JvmName("setDestOauthId")
set(value) {
_builder.setDestOauthId(value)
}
/**
* string dest_oauth_id = 3;
*/
fun clearDestOauthId() {
_builder.clearDestOauthId()
}
/**
* string amount_in_wei = 4;
*/
var amountInWei: kotlin.String
@JvmName("getAmountInWei")
get() = _builder.getAmountInWei()
@JvmName("setAmountInWei")
set(value) {
_builder.setAmountInWei(value)
}
/**
* string amount_in_wei = 4;
*/
fun clearAmountInWei() {
_builder.clearAmountInWei()
}
/**
* string idempotency_id = 5;
*/
var idempotencyId: kotlin.String
@JvmName("getIdempotencyId")
get() = _builder.getIdempotencyId()
@JvmName("setIdempotencyId")
set(value) {
_builder.setIdempotencyId(value)
}
/**
* string idempotency_id = 5;
*/
fun clearIdempotencyId() {
_builder.clearIdempotencyId()
}
/**
* bool prefund_gas = 6;
*/
var prefundGas: kotlin.Boolean
@JvmName("getPrefundGas")
get() = _builder.getPrefundGas()
@JvmName("setPrefundGas")
set(value) {
_builder.setPrefundGas(value)
}
/**
* bool prefund_gas = 6;
*/
fun clearPrefundGas() {
_builder.clearPrefundGas()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest.copy(block: games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequest =
games.mythical.saga.sdk.proto.api.currency.TransferCurrencyRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()