com.increase.api.services.blocking.EventSubscriptionService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of increase-java-core Show documentation
Show all versions of increase-java-core Show documentation
An SDK library for increase
The newest version!
// File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.increase.api.services.blocking
import com.increase.api.core.RequestOptions
import com.increase.api.models.EventSubscription
import com.increase.api.models.EventSubscriptionCreateParams
import com.increase.api.models.EventSubscriptionListPage
import com.increase.api.models.EventSubscriptionListParams
import com.increase.api.models.EventSubscriptionRetrieveParams
import com.increase.api.models.EventSubscriptionUpdateParams
interface EventSubscriptionService {
/** Create an Event Subscription */
@JvmOverloads
fun create(
params: EventSubscriptionCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): EventSubscription
/** Retrieve an Event Subscription */
@JvmOverloads
fun retrieve(
params: EventSubscriptionRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): EventSubscription
/** Update an Event Subscription */
@JvmOverloads
fun update(
params: EventSubscriptionUpdateParams,
requestOptions: RequestOptions = RequestOptions.none()
): EventSubscription
/** List Event Subscriptions */
@JvmOverloads
fun list(
params: EventSubscriptionListParams,
requestOptions: RequestOptions = RequestOptions.none()
): EventSubscriptionListPage
}