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

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

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

    /**
     * .saga.api.nftbridge.QuoteBridgeNFTRequest quote_request = 1;
     */
    var quoteRequest: games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTRequest
      @JvmName("getQuoteRequest")
      get() = _builder.getQuoteRequest()
      @JvmName("setQuoteRequest")
      set(value) {
        _builder.setQuoteRequest(value)
      }
    /**
     * .saga.api.nftbridge.QuoteBridgeNFTRequest quote_request = 1;
     */
    fun clearQuoteRequest() {
      _builder.clearQuoteRequest()
    }
    /**
     * .saga.api.nftbridge.QuoteBridgeNFTRequest quote_request = 1;
     * @return Whether the quoteRequest field is set.
     */
    fun hasQuoteRequest(): kotlin.Boolean {
      return _builder.hasQuoteRequest()
    }

    /**
     * string fee_in_originchain_native_token = 2;
     */
    var feeInOriginchainNativeToken: kotlin.String
      @JvmName("getFeeInOriginchainNativeToken")
      get() = _builder.getFeeInOriginchainNativeToken()
      @JvmName("setFeeInOriginchainNativeToken")
      set(value) {
        _builder.setFeeInOriginchainNativeToken(value)
      }
    /**
     * string fee_in_originchain_native_token = 2;
     */
    fun clearFeeInOriginchainNativeToken() {
      _builder.clearFeeInOriginchainNativeToken()
    }

    /**
     * string expires_at = 3;
     */
    var expiresAt: kotlin.String
      @JvmName("getExpiresAt")
      get() = _builder.getExpiresAt()
      @JvmName("setExpiresAt")
      set(value) {
        _builder.setExpiresAt(value)
      }
    /**
     * string expires_at = 3;
     */
    fun clearExpiresAt() {
      _builder.clearExpiresAt()
    }

    /**
     * string signature = 4;
     */
    var signature: kotlin.String
      @JvmName("getSignature")
      get() = _builder.getSignature()
      @JvmName("setSignature")
      set(value) {
        _builder.setSignature(value)
      }
    /**
     * string signature = 4;
     */
    fun clearSignature() {
      _builder.clearSignature()
    }

    /**
     * string item_type_id = 5;
     */
    var itemTypeId: kotlin.String
      @JvmName("getItemTypeId")
      get() = _builder.getItemTypeId()
      @JvmName("setItemTypeId")
      set(value) {
        _builder.setItemTypeId(value)
      }
    /**
     * string item_type_id = 5;
     */
    fun clearItemTypeId() {
      _builder.clearItemTypeId()
    }

    /**
     * string targetchain_wallet_address = 6;
     */
    var targetchainWalletAddress: kotlin.String
      @JvmName("getTargetchainWalletAddress")
      get() = _builder.getTargetchainWalletAddress()
      @JvmName("setTargetchainWalletAddress")
      set(value) {
        _builder.setTargetchainWalletAddress(value)
      }
    /**
     * string targetchain_wallet_address = 6;
     */
    fun clearTargetchainWalletAddress() {
      _builder.clearTargetchainWalletAddress()
    }
  }
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.nftbridge.WithdrawItemRequest.copy(block: games.mythical.saga.sdk.proto.api.nftbridge.WithdrawItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.nftbridge.WithdrawItemRequest =
  games.mythical.saga.sdk.proto.api.nftbridge.WithdrawItemRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()

val games.mythical.saga.sdk.proto.api.nftbridge.WithdrawItemRequestOrBuilder.quoteRequestOrNull: games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTRequest?
  get() = if (hasQuoteRequest()) getQuoteRequest() else null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy