commonMain.com.lightspark.sdk.wallet.model.WalletToTransactionsConnection.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wallet-sdk Show documentation
Show all versions of wallet-sdk Show documentation
The Lightspark Wallet SDK for Kotlin and Java.
The newest version!
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
@file:Suppress("ktlint:standard:max-line-length")
package com.lightspark.sdk.wallet.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
*
* @param count The total count of objects in this connection, using the current filters. It is different from the number of objects returned in the current page (in the `entities` field).
* @param pageInfo An object that holds pagination information about the objects in this connection.
* @param entities The transactions for the current page of this connection.
*/
@Serializable
@SerialName("WalletToTransactionsConnection")
data class WalletToTransactionsConnection(
@SerialName("wallet_to_transactions_connection_count")
override val count: Int,
@SerialName("wallet_to_transactions_connection_page_info")
override val pageInfo: PageInfo,
@SerialName("wallet_to_transactions_connection_entities")
val entities: List,
) : Connection {
companion object {
const val FRAGMENT = """
fragment WalletToTransactionsConnectionFragment on WalletToTransactionsConnection {
type: __typename
wallet_to_transactions_connection_count: count
wallet_to_transactions_connection_page_info: page_info {
type: __typename
page_info_has_next_page: has_next_page
page_info_has_previous_page: has_previous_page
page_info_start_cursor: start_cursor
page_info_end_cursor: end_cursor
}
wallet_to_transactions_connection_entities: entities {
id
}
}"""
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy