diff --git a/.stats.yml b/.stats.yml index d795d3c5..97fd22a5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 100 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-5a674838130e3829f0d4ee23bed34c8f76fb5645d888287927cb3c6226388289.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-0e980e4c95a6b2a0fa72bd14cfa0a7a311c6d57b428c1f847e2e5079b26da487.yml openapi_spec_hash: 0525552d418c8b0cb1be18741d4fe19a -config_hash: 0169251649802409946a3235323cdb8d +config_hash: ffccf921bdf718587f03d467ca71268a diff --git a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/repos/RepoListParams.kt b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/repos/RepoListParams.kt index f0fd74ad..b4246134 100644 --- a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/repos/RepoListParams.kt +++ b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/repos/RepoListParams.kt @@ -19,7 +19,7 @@ class RepoListParams private constructor( private val hasCommits: Boolean?, private val isArchived: IsArchived?, - private val isPublic: IsPublic?, + private val boolean_: IsPublic?, private val limit: Long?, private val offset: Long?, private val query: String?, @@ -40,7 +40,7 @@ private constructor( fun isArchived(): Optional = Optional.ofNullable(isArchived) - fun isPublic(): Optional = Optional.ofNullable(isPublic) + fun boolean_(): Optional = Optional.ofNullable(boolean_) fun limit(): Optional = Optional.ofNullable(limit) @@ -87,7 +87,7 @@ private constructor( private var hasCommits: Boolean? = null private var isArchived: IsArchived? = null - private var isPublic: IsPublic? = null + private var boolean_: IsPublic? = null private var limit: Long? = null private var offset: Long? = null private var query: String? = null @@ -107,7 +107,7 @@ private constructor( internal fun from(repoListParams: RepoListParams) = apply { hasCommits = repoListParams.hasCommits isArchived = repoListParams.isArchived - isPublic = repoListParams.isPublic + boolean_ = repoListParams.boolean_ limit = repoListParams.limit offset = repoListParams.offset query = repoListParams.query @@ -141,10 +141,10 @@ private constructor( /** Alias for calling [Builder.isArchived] with `isArchived.orElse(null)`. */ fun isArchived(isArchived: Optional) = isArchived(isArchived.getOrNull()) - fun isPublic(isPublic: IsPublic?) = apply { this.isPublic = isPublic } + fun boolean_(boolean_: IsPublic?) = apply { this.boolean_ = boolean_ } - /** Alias for calling [Builder.isPublic] with `isPublic.orElse(null)`. */ - fun isPublic(isPublic: Optional) = isPublic(isPublic.getOrNull()) + /** Alias for calling [Builder.boolean_] with `boolean_.orElse(null)`. */ + fun boolean_(boolean_: Optional) = boolean_(boolean_.getOrNull()) fun limit(limit: Long?) = apply { this.limit = limit } @@ -369,7 +369,7 @@ private constructor( RepoListParams( hasCommits, isArchived, - isPublic, + boolean_, limit, offset, query, @@ -394,7 +394,7 @@ private constructor( .apply { hasCommits?.let { put("has_commits", it.toString()) } isArchived?.let { put("is_archived", it.toString()) } - isPublic?.let { put("is_public", it.toString()) } + boolean_?.let { put("is_public", it.toString()) } limit?.let { put("limit", it.toString()) } offset?.let { put("offset", it.toString()) } query?.let { put("query", it) } @@ -959,7 +959,7 @@ private constructor( return other is RepoListParams && hasCommits == other.hasCommits && isArchived == other.isArchived && - isPublic == other.isPublic && + boolean_ == other.boolean_ && limit == other.limit && offset == other.offset && query == other.query && @@ -980,7 +980,7 @@ private constructor( Objects.hash( hasCommits, isArchived, - isPublic, + boolean_, limit, offset, query, @@ -998,5 +998,5 @@ private constructor( ) override fun toString() = - "RepoListParams{hasCommits=$hasCommits, isArchived=$isArchived, isPublic=$isPublic, limit=$limit, offset=$offset, query=$query, sortDirection=$sortDirection, sortField=$sortField, tagValueId=$tagValueId, tags=$tags, tenantHandle=$tenantHandle, tenantId=$tenantId, upstreamRepoHandle=$upstreamRepoHandle, upstreamRepoOwner=$upstreamRepoOwner, withLatestManifest=$withLatestManifest, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" + "RepoListParams{hasCommits=$hasCommits, isArchived=$isArchived, boolean_=$boolean_, limit=$limit, offset=$offset, query=$query, sortDirection=$sortDirection, sortField=$sortField, tagValueId=$tagValueId, tags=$tags, tenantHandle=$tenantHandle, tenantId=$tenantId, upstreamRepoHandle=$upstreamRepoHandle, upstreamRepoOwner=$upstreamRepoOwner, withLatestManifest=$withLatestManifest, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" } diff --git a/langsmith-java-core/src/test/kotlin/com/langchain/smith/models/repos/RepoListParamsTest.kt b/langsmith-java-core/src/test/kotlin/com/langchain/smith/models/repos/RepoListParamsTest.kt index 9be6400d..986bda72 100644 --- a/langsmith-java-core/src/test/kotlin/com/langchain/smith/models/repos/RepoListParamsTest.kt +++ b/langsmith-java-core/src/test/kotlin/com/langchain/smith/models/repos/RepoListParamsTest.kt @@ -13,7 +13,7 @@ internal class RepoListParamsTest { RepoListParams.builder() .hasCommits(true) .isArchived(RepoListParams.IsArchived.TRUE) - .isPublic(RepoListParams.IsPublic.TRUE) + .boolean_(RepoListParams.IsPublic.TRUE) .limit(1L) .offset(0L) .query("query") @@ -35,7 +35,7 @@ internal class RepoListParamsTest { RepoListParams.builder() .hasCommits(true) .isArchived(RepoListParams.IsArchived.TRUE) - .isPublic(RepoListParams.IsPublic.TRUE) + .boolean_(RepoListParams.IsPublic.TRUE) .limit(1L) .offset(0L) .query("query") diff --git a/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/async/RepoServiceAsyncTest.kt b/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/async/RepoServiceAsyncTest.kt index 250f2028..5bb8542e 100644 --- a/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/async/RepoServiceAsyncTest.kt +++ b/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/async/RepoServiceAsyncTest.kt @@ -110,7 +110,7 @@ internal class RepoServiceAsyncTest { RepoListParams.builder() .hasCommits(true) .isArchived(RepoListParams.IsArchived.TRUE) - .isPublic(RepoListParams.IsPublic.TRUE) + .boolean_(RepoListParams.IsPublic.TRUE) .limit(1L) .offset(0L) .query("query") diff --git a/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/blocking/RepoServiceTest.kt b/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/blocking/RepoServiceTest.kt index 391c17c1..01c82d08 100644 --- a/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/blocking/RepoServiceTest.kt +++ b/langsmith-java-core/src/test/kotlin/com/langchain/smith/services/blocking/RepoServiceTest.kt @@ -105,7 +105,7 @@ internal class RepoServiceTest { RepoListParams.builder() .hasCommits(true) .isArchived(RepoListParams.IsArchived.TRUE) - .isPublic(RepoListParams.IsPublic.TRUE) + .boolean_(RepoListParams.IsPublic.TRUE) .limit(1L) .offset(0L) .query("query")