Skip to content

Commit 6700105

Browse files
committed
Update sampleconfig naming
1 parent 32e082d commit 6700105

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

output/schema/schema.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/_types/SampleConfigurationOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { DateTime, Duration } from '@_types/Time'
2424
/**
2525
* Sampling configuration as returned by the API.
2626
*/
27-
export class SamplingConfigurationOutput {
27+
export class SamplingConfiguration {
2828
/**
2929
* The fraction of documents to sample.
3030
*/

specification/indices/get_all_sample_configuration/_types/IndexSamplingConfiguration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
*/
1919

2020
import { IndexName } from '@_types/common'
21-
import { SamplingConfigurationOutput } from '@indices/_types/SampleConfigurationOutput'
21+
import { SamplingConfiguration } from '@indices/_types/SampleConfigurationOutput'
2222

2323
export class IndexSamplingConfiguration {
2424
index: IndexName
25-
configuration: SamplingConfigurationOutput
25+
configuration: SamplingConfiguration
2626
}

specification/indices/get_sample_configuration/IndicesGetSampleConfigurationResponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
*/
1919

2020
import { IndexName } from '@_types/common'
21-
import { SamplingConfigurationOutput } from '@indices/_types/SampleConfigurationOutput'
21+
import { SamplingConfiguration } from '@indices/_types/SampleConfigurationOutput'
2222

2323
export class Response {
2424
body: {
2525
index: IndexName
26-
configuration: SamplingConfigurationOutput | null
26+
configuration: SamplingConfiguration | null
2727
}
2828
}

0 commit comments

Comments
 (0)