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

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

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

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

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

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

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    class InventoryIdsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * 
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @return A list containing the inventoryIds. */ val inventoryIds: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getInventoryIdsList() ) /** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @param value The inventoryIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addInventoryIds") fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addInventoryIds(value) } /** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @param value The inventoryIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignInventoryIds") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { add(value) } /** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @param values The inventoryIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllInventoryIds") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllInventoryIds(values) } /** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @param values The inventoryIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllInventoryIds") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; * @param index The index to set the value at. * @param value The inventoryIds to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setInventoryIds") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { _builder.setInventoryIds(index, value) }/** *
     * Game's ids for the Item to transfer 
     * 
* * repeated string inventory_ids = 2; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearInventoryIds") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearInventoryIds() } /** *
     * User of Item to transfer to 
     * 
* * string destination_oauth_id = 3; */ var destinationOauthId: kotlin.String @JvmName("getDestinationOauthId") get() = _builder.getDestinationOauthId() @JvmName("setDestinationOauthId") set(value) { _builder.setDestinationOauthId(value) } /** *
     * User of Item to transfer to 
     * 
* * string destination_oauth_id = 3; */ fun clearDestinationOauthId() { _builder.clearDestinationOauthId() } /** * 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() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.item.TransferItemBulkRequest.copy(block: games.mythical.saga.sdk.proto.api.item.TransferItemBulkRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.TransferItemBulkRequest = games.mythical.saga.sdk.proto.api.item.TransferItemBulkRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy