Skip to content

Commit 7075558

Browse files
committed
STAC-24925: sync openapi version
1 parent 1bc4310 commit 7075558

6 files changed

Lines changed: 144 additions & 52 deletions

File tree

generated/stackstate_api/api/openapi.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14829,7 +14829,7 @@ components:
1482914829
properties:
1483014830
_type:
1483114831
enum:
14832-
- ResolvedPresentationComponentLink
14832+
- ResolvedComponentPresentationLink
1483314833
type: string
1483414834
linkId:
1483514835
description: Identity key for this link.
@@ -18753,6 +18753,7 @@ components:
1875318753
connectedComponents: true
1875418754
groupingEnabled: true
1875518755
groupedByDomain: true
18756+
readOnly: true
1875618757
topologyQuery: topologyQuery
1875718758
events: "{}"
1875818759
properties:
@@ -18764,6 +18765,12 @@ components:
1876418765
description: "STQL query for this view. Used by the shared timeline, the\
1876518766
\ events perspective, and the topology perspective."
1876618767
type: string
18768+
readOnly:
18769+
description: "When true, the view is system-managed (e.g. a ComponentPresentation\
18770+
\ or ViewType) and the\nfrontend must not offer save, save-as, edit, or\
18771+
\ delete operations. When false, the view is\na user-managed QueryView\
18772+
\ and mutation operations are permitted subject to normal permission checks.\n"
18773+
type: boolean
1876718774
overview:
1876818775
type: object
1876918776
topology:
@@ -18772,6 +18779,7 @@ components:
1877218779
type: object
1877318780
required:
1877418781
- identifier
18782+
- readOnly
1877518783
- topologyQuery
1877618784
type: object
1877718785
OverviewPerspective:
@@ -20946,9 +20954,6 @@ components:
2094620954
type: number
2094720955
required:
2094820956
- linkId
20949-
- order
20950-
- target
20951-
- title
2095220957
type: object
2095320958
PresentationHighlightEvents:
2095420959
example:

generated/stackstate_api/docs/Perspectives.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Identifier** | **string** | The resolved URN (ComponentPresentation identifier or legacy QueryView/ViewType URN). |
88
**TopologyQuery** | **string** | STQL query for this view. Used by the shared timeline, the events perspective, and the topology perspective. |
9+
**ReadOnly** | **bool** | When true, the view is system-managed (e.g. a ComponentPresentation or ViewType) and the frontend must not offer save, save-as, edit, or delete operations. When false, the view is a user-managed QueryView and mutation operations are permitted subject to normal permission checks. |
910
**Overview** | Pointer to **map[string]interface{}** | | [optional]
1011
**Topology** | Pointer to [**TopologyPerspective**](TopologyPerspective.md) | | [optional]
1112
**Events** | Pointer to **map[string]interface{}** | | [optional]
@@ -14,7 +15,7 @@ Name | Type | Description | Notes
1415

1516
### NewPerspectives
1617

17-
`func NewPerspectives(identifier string, topologyQuery string, ) *Perspectives`
18+
`func NewPerspectives(identifier string, topologyQuery string, readOnly bool, ) *Perspectives`
1819

1920
NewPerspectives instantiates a new Perspectives object
2021
This constructor will assign default values to properties that have it defined,
@@ -69,6 +70,26 @@ and a boolean to check if the value has been set.
6970
SetTopologyQuery sets TopologyQuery field to given value.
7071

7172

73+
### GetReadOnly
74+
75+
`func (o *Perspectives) GetReadOnly() bool`
76+
77+
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
78+
79+
### GetReadOnlyOk
80+
81+
`func (o *Perspectives) GetReadOnlyOk() (*bool, bool)`
82+
83+
GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise
84+
and a boolean to check if the value has been set.
85+
86+
### SetReadOnly
87+
88+
`func (o *Perspectives) SetReadOnly(v bool)`
89+
90+
SetReadOnly sets ReadOnly field to given value.
91+
92+
7293
### GetOverview
7394

7495
`func (o *Perspectives) GetOverview() map[string]interface{}`

generated/stackstate_api/docs/PresentationLink.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**LinkId** | **string** | Stable identity key for merging across presentations, analogous to fieldId and resourceId. |
8-
**Title** | **string** | CEL expression that returns the displayed link title. |
9-
**Target** | **string** | CEL expression that returns a relative or fully-qualified link target. |
8+
**Title** | Pointer to **string** | CEL expression that returns the displayed link title. | [optional]
9+
**Target** | Pointer to **string** | CEL expression that returns a relative or fully-qualified link target. | [optional]
1010
**OpenInNewTab** | Pointer to **bool** | Whether the link opens in a new tab. Defaults to false. | [optional] [default to false]
1111
**Tooltip** | Pointer to **string** | Optional CEL expression that returns tooltip text. | [optional]
1212
**Filter** | Pointer to **string** | Optional CEL boolean expression deciding whether the link is shown. Missing filters default to true. | [optional]
13-
**Order** | **float64** | Display order. Higher value means it shows first in UI. |
13+
**Order** | Pointer to **float64** | Display order. Higher value means it shows first in UI. | [optional]
1414

1515
## Methods
1616

1717
### NewPresentationLink
1818

19-
`func NewPresentationLink(linkId string, title string, target string, order float64, ) *PresentationLink`
19+
`func NewPresentationLink(linkId string, ) *PresentationLink`
2020

2121
NewPresentationLink instantiates a new PresentationLink object
2222
This constructor will assign default values to properties that have it defined,
@@ -70,6 +70,11 @@ and a boolean to check if the value has been set.
7070

7171
SetTitle sets Title field to given value.
7272

73+
### HasTitle
74+
75+
`func (o *PresentationLink) HasTitle() bool`
76+
77+
HasTitle returns a boolean if a field has been set.
7378

7479
### GetTarget
7580

@@ -90,6 +95,11 @@ and a boolean to check if the value has been set.
9095

9196
SetTarget sets Target field to given value.
9297

98+
### HasTarget
99+
100+
`func (o *PresentationLink) HasTarget() bool`
101+
102+
HasTarget returns a boolean if a field has been set.
93103

94104
### GetOpenInNewTab
95105

@@ -185,6 +195,11 @@ and a boolean to check if the value has been set.
185195

186196
SetOrder sets Order field to given value.
187197

198+
### HasOrder
199+
200+
`func (o *PresentationLink) HasOrder() bool`
201+
202+
HasOrder returns a boolean if a field has been set.
188203

189204

190205
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

generated/stackstate_api/model_perspectives.go

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

0 commit comments

Comments
 (0)