Skip to content

Commit

Permalink
fmp/pages: create pages proto
Browse files Browse the repository at this point in the history
create pages proto for GetPage requests.

Change-Id: I5a5ce95b1040dcf9eccd280936666b2d9ca4d5fc
  • Loading branch information
earnestwheeler committed Feb 29, 2024
1 parent 837ffd1 commit a91c4d7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ lint:
- fmp/inet.proto
- fmp/wrappers.proto
- fmp/deletes.proto
- fmp/pages.proto
- arista/subscriptions/subscriptions.proto
- arista/time/time.proto
breaking:
Expand Down
21 changes: 21 additions & 0 deletions fmp/pages.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) 2022 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
// Subject to Arista Networks, Inc.'s EULA.
// FOR INTERNAL USE ONLY. NOT FOR DISTRIBUTION.

syntax = "proto3";

package fmp;

option go_package = "github.com/aristanetworks/cloudvision-go/api/fmp";

// SortDirection is an enum of possible values for direction of sorting.
enum SortDirection {
// SORT_DIRECTION_UNSPECIFIED means that no sort direction specified.
SORT_DIRECTION_UNSPECIFIED = 0;
// SORT_DIRECTION_ASCENDING sorts in ascending order.
SORT_DIRECTION_ASCENDING = 1;
// SORT_DIRECTION_DESCENDING sorts in descending order.
SORT_DIRECTION_DESCENDING = 2;
}

0 comments on commit a91c4d7

Please sign in to comment.