From c51cf46b78f9fe2ee96314d9dd4ad9da93ae5a8d Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Wed, 30 Oct 2024 23:26:59 +0000 Subject: [PATCH] docs: add docstrings --- .../lithic/api/models/AuthRuleV2CreateParams.kt | 12 ++++++++++++ .../lithic/api/models/AuthRuleV2DraftParams.kt | 4 ++++ .../com/lithic/api/models/V2ApplyResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2CreateResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2DraftResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2ListResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2PromoteResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2RetrieveResponse.kt | 8 ++++++++ .../com/lithic/api/models/V2UpdateResponse.kt | 8 ++++++++ .../com/lithic/api/models/VelocityLimitParams.kt | 16 ++++++++++++++++ 10 files changed, 88 insertions(+) diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt index 6c5be10c6..6454ac057 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt @@ -697,6 +697,7 @@ constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -736,6 +737,7 @@ constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -858,8 +860,10 @@ constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1672,6 +1676,7 @@ constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1711,6 +1716,7 @@ constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1833,8 +1839,10 @@ constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -2647,6 +2655,7 @@ constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -2686,6 +2695,7 @@ constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -2808,8 +2818,10 @@ constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt index 7d5d3992e..65e240a90 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt @@ -515,6 +515,7 @@ constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -554,6 +555,7 @@ constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -673,8 +675,10 @@ constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ApplyResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ApplyResponse.kt index 813974d49..b4eca1e99 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ApplyResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ApplyResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2CreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2CreateResponse.kt index 640612b11..eaed523cf 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2CreateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2CreateResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2DraftResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2DraftResponse.kt index f35f9a55e..37034cb4d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2DraftResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2DraftResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ListResponse.kt index b61fac32b..c8735d8cc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2ListResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2PromoteResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2PromoteResponse.kt index 597fe59d7..3cdc35bfc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2PromoteResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2PromoteResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2RetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2RetrieveResponse.kt index bcd802aa8..dac8319db 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2RetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2RetrieveResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2UpdateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2UpdateResponse.kt index a179c42b2..ec3265ec0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2UpdateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/V2UpdateResponse.kt @@ -594,6 +594,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -633,6 +634,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -755,8 +757,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } @@ -1530,6 +1534,7 @@ private constructor( fun operation(): Optional = Optional.ofNullable(operation.getNullable("operation")) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(): Optional = Optional.ofNullable(value.getNullable("value")) /** @@ -1569,6 +1574,7 @@ private constructor( /** The operation to apply to the attribute */ @JsonProperty("operation") @ExcludeMissing fun _operation() = operation + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun _value() = value @JsonAnyGetter @@ -1691,8 +1697,10 @@ private constructor( this.operation = operation } + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ fun value(value: Value) = value(JsonField.of(value)) + /** A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH` */ @JsonProperty("value") @ExcludeMissing fun value(value: JsonField) = apply { this.value = value } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/VelocityLimitParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/VelocityLimitParams.kt index 3e4e200c9..f8f688c9e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/VelocityLimitParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/VelocityLimitParams.kt @@ -43,6 +43,10 @@ private constructor( fun scope(): Scope = scope.getRequired("scope") + /** + * The size of the trailing window to calculate Spend Velocity over in seconds. The minimum + * value is 10 seconds, and the maximum value is 2678400 seconds. + */ fun period(): Period = period.getRequired("period") fun filters(): Filters = filters.getRequired("filters") @@ -64,6 +68,10 @@ private constructor( @JsonProperty("scope") @ExcludeMissing fun _scope() = scope + /** + * The size of the trailing window to calculate Spend Velocity over in seconds. The minimum + * value is 10 seconds, and the maximum value is 2678400 seconds. + */ @JsonProperty("period") @ExcludeMissing fun _period() = period @JsonProperty("filters") @ExcludeMissing fun _filters() = filters @@ -129,8 +137,16 @@ private constructor( @ExcludeMissing fun scope(scope: JsonField) = apply { this.scope = scope } + /** + * The size of the trailing window to calculate Spend Velocity over in seconds. The minimum + * value is 10 seconds, and the maximum value is 2678400 seconds. + */ fun period(period: Period) = period(JsonField.of(period)) + /** + * The size of the trailing window to calculate Spend Velocity over in seconds. The minimum + * value is 10 seconds, and the maximum value is 2678400 seconds. + */ @JsonProperty("period") @ExcludeMissing fun period(period: JsonField) = apply { this.period = period }