games.mythical.saga.sdk.proto.api.item.DepositItemRequestKt.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/item/definition.proto
package games.mythical.saga.sdk.proto.api.item;
@kotlin.jvm.JvmName("-initializedepositItemRequest")
inline fun depositItemRequest(block: games.mythical.saga.sdk.proto.api.item.DepositItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.DepositItemRequest =
games.mythical.saga.sdk.proto.api.item.DepositItemRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.item.DepositItemRequest.newBuilder()).apply { block() }._build()
object DepositItemRequestKt {
@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.item.DepositItemRequest.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.api.item.DepositItemRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.api.item.DepositItemRequest = _builder.build()
/**
* string inventory_id = 1;
*/
var inventoryId: kotlin.String
@JvmName("getInventoryId")
get() = _builder.getInventoryId()
@JvmName("setInventoryId")
set(value) {
_builder.setInventoryId(value)
}
/**
* string inventory_id = 1;
*/
fun clearInventoryId() {
_builder.clearInventoryId()
}
/**
* string created_by = 2;
*/
var createdBy: kotlin.String
@JvmName("getCreatedBy")
get() = _builder.getCreatedBy()
@JvmName("setCreatedBy")
set(value) {
_builder.setCreatedBy(value)
}
/**
* string created_by = 2;
*/
fun clearCreatedBy() {
_builder.clearCreatedBy()
}
/**
* string from_address = 3;
*/
var fromAddress: kotlin.String
@JvmName("getFromAddress")
get() = _builder.getFromAddress()
@JvmName("setFromAddress")
set(value) {
_builder.setFromAddress(value)
}
/**
* string from_address = 3;
*/
fun clearFromAddress() {
_builder.clearFromAddress()
}
/**
* string to_address = 4;
*/
var toAddress: kotlin.String
@JvmName("getToAddress")
get() = _builder.getToAddress()
@JvmName("setToAddress")
set(value) {
_builder.setToAddress(value)
}
/**
* string to_address = 4;
*/
fun clearToAddress() {
_builder.clearToAddress()
}
/**
* .saga.proto.common.item.BlockChains from_chain = 5;
*/
var fromChain: games.mythical.saga.sdk.proto.common.item.BlockChains
@JvmName("getFromChain")
get() = _builder.getFromChain()
@JvmName("setFromChain")
set(value) {
_builder.setFromChain(value)
}
/**
* .saga.proto.common.item.BlockChains from_chain = 5;
*/
fun clearFromChain() {
_builder.clearFromChain()
}
/**
* string transaction_id = 6;
*/
var transactionId: kotlin.String
@JvmName("getTransactionId")
get() = _builder.getTransactionId()
@JvmName("setTransactionId")
set(value) {
_builder.setTransactionId(value)
}
/**
* string transaction_id = 6;
*/
fun clearTransactionId() {
_builder.clearTransactionId()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.item.DepositItemRequest.copy(block: games.mythical.saga.sdk.proto.api.item.DepositItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.DepositItemRequest =
games.mythical.saga.sdk.proto.api.item.DepositItemRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()