Skip to content

Commit

Permalink
Delete usage of Azure.Core.nextLink (#31741)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitzelMendez authored and mikeharder committed Dec 9, 2024
1 parent 1536205 commit 6d1d5bb
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 31 deletions.
8 changes: 4 additions & 4 deletions specification/appconfiguration/AppConfiguration/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ model KeyListResult {
items?: Key[];

@doc("The URI that can be used to request the next set of paged results.")
@Azure.Core.nextLink
@nextLink
`@nextLink`?: string;
}

Expand Down Expand Up @@ -162,7 +162,7 @@ model KeyValueListResult {
etag?: string;

@doc("The URI that can be used to request the next set of paged results.")
@Azure.Core.nextLink
@nextLink
`@nextLink`?: string;
}

Expand Down Expand Up @@ -207,7 +207,7 @@ model SnapshotListResult {
items?: Snapshot[];

@doc("The URI that can be used to request the next set of paged results.")
@Azure.Core.nextLink
@nextLink
`@nextLink`?: string;
}

Expand Down Expand Up @@ -304,7 +304,7 @@ model LabelListResult {
items?: Label[];

@doc("The URI that can be used to request the next set of paged results.")
@Azure.Core.nextLink
@nextLink
`@nextLink`?: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ model VirtualMachineScaleSetListResult {
value: Array<VirtualMachineScaleSet>;

@doc("The link to the next page of items")
@Azure.Core.nextLink
@nextLink
nextLink?: url;
}
26 changes: 13 additions & 13 deletions specification/batch/Azure.Batch/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ model BatchApplicationListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -778,7 +778,7 @@ model BatchPoolListUsageMetricsResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -809,7 +809,7 @@ model BatchAccountListSupportedImagesResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -880,7 +880,7 @@ model BatchPoolNodeCountsListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -1095,7 +1095,7 @@ model BatchNodeFileListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -2338,7 +2338,7 @@ model BatchJobScheduleListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -2576,7 +2576,7 @@ model BatchJobListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand All @@ -2592,7 +2592,7 @@ model BatchJobPreparationAndReleaseTaskStatusListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -3106,7 +3106,7 @@ model BatchPoolListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -3545,7 +3545,7 @@ model BatchTaskListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -3591,7 +3591,7 @@ model BatchTaskListSubtasksResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -3965,7 +3965,7 @@ model BatchNodeListResult {

#suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase"
@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}

Expand Down Expand Up @@ -4022,6 +4022,6 @@ model BatchNodeVMExtensionListResult {
value?: BatchNodeVMExtension[];

@doc("The URL to get the next set of results.")
@Azure.Core.nextLink
@nextLink
`odata.nextLink`?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ model ModelList {
maxCount: int32;

@doc("Link to fetch more models.")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ model EntryIds {
transactionIds: string[];

@doc("Path to the next page of results")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down
4 changes: 2 additions & 2 deletions specification/fabric/Microsoft.Fabric.Management/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ model RpSkuEnumerationForNewResourceResult {
value: Array<RpSkuDetailsForNewResource>;

@doc("Url for the next page. Null if no more pages available")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down Expand Up @@ -145,7 +145,7 @@ model RpSkuEnumerationForExistingResourceResult {
value: Array<RpSkuDetailsForExistingResource>;

@doc("Url for the next page. Null if no more pages available")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ model PagedIndex {
value: Index[];

@doc("The link to the next page of items")
@Azure.Core.nextLink
@nextLink
nextLink?: ResourceLocation<Index>;
}

Expand All @@ -77,7 +77,7 @@ model PagedPrompt {
value: Prompt[];

@doc("The link to the next page of items")
@Azure.Core.nextLink
@nextLink
nextLink?: ResourceLocation<Prompt>;
}

Expand Down
6 changes: 3 additions & 3 deletions specification/riskiq/Easm/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ model AssetPageResult {
mark?: string;

@doc("The link to access the next page of results. Not set if at the end of the result set.")
@Azure.Core.nextLink
@nextLink
nextLink?: string;

@doc("The items in the current page of results.")
Expand Down Expand Up @@ -714,7 +714,7 @@ model DiscoRunPageResult {
totalElements?: int64;

@doc("The link to access the next page of results. Not set if at the end of the result set.")
@Azure.Core.nextLink
@nextLink
nextLink?: string;

@doc("The items in the current page of results.")
Expand Down Expand Up @@ -1527,7 +1527,7 @@ model DeltaPageResult {
totalElements?: int64;

@doc("The link to access the next page of results. Not set if at the end of the result set.")
@Azure.Core.nextLink
@nextLink
nextLink?: string;

@doc("The items in the current page of results.")
Expand Down
4 changes: 2 additions & 2 deletions specification/schemaregistry/SchemaRegistry/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ model SchemaGroups {

/** The link to the next page of items */
#suppress "@azure-tools/typespec-azure-core/casing-style" "Already public casing from service is not camelCase."
@Azure.Core.nextLink
@nextLink
NextLink?: string;
}

Expand All @@ -265,7 +265,7 @@ model SchemaVersions {

/** The link to the next page of items */
#suppress "@azure-tools/typespec-azure-core/casing-style" "Already public casing from service is not camelCase."
@Azure.Core.nextLink
@nextLink
NextLink?: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ model TranslationsStatus {
value: TranslationStatus[];

@doc("Url for the next page. Null if no more pages available")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down Expand Up @@ -447,7 +447,7 @@ model DocumentsStatus {
value: DocumentStatus[];

@doc("Url for the next page. Null if no more pages available")
@Azure.Core.nextLink
@nextLink
nextLink?: string;
}

Expand Down

0 comments on commit 6d1d5bb

Please sign in to comment.