Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.6"
".": "0.1.0-alpha.7"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 959
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-35257acc7f22a48c219d500e01eb99063e7a9194568504e1beb3bb1373078184.yml
openapi_spec_hash: 3a53f40c597fb1a8ded7d5f8939b8cc1
config_hash: 4c441c8f58590070a737ee66d9efe666
configured_endpoints: 955
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-8aa2c4935982d3998769d656b2caae13c71151b5f00caaa875357ceb83f6e0a6.yml
openapi_spec_hash: 47d20b6496315d47f4f64441d4682f47
config_hash: 9c2a17b9755f3edac92a3ec4b93ac51c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.7 (2026-05-18)

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

### Features

* **api:** manual updates ([15a5576](https://github.com/HubSpot/hubspot-sdk-java/commit/15a55766f6d3531e9e4110ae0e3dc3d8bb255f1c))

## 0.1.0-alpha.6 (2026-05-14)

Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/HubSpot/hubspot-sdk-java/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

[![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.6)
[![javadoc](https://javadoc.io/badge2/com.hubspot.sdk/hubspot-java/0.1.0-alpha.6/javadoc.svg)](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.6)
[![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.7)
[![javadoc](https://javadoc.io/badge2/com.hubspot.sdk/hubspot-java/0.1.0-alpha.7/javadoc.svg)](https://javadoc.io/doc/com.hubspot.sdk/hubspot-java/0.1.0-alpha.7)

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

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

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

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.6).
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.7).

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

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

```kotlin
implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.6")
implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.7")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.hubspot.sdk:hubspot-java:0.1.0-alpha.6")
<dependency>
<groupId>com.hubspot.sdk</groupId>
<artifactId>hubspot-java</artifactId>
<version>0.1.0-alpha.6</version>
<version>0.1.0-alpha.7</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {

allprojects {
group = "com.hubspot.sdk"
version = "0.1.0-alpha.6" // x-release-please-version
version = "0.1.0-alpha.7" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private constructor(
) : this(id, mutableMapOf())

/**
* ID of the object
* The unique identifier for the public object.
*
* @throws HubSpotInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
Expand Down Expand Up @@ -80,7 +80,7 @@ private constructor(
additionalProperties = publicObjectId.additionalProperties.toMutableMap()
}

/** ID of the object */
/** The unique identifier for the public object. */
fun id(id: String) = id(JsonField.of(id))

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,30 @@ private constructor(

@JvmField val ARRAY = of("ARRAY")

@JvmField val BOOLEAN = of("BOOLEAN")

@JvmField val DOUBLE = of("DOUBLE")

@JvmField val INTEGER = of("INTEGER")

@JvmField val LONG = of("LONG")

@JvmField val OBJECT = of("OBJECT")

@JvmField val STRING = of("STRING")

@JvmStatic fun of(value: String) = Type(JsonField.of(value))
}

/** An enum containing [Type]'s known values. */
enum class Known {
ARRAY
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
}

/**
Expand All @@ -217,6 +235,12 @@ private constructor(
*/
enum class Value {
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
/** An enum member indicating that [Type] was instantiated with an unknown value. */
_UNKNOWN,
}
Expand All @@ -231,6 +255,12 @@ private constructor(
fun value(): Value =
when (this) {
ARRAY -> Value.ARRAY
BOOLEAN -> Value.BOOLEAN
DOUBLE -> Value.DOUBLE
INTEGER -> Value.INTEGER
LONG -> Value.LONG
OBJECT -> Value.OBJECT
STRING -> Value.STRING
else -> Value._UNKNOWN
}

Expand All @@ -246,6 +276,12 @@ private constructor(
fun known(): Known =
when (this) {
ARRAY -> Known.ARRAY
BOOLEAN -> Known.BOOLEAN
DOUBLE -> Known.DOUBLE
INTEGER -> Known.INTEGER
LONG -> Known.LONG
OBJECT -> Known.OBJECT
STRING -> Known.STRING
else -> throw HubSpotInvalidDataException("Unknown Type: $value")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,32 @@ private constructor(

companion object {

@JvmField val ARRAY = of("ARRAY")

@JvmField val BOOLEAN = of("BOOLEAN")

@JvmField val DOUBLE = of("DOUBLE")

@JvmField val INTEGER = of("INTEGER")

@JvmField val LONG = of("LONG")

@JvmField val OBJECT = of("OBJECT")

@JvmField val STRING = of("STRING")

@JvmStatic fun of(value: String) = Type(JsonField.of(value))
}

/** An enum containing [Type]'s known values. */
enum class Known {
BOOLEAN
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
}

/**
Expand All @@ -203,7 +221,13 @@ private constructor(
* - It was constructed with an arbitrary value using the [of] method.
*/
enum class Value {
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
/** An enum member indicating that [Type] was instantiated with an unknown value. */
_UNKNOWN,
}
Expand All @@ -217,7 +241,13 @@ private constructor(
*/
fun value(): Value =
when (this) {
ARRAY -> Value.ARRAY
BOOLEAN -> Value.BOOLEAN
DOUBLE -> Value.DOUBLE
INTEGER -> Value.INTEGER
LONG -> Value.LONG
OBJECT -> Value.OBJECT
STRING -> Value.STRING
else -> Value._UNKNOWN
}

Expand All @@ -232,7 +262,13 @@ private constructor(
*/
fun known(): Known =
when (this) {
ARRAY -> Known.ARRAY
BOOLEAN -> Known.BOOLEAN
DOUBLE -> Known.DOUBLE
INTEGER -> Known.INTEGER
LONG -> Known.LONG
OBJECT -> Known.OBJECT
STRING -> Known.STRING
else -> throw HubSpotInvalidDataException("Unknown Type: $value")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,32 @@ private constructor(

companion object {

@JvmField val ARRAY = of("ARRAY")

@JvmField val BOOLEAN = of("BOOLEAN")

@JvmField val DOUBLE = of("DOUBLE")

@JvmField val INTEGER = of("INTEGER")

@JvmField val LONG = of("LONG")

@JvmField val OBJECT = of("OBJECT")

@JvmField val STRING = of("STRING")

@JvmStatic fun of(value: String) = Type(JsonField.of(value))
}

/** An enum containing [Type]'s known values. */
enum class Known {
DOUBLE
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
}

/**
Expand All @@ -268,7 +286,13 @@ private constructor(
* - It was constructed with an arbitrary value using the [of] method.
*/
enum class Value {
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
/** An enum member indicating that [Type] was instantiated with an unknown value. */
_UNKNOWN,
}
Expand All @@ -282,7 +306,13 @@ private constructor(
*/
fun value(): Value =
when (this) {
ARRAY -> Value.ARRAY
BOOLEAN -> Value.BOOLEAN
DOUBLE -> Value.DOUBLE
INTEGER -> Value.INTEGER
LONG -> Value.LONG
OBJECT -> Value.OBJECT
STRING -> Value.STRING
else -> Value._UNKNOWN
}

Expand All @@ -297,7 +327,13 @@ private constructor(
*/
fun known(): Known =
when (this) {
ARRAY -> Known.ARRAY
BOOLEAN -> Known.BOOLEAN
DOUBLE -> Known.DOUBLE
INTEGER -> Known.INTEGER
LONG -> Known.LONG
OBJECT -> Known.OBJECT
STRING -> Known.STRING
else -> throw HubSpotInvalidDataException("Unknown Type: $value")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,32 @@ private constructor(

companion object {

@JvmField val ARRAY = of("ARRAY")

@JvmField val BOOLEAN = of("BOOLEAN")

@JvmField val DOUBLE = of("DOUBLE")

@JvmField val INTEGER = of("INTEGER")

@JvmField val LONG = of("LONG")

@JvmField val OBJECT = of("OBJECT")

@JvmField val STRING = of("STRING")

@JvmStatic fun of(value: String) = Type(JsonField.of(value))
}

/** An enum containing [Type]'s known values. */
enum class Known {
INTEGER
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
}

/**
Expand All @@ -268,7 +286,13 @@ private constructor(
* - It was constructed with an arbitrary value using the [of] method.
*/
enum class Value {
ARRAY,
BOOLEAN,
DOUBLE,
INTEGER,
LONG,
OBJECT,
STRING,
/** An enum member indicating that [Type] was instantiated with an unknown value. */
_UNKNOWN,
}
Expand All @@ -282,7 +306,13 @@ private constructor(
*/
fun value(): Value =
when (this) {
ARRAY -> Value.ARRAY
BOOLEAN -> Value.BOOLEAN
DOUBLE -> Value.DOUBLE
INTEGER -> Value.INTEGER
LONG -> Value.LONG
OBJECT -> Value.OBJECT
STRING -> Value.STRING
else -> Value._UNKNOWN
}

Expand All @@ -297,7 +327,13 @@ private constructor(
*/
fun known(): Known =
when (this) {
ARRAY -> Known.ARRAY
BOOLEAN -> Known.BOOLEAN
DOUBLE -> Known.DOUBLE
INTEGER -> Known.INTEGER
LONG -> Known.LONG
OBJECT -> Known.OBJECT
STRING -> Known.STRING
else -> throw HubSpotInvalidDataException("Unknown Type: $value")
}

Expand Down
Loading
Loading