Skip to content

Commit

Permalink
Merge branch 'main' into chore/renovateBaseBranch
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Jan 27, 2025
2 parents 525a92f + e142be4 commit 7a1587e
Show file tree
Hide file tree
Showing 70 changed files with 316 additions and 151 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
'automation-custom/no-big-int': 'error',
'automation-custom/no-final-dot': 'error',
'automation-custom/single-quote-ref': 'error',
'automation-custom/has-type': 'error',
},
overrides: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ListABTestsResponse() { }
/// <summary>
/// Initializes a new instance of the ListABTestsResponse class.
/// </summary>
/// <param name="abtests">A/B tests. (required).</param>
/// <param name="abtests">The list of A/B tests, null if no A/B tests are configured for this application. (required).</param>
/// <param name="count">Number of A/B tests. (required).</param>
/// <param name="total">Number of retrievable A/B tests. (required).</param>
public ListABTestsResponse(List<ABTest> abtests, int count, int total)
Expand All @@ -35,9 +35,9 @@ public ListABTestsResponse(List<ABTest> abtests, int count, int total)
}

/// <summary>
/// A/B tests.
/// The list of A/B tests, null if no A/B tests are configured for this application.
/// </summary>
/// <value>A/B tests.</value>
/// <value>The list of A/B tests, null if no A/B tests are configured for this application.</value>
[JsonPropertyName("abtests")]
public List<ABTest> Abtests { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ public GetStatusResponse() { }
/// <summary>
/// Initializes a new instance of the GetStatusResponse class.
/// </summary>
/// <param name="updatedAt">Date and time when the object was updated, in RFC 3339 format. (required).</param>
/// <param name="updatedAt">Date and time when the object was updated, in RFC 3339 format. (required).</param>
public GetStatusResponse(string updatedAt)
{
UpdatedAt = updatedAt ?? throw new ArgumentNullException(nameof(updatedAt));
}

/// <summary>
/// Date and time when the object was updated, in RFC 3339 format.
/// Date and time when the object was updated, in RFC 3339 format.
/// </summary>
/// <value>Date and time when the object was updated, in RFC 3339 format. </value>
/// <value>Date and time when the object was updated, in RFC 3339 format.</value>
[JsonPropertyName("updatedAt")]
public string UpdatedAt { get; set; }

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ListABTestsResponse addAbtests(ABTest abtestsItem) {
return this;
}

/** A/B tests. */
/** The list of A/B tests, null if no A/B tests are configured for this application. */
@javax.annotation.Nullable
public List<ABTest> getAbtests() {
return abtests;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { ABTest } from './aBTest';

export type ListABTestsResponse = {
/**
* A/B tests.
* The list of A/B tests, null if no A/B tests are configured for this application.
*/
abtests: Array<ABTest> | null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import kotlinx.serialization.json.*
/**
* ListABTestsResponse
*
* @param abtests A/B tests.
* @param abtests The list of A/B tests, null if no A/B tests are configured for this application.
* @param count Number of A/B tests.
* @param total Number of retrievable A/B tests.
*/
@Serializable
public data class ListABTestsResponse(

/** A/B tests. */
/** The list of A/B tests, null if no A/B tests are configured for this application. */
@SerialName(value = "abtests") val abtests: List<ABTest>,

/** Number of A/B tests. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import kotlinx.serialization.json.*
@Serializable
public data class GetStatusResponse(

/** Date and time when the object was updated, in RFC 3339 format. */
/** Date and time when the object was updated, in RFC 3339 format. */
@SerialName(value = "updatedAt") val updatedAt: String,
)
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function getAbtests()
/**
* Sets abtests.
*
* @param \Algolia\AlgoliaSearch\Model\Abtesting\ABTest[] $abtests A/B tests
* @param \Algolia\AlgoliaSearch\Model\Abtesting\ABTest[] $abtests the list of A/B tests, null if no A/B tests are configured for this application
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ListABTestsResponse(BaseModel):
"""

abtests: List[ABTest]
""" A/B tests. """
""" The list of A/B tests, null if no A/B tests are configured for this application. """
count: int
""" Number of A/B tests. """
total: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class GetStatusResponse(BaseModel):
"""

updated_at: str
""" Date and time when the object was updated, in RFC 3339 format. """
""" Date and time when the object was updated, in RFC 3339 format. """

model_config = ConfigDict(
strict=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module Algolia
module Abtesting
class ListABTestsResponse
# A/B tests.
# The list of A/B tests, null if no A/B tests are configured for this application.
attr_accessor :abtests

# Number of A/B tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package algoliasearch.abtesting
/** ListABTestsResponse
*
* @param abtests
* A/B tests.
* The list of A/B tests, null if no A/B tests are configured for this application.
* @param count
* Number of A/B tests.
* @param total
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Foundation
#endif

public struct ListABTestsResponse: Codable, JSONEncodable {
/// A/B tests.
/// The list of A/B tests, null if no A/B tests are configured for this application.
public var abtests: [ABTest]?
/// Number of A/B tests.
public var count: Int
Expand Down
5 changes: 3 additions & 2 deletions docs/bundled/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3480,11 +3480,12 @@ components:
ABTests:
oneOf:
- type: array
description: A/B tests.
description: >-
The list of A/B tests, null if no A/B tests are configured for this
application.
items:
$ref: '#/components/schemas/ABTest'
- type: 'null'
description: No A/B tests are configured for this application.
abTestsVariant:
type: object
additionalProperties: false
Expand Down
6 changes: 2 additions & 4 deletions docs/bundled/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7468,14 +7468,12 @@ components:
items:
$ref: '#/components/schemas/getTopFiltersNoResultsValues'
updatedAtNullable:
default: null
oneOf:
- type: string
default: null
description: Date and time when the object was updated, in RFC 3339 format.
example: '2023-07-04T12:49:15Z'
description: |
Date and time when the object was updated, in RFC 3339 format.
- type: 'null'
description: If null, this object wasn't updated yet.
responses:
BadRequest:
description: Bad request or request arguments.
Expand Down
3 changes: 1 addition & 2 deletions docs/bundled/crawler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2710,6 +2710,7 @@ components:
required:
- url
waitTime:
type: object
description: Timeout for the HTTP request.
properties:
min:
Expand Down Expand Up @@ -3247,14 +3248,12 @@ components:
description: Date and time when the last crawl started, in RFC 3339 format.
example: '2024-04-07T09:16:04Z'
- type: 'null'
description: If null, this crawler hasn't indexed anything yet.
lastReindexEndedAt:
default: null
oneOf:
- type: string
description: Date and time when the last crawl finished, in RFC 3339 format.
- type: 'null'
description: If null, this crawler hasn't indexed anything yet.
required:
- name
- createdAt
Expand Down
Loading

0 comments on commit 7a1587e

Please sign in to comment.