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

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

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

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

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

    /**
     * int32 origin_chain_id = 1;
     */
    var originChainId: kotlin.Int
      @JvmName("getOriginChainId")
      get() = _builder.getOriginChainId()
      @JvmName("setOriginChainId")
      set(value) {
        _builder.setOriginChainId(value)
      }
    /**
     * int32 origin_chain_id = 1;
     */
    fun clearOriginChainId() {
      _builder.clearOriginChainId()
    }

    /**
     * int32 target_chain_id = 2;
     */
    var targetChainId: kotlin.Int
      @JvmName("getTargetChainId")
      get() = _builder.getTargetChainId()
      @JvmName("setTargetChainId")
      set(value) {
        _builder.setTargetChainId(value)
      }
    /**
     * int32 target_chain_id = 2;
     */
    fun clearTargetChainId() {
      _builder.clearTargetChainId()
    }

    /**
     * string game_title_id = 3;
     */
    var gameTitleId: kotlin.String
      @JvmName("getGameTitleId")
      get() = _builder.getGameTitleId()
      @JvmName("setGameTitleId")
      set(value) {
        _builder.setGameTitleId(value)
      }
    /**
     * string game_title_id = 3;
     */
    fun clearGameTitleId() {
      _builder.clearGameTitleId()
    }

    /**
     * string inventory_id = 4;
     */
    var inventoryId: kotlin.String
      @JvmName("getInventoryId")
      get() = _builder.getInventoryId()
      @JvmName("setInventoryId")
      set(value) {
        _builder.setInventoryId(value)
      }
    /**
     * string inventory_id = 4;
     */
    fun clearInventoryId() {
      _builder.clearInventoryId()
    }

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy