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

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

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

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

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

    /**
     * 
     * Filter/Sort options for the call 
     * 
* * .saga.common.QueryOptionsProto query_options = 1; */ var queryOptions: games.mythical.saga.sdk.proto.common.QueryOptionsProto @JvmName("getQueryOptions") get() = _builder.getQueryOptions() @JvmName("setQueryOptions") set(value) { _builder.setQueryOptions(value) } /** *
     * Filter/Sort options for the call 
     * 
* * .saga.common.QueryOptionsProto query_options = 1; */ fun clearQueryOptions() { _builder.clearQueryOptions() } /** *
     * Filter/Sort options for the call 
     * 
* * .saga.common.QueryOptionsProto query_options = 1; * @return Whether the queryOptions field is set. */ fun hasQueryOptions(): kotlin.Boolean { return _builder.hasQueryOptions() } /** *
     * Id of ItemType to get Offers for 
     * 
* * string item_type_id = 2; */ var itemTypeId: kotlin.String @JvmName("getItemTypeId") get() = _builder.getItemTypeId() @JvmName("setItemTypeId") set(value) { _builder.setItemTypeId(value) } /** *
     * Id of ItemType to get Offers for 
     * 
* * string item_type_id = 2; */ fun clearItemTypeId() { _builder.clearItemTypeId() } /** *
     * Token to get Offers for 
     * 
* * string token = 3; */ var token: kotlin.String @JvmName("getToken") get() = _builder.getToken() @JvmName("setToken") set(value) { _builder.setToken(value) } /** *
     * Token to get Offers for 
     * 
* * string token = 3; */ fun clearToken() { _builder.clearToken() } /** *
     * User to get Offers for 
     * 
* * string oauth_id = 4; */ var oauthId: kotlin.String @JvmName("getOauthId") get() = _builder.getOauthId() @JvmName("setOauthId") set(value) { _builder.setOauthId(value) } /** *
     * User to get Offers for 
     * 
* * string oauth_id = 4; */ fun clearOauthId() { _builder.clearOauthId() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.offer.GetOffersRequest.copy(block: games.mythical.saga.sdk.proto.api.offer.GetOffersRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.offer.GetOffersRequest = games.mythical.saga.sdk.proto.api.offer.GetOffersRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build() val games.mythical.saga.sdk.proto.api.offer.GetOffersRequestOrBuilder.queryOptionsOrNull: games.mythical.saga.sdk.proto.common.QueryOptionsProto? get() = if (hasQueryOptions()) getQueryOptions() else null




© 2015 - 2024 Weber Informatics LLC | Privacy Policy