nominal-api 0.821.0__py3-none-any.whl → 0.822.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +3 -1
- nominal_api/_impl.py +1775 -196
- nominal_api/scout_api/__init__.py +8 -0
- nominal_api/scout_rids_api/__init__.py +2 -0
- nominal_api/scout_savedviews/__init__.py +9 -0
- nominal_api/scout_savedviews_api/__init__.py +69 -0
- {nominal_api-0.821.0.dist-info → nominal_api-0.822.1.dist-info}/METADATA +1 -1
- {nominal_api-0.821.0.dist-info → nominal_api-0.822.1.dist-info}/RECORD +10 -8
- {nominal_api-0.821.0.dist-info → nominal_api-0.822.1.dist-info}/WHEEL +0 -0
- {nominal_api-0.821.0.dist-info → nominal_api-0.822.1.dist-info}/top_level.txt +0 -0
nominal_api/_impl.py
CHANGED
|
@@ -20549,6 +20549,62 @@ scout_api_ClosedWithIgnoreDispositionState.__qualname__ = "ClosedWithIgnoreDispo
|
|
|
20549
20549
|
scout_api_ClosedWithIgnoreDispositionState.__module__ = "nominal_api.scout_api"
|
|
20550
20550
|
|
|
20551
20551
|
|
|
20552
|
+
class scout_api_Color(ConjureUnionType):
|
|
20553
|
+
_hex_code: Optional[str] = None
|
|
20554
|
+
|
|
20555
|
+
@builtins.classmethod
|
|
20556
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
20557
|
+
return {
|
|
20558
|
+
'hex_code': ConjureFieldDefinition('hexCode', str)
|
|
20559
|
+
}
|
|
20560
|
+
|
|
20561
|
+
def __init__(
|
|
20562
|
+
self,
|
|
20563
|
+
hex_code: Optional[str] = None,
|
|
20564
|
+
type_of_union: Optional[str] = None
|
|
20565
|
+
) -> None:
|
|
20566
|
+
if type_of_union is None:
|
|
20567
|
+
if (hex_code is not None) != 1:
|
|
20568
|
+
raise ValueError('a union must contain a single member')
|
|
20569
|
+
|
|
20570
|
+
if hex_code is not None:
|
|
20571
|
+
self._hex_code = hex_code
|
|
20572
|
+
self._type = 'hexCode'
|
|
20573
|
+
|
|
20574
|
+
elif type_of_union == 'hexCode':
|
|
20575
|
+
if hex_code is None:
|
|
20576
|
+
raise ValueError('a union value must not be None')
|
|
20577
|
+
self._hex_code = hex_code
|
|
20578
|
+
self._type = 'hexCode'
|
|
20579
|
+
|
|
20580
|
+
@builtins.property
|
|
20581
|
+
def hex_code(self) -> Optional[str]:
|
|
20582
|
+
return self._hex_code
|
|
20583
|
+
|
|
20584
|
+
def accept(self, visitor) -> Any:
|
|
20585
|
+
if not isinstance(visitor, scout_api_ColorVisitor):
|
|
20586
|
+
raise ValueError('{} is not an instance of scout_api_ColorVisitor'.format(visitor.__class__.__name__))
|
|
20587
|
+
if self._type == 'hexCode' and self.hex_code is not None:
|
|
20588
|
+
return visitor._hex_code(self.hex_code)
|
|
20589
|
+
|
|
20590
|
+
|
|
20591
|
+
scout_api_Color.__name__ = "Color"
|
|
20592
|
+
scout_api_Color.__qualname__ = "Color"
|
|
20593
|
+
scout_api_Color.__module__ = "nominal_api.scout_api"
|
|
20594
|
+
|
|
20595
|
+
|
|
20596
|
+
class scout_api_ColorVisitor:
|
|
20597
|
+
|
|
20598
|
+
@abstractmethod
|
|
20599
|
+
def _hex_code(self, hex_code: str) -> Any:
|
|
20600
|
+
pass
|
|
20601
|
+
|
|
20602
|
+
|
|
20603
|
+
scout_api_ColorVisitor.__name__ = "ColorVisitor"
|
|
20604
|
+
scout_api_ColorVisitor.__qualname__ = "ColorVisitor"
|
|
20605
|
+
scout_api_ColorVisitor.__module__ = "nominal_api.scout_api"
|
|
20606
|
+
|
|
20607
|
+
|
|
20552
20608
|
class scout_api_DispositionState(ConjureUnionType):
|
|
20553
20609
|
_pending_review: Optional["scout_api_PendingReviewDispositionState"] = None
|
|
20554
20610
|
_closed_with_further_action: Optional["scout_api_ClosedWithFurtherActionDispositionState"] = None
|
|
@@ -20694,6 +20750,110 @@ scout_api_Priority.__qualname__ = "Priority"
|
|
|
20694
20750
|
scout_api_Priority.__module__ = "nominal_api.scout_api"
|
|
20695
20751
|
|
|
20696
20752
|
|
|
20753
|
+
class scout_api_Symbol(ConjureUnionType):
|
|
20754
|
+
_icon: Optional[str] = None
|
|
20755
|
+
_emoji: Optional[str] = None
|
|
20756
|
+
_image: Optional[str] = None
|
|
20757
|
+
|
|
20758
|
+
@builtins.classmethod
|
|
20759
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
20760
|
+
return {
|
|
20761
|
+
'icon': ConjureFieldDefinition('icon', str),
|
|
20762
|
+
'emoji': ConjureFieldDefinition('emoji', str),
|
|
20763
|
+
'image': ConjureFieldDefinition('image', str)
|
|
20764
|
+
}
|
|
20765
|
+
|
|
20766
|
+
def __init__(
|
|
20767
|
+
self,
|
|
20768
|
+
icon: Optional[str] = None,
|
|
20769
|
+
emoji: Optional[str] = None,
|
|
20770
|
+
image: Optional[str] = None,
|
|
20771
|
+
type_of_union: Optional[str] = None
|
|
20772
|
+
) -> None:
|
|
20773
|
+
if type_of_union is None:
|
|
20774
|
+
if (icon is not None) + (emoji is not None) + (image is not None) != 1:
|
|
20775
|
+
raise ValueError('a union must contain a single member')
|
|
20776
|
+
|
|
20777
|
+
if icon is not None:
|
|
20778
|
+
self._icon = icon
|
|
20779
|
+
self._type = 'icon'
|
|
20780
|
+
if emoji is not None:
|
|
20781
|
+
self._emoji = emoji
|
|
20782
|
+
self._type = 'emoji'
|
|
20783
|
+
if image is not None:
|
|
20784
|
+
self._image = image
|
|
20785
|
+
self._type = 'image'
|
|
20786
|
+
|
|
20787
|
+
elif type_of_union == 'icon':
|
|
20788
|
+
if icon is None:
|
|
20789
|
+
raise ValueError('a union value must not be None')
|
|
20790
|
+
self._icon = icon
|
|
20791
|
+
self._type = 'icon'
|
|
20792
|
+
elif type_of_union == 'emoji':
|
|
20793
|
+
if emoji is None:
|
|
20794
|
+
raise ValueError('a union value must not be None')
|
|
20795
|
+
self._emoji = emoji
|
|
20796
|
+
self._type = 'emoji'
|
|
20797
|
+
elif type_of_union == 'image':
|
|
20798
|
+
if image is None:
|
|
20799
|
+
raise ValueError('a union value must not be None')
|
|
20800
|
+
self._image = image
|
|
20801
|
+
self._type = 'image'
|
|
20802
|
+
|
|
20803
|
+
@builtins.property
|
|
20804
|
+
def icon(self) -> Optional[str]:
|
|
20805
|
+
"""Icon name (e.g. castle)
|
|
20806
|
+
"""
|
|
20807
|
+
return self._icon
|
|
20808
|
+
|
|
20809
|
+
@builtins.property
|
|
20810
|
+
def emoji(self) -> Optional[str]:
|
|
20811
|
+
"""Emoji name (e.g. :castle:)
|
|
20812
|
+
"""
|
|
20813
|
+
return self._emoji
|
|
20814
|
+
|
|
20815
|
+
@builtins.property
|
|
20816
|
+
def image(self) -> Optional[str]:
|
|
20817
|
+
"""Image url (e.g. https://example.com/image.png)
|
|
20818
|
+
"""
|
|
20819
|
+
return self._image
|
|
20820
|
+
|
|
20821
|
+
def accept(self, visitor) -> Any:
|
|
20822
|
+
if not isinstance(visitor, scout_api_SymbolVisitor):
|
|
20823
|
+
raise ValueError('{} is not an instance of scout_api_SymbolVisitor'.format(visitor.__class__.__name__))
|
|
20824
|
+
if self._type == 'icon' and self.icon is not None:
|
|
20825
|
+
return visitor._icon(self.icon)
|
|
20826
|
+
if self._type == 'emoji' and self.emoji is not None:
|
|
20827
|
+
return visitor._emoji(self.emoji)
|
|
20828
|
+
if self._type == 'image' and self.image is not None:
|
|
20829
|
+
return visitor._image(self.image)
|
|
20830
|
+
|
|
20831
|
+
|
|
20832
|
+
scout_api_Symbol.__name__ = "Symbol"
|
|
20833
|
+
scout_api_Symbol.__qualname__ = "Symbol"
|
|
20834
|
+
scout_api_Symbol.__module__ = "nominal_api.scout_api"
|
|
20835
|
+
|
|
20836
|
+
|
|
20837
|
+
class scout_api_SymbolVisitor:
|
|
20838
|
+
|
|
20839
|
+
@abstractmethod
|
|
20840
|
+
def _icon(self, icon: str) -> Any:
|
|
20841
|
+
pass
|
|
20842
|
+
|
|
20843
|
+
@abstractmethod
|
|
20844
|
+
def _emoji(self, emoji: str) -> Any:
|
|
20845
|
+
pass
|
|
20846
|
+
|
|
20847
|
+
@abstractmethod
|
|
20848
|
+
def _image(self, image: str) -> Any:
|
|
20849
|
+
pass
|
|
20850
|
+
|
|
20851
|
+
|
|
20852
|
+
scout_api_SymbolVisitor.__name__ = "SymbolVisitor"
|
|
20853
|
+
scout_api_SymbolVisitor.__qualname__ = "SymbolVisitor"
|
|
20854
|
+
scout_api_SymbolVisitor.__module__ = "nominal_api.scout_api"
|
|
20855
|
+
|
|
20856
|
+
|
|
20697
20857
|
class scout_asset_api_AddDataScopesToAssetRequest(ConjureBeanType):
|
|
20698
20858
|
|
|
20699
20859
|
@builtins.classmethod
|
|
@@ -73008,6 +73168,8 @@ class scout_metadata_ResourceType(ConjureEnumType):
|
|
|
73008
73168
|
'''PROCEDURE_EXECUTION'''
|
|
73009
73169
|
PROCEDURE = 'PROCEDURE'
|
|
73010
73170
|
'''PROCEDURE'''
|
|
73171
|
+
SAVED_VIEW = 'SAVED_VIEW'
|
|
73172
|
+
'''SAVED_VIEW'''
|
|
73011
73173
|
UNKNOWN = 'UNKNOWN'
|
|
73012
73174
|
'''UNKNOWN'''
|
|
73013
73175
|
|
|
@@ -76596,290 +76758,1703 @@ scout_run_api_WeakTimestampType.__qualname__ = "WeakTimestampType"
|
|
|
76596
76758
|
scout_run_api_WeakTimestampType.__module__ = "nominal_api.scout_run_api"
|
|
76597
76759
|
|
|
76598
76760
|
|
|
76599
|
-
class
|
|
76761
|
+
class scout_savedviews_SavedViewService(Service):
|
|
76762
|
+
"""Saved Views allow users to store and reuse filter and table display configurations across
|
|
76763
|
+
assets, runs, checklists, and more. They can be favorited, archived, and shared across a workspace.
|
|
76764
|
+
"""
|
|
76600
76765
|
|
|
76601
|
-
|
|
76602
|
-
|
|
76603
|
-
|
|
76604
|
-
|
|
76605
|
-
|
|
76606
|
-
|
|
76607
|
-
|
|
76608
|
-
'
|
|
76766
|
+
def create_saved_view(self, auth_header: str, request: "scout_savedviews_api_CreateSavedViewRequest") -> "scout_savedviews_api_CreateSavedViewResponse":
|
|
76767
|
+
"""Creates a new saved view in the given workspace. If no workspace is specified,
|
|
76768
|
+
it is created in the user's default workspace.
|
|
76769
|
+
"""
|
|
76770
|
+
_conjure_encoder = ConjureEncoder()
|
|
76771
|
+
|
|
76772
|
+
_headers: Dict[str, Any] = {
|
|
76773
|
+
'Accept': 'application/json',
|
|
76774
|
+
'Content-Type': 'application/json',
|
|
76775
|
+
'Authorization': auth_header,
|
|
76609
76776
|
}
|
|
76610
76777
|
|
|
76611
|
-
|
|
76778
|
+
_params: Dict[str, Any] = {
|
|
76779
|
+
}
|
|
76612
76780
|
|
|
76613
|
-
|
|
76614
|
-
|
|
76615
|
-
self._layout = layout
|
|
76616
|
-
self._content = content
|
|
76617
|
-
self._message = message
|
|
76618
|
-
self._latest_commit = latest_commit
|
|
76781
|
+
_path_params: Dict[str, str] = {
|
|
76782
|
+
}
|
|
76619
76783
|
|
|
76620
|
-
|
|
76621
|
-
def charts(self) -> Optional[List["scout_rids_api_VersionedVizId"]]:
|
|
76622
|
-
return self._charts
|
|
76784
|
+
_json: Any = _conjure_encoder.default(request)
|
|
76623
76785
|
|
|
76624
|
-
|
|
76625
|
-
|
|
76626
|
-
return self._layout
|
|
76786
|
+
_path = '/scout/saved-views/v1'
|
|
76787
|
+
_path = _path.format(**_path_params)
|
|
76627
76788
|
|
|
76628
|
-
|
|
76629
|
-
|
|
76630
|
-
|
|
76789
|
+
_response: Response = self._request(
|
|
76790
|
+
'POST',
|
|
76791
|
+
self._uri + _path,
|
|
76792
|
+
params=_params,
|
|
76793
|
+
headers=_headers,
|
|
76794
|
+
json=_json)
|
|
76631
76795
|
|
|
76632
|
-
|
|
76633
|
-
|
|
76634
|
-
return self._message
|
|
76796
|
+
_decoder = ConjureDecoder()
|
|
76797
|
+
return _decoder.decode(_response.json(), scout_savedviews_api_CreateSavedViewResponse, self._return_none_for_unknown_union_types)
|
|
76635
76798
|
|
|
76636
|
-
|
|
76637
|
-
|
|
76638
|
-
"""If present, will validate that the latest commit matches this id,
|
|
76639
|
-
and otherwise throw CommitConflict.
|
|
76799
|
+
def get_saved_view(self, auth_header: str, saved_view_rid: str) -> "scout_savedviews_api_GetSavedViewResponse":
|
|
76800
|
+
"""Fetches a saved view by RID. Throws NOT_FOUND if it does not exist.
|
|
76640
76801
|
"""
|
|
76641
|
-
|
|
76802
|
+
_conjure_encoder = ConjureEncoder()
|
|
76642
76803
|
|
|
76804
|
+
_headers: Dict[str, Any] = {
|
|
76805
|
+
'Accept': 'application/json',
|
|
76806
|
+
'Authorization': auth_header,
|
|
76807
|
+
}
|
|
76643
76808
|
|
|
76644
|
-
|
|
76645
|
-
|
|
76646
|
-
scout_template_api_CommitTemplateRequest.__module__ = "nominal_api.scout_template_api"
|
|
76809
|
+
_params: Dict[str, Any] = {
|
|
76810
|
+
}
|
|
76647
76811
|
|
|
76812
|
+
_path_params: Dict[str, str] = {
|
|
76813
|
+
'savedViewRid': quote(str(_conjure_encoder.default(saved_view_rid)), safe=''),
|
|
76814
|
+
}
|
|
76648
76815
|
|
|
76649
|
-
|
|
76816
|
+
_json: Any = None
|
|
76650
76817
|
|
|
76651
|
-
|
|
76652
|
-
|
|
76653
|
-
|
|
76654
|
-
|
|
76655
|
-
'
|
|
76656
|
-
|
|
76657
|
-
|
|
76658
|
-
|
|
76659
|
-
|
|
76660
|
-
|
|
76661
|
-
|
|
76662
|
-
|
|
76663
|
-
|
|
76818
|
+
_path = '/scout/saved-views/v1/{savedViewRid}'
|
|
76819
|
+
_path = _path.format(**_path_params)
|
|
76820
|
+
|
|
76821
|
+
_response: Response = self._request(
|
|
76822
|
+
'GET',
|
|
76823
|
+
self._uri + _path,
|
|
76824
|
+
params=_params,
|
|
76825
|
+
headers=_headers,
|
|
76826
|
+
json=_json)
|
|
76827
|
+
|
|
76828
|
+
_decoder = ConjureDecoder()
|
|
76829
|
+
return _decoder.decode(_response.json(), scout_savedviews_api_GetSavedViewResponse, self._return_none_for_unknown_union_types)
|
|
76830
|
+
|
|
76831
|
+
def batch_get_saved_views(self, auth_header: str, saved_view_rids: List[str] = None) -> "scout_savedviews_api_BatchGetSavedViewsResponse":
|
|
76832
|
+
"""Retrieves multiple saved views. Any invalid or unknown RIDs are omitted from the response.
|
|
76833
|
+
"""
|
|
76834
|
+
saved_view_rids = saved_view_rids if saved_view_rids is not None else []
|
|
76835
|
+
_conjure_encoder = ConjureEncoder()
|
|
76836
|
+
|
|
76837
|
+
_headers: Dict[str, Any] = {
|
|
76838
|
+
'Accept': 'application/json',
|
|
76839
|
+
'Content-Type': 'application/json',
|
|
76840
|
+
'Authorization': auth_header,
|
|
76664
76841
|
}
|
|
76665
76842
|
|
|
76666
|
-
|
|
76843
|
+
_params: Dict[str, Any] = {
|
|
76844
|
+
}
|
|
76667
76845
|
|
|
76668
|
-
|
|
76669
|
-
|
|
76670
|
-
self._description = description
|
|
76671
|
-
self._labels = labels
|
|
76672
|
-
self._properties = properties
|
|
76673
|
-
self._is_published = is_published
|
|
76674
|
-
self._charts = charts
|
|
76675
|
-
self._layout = layout
|
|
76676
|
-
self._content = content
|
|
76677
|
-
self._message = message
|
|
76678
|
-
self._workspace = workspace
|
|
76846
|
+
_path_params: Dict[str, str] = {
|
|
76847
|
+
}
|
|
76679
76848
|
|
|
76680
|
-
|
|
76681
|
-
def title(self) -> str:
|
|
76682
|
-
return self._title
|
|
76849
|
+
_json: Any = _conjure_encoder.default(saved_view_rids)
|
|
76683
76850
|
|
|
76684
|
-
|
|
76685
|
-
|
|
76686
|
-
return self._description
|
|
76851
|
+
_path = '/scout/saved-views/v1/batch-get'
|
|
76852
|
+
_path = _path.format(**_path_params)
|
|
76687
76853
|
|
|
76688
|
-
|
|
76689
|
-
|
|
76690
|
-
|
|
76854
|
+
_response: Response = self._request(
|
|
76855
|
+
'POST',
|
|
76856
|
+
self._uri + _path,
|
|
76857
|
+
params=_params,
|
|
76858
|
+
headers=_headers,
|
|
76859
|
+
json=_json)
|
|
76691
76860
|
|
|
76692
|
-
|
|
76693
|
-
|
|
76694
|
-
return self._properties
|
|
76861
|
+
_decoder = ConjureDecoder()
|
|
76862
|
+
return _decoder.decode(_response.json(), scout_savedviews_api_BatchGetSavedViewsResponse, self._return_none_for_unknown_union_types)
|
|
76695
76863
|
|
|
76696
|
-
|
|
76697
|
-
|
|
76698
|
-
"""Default is true
|
|
76864
|
+
def search_saved_views(self, auth_header: str, request: "scout_savedviews_api_SearchSavedViewsRequest") -> "scout_savedviews_api_SearchSavedViewsResponse":
|
|
76865
|
+
"""Searches for saved views using a nested query expression. Supports pagination.
|
|
76699
76866
|
"""
|
|
76700
|
-
|
|
76867
|
+
_conjure_encoder = ConjureEncoder()
|
|
76701
76868
|
|
|
76702
|
-
|
|
76703
|
-
|
|
76704
|
-
|
|
76869
|
+
_headers: Dict[str, Any] = {
|
|
76870
|
+
'Accept': 'application/json',
|
|
76871
|
+
'Content-Type': 'application/json',
|
|
76872
|
+
'Authorization': auth_header,
|
|
76873
|
+
}
|
|
76705
76874
|
|
|
76706
|
-
|
|
76707
|
-
|
|
76708
|
-
return self._layout
|
|
76875
|
+
_params: Dict[str, Any] = {
|
|
76876
|
+
}
|
|
76709
76877
|
|
|
76710
|
-
|
|
76711
|
-
|
|
76712
|
-
return self._content
|
|
76878
|
+
_path_params: Dict[str, str] = {
|
|
76879
|
+
}
|
|
76713
76880
|
|
|
76714
|
-
|
|
76715
|
-
def message(self) -> str:
|
|
76716
|
-
return self._message
|
|
76881
|
+
_json: Any = _conjure_encoder.default(request)
|
|
76717
76882
|
|
|
76718
|
-
|
|
76719
|
-
|
|
76720
|
-
|
|
76721
|
-
|
|
76883
|
+
_path = '/scout/saved-views/v1/search'
|
|
76884
|
+
_path = _path.format(**_path_params)
|
|
76885
|
+
|
|
76886
|
+
_response: Response = self._request(
|
|
76887
|
+
'POST',
|
|
76888
|
+
self._uri + _path,
|
|
76889
|
+
params=_params,
|
|
76890
|
+
headers=_headers,
|
|
76891
|
+
json=_json)
|
|
76892
|
+
|
|
76893
|
+
_decoder = ConjureDecoder()
|
|
76894
|
+
return _decoder.decode(_response.json(), scout_savedviews_api_SearchSavedViewsResponse, self._return_none_for_unknown_union_types)
|
|
76895
|
+
|
|
76896
|
+
def update_saved_view(self, auth_header: str, request: "scout_savedviews_api_UpdateSavedViewRequest", saved_view_rid: str) -> "scout_savedviews_api_UpdateSavedViewResponse":
|
|
76897
|
+
"""Updates metadata, search filters, or display settings for an existing saved view.
|
|
76898
|
+
Throws NOT_FOUND if the view doesn't exist and INVALID_ARGUMENT if it is archived.
|
|
76722
76899
|
"""
|
|
76723
|
-
|
|
76900
|
+
_conjure_encoder = ConjureEncoder()
|
|
76901
|
+
|
|
76902
|
+
_headers: Dict[str, Any] = {
|
|
76903
|
+
'Accept': 'application/json',
|
|
76904
|
+
'Content-Type': 'application/json',
|
|
76905
|
+
'Authorization': auth_header,
|
|
76906
|
+
}
|
|
76724
76907
|
|
|
76908
|
+
_params: Dict[str, Any] = {
|
|
76909
|
+
}
|
|
76725
76910
|
|
|
76726
|
-
|
|
76727
|
-
|
|
76728
|
-
|
|
76911
|
+
_path_params: Dict[str, str] = {
|
|
76912
|
+
'savedViewRid': quote(str(_conjure_encoder.default(saved_view_rid)), safe=''),
|
|
76913
|
+
}
|
|
76729
76914
|
|
|
76915
|
+
_json: Any = _conjure_encoder.default(request)
|
|
76916
|
+
|
|
76917
|
+
_path = '/scout/saved-views/v1/{savedViewRid}'
|
|
76918
|
+
_path = _path.format(**_path_params)
|
|
76919
|
+
|
|
76920
|
+
_response: Response = self._request(
|
|
76921
|
+
'PUT',
|
|
76922
|
+
self._uri + _path,
|
|
76923
|
+
params=_params,
|
|
76924
|
+
headers=_headers,
|
|
76925
|
+
json=_json)
|
|
76926
|
+
|
|
76927
|
+
_decoder = ConjureDecoder()
|
|
76928
|
+
return _decoder.decode(_response.json(), scout_savedviews_api_UpdateSavedViewResponse, self._return_none_for_unknown_union_types)
|
|
76929
|
+
|
|
76930
|
+
def archive_saved_views(self, auth_header: str, request: "scout_savedviews_api_ArchiveSavedViewsRequest") -> None:
|
|
76931
|
+
"""Archives the specified saved views. Archived views are hidden from search.
|
|
76932
|
+
"""
|
|
76933
|
+
_conjure_encoder = ConjureEncoder()
|
|
76934
|
+
|
|
76935
|
+
_headers: Dict[str, Any] = {
|
|
76936
|
+
'Accept': 'application/json',
|
|
76937
|
+
'Content-Type': 'application/json',
|
|
76938
|
+
'Authorization': auth_header,
|
|
76939
|
+
}
|
|
76940
|
+
|
|
76941
|
+
_params: Dict[str, Any] = {
|
|
76942
|
+
}
|
|
76943
|
+
|
|
76944
|
+
_path_params: Dict[str, str] = {
|
|
76945
|
+
}
|
|
76946
|
+
|
|
76947
|
+
_json: Any = _conjure_encoder.default(request)
|
|
76948
|
+
|
|
76949
|
+
_path = '/scout/saved-views/v1/archive-batch'
|
|
76950
|
+
_path = _path.format(**_path_params)
|
|
76951
|
+
|
|
76952
|
+
_response: Response = self._request(
|
|
76953
|
+
'POST',
|
|
76954
|
+
self._uri + _path,
|
|
76955
|
+
params=_params,
|
|
76956
|
+
headers=_headers,
|
|
76957
|
+
json=_json)
|
|
76958
|
+
|
|
76959
|
+
return
|
|
76960
|
+
|
|
76961
|
+
def unarchive_saved_views(self, auth_header: str, request: "scout_savedviews_api_UnarchiveSavedViewsRequest") -> None:
|
|
76962
|
+
"""Restores archived saved views, making them discoverable in search again.
|
|
76963
|
+
"""
|
|
76964
|
+
_conjure_encoder = ConjureEncoder()
|
|
76965
|
+
|
|
76966
|
+
_headers: Dict[str, Any] = {
|
|
76967
|
+
'Accept': 'application/json',
|
|
76968
|
+
'Content-Type': 'application/json',
|
|
76969
|
+
'Authorization': auth_header,
|
|
76970
|
+
}
|
|
76971
|
+
|
|
76972
|
+
_params: Dict[str, Any] = {
|
|
76973
|
+
}
|
|
76974
|
+
|
|
76975
|
+
_path_params: Dict[str, str] = {
|
|
76976
|
+
}
|
|
76977
|
+
|
|
76978
|
+
_json: Any = _conjure_encoder.default(request)
|
|
76979
|
+
|
|
76980
|
+
_path = '/scout/saved-views/v1/unarchive-batch'
|
|
76981
|
+
_path = _path.format(**_path_params)
|
|
76982
|
+
|
|
76983
|
+
_response: Response = self._request(
|
|
76984
|
+
'POST',
|
|
76985
|
+
self._uri + _path,
|
|
76986
|
+
params=_params,
|
|
76987
|
+
headers=_headers,
|
|
76988
|
+
json=_json)
|
|
76989
|
+
|
|
76990
|
+
return
|
|
76991
|
+
|
|
76992
|
+
|
|
76993
|
+
scout_savedviews_SavedViewService.__name__ = "SavedViewService"
|
|
76994
|
+
scout_savedviews_SavedViewService.__qualname__ = "SavedViewService"
|
|
76995
|
+
scout_savedviews_SavedViewService.__module__ = "nominal_api.scout_savedviews"
|
|
76730
76996
|
|
|
76731
|
-
|
|
76997
|
+
|
|
76998
|
+
class scout_savedviews_api_ArchiveSavedViewsRequest(ConjureBeanType):
|
|
76732
76999
|
|
|
76733
77000
|
@builtins.classmethod
|
|
76734
77001
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
76735
77002
|
return {
|
|
76736
|
-
'
|
|
76737
|
-
'labels': ConjureFieldDefinition('labels', List[api_Label])
|
|
77003
|
+
'saved_view_rids': ConjureFieldDefinition('savedViewRids', List[scout_rids_api_SavedViewRid])
|
|
76738
77004
|
}
|
|
76739
77005
|
|
|
76740
|
-
__slots__: List[str] = ['
|
|
76741
|
-
|
|
76742
|
-
def __init__(self, labels: List[str], properties: Dict[str, List[str]]) -> None:
|
|
76743
|
-
self._properties = properties
|
|
76744
|
-
self._labels = labels
|
|
77006
|
+
__slots__: List[str] = ['_saved_view_rids']
|
|
76745
77007
|
|
|
76746
|
-
|
|
76747
|
-
|
|
76748
|
-
return self._properties
|
|
77008
|
+
def __init__(self, saved_view_rids: List[str]) -> None:
|
|
77009
|
+
self._saved_view_rids = saved_view_rids
|
|
76749
77010
|
|
|
76750
77011
|
@builtins.property
|
|
76751
|
-
def
|
|
76752
|
-
return self.
|
|
77012
|
+
def saved_view_rids(self) -> List[str]:
|
|
77013
|
+
return self._saved_view_rids
|
|
76753
77014
|
|
|
76754
77015
|
|
|
76755
|
-
|
|
76756
|
-
|
|
76757
|
-
|
|
77016
|
+
scout_savedviews_api_ArchiveSavedViewsRequest.__name__ = "ArchiveSavedViewsRequest"
|
|
77017
|
+
scout_savedviews_api_ArchiveSavedViewsRequest.__qualname__ = "ArchiveSavedViewsRequest"
|
|
77018
|
+
scout_savedviews_api_ArchiveSavedViewsRequest.__module__ = "nominal_api.scout_savedviews_api"
|
|
76758
77019
|
|
|
76759
77020
|
|
|
76760
|
-
class
|
|
77021
|
+
class scout_savedviews_api_AssetSearchState(ConjureBeanType):
|
|
76761
77022
|
|
|
76762
77023
|
@builtins.classmethod
|
|
76763
77024
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
76764
77025
|
return {
|
|
76765
|
-
'
|
|
76766
|
-
'
|
|
76767
|
-
'
|
|
77026
|
+
'sort': ConjureFieldDefinition('sort', scout_asset_api_AssetSortOptions),
|
|
77027
|
+
'query': ConjureFieldDefinition('query', scout_asset_api_SearchAssetsQuery),
|
|
77028
|
+
'archived_statuses': ConjureFieldDefinition('archivedStatuses', List[api_ArchivedStatus])
|
|
76768
77029
|
}
|
|
76769
77030
|
|
|
76770
|
-
__slots__: List[str] = ['
|
|
77031
|
+
__slots__: List[str] = ['_sort', '_query', '_archived_statuses']
|
|
76771
77032
|
|
|
76772
|
-
def __init__(self,
|
|
76773
|
-
self.
|
|
76774
|
-
self.
|
|
76775
|
-
self.
|
|
77033
|
+
def __init__(self, archived_statuses: List["api_ArchivedStatus"], query: "scout_asset_api_SearchAssetsQuery", sort: "scout_asset_api_AssetSortOptions") -> None:
|
|
77034
|
+
self._sort = sort
|
|
77035
|
+
self._query = query
|
|
77036
|
+
self._archived_statuses = archived_statuses
|
|
76776
77037
|
|
|
76777
77038
|
@builtins.property
|
|
76778
|
-
def
|
|
76779
|
-
|
|
76780
|
-
"""
|
|
76781
|
-
return self._branch_name
|
|
77039
|
+
def sort(self) -> "scout_asset_api_AssetSortOptions":
|
|
77040
|
+
return self._sort
|
|
76782
77041
|
|
|
76783
77042
|
@builtins.property
|
|
76784
|
-
def
|
|
76785
|
-
return self.
|
|
77043
|
+
def query(self) -> "scout_asset_api_SearchAssetsQuery":
|
|
77044
|
+
return self._query
|
|
76786
77045
|
|
|
76787
77046
|
@builtins.property
|
|
76788
|
-
def
|
|
76789
|
-
|
|
76790
|
-
and otherwise throw CommitConflict.
|
|
76791
|
-
"""
|
|
76792
|
-
return self._latest_commit_on_main
|
|
77047
|
+
def archived_statuses(self) -> List["api_ArchivedStatus"]:
|
|
77048
|
+
return self._archived_statuses
|
|
76793
77049
|
|
|
76794
77050
|
|
|
76795
|
-
|
|
76796
|
-
|
|
76797
|
-
|
|
77051
|
+
scout_savedviews_api_AssetSearchState.__name__ = "AssetSearchState"
|
|
77052
|
+
scout_savedviews_api_AssetSearchState.__qualname__ = "AssetSearchState"
|
|
77053
|
+
scout_savedviews_api_AssetSearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
76798
77054
|
|
|
76799
77055
|
|
|
76800
|
-
class
|
|
77056
|
+
class scout_savedviews_api_BatchGetSavedViewsResponse(ConjureBeanType):
|
|
76801
77057
|
|
|
76802
77058
|
@builtins.classmethod
|
|
76803
77059
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
76804
77060
|
return {
|
|
76805
|
-
'
|
|
76806
|
-
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
76807
|
-
'content': ConjureFieldDefinition('content', scout_workbookcommon_api_WorkbookContent),
|
|
76808
|
-
'latest_commit': ConjureFieldDefinition('latestCommit', OptionalTypeWrapper[scout_versioning_api_CommitId])
|
|
77061
|
+
'saved_views': ConjureFieldDefinition('savedViews', List[scout_savedviews_api_SavedView])
|
|
76809
77062
|
}
|
|
76810
77063
|
|
|
76811
|
-
__slots__: List[str] = ['
|
|
77064
|
+
__slots__: List[str] = ['_saved_views']
|
|
76812
77065
|
|
|
76813
|
-
def __init__(self,
|
|
76814
|
-
self.
|
|
76815
|
-
self._layout = layout
|
|
76816
|
-
self._content = content
|
|
76817
|
-
self._latest_commit = latest_commit
|
|
77066
|
+
def __init__(self, saved_views: List["scout_savedviews_api_SavedView"]) -> None:
|
|
77067
|
+
self._saved_views = saved_views
|
|
76818
77068
|
|
|
76819
77069
|
@builtins.property
|
|
76820
|
-
def
|
|
76821
|
-
return self.
|
|
77070
|
+
def saved_views(self) -> List["scout_savedviews_api_SavedView"]:
|
|
77071
|
+
return self._saved_views
|
|
77072
|
+
|
|
77073
|
+
|
|
77074
|
+
scout_savedviews_api_BatchGetSavedViewsResponse.__name__ = "BatchGetSavedViewsResponse"
|
|
77075
|
+
scout_savedviews_api_BatchGetSavedViewsResponse.__qualname__ = "BatchGetSavedViewsResponse"
|
|
77076
|
+
scout_savedviews_api_BatchGetSavedViewsResponse.__module__ = "nominal_api.scout_savedviews_api"
|
|
77077
|
+
|
|
77078
|
+
|
|
77079
|
+
class scout_savedviews_api_ChecklistSearchState(ConjureBeanType):
|
|
77080
|
+
|
|
77081
|
+
@builtins.classmethod
|
|
77082
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77083
|
+
return {
|
|
77084
|
+
'sort': ConjureFieldDefinition('sort', scout_checks_api_SortOptions),
|
|
77085
|
+
'query': ConjureFieldDefinition('query', scout_checks_api_ChecklistSearchQuery),
|
|
77086
|
+
'archived_statuses': ConjureFieldDefinition('archivedStatuses', List[api_ArchivedStatus])
|
|
77087
|
+
}
|
|
77088
|
+
|
|
77089
|
+
__slots__: List[str] = ['_sort', '_query', '_archived_statuses']
|
|
77090
|
+
|
|
77091
|
+
def __init__(self, archived_statuses: List["api_ArchivedStatus"], query: "scout_checks_api_ChecklistSearchQuery", sort: "scout_checks_api_SortOptions") -> None:
|
|
77092
|
+
self._sort = sort
|
|
77093
|
+
self._query = query
|
|
77094
|
+
self._archived_statuses = archived_statuses
|
|
76822
77095
|
|
|
76823
77096
|
@builtins.property
|
|
76824
|
-
def
|
|
76825
|
-
return self.
|
|
77097
|
+
def sort(self) -> "scout_checks_api_SortOptions":
|
|
77098
|
+
return self._sort
|
|
76826
77099
|
|
|
76827
77100
|
@builtins.property
|
|
76828
|
-
def
|
|
76829
|
-
return self.
|
|
77101
|
+
def query(self) -> "scout_checks_api_ChecklistSearchQuery":
|
|
77102
|
+
return self._query
|
|
76830
77103
|
|
|
76831
77104
|
@builtins.property
|
|
76832
|
-
def
|
|
76833
|
-
|
|
76834
|
-
and otherwise throw CommitConflict.
|
|
76835
|
-
"""
|
|
76836
|
-
return self._latest_commit
|
|
77105
|
+
def archived_statuses(self) -> List["api_ArchivedStatus"]:
|
|
77106
|
+
return self._archived_statuses
|
|
76837
77107
|
|
|
76838
77108
|
|
|
76839
|
-
|
|
76840
|
-
|
|
76841
|
-
|
|
77109
|
+
scout_savedviews_api_ChecklistSearchState.__name__ = "ChecklistSearchState"
|
|
77110
|
+
scout_savedviews_api_ChecklistSearchState.__qualname__ = "ChecklistSearchState"
|
|
77111
|
+
scout_savedviews_api_ChecklistSearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
76842
77112
|
|
|
76843
77113
|
|
|
76844
|
-
class
|
|
76845
|
-
_and_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None
|
|
76846
|
-
_or_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None
|
|
76847
|
-
_exact_match: Optional[str] = None
|
|
76848
|
-
_search_text: Optional[str] = None
|
|
76849
|
-
_label: Optional[str] = None
|
|
76850
|
-
_property: Optional["api_Property"] = None
|
|
76851
|
-
_created_by: Optional[str] = None
|
|
76852
|
-
_is_archived: Optional[bool] = None
|
|
76853
|
-
_is_published: Optional[bool] = None
|
|
76854
|
-
_workspace: Optional[str] = None
|
|
77114
|
+
class scout_savedviews_api_ColumnPinningState(ConjureBeanType):
|
|
76855
77115
|
|
|
76856
77116
|
@builtins.classmethod
|
|
76857
|
-
def
|
|
77117
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
76858
77118
|
return {
|
|
76859
|
-
'
|
|
76860
|
-
'
|
|
76861
|
-
'exact_match': ConjureFieldDefinition('exactMatch', str),
|
|
76862
|
-
'search_text': ConjureFieldDefinition('searchText', str),
|
|
76863
|
-
'label': ConjureFieldDefinition('label', api_Label),
|
|
76864
|
-
'property': ConjureFieldDefinition('property', api_Property),
|
|
76865
|
-
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
76866
|
-
'is_archived': ConjureFieldDefinition('isArchived', bool),
|
|
76867
|
-
'is_published': ConjureFieldDefinition('isPublished', bool),
|
|
76868
|
-
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
77119
|
+
'left': ConjureFieldDefinition('left', List[scout_savedviews_api_ColumnId]),
|
|
77120
|
+
'right': ConjureFieldDefinition('right', List[scout_savedviews_api_ColumnId])
|
|
76869
77121
|
}
|
|
76870
77122
|
|
|
76871
|
-
|
|
76872
|
-
|
|
76873
|
-
|
|
76874
|
-
|
|
76875
|
-
|
|
76876
|
-
|
|
76877
|
-
|
|
76878
|
-
|
|
76879
|
-
|
|
76880
|
-
|
|
76881
|
-
|
|
76882
|
-
|
|
77123
|
+
__slots__: List[str] = ['_left', '_right']
|
|
77124
|
+
|
|
77125
|
+
def __init__(self, left: List[str], right: List[str]) -> None:
|
|
77126
|
+
self._left = left
|
|
77127
|
+
self._right = right
|
|
77128
|
+
|
|
77129
|
+
@builtins.property
|
|
77130
|
+
def left(self) -> List[str]:
|
|
77131
|
+
return self._left
|
|
77132
|
+
|
|
77133
|
+
@builtins.property
|
|
77134
|
+
def right(self) -> List[str]:
|
|
77135
|
+
return self._right
|
|
77136
|
+
|
|
77137
|
+
|
|
77138
|
+
scout_savedviews_api_ColumnPinningState.__name__ = "ColumnPinningState"
|
|
77139
|
+
scout_savedviews_api_ColumnPinningState.__qualname__ = "ColumnPinningState"
|
|
77140
|
+
scout_savedviews_api_ColumnPinningState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77141
|
+
|
|
77142
|
+
|
|
77143
|
+
class scout_savedviews_api_CreateSavedViewRequest(ConjureBeanType):
|
|
77144
|
+
|
|
77145
|
+
@builtins.classmethod
|
|
77146
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77147
|
+
return {
|
|
77148
|
+
'resource_type': ConjureFieldDefinition('resourceType', scout_savedviews_api_ResourceType),
|
|
77149
|
+
'title': ConjureFieldDefinition('title', str),
|
|
77150
|
+
'symbol': ConjureFieldDefinition('symbol', OptionalTypeWrapper[scout_api_Symbol]),
|
|
77151
|
+
'color': ConjureFieldDefinition('color', OptionalTypeWrapper[scout_api_Color]),
|
|
77152
|
+
'search_state': ConjureFieldDefinition('searchState', scout_savedviews_api_SearchState),
|
|
77153
|
+
'display_state': ConjureFieldDefinition('displayState', scout_savedviews_api_DisplayState),
|
|
77154
|
+
'workspace_rid': ConjureFieldDefinition('workspaceRid', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
|
77155
|
+
}
|
|
77156
|
+
|
|
77157
|
+
__slots__: List[str] = ['_resource_type', '_title', '_symbol', '_color', '_search_state', '_display_state', '_workspace_rid']
|
|
77158
|
+
|
|
77159
|
+
def __init__(self, display_state: "scout_savedviews_api_DisplayState", resource_type: "scout_savedviews_api_ResourceType", search_state: "scout_savedviews_api_SearchState", title: str, color: Optional["scout_api_Color"] = None, symbol: Optional["scout_api_Symbol"] = None, workspace_rid: Optional[str] = None) -> None:
|
|
77160
|
+
self._resource_type = resource_type
|
|
77161
|
+
self._title = title
|
|
77162
|
+
self._symbol = symbol
|
|
77163
|
+
self._color = color
|
|
77164
|
+
self._search_state = search_state
|
|
77165
|
+
self._display_state = display_state
|
|
77166
|
+
self._workspace_rid = workspace_rid
|
|
77167
|
+
|
|
77168
|
+
@builtins.property
|
|
77169
|
+
def resource_type(self) -> "scout_savedviews_api_ResourceType":
|
|
77170
|
+
return self._resource_type
|
|
77171
|
+
|
|
77172
|
+
@builtins.property
|
|
77173
|
+
def title(self) -> str:
|
|
77174
|
+
return self._title
|
|
77175
|
+
|
|
77176
|
+
@builtins.property
|
|
77177
|
+
def symbol(self) -> Optional["scout_api_Symbol"]:
|
|
77178
|
+
return self._symbol
|
|
77179
|
+
|
|
77180
|
+
@builtins.property
|
|
77181
|
+
def color(self) -> Optional["scout_api_Color"]:
|
|
77182
|
+
return self._color
|
|
77183
|
+
|
|
77184
|
+
@builtins.property
|
|
77185
|
+
def search_state(self) -> "scout_savedviews_api_SearchState":
|
|
77186
|
+
return self._search_state
|
|
77187
|
+
|
|
77188
|
+
@builtins.property
|
|
77189
|
+
def display_state(self) -> "scout_savedviews_api_DisplayState":
|
|
77190
|
+
return self._display_state
|
|
77191
|
+
|
|
77192
|
+
@builtins.property
|
|
77193
|
+
def workspace_rid(self) -> Optional[str]:
|
|
77194
|
+
return self._workspace_rid
|
|
77195
|
+
|
|
77196
|
+
|
|
77197
|
+
scout_savedviews_api_CreateSavedViewRequest.__name__ = "CreateSavedViewRequest"
|
|
77198
|
+
scout_savedviews_api_CreateSavedViewRequest.__qualname__ = "CreateSavedViewRequest"
|
|
77199
|
+
scout_savedviews_api_CreateSavedViewRequest.__module__ = "nominal_api.scout_savedviews_api"
|
|
77200
|
+
|
|
77201
|
+
|
|
77202
|
+
class scout_savedviews_api_CreateSavedViewResponse(ConjureBeanType):
|
|
77203
|
+
|
|
77204
|
+
@builtins.classmethod
|
|
77205
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77206
|
+
return {
|
|
77207
|
+
'saved_view': ConjureFieldDefinition('savedView', scout_savedviews_api_SavedView)
|
|
77208
|
+
}
|
|
77209
|
+
|
|
77210
|
+
__slots__: List[str] = ['_saved_view']
|
|
77211
|
+
|
|
77212
|
+
def __init__(self, saved_view: "scout_savedviews_api_SavedView") -> None:
|
|
77213
|
+
self._saved_view = saved_view
|
|
77214
|
+
|
|
77215
|
+
@builtins.property
|
|
77216
|
+
def saved_view(self) -> "scout_savedviews_api_SavedView":
|
|
77217
|
+
return self._saved_view
|
|
77218
|
+
|
|
77219
|
+
|
|
77220
|
+
scout_savedviews_api_CreateSavedViewResponse.__name__ = "CreateSavedViewResponse"
|
|
77221
|
+
scout_savedviews_api_CreateSavedViewResponse.__qualname__ = "CreateSavedViewResponse"
|
|
77222
|
+
scout_savedviews_api_CreateSavedViewResponse.__module__ = "nominal_api.scout_savedviews_api"
|
|
77223
|
+
|
|
77224
|
+
|
|
77225
|
+
class scout_savedviews_api_DisplayState(ConjureUnionType):
|
|
77226
|
+
_display_state_v1: Optional["scout_savedviews_api_TableState"] = None
|
|
77227
|
+
|
|
77228
|
+
@builtins.classmethod
|
|
77229
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77230
|
+
return {
|
|
77231
|
+
'display_state_v1': ConjureFieldDefinition('displayStateV1', scout_savedviews_api_TableState)
|
|
77232
|
+
}
|
|
77233
|
+
|
|
77234
|
+
def __init__(
|
|
77235
|
+
self,
|
|
77236
|
+
display_state_v1: Optional["scout_savedviews_api_TableState"] = None,
|
|
77237
|
+
type_of_union: Optional[str] = None
|
|
77238
|
+
) -> None:
|
|
77239
|
+
if type_of_union is None:
|
|
77240
|
+
if (display_state_v1 is not None) != 1:
|
|
77241
|
+
raise ValueError('a union must contain a single member')
|
|
77242
|
+
|
|
77243
|
+
if display_state_v1 is not None:
|
|
77244
|
+
self._display_state_v1 = display_state_v1
|
|
77245
|
+
self._type = 'displayStateV1'
|
|
77246
|
+
|
|
77247
|
+
elif type_of_union == 'displayStateV1':
|
|
77248
|
+
if display_state_v1 is None:
|
|
77249
|
+
raise ValueError('a union value must not be None')
|
|
77250
|
+
self._display_state_v1 = display_state_v1
|
|
77251
|
+
self._type = 'displayStateV1'
|
|
77252
|
+
|
|
77253
|
+
@builtins.property
|
|
77254
|
+
def display_state_v1(self) -> Optional["scout_savedviews_api_TableState"]:
|
|
77255
|
+
return self._display_state_v1
|
|
77256
|
+
|
|
77257
|
+
def accept(self, visitor) -> Any:
|
|
77258
|
+
if not isinstance(visitor, scout_savedviews_api_DisplayStateVisitor):
|
|
77259
|
+
raise ValueError('{} is not an instance of scout_savedviews_api_DisplayStateVisitor'.format(visitor.__class__.__name__))
|
|
77260
|
+
if self._type == 'displayStateV1' and self.display_state_v1 is not None:
|
|
77261
|
+
return visitor._display_state_v1(self.display_state_v1)
|
|
77262
|
+
|
|
77263
|
+
|
|
77264
|
+
scout_savedviews_api_DisplayState.__name__ = "DisplayState"
|
|
77265
|
+
scout_savedviews_api_DisplayState.__qualname__ = "DisplayState"
|
|
77266
|
+
scout_savedviews_api_DisplayState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77267
|
+
|
|
77268
|
+
|
|
77269
|
+
class scout_savedviews_api_DisplayStateVisitor:
|
|
77270
|
+
|
|
77271
|
+
@abstractmethod
|
|
77272
|
+
def _display_state_v1(self, display_state_v1: "scout_savedviews_api_TableState") -> Any:
|
|
77273
|
+
pass
|
|
77274
|
+
|
|
77275
|
+
|
|
77276
|
+
scout_savedviews_api_DisplayStateVisitor.__name__ = "DisplayStateVisitor"
|
|
77277
|
+
scout_savedviews_api_DisplayStateVisitor.__qualname__ = "DisplayStateVisitor"
|
|
77278
|
+
scout_savedviews_api_DisplayStateVisitor.__module__ = "nominal_api.scout_savedviews_api"
|
|
77279
|
+
|
|
77280
|
+
|
|
77281
|
+
class scout_savedviews_api_GetSavedViewResponse(ConjureBeanType):
|
|
77282
|
+
|
|
77283
|
+
@builtins.classmethod
|
|
77284
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77285
|
+
return {
|
|
77286
|
+
'saved_view': ConjureFieldDefinition('savedView', scout_savedviews_api_SavedView)
|
|
77287
|
+
}
|
|
77288
|
+
|
|
77289
|
+
__slots__: List[str] = ['_saved_view']
|
|
77290
|
+
|
|
77291
|
+
def __init__(self, saved_view: "scout_savedviews_api_SavedView") -> None:
|
|
77292
|
+
self._saved_view = saved_view
|
|
77293
|
+
|
|
77294
|
+
@builtins.property
|
|
77295
|
+
def saved_view(self) -> "scout_savedviews_api_SavedView":
|
|
77296
|
+
return self._saved_view
|
|
77297
|
+
|
|
77298
|
+
|
|
77299
|
+
scout_savedviews_api_GetSavedViewResponse.__name__ = "GetSavedViewResponse"
|
|
77300
|
+
scout_savedviews_api_GetSavedViewResponse.__qualname__ = "GetSavedViewResponse"
|
|
77301
|
+
scout_savedviews_api_GetSavedViewResponse.__module__ = "nominal_api.scout_savedviews_api"
|
|
77302
|
+
|
|
77303
|
+
|
|
77304
|
+
class scout_savedviews_api_ResourceType(ConjureEnumType):
|
|
77305
|
+
|
|
77306
|
+
ASSET = 'ASSET'
|
|
77307
|
+
'''ASSET'''
|
|
77308
|
+
RUN = 'RUN'
|
|
77309
|
+
'''RUN'''
|
|
77310
|
+
WORKBOOK = 'WORKBOOK'
|
|
77311
|
+
'''WORKBOOK'''
|
|
77312
|
+
CHECKLIST = 'CHECKLIST'
|
|
77313
|
+
'''CHECKLIST'''
|
|
77314
|
+
UNKNOWN = 'UNKNOWN'
|
|
77315
|
+
'''UNKNOWN'''
|
|
77316
|
+
|
|
77317
|
+
def __reduce_ex__(self, proto):
|
|
77318
|
+
return self.__class__, (self.name,)
|
|
77319
|
+
|
|
77320
|
+
|
|
77321
|
+
scout_savedviews_api_ResourceType.__name__ = "ResourceType"
|
|
77322
|
+
scout_savedviews_api_ResourceType.__qualname__ = "ResourceType"
|
|
77323
|
+
scout_savedviews_api_ResourceType.__module__ = "nominal_api.scout_savedviews_api"
|
|
77324
|
+
|
|
77325
|
+
|
|
77326
|
+
class scout_savedviews_api_RunSearchState(ConjureBeanType):
|
|
77327
|
+
|
|
77328
|
+
@builtins.classmethod
|
|
77329
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77330
|
+
return {
|
|
77331
|
+
'sort': ConjureFieldDefinition('sort', scout_run_api_SortOptions),
|
|
77332
|
+
'query': ConjureFieldDefinition('query', scout_run_api_SearchQuery),
|
|
77333
|
+
'archived_statuses': ConjureFieldDefinition('archivedStatuses', List[api_ArchivedStatus])
|
|
77334
|
+
}
|
|
77335
|
+
|
|
77336
|
+
__slots__: List[str] = ['_sort', '_query', '_archived_statuses']
|
|
77337
|
+
|
|
77338
|
+
def __init__(self, archived_statuses: List["api_ArchivedStatus"], query: "scout_run_api_SearchQuery", sort: "scout_run_api_SortOptions") -> None:
|
|
77339
|
+
self._sort = sort
|
|
77340
|
+
self._query = query
|
|
77341
|
+
self._archived_statuses = archived_statuses
|
|
77342
|
+
|
|
77343
|
+
@builtins.property
|
|
77344
|
+
def sort(self) -> "scout_run_api_SortOptions":
|
|
77345
|
+
return self._sort
|
|
77346
|
+
|
|
77347
|
+
@builtins.property
|
|
77348
|
+
def query(self) -> "scout_run_api_SearchQuery":
|
|
77349
|
+
return self._query
|
|
77350
|
+
|
|
77351
|
+
@builtins.property
|
|
77352
|
+
def archived_statuses(self) -> List["api_ArchivedStatus"]:
|
|
77353
|
+
return self._archived_statuses
|
|
77354
|
+
|
|
77355
|
+
|
|
77356
|
+
scout_savedviews_api_RunSearchState.__name__ = "RunSearchState"
|
|
77357
|
+
scout_savedviews_api_RunSearchState.__qualname__ = "RunSearchState"
|
|
77358
|
+
scout_savedviews_api_RunSearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77359
|
+
|
|
77360
|
+
|
|
77361
|
+
class scout_savedviews_api_SavedView(ConjureBeanType):
|
|
77362
|
+
|
|
77363
|
+
@builtins.classmethod
|
|
77364
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77365
|
+
return {
|
|
77366
|
+
'rid': ConjureFieldDefinition('rid', scout_rids_api_SavedViewRid),
|
|
77367
|
+
'resource_type': ConjureFieldDefinition('resourceType', scout_savedviews_api_ResourceType),
|
|
77368
|
+
'title': ConjureFieldDefinition('title', str),
|
|
77369
|
+
'symbol': ConjureFieldDefinition('symbol', OptionalTypeWrapper[scout_api_Symbol]),
|
|
77370
|
+
'color': ConjureFieldDefinition('color', OptionalTypeWrapper[scout_api_Color]),
|
|
77371
|
+
'search_state': ConjureFieldDefinition('searchState', scout_savedviews_api_SearchState),
|
|
77372
|
+
'display_state': ConjureFieldDefinition('displayState', scout_savedviews_api_DisplayState),
|
|
77373
|
+
'is_archived': ConjureFieldDefinition('isArchived', bool),
|
|
77374
|
+
'created_at': ConjureFieldDefinition('createdAt', str),
|
|
77375
|
+
'updated_at': ConjureFieldDefinition('updatedAt', str)
|
|
77376
|
+
}
|
|
77377
|
+
|
|
77378
|
+
__slots__: List[str] = ['_rid', '_resource_type', '_title', '_symbol', '_color', '_search_state', '_display_state', '_is_archived', '_created_at', '_updated_at']
|
|
77379
|
+
|
|
77380
|
+
def __init__(self, created_at: str, display_state: "scout_savedviews_api_DisplayState", is_archived: bool, resource_type: "scout_savedviews_api_ResourceType", rid: str, search_state: "scout_savedviews_api_SearchState", title: str, updated_at: str, color: Optional["scout_api_Color"] = None, symbol: Optional["scout_api_Symbol"] = None) -> None:
|
|
77381
|
+
self._rid = rid
|
|
77382
|
+
self._resource_type = resource_type
|
|
77383
|
+
self._title = title
|
|
77384
|
+
self._symbol = symbol
|
|
77385
|
+
self._color = color
|
|
77386
|
+
self._search_state = search_state
|
|
77387
|
+
self._display_state = display_state
|
|
77388
|
+
self._is_archived = is_archived
|
|
77389
|
+
self._created_at = created_at
|
|
77390
|
+
self._updated_at = updated_at
|
|
77391
|
+
|
|
77392
|
+
@builtins.property
|
|
77393
|
+
def rid(self) -> str:
|
|
77394
|
+
return self._rid
|
|
77395
|
+
|
|
77396
|
+
@builtins.property
|
|
77397
|
+
def resource_type(self) -> "scout_savedviews_api_ResourceType":
|
|
77398
|
+
return self._resource_type
|
|
77399
|
+
|
|
77400
|
+
@builtins.property
|
|
77401
|
+
def title(self) -> str:
|
|
77402
|
+
return self._title
|
|
77403
|
+
|
|
77404
|
+
@builtins.property
|
|
77405
|
+
def symbol(self) -> Optional["scout_api_Symbol"]:
|
|
77406
|
+
return self._symbol
|
|
77407
|
+
|
|
77408
|
+
@builtins.property
|
|
77409
|
+
def color(self) -> Optional["scout_api_Color"]:
|
|
77410
|
+
return self._color
|
|
77411
|
+
|
|
77412
|
+
@builtins.property
|
|
77413
|
+
def search_state(self) -> "scout_savedviews_api_SearchState":
|
|
77414
|
+
return self._search_state
|
|
77415
|
+
|
|
77416
|
+
@builtins.property
|
|
77417
|
+
def display_state(self) -> "scout_savedviews_api_DisplayState":
|
|
77418
|
+
return self._display_state
|
|
77419
|
+
|
|
77420
|
+
@builtins.property
|
|
77421
|
+
def is_archived(self) -> bool:
|
|
77422
|
+
return self._is_archived
|
|
77423
|
+
|
|
77424
|
+
@builtins.property
|
|
77425
|
+
def created_at(self) -> str:
|
|
77426
|
+
return self._created_at
|
|
77427
|
+
|
|
77428
|
+
@builtins.property
|
|
77429
|
+
def updated_at(self) -> str:
|
|
77430
|
+
return self._updated_at
|
|
77431
|
+
|
|
77432
|
+
|
|
77433
|
+
scout_savedviews_api_SavedView.__name__ = "SavedView"
|
|
77434
|
+
scout_savedviews_api_SavedView.__qualname__ = "SavedView"
|
|
77435
|
+
scout_savedviews_api_SavedView.__module__ = "nominal_api.scout_savedviews_api"
|
|
77436
|
+
|
|
77437
|
+
|
|
77438
|
+
class scout_savedviews_api_SearchSavedViewsQuery(ConjureUnionType):
|
|
77439
|
+
_and_: Optional["scout_savedviews_api_SearchSavedViewsQueryList"] = None
|
|
77440
|
+
_or_: Optional["scout_savedviews_api_SearchSavedViewsQueryList"] = None
|
|
77441
|
+
_not_: Optional["scout_savedviews_api_SearchSavedViewsQuery"] = None
|
|
77442
|
+
_title_exact_substring_search: Optional[str] = None
|
|
77443
|
+
_resource_type: Optional["scout_savedviews_api_ResourceType"] = None
|
|
77444
|
+
_workspace: Optional[str] = None
|
|
77445
|
+
|
|
77446
|
+
@builtins.classmethod
|
|
77447
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77448
|
+
return {
|
|
77449
|
+
'and_': ConjureFieldDefinition('and', scout_savedviews_api_SearchSavedViewsQueryList),
|
|
77450
|
+
'or_': ConjureFieldDefinition('or', scout_savedviews_api_SearchSavedViewsQueryList),
|
|
77451
|
+
'not_': ConjureFieldDefinition('not', scout_savedviews_api_SearchSavedViewsQuery),
|
|
77452
|
+
'title_exact_substring_search': ConjureFieldDefinition('titleExactSubstringSearch', str),
|
|
77453
|
+
'resource_type': ConjureFieldDefinition('resourceType', scout_savedviews_api_ResourceType),
|
|
77454
|
+
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
77455
|
+
}
|
|
77456
|
+
|
|
77457
|
+
def __init__(
|
|
77458
|
+
self,
|
|
77459
|
+
and_: Optional["scout_savedviews_api_SearchSavedViewsQueryList"] = None,
|
|
77460
|
+
or_: Optional["scout_savedviews_api_SearchSavedViewsQueryList"] = None,
|
|
77461
|
+
not_: Optional["scout_savedviews_api_SearchSavedViewsQuery"] = None,
|
|
77462
|
+
title_exact_substring_search: Optional[str] = None,
|
|
77463
|
+
resource_type: Optional["scout_savedviews_api_ResourceType"] = None,
|
|
77464
|
+
workspace: Optional[str] = None,
|
|
77465
|
+
type_of_union: Optional[str] = None
|
|
77466
|
+
) -> None:
|
|
77467
|
+
if type_of_union is None:
|
|
77468
|
+
if (and_ is not None) + (or_ is not None) + (not_ is not None) + (title_exact_substring_search is not None) + (resource_type is not None) + (workspace is not None) != 1:
|
|
77469
|
+
raise ValueError('a union must contain a single member')
|
|
77470
|
+
|
|
77471
|
+
if and_ is not None:
|
|
77472
|
+
self._and_ = and_
|
|
77473
|
+
self._type = 'and'
|
|
77474
|
+
if or_ is not None:
|
|
77475
|
+
self._or_ = or_
|
|
77476
|
+
self._type = 'or'
|
|
77477
|
+
if not_ is not None:
|
|
77478
|
+
self._not_ = not_
|
|
77479
|
+
self._type = 'not'
|
|
77480
|
+
if title_exact_substring_search is not None:
|
|
77481
|
+
self._title_exact_substring_search = title_exact_substring_search
|
|
77482
|
+
self._type = 'titleExactSubstringSearch'
|
|
77483
|
+
if resource_type is not None:
|
|
77484
|
+
self._resource_type = resource_type
|
|
77485
|
+
self._type = 'resourceType'
|
|
77486
|
+
if workspace is not None:
|
|
77487
|
+
self._workspace = workspace
|
|
77488
|
+
self._type = 'workspace'
|
|
77489
|
+
|
|
77490
|
+
elif type_of_union == 'and':
|
|
77491
|
+
if and_ is None:
|
|
77492
|
+
raise ValueError('a union value must not be None')
|
|
77493
|
+
self._and_ = and_
|
|
77494
|
+
self._type = 'and'
|
|
77495
|
+
elif type_of_union == 'or':
|
|
77496
|
+
if or_ is None:
|
|
77497
|
+
raise ValueError('a union value must not be None')
|
|
77498
|
+
self._or_ = or_
|
|
77499
|
+
self._type = 'or'
|
|
77500
|
+
elif type_of_union == 'not':
|
|
77501
|
+
if not_ is None:
|
|
77502
|
+
raise ValueError('a union value must not be None')
|
|
77503
|
+
self._not_ = not_
|
|
77504
|
+
self._type = 'not'
|
|
77505
|
+
elif type_of_union == 'titleExactSubstringSearch':
|
|
77506
|
+
if title_exact_substring_search is None:
|
|
77507
|
+
raise ValueError('a union value must not be None')
|
|
77508
|
+
self._title_exact_substring_search = title_exact_substring_search
|
|
77509
|
+
self._type = 'titleExactSubstringSearch'
|
|
77510
|
+
elif type_of_union == 'resourceType':
|
|
77511
|
+
if resource_type is None:
|
|
77512
|
+
raise ValueError('a union value must not be None')
|
|
77513
|
+
self._resource_type = resource_type
|
|
77514
|
+
self._type = 'resourceType'
|
|
77515
|
+
elif type_of_union == 'workspace':
|
|
77516
|
+
if workspace is None:
|
|
77517
|
+
raise ValueError('a union value must not be None')
|
|
77518
|
+
self._workspace = workspace
|
|
77519
|
+
self._type = 'workspace'
|
|
77520
|
+
|
|
77521
|
+
@builtins.property
|
|
77522
|
+
def and_(self) -> Optional["scout_savedviews_api_SearchSavedViewsQueryList"]:
|
|
77523
|
+
return self._and_
|
|
77524
|
+
|
|
77525
|
+
@builtins.property
|
|
77526
|
+
def or_(self) -> Optional["scout_savedviews_api_SearchSavedViewsQueryList"]:
|
|
77527
|
+
return self._or_
|
|
77528
|
+
|
|
77529
|
+
@builtins.property
|
|
77530
|
+
def not_(self) -> Optional["scout_savedviews_api_SearchSavedViewsQuery"]:
|
|
77531
|
+
return self._not_
|
|
77532
|
+
|
|
77533
|
+
@builtins.property
|
|
77534
|
+
def title_exact_substring_search(self) -> Optional[str]:
|
|
77535
|
+
return self._title_exact_substring_search
|
|
77536
|
+
|
|
77537
|
+
@builtins.property
|
|
77538
|
+
def resource_type(self) -> Optional["scout_savedviews_api_ResourceType"]:
|
|
77539
|
+
return self._resource_type
|
|
77540
|
+
|
|
77541
|
+
@builtins.property
|
|
77542
|
+
def workspace(self) -> Optional[str]:
|
|
77543
|
+
return self._workspace
|
|
77544
|
+
|
|
77545
|
+
def accept(self, visitor) -> Any:
|
|
77546
|
+
if not isinstance(visitor, scout_savedviews_api_SearchSavedViewsQueryVisitor):
|
|
77547
|
+
raise ValueError('{} is not an instance of scout_savedviews_api_SearchSavedViewsQueryVisitor'.format(visitor.__class__.__name__))
|
|
77548
|
+
if self._type == 'and' and self.and_ is not None:
|
|
77549
|
+
return visitor._and(self.and_)
|
|
77550
|
+
if self._type == 'or' and self.or_ is not None:
|
|
77551
|
+
return visitor._or(self.or_)
|
|
77552
|
+
if self._type == 'not' and self.not_ is not None:
|
|
77553
|
+
return visitor._not(self.not_)
|
|
77554
|
+
if self._type == 'titleExactSubstringSearch' and self.title_exact_substring_search is not None:
|
|
77555
|
+
return visitor._title_exact_substring_search(self.title_exact_substring_search)
|
|
77556
|
+
if self._type == 'resourceType' and self.resource_type is not None:
|
|
77557
|
+
return visitor._resource_type(self.resource_type)
|
|
77558
|
+
if self._type == 'workspace' and self.workspace is not None:
|
|
77559
|
+
return visitor._workspace(self.workspace)
|
|
77560
|
+
|
|
77561
|
+
|
|
77562
|
+
scout_savedviews_api_SearchSavedViewsQuery.__name__ = "SearchSavedViewsQuery"
|
|
77563
|
+
scout_savedviews_api_SearchSavedViewsQuery.__qualname__ = "SearchSavedViewsQuery"
|
|
77564
|
+
scout_savedviews_api_SearchSavedViewsQuery.__module__ = "nominal_api.scout_savedviews_api"
|
|
77565
|
+
|
|
77566
|
+
|
|
77567
|
+
class scout_savedviews_api_SearchSavedViewsQueryVisitor:
|
|
77568
|
+
|
|
77569
|
+
@abstractmethod
|
|
77570
|
+
def _and(self, and_: "scout_savedviews_api_SearchSavedViewsQueryList") -> Any:
|
|
77571
|
+
pass
|
|
77572
|
+
|
|
77573
|
+
@abstractmethod
|
|
77574
|
+
def _or(self, or_: "scout_savedviews_api_SearchSavedViewsQueryList") -> Any:
|
|
77575
|
+
pass
|
|
77576
|
+
|
|
77577
|
+
@abstractmethod
|
|
77578
|
+
def _not(self, not_: "scout_savedviews_api_SearchSavedViewsQuery") -> Any:
|
|
77579
|
+
pass
|
|
77580
|
+
|
|
77581
|
+
@abstractmethod
|
|
77582
|
+
def _title_exact_substring_search(self, title_exact_substring_search: str) -> Any:
|
|
77583
|
+
pass
|
|
77584
|
+
|
|
77585
|
+
@abstractmethod
|
|
77586
|
+
def _resource_type(self, resource_type: "scout_savedviews_api_ResourceType") -> Any:
|
|
77587
|
+
pass
|
|
77588
|
+
|
|
77589
|
+
@abstractmethod
|
|
77590
|
+
def _workspace(self, workspace: str) -> Any:
|
|
77591
|
+
pass
|
|
77592
|
+
|
|
77593
|
+
|
|
77594
|
+
scout_savedviews_api_SearchSavedViewsQueryVisitor.__name__ = "SearchSavedViewsQueryVisitor"
|
|
77595
|
+
scout_savedviews_api_SearchSavedViewsQueryVisitor.__qualname__ = "SearchSavedViewsQueryVisitor"
|
|
77596
|
+
scout_savedviews_api_SearchSavedViewsQueryVisitor.__module__ = "nominal_api.scout_savedviews_api"
|
|
77597
|
+
|
|
77598
|
+
|
|
77599
|
+
class scout_savedviews_api_SearchSavedViewsQueryList(ConjureBeanType):
|
|
77600
|
+
|
|
77601
|
+
@builtins.classmethod
|
|
77602
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77603
|
+
return {
|
|
77604
|
+
'queries': ConjureFieldDefinition('queries', List[scout_savedviews_api_SearchSavedViewsQuery])
|
|
77605
|
+
}
|
|
77606
|
+
|
|
77607
|
+
__slots__: List[str] = ['_queries']
|
|
77608
|
+
|
|
77609
|
+
def __init__(self, queries: List["scout_savedviews_api_SearchSavedViewsQuery"]) -> None:
|
|
77610
|
+
self._queries = queries
|
|
77611
|
+
|
|
77612
|
+
@builtins.property
|
|
77613
|
+
def queries(self) -> List["scout_savedviews_api_SearchSavedViewsQuery"]:
|
|
77614
|
+
return self._queries
|
|
77615
|
+
|
|
77616
|
+
|
|
77617
|
+
scout_savedviews_api_SearchSavedViewsQueryList.__name__ = "SearchSavedViewsQueryList"
|
|
77618
|
+
scout_savedviews_api_SearchSavedViewsQueryList.__qualname__ = "SearchSavedViewsQueryList"
|
|
77619
|
+
scout_savedviews_api_SearchSavedViewsQueryList.__module__ = "nominal_api.scout_savedviews_api"
|
|
77620
|
+
|
|
77621
|
+
|
|
77622
|
+
class scout_savedviews_api_SearchSavedViewsRequest(ConjureBeanType):
|
|
77623
|
+
|
|
77624
|
+
@builtins.classmethod
|
|
77625
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77626
|
+
return {
|
|
77627
|
+
'query': ConjureFieldDefinition('query', scout_savedviews_api_SearchSavedViewsQuery),
|
|
77628
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
77629
|
+
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int])
|
|
77630
|
+
}
|
|
77631
|
+
|
|
77632
|
+
__slots__: List[str] = ['_query', '_next_page_token', '_page_size']
|
|
77633
|
+
|
|
77634
|
+
def __init__(self, query: "scout_savedviews_api_SearchSavedViewsQuery", next_page_token: Optional[str] = None, page_size: Optional[int] = None) -> None:
|
|
77635
|
+
self._query = query
|
|
77636
|
+
self._next_page_token = next_page_token
|
|
77637
|
+
self._page_size = page_size
|
|
77638
|
+
|
|
77639
|
+
@builtins.property
|
|
77640
|
+
def query(self) -> "scout_savedviews_api_SearchSavedViewsQuery":
|
|
77641
|
+
return self._query
|
|
77642
|
+
|
|
77643
|
+
@builtins.property
|
|
77644
|
+
def next_page_token(self) -> Optional[str]:
|
|
77645
|
+
return self._next_page_token
|
|
77646
|
+
|
|
77647
|
+
@builtins.property
|
|
77648
|
+
def page_size(self) -> Optional[int]:
|
|
77649
|
+
"""Defaults to 100. Will throw if larger than 1_000.
|
|
77650
|
+
"""
|
|
77651
|
+
return self._page_size
|
|
77652
|
+
|
|
77653
|
+
|
|
77654
|
+
scout_savedviews_api_SearchSavedViewsRequest.__name__ = "SearchSavedViewsRequest"
|
|
77655
|
+
scout_savedviews_api_SearchSavedViewsRequest.__qualname__ = "SearchSavedViewsRequest"
|
|
77656
|
+
scout_savedviews_api_SearchSavedViewsRequest.__module__ = "nominal_api.scout_savedviews_api"
|
|
77657
|
+
|
|
77658
|
+
|
|
77659
|
+
class scout_savedviews_api_SearchSavedViewsResponse(ConjureBeanType):
|
|
77660
|
+
|
|
77661
|
+
@builtins.classmethod
|
|
77662
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77663
|
+
return {
|
|
77664
|
+
'saved_views': ConjureFieldDefinition('savedViews', List[scout_savedviews_api_SavedView]),
|
|
77665
|
+
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token])
|
|
77666
|
+
}
|
|
77667
|
+
|
|
77668
|
+
__slots__: List[str] = ['_saved_views', '_next_page_token']
|
|
77669
|
+
|
|
77670
|
+
def __init__(self, saved_views: List["scout_savedviews_api_SavedView"], next_page_token: Optional[str] = None) -> None:
|
|
77671
|
+
self._saved_views = saved_views
|
|
77672
|
+
self._next_page_token = next_page_token
|
|
77673
|
+
|
|
77674
|
+
@builtins.property
|
|
77675
|
+
def saved_views(self) -> List["scout_savedviews_api_SavedView"]:
|
|
77676
|
+
return self._saved_views
|
|
77677
|
+
|
|
77678
|
+
@builtins.property
|
|
77679
|
+
def next_page_token(self) -> Optional[str]:
|
|
77680
|
+
return self._next_page_token
|
|
77681
|
+
|
|
77682
|
+
|
|
77683
|
+
scout_savedviews_api_SearchSavedViewsResponse.__name__ = "SearchSavedViewsResponse"
|
|
77684
|
+
scout_savedviews_api_SearchSavedViewsResponse.__qualname__ = "SearchSavedViewsResponse"
|
|
77685
|
+
scout_savedviews_api_SearchSavedViewsResponse.__module__ = "nominal_api.scout_savedviews_api"
|
|
77686
|
+
|
|
77687
|
+
|
|
77688
|
+
class scout_savedviews_api_SearchState(ConjureUnionType):
|
|
77689
|
+
_asset: Optional["scout_savedviews_api_AssetSearchState"] = None
|
|
77690
|
+
_run: Optional["scout_savedviews_api_RunSearchState"] = None
|
|
77691
|
+
_checklist: Optional["scout_savedviews_api_ChecklistSearchState"] = None
|
|
77692
|
+
_workbook: Optional["scout_savedviews_api_WorkbookSearchState"] = None
|
|
77693
|
+
_template: Optional["scout_savedviews_api_TemplateSearchState"] = None
|
|
77694
|
+
|
|
77695
|
+
@builtins.classmethod
|
|
77696
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77697
|
+
return {
|
|
77698
|
+
'asset': ConjureFieldDefinition('asset', scout_savedviews_api_AssetSearchState),
|
|
77699
|
+
'run': ConjureFieldDefinition('run', scout_savedviews_api_RunSearchState),
|
|
77700
|
+
'checklist': ConjureFieldDefinition('checklist', scout_savedviews_api_ChecklistSearchState),
|
|
77701
|
+
'workbook': ConjureFieldDefinition('workbook', scout_savedviews_api_WorkbookSearchState),
|
|
77702
|
+
'template': ConjureFieldDefinition('template', scout_savedviews_api_TemplateSearchState)
|
|
77703
|
+
}
|
|
77704
|
+
|
|
77705
|
+
def __init__(
|
|
77706
|
+
self,
|
|
77707
|
+
asset: Optional["scout_savedviews_api_AssetSearchState"] = None,
|
|
77708
|
+
run: Optional["scout_savedviews_api_RunSearchState"] = None,
|
|
77709
|
+
checklist: Optional["scout_savedviews_api_ChecklistSearchState"] = None,
|
|
77710
|
+
workbook: Optional["scout_savedviews_api_WorkbookSearchState"] = None,
|
|
77711
|
+
template: Optional["scout_savedviews_api_TemplateSearchState"] = None,
|
|
77712
|
+
type_of_union: Optional[str] = None
|
|
77713
|
+
) -> None:
|
|
77714
|
+
if type_of_union is None:
|
|
77715
|
+
if (asset is not None) + (run is not None) + (checklist is not None) + (workbook is not None) + (template is not None) != 1:
|
|
77716
|
+
raise ValueError('a union must contain a single member')
|
|
77717
|
+
|
|
77718
|
+
if asset is not None:
|
|
77719
|
+
self._asset = asset
|
|
77720
|
+
self._type = 'asset'
|
|
77721
|
+
if run is not None:
|
|
77722
|
+
self._run = run
|
|
77723
|
+
self._type = 'run'
|
|
77724
|
+
if checklist is not None:
|
|
77725
|
+
self._checklist = checklist
|
|
77726
|
+
self._type = 'checklist'
|
|
77727
|
+
if workbook is not None:
|
|
77728
|
+
self._workbook = workbook
|
|
77729
|
+
self._type = 'workbook'
|
|
77730
|
+
if template is not None:
|
|
77731
|
+
self._template = template
|
|
77732
|
+
self._type = 'template'
|
|
77733
|
+
|
|
77734
|
+
elif type_of_union == 'asset':
|
|
77735
|
+
if asset is None:
|
|
77736
|
+
raise ValueError('a union value must not be None')
|
|
77737
|
+
self._asset = asset
|
|
77738
|
+
self._type = 'asset'
|
|
77739
|
+
elif type_of_union == 'run':
|
|
77740
|
+
if run is None:
|
|
77741
|
+
raise ValueError('a union value must not be None')
|
|
77742
|
+
self._run = run
|
|
77743
|
+
self._type = 'run'
|
|
77744
|
+
elif type_of_union == 'checklist':
|
|
77745
|
+
if checklist is None:
|
|
77746
|
+
raise ValueError('a union value must not be None')
|
|
77747
|
+
self._checklist = checklist
|
|
77748
|
+
self._type = 'checklist'
|
|
77749
|
+
elif type_of_union == 'workbook':
|
|
77750
|
+
if workbook is None:
|
|
77751
|
+
raise ValueError('a union value must not be None')
|
|
77752
|
+
self._workbook = workbook
|
|
77753
|
+
self._type = 'workbook'
|
|
77754
|
+
elif type_of_union == 'template':
|
|
77755
|
+
if template is None:
|
|
77756
|
+
raise ValueError('a union value must not be None')
|
|
77757
|
+
self._template = template
|
|
77758
|
+
self._type = 'template'
|
|
77759
|
+
|
|
77760
|
+
@builtins.property
|
|
77761
|
+
def asset(self) -> Optional["scout_savedviews_api_AssetSearchState"]:
|
|
77762
|
+
return self._asset
|
|
77763
|
+
|
|
77764
|
+
@builtins.property
|
|
77765
|
+
def run(self) -> Optional["scout_savedviews_api_RunSearchState"]:
|
|
77766
|
+
return self._run
|
|
77767
|
+
|
|
77768
|
+
@builtins.property
|
|
77769
|
+
def checklist(self) -> Optional["scout_savedviews_api_ChecklistSearchState"]:
|
|
77770
|
+
return self._checklist
|
|
77771
|
+
|
|
77772
|
+
@builtins.property
|
|
77773
|
+
def workbook(self) -> Optional["scout_savedviews_api_WorkbookSearchState"]:
|
|
77774
|
+
return self._workbook
|
|
77775
|
+
|
|
77776
|
+
@builtins.property
|
|
77777
|
+
def template(self) -> Optional["scout_savedviews_api_TemplateSearchState"]:
|
|
77778
|
+
return self._template
|
|
77779
|
+
|
|
77780
|
+
def accept(self, visitor) -> Any:
|
|
77781
|
+
if not isinstance(visitor, scout_savedviews_api_SearchStateVisitor):
|
|
77782
|
+
raise ValueError('{} is not an instance of scout_savedviews_api_SearchStateVisitor'.format(visitor.__class__.__name__))
|
|
77783
|
+
if self._type == 'asset' and self.asset is not None:
|
|
77784
|
+
return visitor._asset(self.asset)
|
|
77785
|
+
if self._type == 'run' and self.run is not None:
|
|
77786
|
+
return visitor._run(self.run)
|
|
77787
|
+
if self._type == 'checklist' and self.checklist is not None:
|
|
77788
|
+
return visitor._checklist(self.checklist)
|
|
77789
|
+
if self._type == 'workbook' and self.workbook is not None:
|
|
77790
|
+
return visitor._workbook(self.workbook)
|
|
77791
|
+
if self._type == 'template' and self.template is not None:
|
|
77792
|
+
return visitor._template(self.template)
|
|
77793
|
+
|
|
77794
|
+
|
|
77795
|
+
scout_savedviews_api_SearchState.__name__ = "SearchState"
|
|
77796
|
+
scout_savedviews_api_SearchState.__qualname__ = "SearchState"
|
|
77797
|
+
scout_savedviews_api_SearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77798
|
+
|
|
77799
|
+
|
|
77800
|
+
class scout_savedviews_api_SearchStateVisitor:
|
|
77801
|
+
|
|
77802
|
+
@abstractmethod
|
|
77803
|
+
def _asset(self, asset: "scout_savedviews_api_AssetSearchState") -> Any:
|
|
77804
|
+
pass
|
|
77805
|
+
|
|
77806
|
+
@abstractmethod
|
|
77807
|
+
def _run(self, run: "scout_savedviews_api_RunSearchState") -> Any:
|
|
77808
|
+
pass
|
|
77809
|
+
|
|
77810
|
+
@abstractmethod
|
|
77811
|
+
def _checklist(self, checklist: "scout_savedviews_api_ChecklistSearchState") -> Any:
|
|
77812
|
+
pass
|
|
77813
|
+
|
|
77814
|
+
@abstractmethod
|
|
77815
|
+
def _workbook(self, workbook: "scout_savedviews_api_WorkbookSearchState") -> Any:
|
|
77816
|
+
pass
|
|
77817
|
+
|
|
77818
|
+
@abstractmethod
|
|
77819
|
+
def _template(self, template: "scout_savedviews_api_TemplateSearchState") -> Any:
|
|
77820
|
+
pass
|
|
77821
|
+
|
|
77822
|
+
|
|
77823
|
+
scout_savedviews_api_SearchStateVisitor.__name__ = "SearchStateVisitor"
|
|
77824
|
+
scout_savedviews_api_SearchStateVisitor.__qualname__ = "SearchStateVisitor"
|
|
77825
|
+
scout_savedviews_api_SearchStateVisitor.__module__ = "nominal_api.scout_savedviews_api"
|
|
77826
|
+
|
|
77827
|
+
|
|
77828
|
+
class scout_savedviews_api_TableState(ConjureBeanType):
|
|
77829
|
+
|
|
77830
|
+
@builtins.classmethod
|
|
77831
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77832
|
+
return {
|
|
77833
|
+
'column_visibility': ConjureFieldDefinition('columnVisibility', OptionalTypeWrapper[Dict[scout_savedviews_api_ColumnId, bool]]),
|
|
77834
|
+
'column_sizing': ConjureFieldDefinition('columnSizing', OptionalTypeWrapper[Dict[scout_savedviews_api_ColumnId, int]]),
|
|
77835
|
+
'column_order': ConjureFieldDefinition('columnOrder', OptionalTypeWrapper[List[scout_savedviews_api_ColumnId]]),
|
|
77836
|
+
'column_pinning': ConjureFieldDefinition('columnPinning', OptionalTypeWrapper[scout_savedviews_api_ColumnPinningState])
|
|
77837
|
+
}
|
|
77838
|
+
|
|
77839
|
+
__slots__: List[str] = ['_column_visibility', '_column_sizing', '_column_order', '_column_pinning']
|
|
77840
|
+
|
|
77841
|
+
def __init__(self, column_order: Optional[List[str]] = None, column_pinning: Optional["scout_savedviews_api_ColumnPinningState"] = None, column_sizing: Optional[Dict[str, int]] = None, column_visibility: Optional[Dict[str, bool]] = None) -> None:
|
|
77842
|
+
self._column_visibility = column_visibility
|
|
77843
|
+
self._column_sizing = column_sizing
|
|
77844
|
+
self._column_order = column_order
|
|
77845
|
+
self._column_pinning = column_pinning
|
|
77846
|
+
|
|
77847
|
+
@builtins.property
|
|
77848
|
+
def column_visibility(self) -> Optional[Dict[str, bool]]:
|
|
77849
|
+
return self._column_visibility
|
|
77850
|
+
|
|
77851
|
+
@builtins.property
|
|
77852
|
+
def column_sizing(self) -> Optional[Dict[str, int]]:
|
|
77853
|
+
return self._column_sizing
|
|
77854
|
+
|
|
77855
|
+
@builtins.property
|
|
77856
|
+
def column_order(self) -> Optional[List[str]]:
|
|
77857
|
+
return self._column_order
|
|
77858
|
+
|
|
77859
|
+
@builtins.property
|
|
77860
|
+
def column_pinning(self) -> Optional["scout_savedviews_api_ColumnPinningState"]:
|
|
77861
|
+
return self._column_pinning
|
|
77862
|
+
|
|
77863
|
+
|
|
77864
|
+
scout_savedviews_api_TableState.__name__ = "TableState"
|
|
77865
|
+
scout_savedviews_api_TableState.__qualname__ = "TableState"
|
|
77866
|
+
scout_savedviews_api_TableState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77867
|
+
|
|
77868
|
+
|
|
77869
|
+
class scout_savedviews_api_TemplateSearchState(ConjureBeanType):
|
|
77870
|
+
|
|
77871
|
+
@builtins.classmethod
|
|
77872
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77873
|
+
return {
|
|
77874
|
+
'sort': ConjureFieldDefinition('sort', scout_template_api_SortBy),
|
|
77875
|
+
'query': ConjureFieldDefinition('query', scout_template_api_SearchTemplatesQuery)
|
|
77876
|
+
}
|
|
77877
|
+
|
|
77878
|
+
__slots__: List[str] = ['_sort', '_query']
|
|
77879
|
+
|
|
77880
|
+
def __init__(self, query: "scout_template_api_SearchTemplatesQuery", sort: "scout_template_api_SortBy") -> None:
|
|
77881
|
+
self._sort = sort
|
|
77882
|
+
self._query = query
|
|
77883
|
+
|
|
77884
|
+
@builtins.property
|
|
77885
|
+
def sort(self) -> "scout_template_api_SortBy":
|
|
77886
|
+
return self._sort
|
|
77887
|
+
|
|
77888
|
+
@builtins.property
|
|
77889
|
+
def query(self) -> "scout_template_api_SearchTemplatesQuery":
|
|
77890
|
+
return self._query
|
|
77891
|
+
|
|
77892
|
+
|
|
77893
|
+
scout_savedviews_api_TemplateSearchState.__name__ = "TemplateSearchState"
|
|
77894
|
+
scout_savedviews_api_TemplateSearchState.__qualname__ = "TemplateSearchState"
|
|
77895
|
+
scout_savedviews_api_TemplateSearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
77896
|
+
|
|
77897
|
+
|
|
77898
|
+
class scout_savedviews_api_UnarchiveSavedViewsRequest(ConjureBeanType):
|
|
77899
|
+
|
|
77900
|
+
@builtins.classmethod
|
|
77901
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77902
|
+
return {
|
|
77903
|
+
'saved_view_rids': ConjureFieldDefinition('savedViewRids', List[scout_rids_api_SavedViewRid])
|
|
77904
|
+
}
|
|
77905
|
+
|
|
77906
|
+
__slots__: List[str] = ['_saved_view_rids']
|
|
77907
|
+
|
|
77908
|
+
def __init__(self, saved_view_rids: List[str]) -> None:
|
|
77909
|
+
self._saved_view_rids = saved_view_rids
|
|
77910
|
+
|
|
77911
|
+
@builtins.property
|
|
77912
|
+
def saved_view_rids(self) -> List[str]:
|
|
77913
|
+
return self._saved_view_rids
|
|
77914
|
+
|
|
77915
|
+
|
|
77916
|
+
scout_savedviews_api_UnarchiveSavedViewsRequest.__name__ = "UnarchiveSavedViewsRequest"
|
|
77917
|
+
scout_savedviews_api_UnarchiveSavedViewsRequest.__qualname__ = "UnarchiveSavedViewsRequest"
|
|
77918
|
+
scout_savedviews_api_UnarchiveSavedViewsRequest.__module__ = "nominal_api.scout_savedviews_api"
|
|
77919
|
+
|
|
77920
|
+
|
|
77921
|
+
class scout_savedviews_api_UpdateColor(ConjureUnionType):
|
|
77922
|
+
_color: Optional["scout_api_Color"] = None
|
|
77923
|
+
_clear_color: Optional["api_Empty"] = None
|
|
77924
|
+
|
|
77925
|
+
@builtins.classmethod
|
|
77926
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77927
|
+
return {
|
|
77928
|
+
'color': ConjureFieldDefinition('color', scout_api_Color),
|
|
77929
|
+
'clear_color': ConjureFieldDefinition('clearColor', api_Empty)
|
|
77930
|
+
}
|
|
77931
|
+
|
|
77932
|
+
def __init__(
|
|
77933
|
+
self,
|
|
77934
|
+
color: Optional["scout_api_Color"] = None,
|
|
77935
|
+
clear_color: Optional["api_Empty"] = None,
|
|
77936
|
+
type_of_union: Optional[str] = None
|
|
77937
|
+
) -> None:
|
|
77938
|
+
if type_of_union is None:
|
|
77939
|
+
if (color is not None) + (clear_color is not None) != 1:
|
|
77940
|
+
raise ValueError('a union must contain a single member')
|
|
77941
|
+
|
|
77942
|
+
if color is not None:
|
|
77943
|
+
self._color = color
|
|
77944
|
+
self._type = 'color'
|
|
77945
|
+
if clear_color is not None:
|
|
77946
|
+
self._clear_color = clear_color
|
|
77947
|
+
self._type = 'clearColor'
|
|
77948
|
+
|
|
77949
|
+
elif type_of_union == 'color':
|
|
77950
|
+
if color is None:
|
|
77951
|
+
raise ValueError('a union value must not be None')
|
|
77952
|
+
self._color = color
|
|
77953
|
+
self._type = 'color'
|
|
77954
|
+
elif type_of_union == 'clearColor':
|
|
77955
|
+
if clear_color is None:
|
|
77956
|
+
raise ValueError('a union value must not be None')
|
|
77957
|
+
self._clear_color = clear_color
|
|
77958
|
+
self._type = 'clearColor'
|
|
77959
|
+
|
|
77960
|
+
@builtins.property
|
|
77961
|
+
def color(self) -> Optional["scout_api_Color"]:
|
|
77962
|
+
return self._color
|
|
77963
|
+
|
|
77964
|
+
@builtins.property
|
|
77965
|
+
def clear_color(self) -> Optional["api_Empty"]:
|
|
77966
|
+
return self._clear_color
|
|
77967
|
+
|
|
77968
|
+
def accept(self, visitor) -> Any:
|
|
77969
|
+
if not isinstance(visitor, scout_savedviews_api_UpdateColorVisitor):
|
|
77970
|
+
raise ValueError('{} is not an instance of scout_savedviews_api_UpdateColorVisitor'.format(visitor.__class__.__name__))
|
|
77971
|
+
if self._type == 'color' and self.color is not None:
|
|
77972
|
+
return visitor._color(self.color)
|
|
77973
|
+
if self._type == 'clearColor' and self.clear_color is not None:
|
|
77974
|
+
return visitor._clear_color(self.clear_color)
|
|
77975
|
+
|
|
77976
|
+
|
|
77977
|
+
scout_savedviews_api_UpdateColor.__name__ = "UpdateColor"
|
|
77978
|
+
scout_savedviews_api_UpdateColor.__qualname__ = "UpdateColor"
|
|
77979
|
+
scout_savedviews_api_UpdateColor.__module__ = "nominal_api.scout_savedviews_api"
|
|
77980
|
+
|
|
77981
|
+
|
|
77982
|
+
class scout_savedviews_api_UpdateColorVisitor:
|
|
77983
|
+
|
|
77984
|
+
@abstractmethod
|
|
77985
|
+
def _color(self, color: "scout_api_Color") -> Any:
|
|
77986
|
+
pass
|
|
77987
|
+
|
|
77988
|
+
@abstractmethod
|
|
77989
|
+
def _clear_color(self, clear_color: "api_Empty") -> Any:
|
|
77990
|
+
pass
|
|
77991
|
+
|
|
77992
|
+
|
|
77993
|
+
scout_savedviews_api_UpdateColorVisitor.__name__ = "UpdateColorVisitor"
|
|
77994
|
+
scout_savedviews_api_UpdateColorVisitor.__qualname__ = "UpdateColorVisitor"
|
|
77995
|
+
scout_savedviews_api_UpdateColorVisitor.__module__ = "nominal_api.scout_savedviews_api"
|
|
77996
|
+
|
|
77997
|
+
|
|
77998
|
+
class scout_savedviews_api_UpdateSavedViewRequest(ConjureBeanType):
|
|
77999
|
+
|
|
78000
|
+
@builtins.classmethod
|
|
78001
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78002
|
+
return {
|
|
78003
|
+
'title': ConjureFieldDefinition('title', OptionalTypeWrapper[str]),
|
|
78004
|
+
'symbol': ConjureFieldDefinition('symbol', OptionalTypeWrapper[scout_savedviews_api_UpdateSymbol]),
|
|
78005
|
+
'color': ConjureFieldDefinition('color', OptionalTypeWrapper[scout_savedviews_api_UpdateColor]),
|
|
78006
|
+
'search_state': ConjureFieldDefinition('searchState', OptionalTypeWrapper[scout_savedviews_api_SearchState]),
|
|
78007
|
+
'display_state': ConjureFieldDefinition('displayState', OptionalTypeWrapper[scout_savedviews_api_DisplayState])
|
|
78008
|
+
}
|
|
78009
|
+
|
|
78010
|
+
__slots__: List[str] = ['_title', '_symbol', '_color', '_search_state', '_display_state']
|
|
78011
|
+
|
|
78012
|
+
def __init__(self, color: Optional["scout_savedviews_api_UpdateColor"] = None, display_state: Optional["scout_savedviews_api_DisplayState"] = None, search_state: Optional["scout_savedviews_api_SearchState"] = None, symbol: Optional["scout_savedviews_api_UpdateSymbol"] = None, title: Optional[str] = None) -> None:
|
|
78013
|
+
self._title = title
|
|
78014
|
+
self._symbol = symbol
|
|
78015
|
+
self._color = color
|
|
78016
|
+
self._search_state = search_state
|
|
78017
|
+
self._display_state = display_state
|
|
78018
|
+
|
|
78019
|
+
@builtins.property
|
|
78020
|
+
def title(self) -> Optional[str]:
|
|
78021
|
+
return self._title
|
|
78022
|
+
|
|
78023
|
+
@builtins.property
|
|
78024
|
+
def symbol(self) -> Optional["scout_savedviews_api_UpdateSymbol"]:
|
|
78025
|
+
return self._symbol
|
|
78026
|
+
|
|
78027
|
+
@builtins.property
|
|
78028
|
+
def color(self) -> Optional["scout_savedviews_api_UpdateColor"]:
|
|
78029
|
+
return self._color
|
|
78030
|
+
|
|
78031
|
+
@builtins.property
|
|
78032
|
+
def search_state(self) -> Optional["scout_savedviews_api_SearchState"]:
|
|
78033
|
+
return self._search_state
|
|
78034
|
+
|
|
78035
|
+
@builtins.property
|
|
78036
|
+
def display_state(self) -> Optional["scout_savedviews_api_DisplayState"]:
|
|
78037
|
+
return self._display_state
|
|
78038
|
+
|
|
78039
|
+
|
|
78040
|
+
scout_savedviews_api_UpdateSavedViewRequest.__name__ = "UpdateSavedViewRequest"
|
|
78041
|
+
scout_savedviews_api_UpdateSavedViewRequest.__qualname__ = "UpdateSavedViewRequest"
|
|
78042
|
+
scout_savedviews_api_UpdateSavedViewRequest.__module__ = "nominal_api.scout_savedviews_api"
|
|
78043
|
+
|
|
78044
|
+
|
|
78045
|
+
class scout_savedviews_api_UpdateSavedViewResponse(ConjureBeanType):
|
|
78046
|
+
|
|
78047
|
+
@builtins.classmethod
|
|
78048
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78049
|
+
return {
|
|
78050
|
+
'saved_view': ConjureFieldDefinition('savedView', scout_savedviews_api_SavedView)
|
|
78051
|
+
}
|
|
78052
|
+
|
|
78053
|
+
__slots__: List[str] = ['_saved_view']
|
|
78054
|
+
|
|
78055
|
+
def __init__(self, saved_view: "scout_savedviews_api_SavedView") -> None:
|
|
78056
|
+
self._saved_view = saved_view
|
|
78057
|
+
|
|
78058
|
+
@builtins.property
|
|
78059
|
+
def saved_view(self) -> "scout_savedviews_api_SavedView":
|
|
78060
|
+
return self._saved_view
|
|
78061
|
+
|
|
78062
|
+
|
|
78063
|
+
scout_savedviews_api_UpdateSavedViewResponse.__name__ = "UpdateSavedViewResponse"
|
|
78064
|
+
scout_savedviews_api_UpdateSavedViewResponse.__qualname__ = "UpdateSavedViewResponse"
|
|
78065
|
+
scout_savedviews_api_UpdateSavedViewResponse.__module__ = "nominal_api.scout_savedviews_api"
|
|
78066
|
+
|
|
78067
|
+
|
|
78068
|
+
class scout_savedviews_api_UpdateSymbol(ConjureUnionType):
|
|
78069
|
+
_symbol: Optional["scout_api_Symbol"] = None
|
|
78070
|
+
_clear_symbol: Optional["api_Empty"] = None
|
|
78071
|
+
|
|
78072
|
+
@builtins.classmethod
|
|
78073
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78074
|
+
return {
|
|
78075
|
+
'symbol': ConjureFieldDefinition('symbol', scout_api_Symbol),
|
|
78076
|
+
'clear_symbol': ConjureFieldDefinition('clearSymbol', api_Empty)
|
|
78077
|
+
}
|
|
78078
|
+
|
|
78079
|
+
def __init__(
|
|
78080
|
+
self,
|
|
78081
|
+
symbol: Optional["scout_api_Symbol"] = None,
|
|
78082
|
+
clear_symbol: Optional["api_Empty"] = None,
|
|
78083
|
+
type_of_union: Optional[str] = None
|
|
78084
|
+
) -> None:
|
|
78085
|
+
if type_of_union is None:
|
|
78086
|
+
if (symbol is not None) + (clear_symbol is not None) != 1:
|
|
78087
|
+
raise ValueError('a union must contain a single member')
|
|
78088
|
+
|
|
78089
|
+
if symbol is not None:
|
|
78090
|
+
self._symbol = symbol
|
|
78091
|
+
self._type = 'symbol'
|
|
78092
|
+
if clear_symbol is not None:
|
|
78093
|
+
self._clear_symbol = clear_symbol
|
|
78094
|
+
self._type = 'clearSymbol'
|
|
78095
|
+
|
|
78096
|
+
elif type_of_union == 'symbol':
|
|
78097
|
+
if symbol is None:
|
|
78098
|
+
raise ValueError('a union value must not be None')
|
|
78099
|
+
self._symbol = symbol
|
|
78100
|
+
self._type = 'symbol'
|
|
78101
|
+
elif type_of_union == 'clearSymbol':
|
|
78102
|
+
if clear_symbol is None:
|
|
78103
|
+
raise ValueError('a union value must not be None')
|
|
78104
|
+
self._clear_symbol = clear_symbol
|
|
78105
|
+
self._type = 'clearSymbol'
|
|
78106
|
+
|
|
78107
|
+
@builtins.property
|
|
78108
|
+
def symbol(self) -> Optional["scout_api_Symbol"]:
|
|
78109
|
+
return self._symbol
|
|
78110
|
+
|
|
78111
|
+
@builtins.property
|
|
78112
|
+
def clear_symbol(self) -> Optional["api_Empty"]:
|
|
78113
|
+
return self._clear_symbol
|
|
78114
|
+
|
|
78115
|
+
def accept(self, visitor) -> Any:
|
|
78116
|
+
if not isinstance(visitor, scout_savedviews_api_UpdateSymbolVisitor):
|
|
78117
|
+
raise ValueError('{} is not an instance of scout_savedviews_api_UpdateSymbolVisitor'.format(visitor.__class__.__name__))
|
|
78118
|
+
if self._type == 'symbol' and self.symbol is not None:
|
|
78119
|
+
return visitor._symbol(self.symbol)
|
|
78120
|
+
if self._type == 'clearSymbol' and self.clear_symbol is not None:
|
|
78121
|
+
return visitor._clear_symbol(self.clear_symbol)
|
|
78122
|
+
|
|
78123
|
+
|
|
78124
|
+
scout_savedviews_api_UpdateSymbol.__name__ = "UpdateSymbol"
|
|
78125
|
+
scout_savedviews_api_UpdateSymbol.__qualname__ = "UpdateSymbol"
|
|
78126
|
+
scout_savedviews_api_UpdateSymbol.__module__ = "nominal_api.scout_savedviews_api"
|
|
78127
|
+
|
|
78128
|
+
|
|
78129
|
+
class scout_savedviews_api_UpdateSymbolVisitor:
|
|
78130
|
+
|
|
78131
|
+
@abstractmethod
|
|
78132
|
+
def _symbol(self, symbol: "scout_api_Symbol") -> Any:
|
|
78133
|
+
pass
|
|
78134
|
+
|
|
78135
|
+
@abstractmethod
|
|
78136
|
+
def _clear_symbol(self, clear_symbol: "api_Empty") -> Any:
|
|
78137
|
+
pass
|
|
78138
|
+
|
|
78139
|
+
|
|
78140
|
+
scout_savedviews_api_UpdateSymbolVisitor.__name__ = "UpdateSymbolVisitor"
|
|
78141
|
+
scout_savedviews_api_UpdateSymbolVisitor.__qualname__ = "UpdateSymbolVisitor"
|
|
78142
|
+
scout_savedviews_api_UpdateSymbolVisitor.__module__ = "nominal_api.scout_savedviews_api"
|
|
78143
|
+
|
|
78144
|
+
|
|
78145
|
+
class scout_savedviews_api_WorkbookSearchState(ConjureBeanType):
|
|
78146
|
+
|
|
78147
|
+
@builtins.classmethod
|
|
78148
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78149
|
+
return {
|
|
78150
|
+
'sort': ConjureFieldDefinition('sort', scout_notebook_api_SortBy),
|
|
78151
|
+
'query': ConjureFieldDefinition('query', scout_notebook_api_SearchNotebooksQuery)
|
|
78152
|
+
}
|
|
78153
|
+
|
|
78154
|
+
__slots__: List[str] = ['_sort', '_query']
|
|
78155
|
+
|
|
78156
|
+
def __init__(self, query: "scout_notebook_api_SearchNotebooksQuery", sort: "scout_notebook_api_SortBy") -> None:
|
|
78157
|
+
self._sort = sort
|
|
78158
|
+
self._query = query
|
|
78159
|
+
|
|
78160
|
+
@builtins.property
|
|
78161
|
+
def sort(self) -> "scout_notebook_api_SortBy":
|
|
78162
|
+
return self._sort
|
|
78163
|
+
|
|
78164
|
+
@builtins.property
|
|
78165
|
+
def query(self) -> "scout_notebook_api_SearchNotebooksQuery":
|
|
78166
|
+
return self._query
|
|
78167
|
+
|
|
78168
|
+
|
|
78169
|
+
scout_savedviews_api_WorkbookSearchState.__name__ = "WorkbookSearchState"
|
|
78170
|
+
scout_savedviews_api_WorkbookSearchState.__qualname__ = "WorkbookSearchState"
|
|
78171
|
+
scout_savedviews_api_WorkbookSearchState.__module__ = "nominal_api.scout_savedviews_api"
|
|
78172
|
+
|
|
78173
|
+
|
|
78174
|
+
class scout_template_api_CommitTemplateRequest(ConjureBeanType):
|
|
78175
|
+
|
|
78176
|
+
@builtins.classmethod
|
|
78177
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78178
|
+
return {
|
|
78179
|
+
'charts': ConjureFieldDefinition('charts', OptionalTypeWrapper[List[scout_rids_api_VersionedVizId]]),
|
|
78180
|
+
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
78181
|
+
'content': ConjureFieldDefinition('content', scout_workbookcommon_api_WorkbookContent),
|
|
78182
|
+
'message': ConjureFieldDefinition('message', str),
|
|
78183
|
+
'latest_commit': ConjureFieldDefinition('latestCommit', OptionalTypeWrapper[scout_versioning_api_CommitId])
|
|
78184
|
+
}
|
|
78185
|
+
|
|
78186
|
+
__slots__: List[str] = ['_charts', '_layout', '_content', '_message', '_latest_commit']
|
|
78187
|
+
|
|
78188
|
+
def __init__(self, content: "scout_workbookcommon_api_WorkbookContent", layout: "scout_layout_api_WorkbookLayout", message: str, charts: Optional[List["scout_rids_api_VersionedVizId"]] = None, latest_commit: Optional[str] = None) -> None:
|
|
78189
|
+
self._charts = charts
|
|
78190
|
+
self._layout = layout
|
|
78191
|
+
self._content = content
|
|
78192
|
+
self._message = message
|
|
78193
|
+
self._latest_commit = latest_commit
|
|
78194
|
+
|
|
78195
|
+
@builtins.property
|
|
78196
|
+
def charts(self) -> Optional[List["scout_rids_api_VersionedVizId"]]:
|
|
78197
|
+
return self._charts
|
|
78198
|
+
|
|
78199
|
+
@builtins.property
|
|
78200
|
+
def layout(self) -> "scout_layout_api_WorkbookLayout":
|
|
78201
|
+
return self._layout
|
|
78202
|
+
|
|
78203
|
+
@builtins.property
|
|
78204
|
+
def content(self) -> "scout_workbookcommon_api_WorkbookContent":
|
|
78205
|
+
return self._content
|
|
78206
|
+
|
|
78207
|
+
@builtins.property
|
|
78208
|
+
def message(self) -> str:
|
|
78209
|
+
return self._message
|
|
78210
|
+
|
|
78211
|
+
@builtins.property
|
|
78212
|
+
def latest_commit(self) -> Optional[str]:
|
|
78213
|
+
"""If present, will validate that the latest commit matches this id,
|
|
78214
|
+
and otherwise throw CommitConflict.
|
|
78215
|
+
"""
|
|
78216
|
+
return self._latest_commit
|
|
78217
|
+
|
|
78218
|
+
|
|
78219
|
+
scout_template_api_CommitTemplateRequest.__name__ = "CommitTemplateRequest"
|
|
78220
|
+
scout_template_api_CommitTemplateRequest.__qualname__ = "CommitTemplateRequest"
|
|
78221
|
+
scout_template_api_CommitTemplateRequest.__module__ = "nominal_api.scout_template_api"
|
|
78222
|
+
|
|
78223
|
+
|
|
78224
|
+
class scout_template_api_CreateTemplateRequest(ConjureBeanType):
|
|
78225
|
+
|
|
78226
|
+
@builtins.classmethod
|
|
78227
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78228
|
+
return {
|
|
78229
|
+
'title': ConjureFieldDefinition('title', str),
|
|
78230
|
+
'description': ConjureFieldDefinition('description', str),
|
|
78231
|
+
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
78232
|
+
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
|
78233
|
+
'is_published': ConjureFieldDefinition('isPublished', OptionalTypeWrapper[bool]),
|
|
78234
|
+
'charts': ConjureFieldDefinition('charts', OptionalTypeWrapper[List[scout_rids_api_VersionedVizId]]),
|
|
78235
|
+
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
78236
|
+
'content': ConjureFieldDefinition('content', scout_workbookcommon_api_WorkbookContent),
|
|
78237
|
+
'message': ConjureFieldDefinition('message', str),
|
|
78238
|
+
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
|
78239
|
+
}
|
|
78240
|
+
|
|
78241
|
+
__slots__: List[str] = ['_title', '_description', '_labels', '_properties', '_is_published', '_charts', '_layout', '_content', '_message', '_workspace']
|
|
78242
|
+
|
|
78243
|
+
def __init__(self, content: "scout_workbookcommon_api_WorkbookContent", description: str, labels: List[str], layout: "scout_layout_api_WorkbookLayout", message: str, properties: Dict[str, str], title: str, charts: Optional[List["scout_rids_api_VersionedVizId"]] = None, is_published: Optional[bool] = None, workspace: Optional[str] = None) -> None:
|
|
78244
|
+
self._title = title
|
|
78245
|
+
self._description = description
|
|
78246
|
+
self._labels = labels
|
|
78247
|
+
self._properties = properties
|
|
78248
|
+
self._is_published = is_published
|
|
78249
|
+
self._charts = charts
|
|
78250
|
+
self._layout = layout
|
|
78251
|
+
self._content = content
|
|
78252
|
+
self._message = message
|
|
78253
|
+
self._workspace = workspace
|
|
78254
|
+
|
|
78255
|
+
@builtins.property
|
|
78256
|
+
def title(self) -> str:
|
|
78257
|
+
return self._title
|
|
78258
|
+
|
|
78259
|
+
@builtins.property
|
|
78260
|
+
def description(self) -> str:
|
|
78261
|
+
return self._description
|
|
78262
|
+
|
|
78263
|
+
@builtins.property
|
|
78264
|
+
def labels(self) -> List[str]:
|
|
78265
|
+
return self._labels
|
|
78266
|
+
|
|
78267
|
+
@builtins.property
|
|
78268
|
+
def properties(self) -> Dict[str, str]:
|
|
78269
|
+
return self._properties
|
|
78270
|
+
|
|
78271
|
+
@builtins.property
|
|
78272
|
+
def is_published(self) -> Optional[bool]:
|
|
78273
|
+
"""Default is true
|
|
78274
|
+
"""
|
|
78275
|
+
return self._is_published
|
|
78276
|
+
|
|
78277
|
+
@builtins.property
|
|
78278
|
+
def charts(self) -> Optional[List["scout_rids_api_VersionedVizId"]]:
|
|
78279
|
+
return self._charts
|
|
78280
|
+
|
|
78281
|
+
@builtins.property
|
|
78282
|
+
def layout(self) -> "scout_layout_api_WorkbookLayout":
|
|
78283
|
+
return self._layout
|
|
78284
|
+
|
|
78285
|
+
@builtins.property
|
|
78286
|
+
def content(self) -> "scout_workbookcommon_api_WorkbookContent":
|
|
78287
|
+
return self._content
|
|
78288
|
+
|
|
78289
|
+
@builtins.property
|
|
78290
|
+
def message(self) -> str:
|
|
78291
|
+
return self._message
|
|
78292
|
+
|
|
78293
|
+
@builtins.property
|
|
78294
|
+
def workspace(self) -> Optional[str]:
|
|
78295
|
+
"""The workspace in which to create the template. If not provided, the template will be created in the default workspace for
|
|
78296
|
+
the user's organization, if the default workspace for the organization is configured.
|
|
78297
|
+
"""
|
|
78298
|
+
return self._workspace
|
|
78299
|
+
|
|
78300
|
+
|
|
78301
|
+
scout_template_api_CreateTemplateRequest.__name__ = "CreateTemplateRequest"
|
|
78302
|
+
scout_template_api_CreateTemplateRequest.__qualname__ = "CreateTemplateRequest"
|
|
78303
|
+
scout_template_api_CreateTemplateRequest.__module__ = "nominal_api.scout_template_api"
|
|
78304
|
+
|
|
78305
|
+
|
|
78306
|
+
class scout_template_api_GetAllLabelsAndPropertiesResponse(ConjureBeanType):
|
|
78307
|
+
|
|
78308
|
+
@builtins.classmethod
|
|
78309
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78310
|
+
return {
|
|
78311
|
+
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, List[api_PropertyValue]]),
|
|
78312
|
+
'labels': ConjureFieldDefinition('labels', List[api_Label])
|
|
78313
|
+
}
|
|
78314
|
+
|
|
78315
|
+
__slots__: List[str] = ['_properties', '_labels']
|
|
78316
|
+
|
|
78317
|
+
def __init__(self, labels: List[str], properties: Dict[str, List[str]]) -> None:
|
|
78318
|
+
self._properties = properties
|
|
78319
|
+
self._labels = labels
|
|
78320
|
+
|
|
78321
|
+
@builtins.property
|
|
78322
|
+
def properties(self) -> Dict[str, List[str]]:
|
|
78323
|
+
return self._properties
|
|
78324
|
+
|
|
78325
|
+
@builtins.property
|
|
78326
|
+
def labels(self) -> List[str]:
|
|
78327
|
+
return self._labels
|
|
78328
|
+
|
|
78329
|
+
|
|
78330
|
+
scout_template_api_GetAllLabelsAndPropertiesResponse.__name__ = "GetAllLabelsAndPropertiesResponse"
|
|
78331
|
+
scout_template_api_GetAllLabelsAndPropertiesResponse.__qualname__ = "GetAllLabelsAndPropertiesResponse"
|
|
78332
|
+
scout_template_api_GetAllLabelsAndPropertiesResponse.__module__ = "nominal_api.scout_template_api"
|
|
78333
|
+
|
|
78334
|
+
|
|
78335
|
+
class scout_template_api_MergeToMainRequest(ConjureBeanType):
|
|
78336
|
+
|
|
78337
|
+
@builtins.classmethod
|
|
78338
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78339
|
+
return {
|
|
78340
|
+
'branch_name': ConjureFieldDefinition('branchName', scout_versioning_api_BranchName),
|
|
78341
|
+
'message': ConjureFieldDefinition('message', str),
|
|
78342
|
+
'latest_commit_on_main': ConjureFieldDefinition('latestCommitOnMain', OptionalTypeWrapper[scout_versioning_api_CommitId])
|
|
78343
|
+
}
|
|
78344
|
+
|
|
78345
|
+
__slots__: List[str] = ['_branch_name', '_message', '_latest_commit_on_main']
|
|
78346
|
+
|
|
78347
|
+
def __init__(self, branch_name: str, message: str, latest_commit_on_main: Optional[str] = None) -> None:
|
|
78348
|
+
self._branch_name = branch_name
|
|
78349
|
+
self._message = message
|
|
78350
|
+
self._latest_commit_on_main = latest_commit_on_main
|
|
78351
|
+
|
|
78352
|
+
@builtins.property
|
|
78353
|
+
def branch_name(self) -> str:
|
|
78354
|
+
"""If "main", the request will throw.
|
|
78355
|
+
"""
|
|
78356
|
+
return self._branch_name
|
|
78357
|
+
|
|
78358
|
+
@builtins.property
|
|
78359
|
+
def message(self) -> str:
|
|
78360
|
+
return self._message
|
|
78361
|
+
|
|
78362
|
+
@builtins.property
|
|
78363
|
+
def latest_commit_on_main(self) -> Optional[str]:
|
|
78364
|
+
"""If present, will validate that the latest commit matches this id,
|
|
78365
|
+
and otherwise throw CommitConflict.
|
|
78366
|
+
"""
|
|
78367
|
+
return self._latest_commit_on_main
|
|
78368
|
+
|
|
78369
|
+
|
|
78370
|
+
scout_template_api_MergeToMainRequest.__name__ = "MergeToMainRequest"
|
|
78371
|
+
scout_template_api_MergeToMainRequest.__qualname__ = "MergeToMainRequest"
|
|
78372
|
+
scout_template_api_MergeToMainRequest.__module__ = "nominal_api.scout_template_api"
|
|
78373
|
+
|
|
78374
|
+
|
|
78375
|
+
class scout_template_api_SaveTemplateRequest(ConjureBeanType):
|
|
78376
|
+
|
|
78377
|
+
@builtins.classmethod
|
|
78378
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78379
|
+
return {
|
|
78380
|
+
'charts': ConjureFieldDefinition('charts', OptionalTypeWrapper[List[scout_rids_api_VersionedVizId]]),
|
|
78381
|
+
'layout': ConjureFieldDefinition('layout', scout_layout_api_WorkbookLayout),
|
|
78382
|
+
'content': ConjureFieldDefinition('content', scout_workbookcommon_api_WorkbookContent),
|
|
78383
|
+
'latest_commit': ConjureFieldDefinition('latestCommit', OptionalTypeWrapper[scout_versioning_api_CommitId])
|
|
78384
|
+
}
|
|
78385
|
+
|
|
78386
|
+
__slots__: List[str] = ['_charts', '_layout', '_content', '_latest_commit']
|
|
78387
|
+
|
|
78388
|
+
def __init__(self, content: "scout_workbookcommon_api_WorkbookContent", layout: "scout_layout_api_WorkbookLayout", charts: Optional[List["scout_rids_api_VersionedVizId"]] = None, latest_commit: Optional[str] = None) -> None:
|
|
78389
|
+
self._charts = charts
|
|
78390
|
+
self._layout = layout
|
|
78391
|
+
self._content = content
|
|
78392
|
+
self._latest_commit = latest_commit
|
|
78393
|
+
|
|
78394
|
+
@builtins.property
|
|
78395
|
+
def charts(self) -> Optional[List["scout_rids_api_VersionedVizId"]]:
|
|
78396
|
+
return self._charts
|
|
78397
|
+
|
|
78398
|
+
@builtins.property
|
|
78399
|
+
def layout(self) -> "scout_layout_api_WorkbookLayout":
|
|
78400
|
+
return self._layout
|
|
78401
|
+
|
|
78402
|
+
@builtins.property
|
|
78403
|
+
def content(self) -> "scout_workbookcommon_api_WorkbookContent":
|
|
78404
|
+
return self._content
|
|
78405
|
+
|
|
78406
|
+
@builtins.property
|
|
78407
|
+
def latest_commit(self) -> Optional[str]:
|
|
78408
|
+
"""If present, will validate that the latest commit matches this id,
|
|
78409
|
+
and otherwise throw CommitConflict.
|
|
78410
|
+
"""
|
|
78411
|
+
return self._latest_commit
|
|
78412
|
+
|
|
78413
|
+
|
|
78414
|
+
scout_template_api_SaveTemplateRequest.__name__ = "SaveTemplateRequest"
|
|
78415
|
+
scout_template_api_SaveTemplateRequest.__qualname__ = "SaveTemplateRequest"
|
|
78416
|
+
scout_template_api_SaveTemplateRequest.__module__ = "nominal_api.scout_template_api"
|
|
78417
|
+
|
|
78418
|
+
|
|
78419
|
+
class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
78420
|
+
_and_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None
|
|
78421
|
+
_or_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None
|
|
78422
|
+
_exact_match: Optional[str] = None
|
|
78423
|
+
_search_text: Optional[str] = None
|
|
78424
|
+
_label: Optional[str] = None
|
|
78425
|
+
_property: Optional["api_Property"] = None
|
|
78426
|
+
_created_by: Optional[str] = None
|
|
78427
|
+
_is_archived: Optional[bool] = None
|
|
78428
|
+
_is_published: Optional[bool] = None
|
|
78429
|
+
_workspace: Optional[str] = None
|
|
78430
|
+
|
|
78431
|
+
@builtins.classmethod
|
|
78432
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78433
|
+
return {
|
|
78434
|
+
'and_': ConjureFieldDefinition('and', List[scout_template_api_SearchTemplatesQuery]),
|
|
78435
|
+
'or_': ConjureFieldDefinition('or', List[scout_template_api_SearchTemplatesQuery]),
|
|
78436
|
+
'exact_match': ConjureFieldDefinition('exactMatch', str),
|
|
78437
|
+
'search_text': ConjureFieldDefinition('searchText', str),
|
|
78438
|
+
'label': ConjureFieldDefinition('label', api_Label),
|
|
78439
|
+
'property': ConjureFieldDefinition('property', api_Property),
|
|
78440
|
+
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
78441
|
+
'is_archived': ConjureFieldDefinition('isArchived', bool),
|
|
78442
|
+
'is_published': ConjureFieldDefinition('isPublished', bool),
|
|
78443
|
+
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
78444
|
+
}
|
|
78445
|
+
|
|
78446
|
+
def __init__(
|
|
78447
|
+
self,
|
|
78448
|
+
and_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None,
|
|
78449
|
+
or_: Optional[List["scout_template_api_SearchTemplatesQuery"]] = None,
|
|
78450
|
+
exact_match: Optional[str] = None,
|
|
78451
|
+
search_text: Optional[str] = None,
|
|
78452
|
+
label: Optional[str] = None,
|
|
78453
|
+
property: Optional["api_Property"] = None,
|
|
78454
|
+
created_by: Optional[str] = None,
|
|
78455
|
+
is_archived: Optional[bool] = None,
|
|
78456
|
+
is_published: Optional[bool] = None,
|
|
78457
|
+
workspace: Optional[str] = None,
|
|
76883
78458
|
type_of_union: Optional[str] = None
|
|
76884
78459
|
) -> None:
|
|
76885
78460
|
if type_of_union is None:
|
|
@@ -89789,6 +91364,8 @@ ingest_api_IngestJobRid = str
|
|
|
89789
91364
|
|
|
89790
91365
|
scout_compute_api_ErrorType = str
|
|
89791
91366
|
|
|
91367
|
+
scout_rids_api_SavedViewRid = str
|
|
91368
|
+
|
|
89792
91369
|
scout_rids_api_FunctionLineageRid = str
|
|
89793
91370
|
|
|
89794
91371
|
timeseries_logicalseries_api_DatabaseName = str
|
|
@@ -89823,6 +91400,8 @@ scout_chartdefinition_api_AxisId = str
|
|
|
89823
91400
|
|
|
89824
91401
|
scout_datasource_connection_api_SchemaName = str
|
|
89825
91402
|
|
|
91403
|
+
scout_savedviews_api_ColumnId = str
|
|
91404
|
+
|
|
89826
91405
|
scout_api_HexColor = str
|
|
89827
91406
|
|
|
89828
91407
|
scout_datasource_connection_api_SecretRid = str
|