Skip to content

Commit 05c52f8

Browse files
release: 0.1.0-alpha.2 (#2)
* codegen metadata * feat(api): manual updates * codegen metadata * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * release: 0.1.0-alpha.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent a5b3ed0 commit 05c52f8

559 files changed

Lines changed: 18598 additions & 63659 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.1"
2+
".": "0.1.0-alpha.2"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 971
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot%2Fhubspot-sdk-b0d8bc008db9e485496b486b6fb770a256d16caf430e7c8696cb5e2f61cb42ef.yml
3-
openapi_spec_hash: 73818ecf3b80406f1ff2729a9f1b2c97
4-
config_hash: 47e0085f306c26287941a8b8d90cfa4c
1+
configured_endpoints: 959
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot%2Fhubspot-sdk-27f6d2f8adbca1ec11995d8f923efadd9bfd5bc7cd569690aaf0ff634949feaa.yml
3+
openapi_spec_hash: d0e76c7f7ecb1e8f701d4ced83be404f
4+
config_hash: 1ad21cf783009b5c5ceb99a6f2d335f3

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 0.1.0-alpha.2 (2026-04-24)
4+
5+
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/HubSpot/hubspot-sdk-java/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
6+
7+
### Features
8+
9+
* **api:** manual updates ([156b418](https://github.com/HubSpot/hubspot-sdk-java/commit/156b4182f76a0e78407c1ace91dd2bae9a4e5e7a))
10+
* **api:** manual updates ([c924f99](https://github.com/HubSpot/hubspot-sdk-java/commit/c924f9930e3410de5458c45206d28b0a4635f16e))
11+
* **api:** manual updates ([98dd16f](https://github.com/HubSpot/hubspot-sdk-java/commit/98dd16fec381d733cb8f392e23d122660e21beb5))
12+
* **api:** manual updates ([01e55a1](https://github.com/HubSpot/hubspot-sdk-java/commit/01e55a1082c38d5d4d9073bb886d3a9bf7ee0521))
13+
314
## 0.1.0-alpha.1 (2026-04-13)
415

516
Full Changelog: [v0.0.1...v0.1.0-alpha.1](https://github.com/HubSpot/hubspot-sdk-java/compare/v0.0.1...v0.1.0-alpha.1)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.hubspot.sdk/hubspot-java)](https://central.sonatype.com/artifact/com.hubspot.sdk/hubspot-java/0.1.0-alpha.1)
6-
[![javadoc](https://javadoc.io/badge2/com.hubspot.sdk/hubspot-java/0.1.0-alpha.1/javadoc.svg)](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.1)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.hubspot.sdk/hubspot-java)](https://central.sonatype.com/artifact/com.hubspot.sdk/hubspot-java/0.1.0-alpha.2)
6+
[![javadoc](https://javadoc.io/badge2/com.hubspot.sdk/hubspot-java/0.1.0-alpha.2/javadoc.svg)](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.2)
77

88
<!-- x-release-please-end -->
99

@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
<!-- x-release-please-start-version -->
1515

16-
The REST API documentation can be found on [developers.hubspot.com](https://developers.hubspot.com/docs/api-reference/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.1).
16+
The REST API documentation can be found on [developers.hubspot.com](https://developers.hubspot.com/docs/api-reference/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.2).
1717

1818
<!-- x-release-please-end -->
1919

@@ -24,7 +24,7 @@ The REST API documentation can be found on [developers.hubspot.com](https://deve
2424
### Gradle
2525

2626
```kotlin
27-
implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.1")
27+
implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.2")
2828
```
2929

3030
### Maven
@@ -33,7 +33,7 @@ implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.1")
3333
<dependency>
3434
<groupId>com.hubspot.sdk</groupId>
3535
<artifactId>hubspot-java</artifactId>
36-
<version>0.1.0-alpha.1</version>
36+
<version>0.1.0-alpha.2</version>
3737
</dependency>
3838
```
3939

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99

1010
allprojects {
1111
group = "com.hubspot.sdk"
12-
version = "0.1.0-alpha.1" // x-release-please-version
12+
version = "0.1.0-alpha.2" // x-release-please-version
1313
}
1414

1515
subprojects {

hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/AssociationDefinition.kt renamed to hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/BaseAssociationDefinition.kt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import java.util.Objects
1818
import java.util.Optional
1919

2020
/** The definition of an association */
21-
class AssociationDefinition
21+
class BaseAssociationDefinition
2222
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2323
private constructor(
2424
private val id: JsonField<String>,
@@ -162,7 +162,7 @@ private constructor(
162162
companion object {
163163

164164
/**
165-
* Returns a mutable builder for constructing an instance of [AssociationDefinition].
165+
* Returns a mutable builder for constructing an instance of [BaseAssociationDefinition].
166166
*
167167
* The following fields are required:
168168
* ```java
@@ -174,7 +174,7 @@ private constructor(
174174
@JvmStatic fun builder() = Builder()
175175
}
176176

177-
/** A builder for [AssociationDefinition]. */
177+
/** A builder for [BaseAssociationDefinition]. */
178178
class Builder internal constructor() {
179179

180180
private var id: JsonField<String>? = null
@@ -186,14 +186,14 @@ private constructor(
186186
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
187187

188188
@JvmSynthetic
189-
internal fun from(associationDefinition: AssociationDefinition) = apply {
190-
id = associationDefinition.id
191-
fromObjectTypeId = associationDefinition.fromObjectTypeId
192-
toObjectTypeId = associationDefinition.toObjectTypeId
193-
createdAt = associationDefinition.createdAt
194-
name = associationDefinition.name
195-
updatedAt = associationDefinition.updatedAt
196-
additionalProperties = associationDefinition.additionalProperties.toMutableMap()
189+
internal fun from(baseAssociationDefinition: BaseAssociationDefinition) = apply {
190+
id = baseAssociationDefinition.id
191+
fromObjectTypeId = baseAssociationDefinition.fromObjectTypeId
192+
toObjectTypeId = baseAssociationDefinition.toObjectTypeId
193+
createdAt = baseAssociationDefinition.createdAt
194+
name = baseAssociationDefinition.name
195+
updatedAt = baseAssociationDefinition.updatedAt
196+
additionalProperties = baseAssociationDefinition.additionalProperties.toMutableMap()
197197
}
198198

199199
/** The unique ID of the associated object (e.g., a contact ID). */
@@ -291,7 +291,7 @@ private constructor(
291291
}
292292

293293
/**
294-
* Returns an immutable instance of [AssociationDefinition].
294+
* Returns an immutable instance of [BaseAssociationDefinition].
295295
*
296296
* Further updates to this [Builder] will not mutate the returned instance.
297297
*
@@ -304,8 +304,8 @@ private constructor(
304304
*
305305
* @throws IllegalStateException if any required field is unset.
306306
*/
307-
fun build(): AssociationDefinition =
308-
AssociationDefinition(
307+
fun build(): BaseAssociationDefinition =
308+
BaseAssociationDefinition(
309309
checkRequired("id", id),
310310
checkRequired("fromObjectTypeId", fromObjectTypeId),
311311
checkRequired("toObjectTypeId", toObjectTypeId),
@@ -318,7 +318,7 @@ private constructor(
318318

319319
private var validated: Boolean = false
320320

321-
fun validate(): AssociationDefinition = apply {
321+
fun validate(): BaseAssociationDefinition = apply {
322322
if (validated) {
323323
return@apply
324324
}
@@ -359,7 +359,7 @@ private constructor(
359359
return true
360360
}
361361

362-
return other is AssociationDefinition &&
362+
return other is BaseAssociationDefinition &&
363363
id == other.id &&
364364
fromObjectTypeId == other.fromObjectTypeId &&
365365
toObjectTypeId == other.toObjectTypeId &&
@@ -384,5 +384,5 @@ private constructor(
384384
override fun hashCode(): Int = hashCode
385385

386386
override fun toString() =
387-
"AssociationDefinition{id=$id, fromObjectTypeId=$fromObjectTypeId, toObjectTypeId=$toObjectTypeId, createdAt=$createdAt, name=$name, updatedAt=$updatedAt, additionalProperties=$additionalProperties}"
387+
"BaseAssociationDefinition{id=$id, fromObjectTypeId=$fromObjectTypeId, toObjectTypeId=$toObjectTypeId, createdAt=$createdAt, name=$name, updatedAt=$updatedAt, additionalProperties=$additionalProperties}"
388388
}

hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/Error.kt renamed to hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/BaseError.kt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import java.util.Objects
1919
import java.util.Optional
2020
import kotlin.jvm.optionals.getOrNull
2121

22-
class Error
22+
class BaseError
2323
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2424
private constructor(
2525
private val category: JsonField<String>,
@@ -173,7 +173,7 @@ private constructor(
173173
companion object {
174174

175175
/**
176-
* Returns a mutable builder for constructing an instance of [Error].
176+
* Returns a mutable builder for constructing an instance of [BaseError].
177177
*
178178
* The following fields are required:
179179
* ```java
@@ -185,7 +185,7 @@ private constructor(
185185
@JvmStatic fun builder() = Builder()
186186
}
187187

188-
/** A builder for [Error]. */
188+
/** A builder for [BaseError]. */
189189
class Builder internal constructor() {
190190

191191
private var category: JsonField<String>? = null
@@ -198,15 +198,15 @@ private constructor(
198198
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
199199

200200
@JvmSynthetic
201-
internal fun from(error: Error) = apply {
202-
category = error.category
203-
correlationId = error.correlationId
204-
message = error.message
205-
context = error.context
206-
errors = error.errors.map { it.toMutableList() }
207-
links = error.links
208-
subCategory = error.subCategory
209-
additionalProperties = error.additionalProperties.toMutableMap()
201+
internal fun from(baseError: BaseError) = apply {
202+
category = baseError.category
203+
correlationId = baseError.correlationId
204+
message = baseError.message
205+
context = baseError.context
206+
errors = baseError.errors.map { it.toMutableList() }
207+
links = baseError.links
208+
subCategory = baseError.subCategory
209+
additionalProperties = baseError.additionalProperties.toMutableMap()
210210
}
211211

212212
/** The error category */
@@ -334,7 +334,7 @@ private constructor(
334334
}
335335

336336
/**
337-
* Returns an immutable instance of [Error].
337+
* Returns an immutable instance of [BaseError].
338338
*
339339
* Further updates to this [Builder] will not mutate the returned instance.
340340
*
@@ -347,8 +347,8 @@ private constructor(
347347
*
348348
* @throws IllegalStateException if any required field is unset.
349349
*/
350-
fun build(): Error =
351-
Error(
350+
fun build(): BaseError =
351+
BaseError(
352352
checkRequired("category", category),
353353
checkRequired("correlationId", correlationId),
354354
checkRequired("message", message),
@@ -362,7 +362,7 @@ private constructor(
362362

363363
private var validated: Boolean = false
364364

365-
fun validate(): Error = apply {
365+
fun validate(): BaseError = apply {
366366
if (validated) {
367367
return@apply
368368
}
@@ -608,7 +608,7 @@ private constructor(
608608
return true
609609
}
610610

611-
return other is Error &&
611+
return other is BaseError &&
612612
category == other.category &&
613613
correlationId == other.correlationId &&
614614
message == other.message &&
@@ -635,5 +635,5 @@ private constructor(
635635
override fun hashCode(): Int = hashCode
636636

637637
override fun toString() =
638-
"Error{category=$category, correlationId=$correlationId, message=$message, context=$context, errors=$errors, links=$links, subCategory=$subCategory, additionalProperties=$additionalProperties}"
638+
"BaseError{category=$category, correlationId=$correlationId, message=$message, context=$context, errors=$errors, links=$links, subCategory=$subCategory, additionalProperties=$additionalProperties}"
639639
}

hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/ObjectTypeDefinition.kt renamed to hubspot-java-core/src/main/kotlin/com/hubspot/sdk/models/BaseObjectTypeDefinition.kt

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import java.util.Objects
2020
import java.util.Optional
2121
import kotlin.jvm.optionals.getOrNull
2222

23-
class ObjectTypeDefinition
23+
class BaseObjectTypeDefinition
2424
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2525
private constructor(
2626
private val id: JsonField<String>,
@@ -339,7 +339,7 @@ private constructor(
339339
companion object {
340340

341341
/**
342-
* Returns a mutable builder for constructing an instance of [ObjectTypeDefinition].
342+
* Returns a mutable builder for constructing an instance of [BaseObjectTypeDefinition].
343343
*
344344
* The following fields are required:
345345
* ```java
@@ -358,7 +358,7 @@ private constructor(
358358
@JvmStatic fun builder() = Builder()
359359
}
360360

361-
/** A builder for [ObjectTypeDefinition]. */
361+
/** A builder for [BaseObjectTypeDefinition]. */
362362
class Builder internal constructor() {
363363

364364
private var id: JsonField<String>? = null
@@ -379,25 +379,26 @@ private constructor(
379379
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
380380

381381
@JvmSynthetic
382-
internal fun from(objectTypeDefinition: ObjectTypeDefinition) = apply {
383-
id = objectTypeDefinition.id
384-
allowsSensitiveProperties = objectTypeDefinition.allowsSensitiveProperties
385-
archived = objectTypeDefinition.archived
386-
fullyQualifiedName = objectTypeDefinition.fullyQualifiedName
387-
labels = objectTypeDefinition.labels
388-
name = objectTypeDefinition.name
389-
objectTypeId = objectTypeDefinition.objectTypeId
390-
requiredProperties = objectTypeDefinition.requiredProperties.map { it.toMutableList() }
382+
internal fun from(baseObjectTypeDefinition: BaseObjectTypeDefinition) = apply {
383+
id = baseObjectTypeDefinition.id
384+
allowsSensitiveProperties = baseObjectTypeDefinition.allowsSensitiveProperties
385+
archived = baseObjectTypeDefinition.archived
386+
fullyQualifiedName = baseObjectTypeDefinition.fullyQualifiedName
387+
labels = baseObjectTypeDefinition.labels
388+
name = baseObjectTypeDefinition.name
389+
objectTypeId = baseObjectTypeDefinition.objectTypeId
390+
requiredProperties =
391+
baseObjectTypeDefinition.requiredProperties.map { it.toMutableList() }
391392
searchableProperties =
392-
objectTypeDefinition.searchableProperties.map { it.toMutableList() }
393+
baseObjectTypeDefinition.searchableProperties.map { it.toMutableList() }
393394
secondaryDisplayProperties =
394-
objectTypeDefinition.secondaryDisplayProperties.map { it.toMutableList() }
395-
createdAt = objectTypeDefinition.createdAt
396-
description = objectTypeDefinition.description
397-
portalId = objectTypeDefinition.portalId
398-
primaryDisplayProperty = objectTypeDefinition.primaryDisplayProperty
399-
updatedAt = objectTypeDefinition.updatedAt
400-
additionalProperties = objectTypeDefinition.additionalProperties.toMutableMap()
395+
baseObjectTypeDefinition.secondaryDisplayProperties.map { it.toMutableList() }
396+
createdAt = baseObjectTypeDefinition.createdAt
397+
description = baseObjectTypeDefinition.description
398+
portalId = baseObjectTypeDefinition.portalId
399+
primaryDisplayProperty = baseObjectTypeDefinition.primaryDisplayProperty
400+
updatedAt = baseObjectTypeDefinition.updatedAt
401+
additionalProperties = baseObjectTypeDefinition.additionalProperties.toMutableMap()
401402
}
402403

403404
fun id(id: String) = id(JsonField.of(id))
@@ -640,7 +641,7 @@ private constructor(
640641
}
641642

642643
/**
643-
* Returns an immutable instance of [ObjectTypeDefinition].
644+
* Returns an immutable instance of [BaseObjectTypeDefinition].
644645
*
645646
* Further updates to this [Builder] will not mutate the returned instance.
646647
*
@@ -660,8 +661,8 @@ private constructor(
660661
*
661662
* @throws IllegalStateException if any required field is unset.
662663
*/
663-
fun build(): ObjectTypeDefinition =
664-
ObjectTypeDefinition(
664+
fun build(): BaseObjectTypeDefinition =
665+
BaseObjectTypeDefinition(
665666
checkRequired("id", id),
666667
checkRequired("allowsSensitiveProperties", allowsSensitiveProperties),
667668
checkRequired("archived", archived),
@@ -687,7 +688,7 @@ private constructor(
687688

688689
private var validated: Boolean = false
689690

690-
fun validate(): ObjectTypeDefinition = apply {
691+
fun validate(): BaseObjectTypeDefinition = apply {
691692
if (validated) {
692693
return@apply
693694
}
@@ -746,7 +747,7 @@ private constructor(
746747
return true
747748
}
748749

749-
return other is ObjectTypeDefinition &&
750+
return other is BaseObjectTypeDefinition &&
750751
id == other.id &&
751752
allowsSensitiveProperties == other.allowsSensitiveProperties &&
752753
archived == other.archived &&
@@ -789,5 +790,5 @@ private constructor(
789790
override fun hashCode(): Int = hashCode
790791

791792
override fun toString() =
792-
"ObjectTypeDefinition{id=$id, allowsSensitiveProperties=$allowsSensitiveProperties, archived=$archived, fullyQualifiedName=$fullyQualifiedName, labels=$labels, name=$name, objectTypeId=$objectTypeId, requiredProperties=$requiredProperties, searchableProperties=$searchableProperties, secondaryDisplayProperties=$secondaryDisplayProperties, createdAt=$createdAt, description=$description, portalId=$portalId, primaryDisplayProperty=$primaryDisplayProperty, updatedAt=$updatedAt, additionalProperties=$additionalProperties}"
793+
"BaseObjectTypeDefinition{id=$id, allowsSensitiveProperties=$allowsSensitiveProperties, archived=$archived, fullyQualifiedName=$fullyQualifiedName, labels=$labels, name=$name, objectTypeId=$objectTypeId, requiredProperties=$requiredProperties, searchableProperties=$searchableProperties, secondaryDisplayProperties=$secondaryDisplayProperties, createdAt=$createdAt, description=$description, portalId=$portalId, primaryDisplayProperty=$primaryDisplayProperty, updatedAt=$updatedAt, additionalProperties=$additionalProperties}"
793794
}

0 commit comments

Comments
 (0)