stigg 0.1.0.pre.beta.47 → 0.1.0.pre.beta.48
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/stigg/models/v1/events/beta/customer_retrieve_governance_params.rb +3 -2
- data/lib/stigg/models/v1/events/beta/customer_retrieve_governance_response.rb +23 -10
- data/lib/stigg/models/v1_beta/customers/entity_list_response.rb +13 -1
- data/lib/stigg/models/v1_beta/customers/entity_retrieve_response.rb +14 -1
- data/lib/stigg/models/v1_beta/customers/entity_upsert_params.rb +10 -1
- data/lib/stigg/models/v1_beta/customers/entity_upsert_response.rb +13 -1
- data/lib/stigg/models/v1_beta/entity_type_list_response.rb +10 -1
- data/lib/stigg/models/v1_beta/entity_type_upsert_params.rb +10 -1
- data/lib/stigg/models/v1_beta/entity_type_upsert_response.rb +10 -1
- data/lib/stigg/resources/v1/events/beta/customers.rb +1 -1
- data/lib/stigg/version.rb +1 -1
- data/rbi/stigg/models/v1/events/beta/customer_retrieve_governance_params.rbi +4 -2
- data/rbi/stigg/models/v1/events/beta/customer_retrieve_governance_response.rbi +30 -12
- data/rbi/stigg/models/v1_beta/customers/entity_list_response.rbi +10 -0
- data/rbi/stigg/models/v1_beta/customers/entity_retrieve_response.rbi +10 -0
- data/rbi/stigg/models/v1_beta/customers/entity_upsert_params.rbi +10 -0
- data/rbi/stigg/models/v1_beta/customers/entity_upsert_response.rbi +10 -0
- data/rbi/stigg/models/v1_beta/entity_type_list_response.rbi +10 -0
- data/rbi/stigg/models/v1_beta/entity_type_upsert_params.rbi +13 -3
- data/rbi/stigg/models/v1_beta/entity_type_upsert_response.rbi +10 -0
- data/rbi/stigg/resources/v1/events/beta/customers.rbi +2 -2
- data/sig/stigg/models/v1/events/beta/customer_retrieve_governance_response.rbs +5 -0
- data/sig/stigg/models/v1_beta/customers/entity_list_response.rbs +5 -0
- data/sig/stigg/models/v1_beta/customers/entity_retrieve_response.rbs +5 -0
- data/sig/stigg/models/v1_beta/customers/entity_upsert_params.rbs +5 -0
- data/sig/stigg/models/v1_beta/customers/entity_upsert_response.rbs +5 -0
- data/sig/stigg/models/v1_beta/entity_type_list_response.rbs +5 -0
- data/sig/stigg/models/v1_beta/entity_type_upsert_params.rbs +8 -3
- data/sig/stigg/models/v1_beta/entity_type_upsert_response.rbs +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13642d061536056ffc58668cbd70d03b29d6e674df746bd74fba13ee1ccce7e3
|
|
4
|
+
data.tar.gz: 94c8ce8e06df686d19bddf9a1fad5c58c66f798a80abbd14e8378fdf9db47a4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33fc18b8712deebd52c722b3cfdb4a201907e001187df23eedc830761028d3a6788b0bcae7621a05dcd6612a0b6a245ca8e72f41c7d676aae4e61bc047581a01
|
|
7
|
+
data.tar.gz: ab1203812f2cb5c673f8d7537be9b2b27b8230db3e9f1584317611fd88456854917ff903debcfea63f5d8c993f96d2f44f85c0faab8fa772498c1642d57efb63
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.48 (2026-08-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-beta.47...v0.1.0-beta.48](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.47...v0.1.0-beta.48)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add display_name to entities, description to entity_types ([64cb63a](https://github.com/stiggio/stigg-ruby/commit/64cb63ae53c03e6abbba16b1bebcbd25c2d2ca00))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-beta.47 (2026-08-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-beta.46...v0.1.0-beta.47](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.46...v0.1.0-beta.47)
|
data/README.md
CHANGED
|
@@ -29,7 +29,8 @@ module Stigg
|
|
|
29
29
|
optional :currency_ids, Stigg::Internal::Type::ArrayOf[String]
|
|
30
30
|
|
|
31
31
|
# @!attribute entity_id_search
|
|
32
|
-
# Case-insensitive substring match on the entity id (`%`/`_`
|
|
32
|
+
# Case-insensitive substring match on the entity id or its display name (`%`/`_`
|
|
33
|
+
# matched literally).
|
|
33
34
|
#
|
|
34
35
|
# @return [String, nil]
|
|
35
36
|
optional :entity_id_search, String
|
|
@@ -104,7 +105,7 @@ module Stigg
|
|
|
104
105
|
#
|
|
105
106
|
# @param currency_ids [Array<String>] Currency ids to include, repeated per value (e.g. `?currencyIds=credits`). Omit
|
|
106
107
|
#
|
|
107
|
-
# @param entity_id_search [String] Case-insensitive substring match on the entity id (`%`/`_`
|
|
108
|
+
# @param entity_id_search [String] Case-insensitive substring match on the entity id or its display name (`%`/`_` m
|
|
108
109
|
#
|
|
109
110
|
# @param entity_type_ids [Array<String>] Filter to one or more entity types, repeated per value (e.g. `?entityTypeIds=tea
|
|
110
111
|
#
|
|
@@ -41,6 +41,13 @@ module Stigg
|
|
|
41
41
|
# @return [Float, nil]
|
|
42
42
|
required :current_usage, Float, api_name: :currentUsage, nil?: true
|
|
43
43
|
|
|
44
|
+
# @!attribute display_name
|
|
45
|
+
# Human-readable name of the entity, or null when none is set (display the entity
|
|
46
|
+
# id instead).
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
required :display_name, String, api_name: :displayName, nil?: true
|
|
50
|
+
|
|
44
51
|
# @!attribute entity_id
|
|
45
52
|
# External id of the entity at this node.
|
|
46
53
|
#
|
|
@@ -54,8 +61,10 @@ module Stigg
|
|
|
54
61
|
required :entity_type_id, String, api_name: :entityTypeId
|
|
55
62
|
|
|
56
63
|
# @!attribute parent_id
|
|
57
|
-
# External id of the parent entity in the tree
|
|
58
|
-
#
|
|
64
|
+
# External id of the parent entity in the tree. `null` means the entity is either
|
|
65
|
+
# a root or not yet placed in the hierarchy — placement rides on an assignment, so
|
|
66
|
+
# an entity with no limits set has no parent yet. Both render at the top level;
|
|
67
|
+
# use it to rebuild the tree.
|
|
59
68
|
#
|
|
60
69
|
# @return [String, nil]
|
|
61
70
|
required :parent_id, String, api_name: :parentId, nil?: true
|
|
@@ -74,15 +83,17 @@ module Stigg
|
|
|
74
83
|
required :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
75
84
|
|
|
76
85
|
# @!attribute usage_period_end
|
|
77
|
-
# Exclusive end of the cadence period — when usage resets
|
|
78
|
-
# has
|
|
86
|
+
# Exclusive end of the cadence period in progress now — when usage resets. `null`
|
|
87
|
+
# when the node has no usage configuration, or when a stored cadence cannot be
|
|
88
|
+
# parsed.
|
|
79
89
|
#
|
|
80
90
|
# @return [Time, nil]
|
|
81
91
|
required :usage_period_end, Time, api_name: :usagePeriodEnd, nil?: true
|
|
82
92
|
|
|
83
93
|
# @!attribute usage_period_start
|
|
84
|
-
# Start of the cadence period
|
|
85
|
-
#
|
|
94
|
+
# Start of the cadence period in progress now, derived from the cadence and the
|
|
95
|
+
# assignment anchor — it stays correct across a rollover. `null` when the node has
|
|
96
|
+
# no usage configuration, or when a stored cadence cannot be parsed.
|
|
86
97
|
#
|
|
87
98
|
# @return [Time, nil]
|
|
88
99
|
required :usage_period_start, Time, api_name: :usagePeriodStart, nil?: true
|
|
@@ -107,7 +118,7 @@ module Stigg
|
|
|
107
118
|
# @return [String, nil]
|
|
108
119
|
optional :feature_id, String, api_name: :featureId
|
|
109
120
|
|
|
110
|
-
# @!method initialize(cadence:, current_usage:, entity_id:, entity_type_id:, parent_id:, scope_entity_ids:, usage_limit:, usage_period_end:, usage_period_start:, utilization:, currency_id: nil, feature_id: nil)
|
|
121
|
+
# @!method initialize(cadence:, current_usage:, display_name:, entity_id:, entity_type_id:, parent_id:, scope_entity_ids:, usage_limit:, usage_period_end:, usage_period_start:, utilization:, currency_id: nil, feature_id: nil)
|
|
111
122
|
# Some parameter documentations has been truncated, see
|
|
112
123
|
# {Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data} for
|
|
113
124
|
# more details.
|
|
@@ -121,19 +132,21 @@ module Stigg
|
|
|
121
132
|
#
|
|
122
133
|
# @param current_usage [Float, nil] Usage consumed in the current cadence period (may lag the live counter by a shor
|
|
123
134
|
#
|
|
135
|
+
# @param display_name [String, nil] Human-readable name of the entity, or null when none is set (display the entity
|
|
136
|
+
#
|
|
124
137
|
# @param entity_id [String] External id of the entity at this node.
|
|
125
138
|
#
|
|
126
139
|
# @param entity_type_id [String] External id of the entity type (e.g. `team`, `user`).
|
|
127
140
|
#
|
|
128
|
-
# @param parent_id [String, nil] External id of the parent entity in the tree
|
|
141
|
+
# @param parent_id [String, nil] External id of the parent entity in the tree. `null` means the entity is either
|
|
129
142
|
#
|
|
130
143
|
# @param scope_entity_ids [Array<String>] The configuration scope (entity ids). Empty is the node-wide configuration; a no
|
|
131
144
|
#
|
|
132
145
|
# @param usage_limit [Float, nil] Hard usage limit for this node per cadence period.
|
|
133
146
|
#
|
|
134
|
-
# @param usage_period_end [Time, nil] Exclusive end of the cadence period — when usage resets
|
|
147
|
+
# @param usage_period_end [Time, nil] Exclusive end of the cadence period in progress now — when usage resets. `null`
|
|
135
148
|
#
|
|
136
|
-
# @param usage_period_start [Time, nil] Start of the cadence period
|
|
149
|
+
# @param usage_period_start [Time, nil] Start of the cadence period in progress now, derived from the cadence and the as
|
|
137
150
|
#
|
|
138
151
|
# @param utilization [Float, nil] `currentUsage / usageLimit` (1 when usageLimit is 0 — always at limit). The cros
|
|
139
152
|
#
|
|
@@ -24,6 +24,13 @@ module Stigg
|
|
|
24
24
|
# @return [Time]
|
|
25
25
|
required :created_at, Time, api_name: :createdAt
|
|
26
26
|
|
|
27
|
+
# @!attribute display_name
|
|
28
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
29
|
+
# clients display the entity ID
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :display_name, String, api_name: :displayName, nil?: true
|
|
33
|
+
|
|
27
34
|
# @!attribute entity_type_id
|
|
28
35
|
# The entity type identifier this entity instantiates
|
|
29
36
|
#
|
|
@@ -42,7 +49,10 @@ module Stigg
|
|
|
42
49
|
# @return [Time]
|
|
43
50
|
required :updated_at, Time, api_name: :updatedAt
|
|
44
51
|
|
|
45
|
-
# @!method initialize(id:, archived_at:, created_at:, entity_type_id:, metadata:, updated_at:)
|
|
52
|
+
# @!method initialize(id:, archived_at:, created_at:, display_name:, entity_type_id:, metadata:, updated_at:)
|
|
53
|
+
# Some parameter documentations has been truncated, see
|
|
54
|
+
# {Stigg::Models::V1Beta::Customers::EntityListResponse} for more details.
|
|
55
|
+
#
|
|
46
56
|
# A stored entity instance tracked by the governance service for a given customer
|
|
47
57
|
#
|
|
48
58
|
# @param id [String] The unique identifier for the entity
|
|
@@ -51,6 +61,8 @@ module Stigg
|
|
|
51
61
|
#
|
|
52
62
|
# @param created_at [Time] Timestamp of when the record was created
|
|
53
63
|
#
|
|
64
|
+
# @param display_name [String, nil] Human-readable name for the entity, or null when none is set — in which case cli
|
|
65
|
+
#
|
|
54
66
|
# @param entity_type_id [String] The entity type identifier this entity instantiates
|
|
55
67
|
#
|
|
56
68
|
# @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
|
|
@@ -37,6 +37,13 @@ module Stigg
|
|
|
37
37
|
# @return [Time]
|
|
38
38
|
required :created_at, Time, api_name: :createdAt
|
|
39
39
|
|
|
40
|
+
# @!attribute display_name
|
|
41
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
42
|
+
# clients display the entity ID
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
required :display_name, String, api_name: :displayName, nil?: true
|
|
46
|
+
|
|
40
47
|
# @!attribute entity_type_id
|
|
41
48
|
# The entity type identifier this entity instantiates
|
|
42
49
|
#
|
|
@@ -55,7 +62,11 @@ module Stigg
|
|
|
55
62
|
# @return [Time]
|
|
56
63
|
required :updated_at, Time, api_name: :updatedAt
|
|
57
64
|
|
|
58
|
-
# @!method initialize(id:, archived_at:, created_at:, entity_type_id:, metadata:, updated_at:)
|
|
65
|
+
# @!method initialize(id:, archived_at:, created_at:, display_name:, entity_type_id:, metadata:, updated_at:)
|
|
66
|
+
# Some parameter documentations has been truncated, see
|
|
67
|
+
# {Stigg::Models::V1Beta::Customers::EntityRetrieveResponse::Data} for more
|
|
68
|
+
# details.
|
|
69
|
+
#
|
|
59
70
|
# A stored entity instance tracked by the governance service for a given customer
|
|
60
71
|
#
|
|
61
72
|
# @param id [String] The unique identifier for the entity
|
|
@@ -64,6 +75,8 @@ module Stigg
|
|
|
64
75
|
#
|
|
65
76
|
# @param created_at [Time] Timestamp of when the record was created
|
|
66
77
|
#
|
|
78
|
+
# @param display_name [String, nil] Human-readable name for the entity, or null when none is set — in which case cli
|
|
79
|
+
#
|
|
67
80
|
# @param entity_type_id [String] The entity type identifier this entity instantiates
|
|
68
81
|
#
|
|
69
82
|
# @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
|
|
@@ -49,6 +49,13 @@ module Stigg
|
|
|
49
49
|
# @return [String]
|
|
50
50
|
required :id, String
|
|
51
51
|
|
|
52
|
+
# @!attribute display_name
|
|
53
|
+
# Human-readable name for the entity. Omit to preserve the stored value, or send
|
|
54
|
+
# an empty string or null to clear it.
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :display_name, String, api_name: :displayName, nil?: true
|
|
58
|
+
|
|
52
59
|
# @!attribute entity_type_id
|
|
53
60
|
# The entity type ID this entity instantiates. Required when creating a new
|
|
54
61
|
# entity; on a re-upsert may be omitted to preserve the existing type. Governance
|
|
@@ -64,7 +71,7 @@ module Stigg
|
|
|
64
71
|
# @return [Hash{Symbol=>String}, nil]
|
|
65
72
|
optional :metadata, Stigg::Internal::Type::HashOf[String]
|
|
66
73
|
|
|
67
|
-
# @!method initialize(id:, entity_type_id: nil, metadata: nil)
|
|
74
|
+
# @!method initialize(id:, display_name: nil, entity_type_id: nil, metadata: nil)
|
|
68
75
|
# Some parameter documentations has been truncated, see
|
|
69
76
|
# {Stigg::Models::V1Beta::Customers::EntityUpsertParams::Entity} for more details.
|
|
70
77
|
#
|
|
@@ -72,6 +79,8 @@ module Stigg
|
|
|
72
79
|
#
|
|
73
80
|
# @param id [String] The unique identifier for the entity
|
|
74
81
|
#
|
|
82
|
+
# @param display_name [String, nil] Human-readable name for the entity. Omit to preserve the stored value, or send a
|
|
83
|
+
#
|
|
75
84
|
# @param entity_type_id [String] The entity type ID this entity instantiates. Required when creating a new entity
|
|
76
85
|
#
|
|
77
86
|
# @param metadata [Hash{Symbol=>String}] Free-form key/value metadata. Patch semantics: empty-string value removes a key,
|
|
@@ -36,6 +36,13 @@ module Stigg
|
|
|
36
36
|
# @return [Time]
|
|
37
37
|
required :created_at, Time, api_name: :createdAt
|
|
38
38
|
|
|
39
|
+
# @!attribute display_name
|
|
40
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
41
|
+
# clients display the entity ID
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
required :display_name, String, api_name: :displayName, nil?: true
|
|
45
|
+
|
|
39
46
|
# @!attribute entity_type_id
|
|
40
47
|
# The entity type identifier this entity instantiates
|
|
41
48
|
#
|
|
@@ -54,7 +61,10 @@ module Stigg
|
|
|
54
61
|
# @return [Time]
|
|
55
62
|
required :updated_at, Time, api_name: :updatedAt
|
|
56
63
|
|
|
57
|
-
# @!method initialize(id:, archived_at:, created_at:, entity_type_id:, metadata:, updated_at:)
|
|
64
|
+
# @!method initialize(id:, archived_at:, created_at:, display_name:, entity_type_id:, metadata:, updated_at:)
|
|
65
|
+
# Some parameter documentations has been truncated, see
|
|
66
|
+
# {Stigg::Models::V1Beta::Customers::EntityUpsertResponse::Data} for more details.
|
|
67
|
+
#
|
|
58
68
|
# A stored entity instance tracked by the governance service for a given customer
|
|
59
69
|
#
|
|
60
70
|
# @param id [String] The unique identifier for the entity
|
|
@@ -63,6 +73,8 @@ module Stigg
|
|
|
63
73
|
#
|
|
64
74
|
# @param created_at [Time] Timestamp of when the record was created
|
|
65
75
|
#
|
|
76
|
+
# @param display_name [String, nil] Human-readable name for the entity, or null when none is set — in which case cli
|
|
77
|
+
#
|
|
66
78
|
# @param entity_type_id [String] The entity type identifier this entity instantiates
|
|
67
79
|
#
|
|
68
80
|
# @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
|
|
@@ -24,6 +24,13 @@ module Stigg
|
|
|
24
24
|
# @return [Time]
|
|
25
25
|
required :created_at, Time, api_name: :createdAt
|
|
26
26
|
|
|
27
|
+
# @!attribute description
|
|
28
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
29
|
+
# is set
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :description, String, nil?: true
|
|
33
|
+
|
|
27
34
|
# @!attribute display_name
|
|
28
35
|
# The display name for the entity type
|
|
29
36
|
#
|
|
@@ -36,7 +43,7 @@ module Stigg
|
|
|
36
43
|
# @return [Time]
|
|
37
44
|
required :updated_at, Time, api_name: :updatedAt
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, attribution_keys:, created_at:, display_name:, updated_at:)
|
|
46
|
+
# @!method initialize(id:, attribution_keys:, created_at:, description:, display_name:, updated_at:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Stigg::Models::V1Beta::EntityTypeListResponse} for more details.
|
|
42
49
|
#
|
|
@@ -51,6 +58,8 @@ module Stigg
|
|
|
51
58
|
#
|
|
52
59
|
# @param created_at [Time] Timestamp of when the record was created
|
|
53
60
|
#
|
|
61
|
+
# @param description [String, nil] What this entity type represents and what it is for governing, or null when none
|
|
62
|
+
#
|
|
54
63
|
# @param display_name [String] The display name for the entity type
|
|
55
64
|
#
|
|
56
65
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -53,7 +53,14 @@ module Stigg
|
|
|
53
53
|
# @return [String]
|
|
54
54
|
required :display_name, String, api_name: :displayName
|
|
55
55
|
|
|
56
|
-
# @!
|
|
56
|
+
# @!attribute description
|
|
57
|
+
# What this entity type represents and what it is for governing. Omit to preserve
|
|
58
|
+
# the stored value, or send an empty string or null to clear it.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :description, String, nil?: true
|
|
62
|
+
|
|
63
|
+
# @!method initialize(id:, attribution_keys:, display_name:, description: nil)
|
|
57
64
|
# Some parameter documentations has been truncated, see
|
|
58
65
|
# {Stigg::Models::V1Beta::EntityTypeUpsertParams::Type} for more details.
|
|
59
66
|
#
|
|
@@ -64,6 +71,8 @@ module Stigg
|
|
|
64
71
|
# @param attribution_keys [Array<String>] Dimension keys used to attribute usage events to instances of this type (e.g. ["
|
|
65
72
|
#
|
|
66
73
|
# @param display_name [String] The display name for the entity type
|
|
74
|
+
#
|
|
75
|
+
# @param description [String, nil] What this entity type represents and what it is for governing. Omit to preserve
|
|
67
76
|
end
|
|
68
77
|
end
|
|
69
78
|
end
|
|
@@ -36,6 +36,13 @@ module Stigg
|
|
|
36
36
|
# @return [Time]
|
|
37
37
|
required :created_at, Time, api_name: :createdAt
|
|
38
38
|
|
|
39
|
+
# @!attribute description
|
|
40
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
41
|
+
# is set
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
required :description, String, nil?: true
|
|
45
|
+
|
|
39
46
|
# @!attribute display_name
|
|
40
47
|
# The display name for the entity type
|
|
41
48
|
#
|
|
@@ -48,7 +55,7 @@ module Stigg
|
|
|
48
55
|
# @return [Time]
|
|
49
56
|
required :updated_at, Time, api_name: :updatedAt
|
|
50
57
|
|
|
51
|
-
# @!method initialize(id:, attribution_keys:, created_at:, display_name:, updated_at:)
|
|
58
|
+
# @!method initialize(id:, attribution_keys:, created_at:, description:, display_name:, updated_at:)
|
|
52
59
|
# Some parameter documentations has been truncated, see
|
|
53
60
|
# {Stigg::Models::V1Beta::EntityTypeUpsertResponse::Data} for more details.
|
|
54
61
|
#
|
|
@@ -63,6 +70,8 @@ module Stigg
|
|
|
63
70
|
#
|
|
64
71
|
# @param created_at [Time] Timestamp of when the record was created
|
|
65
72
|
#
|
|
73
|
+
# @param description [String, nil] What this entity type represents and what it is for governing, or null when none
|
|
74
|
+
#
|
|
66
75
|
# @param display_name [String] The display name for the entity type
|
|
67
76
|
#
|
|
68
77
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -24,7 +24,7 @@ module Stigg
|
|
|
24
24
|
#
|
|
25
25
|
# @param currency_ids [Array<String>] Query param: Currency ids to include, repeated per value (e.g. `?currencyIds=cre
|
|
26
26
|
#
|
|
27
|
-
# @param entity_id_search [String] Query param: Case-insensitive substring match on the entity id
|
|
27
|
+
# @param entity_id_search [String] Query param: Case-insensitive substring match on the entity id or its display na
|
|
28
28
|
#
|
|
29
29
|
# @param entity_type_ids [Array<String>] Query param: Filter to one or more entity types, repeated per value (e.g. `?enti
|
|
30
30
|
#
|
data/lib/stigg/version.rb
CHANGED
|
@@ -35,7 +35,8 @@ module Stigg
|
|
|
35
35
|
sig { params(currency_ids: T::Array[String]).void }
|
|
36
36
|
attr_writer :currency_ids
|
|
37
37
|
|
|
38
|
-
# Case-insensitive substring match on the entity id (`%`/`_`
|
|
38
|
+
# Case-insensitive substring match on the entity id or its display name (`%`/`_`
|
|
39
|
+
# matched literally).
|
|
39
40
|
sig { returns(T.nilable(String)) }
|
|
40
41
|
attr_reader :entity_id_search
|
|
41
42
|
|
|
@@ -171,7 +172,8 @@ module Stigg
|
|
|
171
172
|
# Currency ids to include, repeated per value (e.g. `?currencyIds=credits`). Omit
|
|
172
173
|
# both featureIds and currencyIds for tree mode.
|
|
173
174
|
currency_ids: nil,
|
|
174
|
-
# Case-insensitive substring match on the entity id (`%`/`_`
|
|
175
|
+
# Case-insensitive substring match on the entity id or its display name (`%`/`_`
|
|
176
|
+
# matched literally).
|
|
175
177
|
entity_id_search: nil,
|
|
176
178
|
# Filter to one or more entity types, repeated per value (e.g.
|
|
177
179
|
# `?entityTypeIds=team&entityTypeIds=user`).
|
|
@@ -87,6 +87,11 @@ module Stigg
|
|
|
87
87
|
sig { returns(T.nilable(Float)) }
|
|
88
88
|
attr_accessor :current_usage
|
|
89
89
|
|
|
90
|
+
# Human-readable name of the entity, or null when none is set (display the entity
|
|
91
|
+
# id instead).
|
|
92
|
+
sig { returns(T.nilable(String)) }
|
|
93
|
+
attr_accessor :display_name
|
|
94
|
+
|
|
90
95
|
# External id of the entity at this node.
|
|
91
96
|
sig { returns(String) }
|
|
92
97
|
attr_accessor :entity_id
|
|
@@ -95,8 +100,10 @@ module Stigg
|
|
|
95
100
|
sig { returns(String) }
|
|
96
101
|
attr_accessor :entity_type_id
|
|
97
102
|
|
|
98
|
-
# External id of the parent entity in the tree
|
|
99
|
-
#
|
|
103
|
+
# External id of the parent entity in the tree. `null` means the entity is either
|
|
104
|
+
# a root or not yet placed in the hierarchy — placement rides on an assignment, so
|
|
105
|
+
# an entity with no limits set has no parent yet. Both render at the top level;
|
|
106
|
+
# use it to rebuild the tree.
|
|
100
107
|
sig { returns(T.nilable(String)) }
|
|
101
108
|
attr_accessor :parent_id
|
|
102
109
|
|
|
@@ -109,13 +116,15 @@ module Stigg
|
|
|
109
116
|
sig { returns(T.nilable(Float)) }
|
|
110
117
|
attr_accessor :usage_limit
|
|
111
118
|
|
|
112
|
-
# Exclusive end of the cadence period — when usage resets
|
|
113
|
-
# has
|
|
119
|
+
# Exclusive end of the cadence period in progress now — when usage resets. `null`
|
|
120
|
+
# when the node has no usage configuration, or when a stored cadence cannot be
|
|
121
|
+
# parsed.
|
|
114
122
|
sig { returns(T.nilable(Time)) }
|
|
115
123
|
attr_accessor :usage_period_end
|
|
116
124
|
|
|
117
|
-
# Start of the cadence period
|
|
118
|
-
#
|
|
125
|
+
# Start of the cadence period in progress now, derived from the cadence and the
|
|
126
|
+
# assignment anchor — it stays correct across a rollover. `null` when the node has
|
|
127
|
+
# no usage configuration, or when a stored cadence cannot be parsed.
|
|
119
128
|
sig { returns(T.nilable(Time)) }
|
|
120
129
|
attr_accessor :usage_period_start
|
|
121
130
|
|
|
@@ -147,6 +156,7 @@ module Stigg
|
|
|
147
156
|
params(
|
|
148
157
|
cadence: T.nilable(String),
|
|
149
158
|
current_usage: T.nilable(Float),
|
|
159
|
+
display_name: T.nilable(String),
|
|
150
160
|
entity_id: String,
|
|
151
161
|
entity_type_id: String,
|
|
152
162
|
parent_id: T.nilable(String),
|
|
@@ -166,23 +176,30 @@ module Stigg
|
|
|
166
176
|
# Usage consumed in the current cadence period (may lag the live counter by a
|
|
167
177
|
# short interval).
|
|
168
178
|
current_usage:,
|
|
179
|
+
# Human-readable name of the entity, or null when none is set (display the entity
|
|
180
|
+
# id instead).
|
|
181
|
+
display_name:,
|
|
169
182
|
# External id of the entity at this node.
|
|
170
183
|
entity_id:,
|
|
171
184
|
# External id of the entity type (e.g. `team`, `user`).
|
|
172
185
|
entity_type_id:,
|
|
173
|
-
# External id of the parent entity in the tree
|
|
174
|
-
#
|
|
186
|
+
# External id of the parent entity in the tree. `null` means the entity is either
|
|
187
|
+
# a root or not yet placed in the hierarchy — placement rides on an assignment, so
|
|
188
|
+
# an entity with no limits set has no parent yet. Both render at the top level;
|
|
189
|
+
# use it to rebuild the tree.
|
|
175
190
|
parent_id:,
|
|
176
191
|
# The configuration scope (entity ids). Empty is the node-wide configuration; a
|
|
177
192
|
# non-empty set is a dimension-scoped sub-configuration.
|
|
178
193
|
scope_entity_ids:,
|
|
179
194
|
# Hard usage limit for this node per cadence period.
|
|
180
195
|
usage_limit:,
|
|
181
|
-
# Exclusive end of the cadence period — when usage resets
|
|
182
|
-
# has
|
|
196
|
+
# Exclusive end of the cadence period in progress now — when usage resets. `null`
|
|
197
|
+
# when the node has no usage configuration, or when a stored cadence cannot be
|
|
198
|
+
# parsed.
|
|
183
199
|
usage_period_end:,
|
|
184
|
-
# Start of the cadence period
|
|
185
|
-
#
|
|
200
|
+
# Start of the cadence period in progress now, derived from the cadence and the
|
|
201
|
+
# assignment anchor — it stays correct across a rollover. `null` when the node has
|
|
202
|
+
# no usage configuration, or when a stored cadence cannot be parsed.
|
|
186
203
|
usage_period_start:,
|
|
187
204
|
# `currentUsage / usageLimit` (1 when usageLimit is 0 — always at limit). The
|
|
188
205
|
# cross-capability-safe sort key.
|
|
@@ -200,6 +217,7 @@ module Stigg
|
|
|
200
217
|
{
|
|
201
218
|
cadence: T.nilable(String),
|
|
202
219
|
current_usage: T.nilable(Float),
|
|
220
|
+
display_name: T.nilable(String),
|
|
203
221
|
entity_id: String,
|
|
204
222
|
entity_type_id: String,
|
|
205
223
|
parent_id: T.nilable(String),
|
|
@@ -25,6 +25,11 @@ module Stigg
|
|
|
25
25
|
sig { returns(Time) }
|
|
26
26
|
attr_accessor :created_at
|
|
27
27
|
|
|
28
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
29
|
+
# clients display the entity ID
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
attr_accessor :display_name
|
|
32
|
+
|
|
28
33
|
# The entity type identifier this entity instantiates
|
|
29
34
|
sig { returns(String) }
|
|
30
35
|
attr_accessor :entity_type_id
|
|
@@ -43,6 +48,7 @@ module Stigg
|
|
|
43
48
|
id: String,
|
|
44
49
|
archived_at: T.nilable(Time),
|
|
45
50
|
created_at: Time,
|
|
51
|
+
display_name: T.nilable(String),
|
|
46
52
|
entity_type_id: String,
|
|
47
53
|
metadata: T::Hash[Symbol, String],
|
|
48
54
|
updated_at: Time
|
|
@@ -55,6 +61,9 @@ module Stigg
|
|
|
55
61
|
archived_at:,
|
|
56
62
|
# Timestamp of when the record was created
|
|
57
63
|
created_at:,
|
|
64
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
65
|
+
# clients display the entity ID
|
|
66
|
+
display_name:,
|
|
58
67
|
# The entity type identifier this entity instantiates
|
|
59
68
|
entity_type_id:,
|
|
60
69
|
# Free-form key/value metadata attached to the entity
|
|
@@ -70,6 +79,7 @@ module Stigg
|
|
|
70
79
|
id: String,
|
|
71
80
|
archived_at: T.nilable(Time),
|
|
72
81
|
created_at: Time,
|
|
82
|
+
display_name: T.nilable(String),
|
|
73
83
|
entity_type_id: String,
|
|
74
84
|
metadata: T::Hash[Symbol, String],
|
|
75
85
|
updated_at: Time
|
|
@@ -74,6 +74,11 @@ module Stigg
|
|
|
74
74
|
sig { returns(Time) }
|
|
75
75
|
attr_accessor :created_at
|
|
76
76
|
|
|
77
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
78
|
+
# clients display the entity ID
|
|
79
|
+
sig { returns(T.nilable(String)) }
|
|
80
|
+
attr_accessor :display_name
|
|
81
|
+
|
|
77
82
|
# The entity type identifier this entity instantiates
|
|
78
83
|
sig { returns(String) }
|
|
79
84
|
attr_accessor :entity_type_id
|
|
@@ -92,6 +97,7 @@ module Stigg
|
|
|
92
97
|
id: String,
|
|
93
98
|
archived_at: T.nilable(Time),
|
|
94
99
|
created_at: Time,
|
|
100
|
+
display_name: T.nilable(String),
|
|
95
101
|
entity_type_id: String,
|
|
96
102
|
metadata: T::Hash[Symbol, String],
|
|
97
103
|
updated_at: Time
|
|
@@ -104,6 +110,9 @@ module Stigg
|
|
|
104
110
|
archived_at:,
|
|
105
111
|
# Timestamp of when the record was created
|
|
106
112
|
created_at:,
|
|
113
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
114
|
+
# clients display the entity ID
|
|
115
|
+
display_name:,
|
|
107
116
|
# The entity type identifier this entity instantiates
|
|
108
117
|
entity_type_id:,
|
|
109
118
|
# Free-form key/value metadata attached to the entity
|
|
@@ -119,6 +128,7 @@ module Stigg
|
|
|
119
128
|
id: String,
|
|
120
129
|
archived_at: T.nilable(Time),
|
|
121
130
|
created_at: Time,
|
|
131
|
+
display_name: T.nilable(String),
|
|
122
132
|
entity_type_id: String,
|
|
123
133
|
metadata: T::Hash[Symbol, String],
|
|
124
134
|
updated_at: Time
|
|
@@ -91,6 +91,11 @@ module Stigg
|
|
|
91
91
|
sig { returns(String) }
|
|
92
92
|
attr_accessor :id
|
|
93
93
|
|
|
94
|
+
# Human-readable name for the entity. Omit to preserve the stored value, or send
|
|
95
|
+
# an empty string or null to clear it.
|
|
96
|
+
sig { returns(T.nilable(String)) }
|
|
97
|
+
attr_accessor :display_name
|
|
98
|
+
|
|
94
99
|
# The entity type ID this entity instantiates. Required when creating a new
|
|
95
100
|
# entity; on a re-upsert may be omitted to preserve the existing type. Governance
|
|
96
101
|
# returns 400 if missing on create.
|
|
@@ -112,6 +117,7 @@ module Stigg
|
|
|
112
117
|
sig do
|
|
113
118
|
params(
|
|
114
119
|
id: String,
|
|
120
|
+
display_name: T.nilable(String),
|
|
115
121
|
entity_type_id: String,
|
|
116
122
|
metadata: T::Hash[Symbol, String]
|
|
117
123
|
).returns(T.attached_class)
|
|
@@ -119,6 +125,9 @@ module Stigg
|
|
|
119
125
|
def self.new(
|
|
120
126
|
# The unique identifier for the entity
|
|
121
127
|
id:,
|
|
128
|
+
# Human-readable name for the entity. Omit to preserve the stored value, or send
|
|
129
|
+
# an empty string or null to clear it.
|
|
130
|
+
display_name: nil,
|
|
122
131
|
# The entity type ID this entity instantiates. Required when creating a new
|
|
123
132
|
# entity; on a re-upsert may be omitted to preserve the existing type. Governance
|
|
124
133
|
# returns 400 if missing on create.
|
|
@@ -133,6 +142,7 @@ module Stigg
|
|
|
133
142
|
override.returns(
|
|
134
143
|
{
|
|
135
144
|
id: String,
|
|
145
|
+
display_name: T.nilable(String),
|
|
136
146
|
entity_type_id: String,
|
|
137
147
|
metadata: T::Hash[Symbol, String]
|
|
138
148
|
}
|
|
@@ -68,6 +68,11 @@ module Stigg
|
|
|
68
68
|
sig { returns(Time) }
|
|
69
69
|
attr_accessor :created_at
|
|
70
70
|
|
|
71
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
72
|
+
# clients display the entity ID
|
|
73
|
+
sig { returns(T.nilable(String)) }
|
|
74
|
+
attr_accessor :display_name
|
|
75
|
+
|
|
71
76
|
# The entity type identifier this entity instantiates
|
|
72
77
|
sig { returns(String) }
|
|
73
78
|
attr_accessor :entity_type_id
|
|
@@ -86,6 +91,7 @@ module Stigg
|
|
|
86
91
|
id: String,
|
|
87
92
|
archived_at: T.nilable(Time),
|
|
88
93
|
created_at: Time,
|
|
94
|
+
display_name: T.nilable(String),
|
|
89
95
|
entity_type_id: String,
|
|
90
96
|
metadata: T::Hash[Symbol, String],
|
|
91
97
|
updated_at: Time
|
|
@@ -98,6 +104,9 @@ module Stigg
|
|
|
98
104
|
archived_at:,
|
|
99
105
|
# Timestamp of when the record was created
|
|
100
106
|
created_at:,
|
|
107
|
+
# Human-readable name for the entity, or null when none is set — in which case
|
|
108
|
+
# clients display the entity ID
|
|
109
|
+
display_name:,
|
|
101
110
|
# The entity type identifier this entity instantiates
|
|
102
111
|
entity_type_id:,
|
|
103
112
|
# Free-form key/value metadata attached to the entity
|
|
@@ -113,6 +122,7 @@ module Stigg
|
|
|
113
122
|
id: String,
|
|
114
123
|
archived_at: T.nilable(Time),
|
|
115
124
|
created_at: Time,
|
|
125
|
+
display_name: T.nilable(String),
|
|
116
126
|
entity_type_id: String,
|
|
117
127
|
metadata: T::Hash[Symbol, String],
|
|
118
128
|
updated_at: Time
|
|
@@ -25,6 +25,11 @@ module Stigg
|
|
|
25
25
|
sig { returns(Time) }
|
|
26
26
|
attr_accessor :created_at
|
|
27
27
|
|
|
28
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
29
|
+
# is set
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
attr_accessor :description
|
|
32
|
+
|
|
28
33
|
# The display name for the entity type
|
|
29
34
|
sig { returns(String) }
|
|
30
35
|
attr_accessor :display_name
|
|
@@ -42,6 +47,7 @@ module Stigg
|
|
|
42
47
|
id: String,
|
|
43
48
|
attribution_keys: T::Array[String],
|
|
44
49
|
created_at: Time,
|
|
50
|
+
description: T.nilable(String),
|
|
45
51
|
display_name: String,
|
|
46
52
|
updated_at: Time
|
|
47
53
|
).returns(T.attached_class)
|
|
@@ -54,6 +60,9 @@ module Stigg
|
|
|
54
60
|
attribution_keys:,
|
|
55
61
|
# Timestamp of when the record was created
|
|
56
62
|
created_at:,
|
|
63
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
64
|
+
# is set
|
|
65
|
+
description:,
|
|
57
66
|
# The display name for the entity type
|
|
58
67
|
display_name:,
|
|
59
68
|
# Timestamp of when the record was last updated
|
|
@@ -67,6 +76,7 @@ module Stigg
|
|
|
67
76
|
id: String,
|
|
68
77
|
attribution_keys: T::Array[String],
|
|
69
78
|
created_at: Time,
|
|
79
|
+
description: T.nilable(String),
|
|
70
80
|
display_name: String,
|
|
71
81
|
updated_at: Time
|
|
72
82
|
}
|
|
@@ -84,12 +84,18 @@ module Stigg
|
|
|
84
84
|
sig { returns(String) }
|
|
85
85
|
attr_accessor :display_name
|
|
86
86
|
|
|
87
|
+
# What this entity type represents and what it is for governing. Omit to preserve
|
|
88
|
+
# the stored value, or send an empty string or null to clear it.
|
|
89
|
+
sig { returns(T.nilable(String)) }
|
|
90
|
+
attr_accessor :description
|
|
91
|
+
|
|
87
92
|
# A single entity type definition.
|
|
88
93
|
sig do
|
|
89
94
|
params(
|
|
90
95
|
id: String,
|
|
91
96
|
attribution_keys: T::Array[String],
|
|
92
|
-
display_name: String
|
|
97
|
+
display_name: String,
|
|
98
|
+
description: T.nilable(String)
|
|
93
99
|
).returns(T.attached_class)
|
|
94
100
|
end
|
|
95
101
|
def self.new(
|
|
@@ -99,7 +105,10 @@ module Stigg
|
|
|
99
105
|
# ["orgId"]). Empty array means no attribution.
|
|
100
106
|
attribution_keys:,
|
|
101
107
|
# The display name for the entity type
|
|
102
|
-
display_name
|
|
108
|
+
display_name:,
|
|
109
|
+
# What this entity type represents and what it is for governing. Omit to preserve
|
|
110
|
+
# the stored value, or send an empty string or null to clear it.
|
|
111
|
+
description: nil
|
|
103
112
|
)
|
|
104
113
|
end
|
|
105
114
|
|
|
@@ -108,7 +117,8 @@ module Stigg
|
|
|
108
117
|
{
|
|
109
118
|
id: String,
|
|
110
119
|
attribution_keys: T::Array[String],
|
|
111
|
-
display_name: String
|
|
120
|
+
display_name: String,
|
|
121
|
+
description: T.nilable(String)
|
|
112
122
|
}
|
|
113
123
|
)
|
|
114
124
|
end
|
|
@@ -64,6 +64,11 @@ module Stigg
|
|
|
64
64
|
sig { returns(Time) }
|
|
65
65
|
attr_accessor :created_at
|
|
66
66
|
|
|
67
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
68
|
+
# is set
|
|
69
|
+
sig { returns(T.nilable(String)) }
|
|
70
|
+
attr_accessor :description
|
|
71
|
+
|
|
67
72
|
# The display name for the entity type
|
|
68
73
|
sig { returns(String) }
|
|
69
74
|
attr_accessor :display_name
|
|
@@ -81,6 +86,7 @@ module Stigg
|
|
|
81
86
|
id: String,
|
|
82
87
|
attribution_keys: T::Array[String],
|
|
83
88
|
created_at: Time,
|
|
89
|
+
description: T.nilable(String),
|
|
84
90
|
display_name: String,
|
|
85
91
|
updated_at: Time
|
|
86
92
|
).returns(T.attached_class)
|
|
@@ -93,6 +99,9 @@ module Stigg
|
|
|
93
99
|
attribution_keys:,
|
|
94
100
|
# Timestamp of when the record was created
|
|
95
101
|
created_at:,
|
|
102
|
+
# What this entity type represents and what it is for governing, or null when none
|
|
103
|
+
# is set
|
|
104
|
+
description:,
|
|
96
105
|
# The display name for the entity type
|
|
97
106
|
display_name:,
|
|
98
107
|
# Timestamp of when the record was last updated
|
|
@@ -106,6 +115,7 @@ module Stigg
|
|
|
106
115
|
id: String,
|
|
107
116
|
attribution_keys: T::Array[String],
|
|
108
117
|
created_at: Time,
|
|
118
|
+
description: T.nilable(String),
|
|
109
119
|
display_name: String,
|
|
110
120
|
updated_at: Time
|
|
111
121
|
}
|
|
@@ -42,8 +42,8 @@ module Stigg
|
|
|
42
42
|
# Query param: Currency ids to include, repeated per value (e.g.
|
|
43
43
|
# `?currencyIds=credits`). Omit both featureIds and currencyIds for tree mode.
|
|
44
44
|
currency_ids: nil,
|
|
45
|
-
# Query param: Case-insensitive substring match on the entity id
|
|
46
|
-
# literally).
|
|
45
|
+
# Query param: Case-insensitive substring match on the entity id or its display
|
|
46
|
+
# name (`%`/`_` matched literally).
|
|
47
47
|
entity_id_search: nil,
|
|
48
48
|
# Query param: Filter to one or more entity types, repeated per value (e.g.
|
|
49
49
|
# `?entityTypeIds=team&entityTypeIds=user`).
|
|
@@ -28,6 +28,7 @@ module Stigg
|
|
|
28
28
|
{
|
|
29
29
|
cadence: String?,
|
|
30
30
|
current_usage: Float?,
|
|
31
|
+
display_name: String?,
|
|
31
32
|
entity_id: String,
|
|
32
33
|
entity_type_id: String,
|
|
33
34
|
parent_id: String?,
|
|
@@ -45,6 +46,8 @@ module Stigg
|
|
|
45
46
|
|
|
46
47
|
attr_accessor current_usage: Float?
|
|
47
48
|
|
|
49
|
+
attr_accessor display_name: String?
|
|
50
|
+
|
|
48
51
|
attr_accessor entity_id: String
|
|
49
52
|
|
|
50
53
|
attr_accessor entity_type_id: String
|
|
@@ -72,6 +75,7 @@ module Stigg
|
|
|
72
75
|
def initialize: (
|
|
73
76
|
cadence: String?,
|
|
74
77
|
current_usage: Float?,
|
|
78
|
+
display_name: String?,
|
|
75
79
|
entity_id: String,
|
|
76
80
|
entity_type_id: String,
|
|
77
81
|
parent_id: String?,
|
|
@@ -87,6 +91,7 @@ module Stigg
|
|
|
87
91
|
def to_hash: -> {
|
|
88
92
|
cadence: String?,
|
|
89
93
|
current_usage: Float?,
|
|
94
|
+
display_name: String?,
|
|
90
95
|
entity_id: String,
|
|
91
96
|
entity_type_id: String,
|
|
92
97
|
parent_id: String?,
|
|
@@ -7,6 +7,7 @@ module Stigg
|
|
|
7
7
|
id: String,
|
|
8
8
|
archived_at: Time?,
|
|
9
9
|
created_at: Time,
|
|
10
|
+
display_name: String?,
|
|
10
11
|
entity_type_id: String,
|
|
11
12
|
metadata: ::Hash[Symbol, String],
|
|
12
13
|
updated_at: Time
|
|
@@ -19,6 +20,8 @@ module Stigg
|
|
|
19
20
|
|
|
20
21
|
attr_accessor created_at: Time
|
|
21
22
|
|
|
23
|
+
attr_accessor display_name: String?
|
|
24
|
+
|
|
22
25
|
attr_accessor entity_type_id: String
|
|
23
26
|
|
|
24
27
|
attr_accessor metadata: ::Hash[Symbol, String]
|
|
@@ -29,6 +32,7 @@ module Stigg
|
|
|
29
32
|
id: String,
|
|
30
33
|
archived_at: Time?,
|
|
31
34
|
created_at: Time,
|
|
35
|
+
display_name: String?,
|
|
32
36
|
entity_type_id: String,
|
|
33
37
|
metadata: ::Hash[Symbol, String],
|
|
34
38
|
updated_at: Time
|
|
@@ -38,6 +42,7 @@ module Stigg
|
|
|
38
42
|
id: String,
|
|
39
43
|
archived_at: Time?,
|
|
40
44
|
created_at: Time,
|
|
45
|
+
display_name: String?,
|
|
41
46
|
entity_type_id: String,
|
|
42
47
|
metadata: ::Hash[Symbol, String],
|
|
43
48
|
updated_at: Time
|
|
@@ -23,6 +23,7 @@ module Stigg
|
|
|
23
23
|
id: String,
|
|
24
24
|
archived_at: Time?,
|
|
25
25
|
created_at: Time,
|
|
26
|
+
display_name: String?,
|
|
26
27
|
entity_type_id: String,
|
|
27
28
|
metadata: ::Hash[Symbol, String],
|
|
28
29
|
updated_at: Time
|
|
@@ -35,6 +36,8 @@ module Stigg
|
|
|
35
36
|
|
|
36
37
|
attr_accessor created_at: Time
|
|
37
38
|
|
|
39
|
+
attr_accessor display_name: String?
|
|
40
|
+
|
|
38
41
|
attr_accessor entity_type_id: String
|
|
39
42
|
|
|
40
43
|
attr_accessor metadata: ::Hash[Symbol, String]
|
|
@@ -45,6 +48,7 @@ module Stigg
|
|
|
45
48
|
id: String,
|
|
46
49
|
archived_at: Time?,
|
|
47
50
|
created_at: Time,
|
|
51
|
+
display_name: String?,
|
|
48
52
|
entity_type_id: String,
|
|
49
53
|
metadata: ::Hash[Symbol, String],
|
|
50
54
|
updated_at: Time
|
|
@@ -54,6 +58,7 @@ module Stigg
|
|
|
54
58
|
id: String,
|
|
55
59
|
archived_at: Time?,
|
|
56
60
|
created_at: Time,
|
|
61
|
+
display_name: String?,
|
|
57
62
|
entity_type_id: String,
|
|
58
63
|
metadata: ::Hash[Symbol, String],
|
|
59
64
|
updated_at: Time
|
|
@@ -46,6 +46,7 @@ module Stigg
|
|
|
46
46
|
type entity =
|
|
47
47
|
{
|
|
48
48
|
id: String,
|
|
49
|
+
display_name: String?,
|
|
49
50
|
entity_type_id: String,
|
|
50
51
|
metadata: ::Hash[Symbol, String]
|
|
51
52
|
}
|
|
@@ -53,6 +54,8 @@ module Stigg
|
|
|
53
54
|
class Entity < Stigg::Internal::Type::BaseModel
|
|
54
55
|
attr_accessor id: String
|
|
55
56
|
|
|
57
|
+
attr_accessor display_name: String?
|
|
58
|
+
|
|
56
59
|
attr_reader entity_type_id: String?
|
|
57
60
|
|
|
58
61
|
def entity_type_id=: (String) -> String
|
|
@@ -63,12 +66,14 @@ module Stigg
|
|
|
63
66
|
|
|
64
67
|
def initialize: (
|
|
65
68
|
id: String,
|
|
69
|
+
?display_name: String?,
|
|
66
70
|
?entity_type_id: String,
|
|
67
71
|
?metadata: ::Hash[Symbol, String]
|
|
68
72
|
) -> void
|
|
69
73
|
|
|
70
74
|
def to_hash: -> {
|
|
71
75
|
id: String,
|
|
76
|
+
display_name: String?,
|
|
72
77
|
entity_type_id: String,
|
|
73
78
|
metadata: ::Hash[Symbol, String]
|
|
74
79
|
}
|
|
@@ -23,6 +23,7 @@ module Stigg
|
|
|
23
23
|
id: String,
|
|
24
24
|
archived_at: Time?,
|
|
25
25
|
created_at: Time,
|
|
26
|
+
display_name: String?,
|
|
26
27
|
entity_type_id: String,
|
|
27
28
|
metadata: ::Hash[Symbol, String],
|
|
28
29
|
updated_at: Time
|
|
@@ -35,6 +36,8 @@ module Stigg
|
|
|
35
36
|
|
|
36
37
|
attr_accessor created_at: Time
|
|
37
38
|
|
|
39
|
+
attr_accessor display_name: String?
|
|
40
|
+
|
|
38
41
|
attr_accessor entity_type_id: String
|
|
39
42
|
|
|
40
43
|
attr_accessor metadata: ::Hash[Symbol, String]
|
|
@@ -45,6 +48,7 @@ module Stigg
|
|
|
45
48
|
id: String,
|
|
46
49
|
archived_at: Time?,
|
|
47
50
|
created_at: Time,
|
|
51
|
+
display_name: String?,
|
|
48
52
|
entity_type_id: String,
|
|
49
53
|
metadata: ::Hash[Symbol, String],
|
|
50
54
|
updated_at: Time
|
|
@@ -54,6 +58,7 @@ module Stigg
|
|
|
54
58
|
id: String,
|
|
55
59
|
archived_at: Time?,
|
|
56
60
|
created_at: Time,
|
|
61
|
+
display_name: String?,
|
|
57
62
|
entity_type_id: String,
|
|
58
63
|
metadata: ::Hash[Symbol, String],
|
|
59
64
|
updated_at: Time
|
|
@@ -6,6 +6,7 @@ module Stigg
|
|
|
6
6
|
id: String,
|
|
7
7
|
attribution_keys: ::Array[String],
|
|
8
8
|
created_at: Time,
|
|
9
|
+
description: String?,
|
|
9
10
|
display_name: String,
|
|
10
11
|
updated_at: Time
|
|
11
12
|
}
|
|
@@ -17,6 +18,8 @@ module Stigg
|
|
|
17
18
|
|
|
18
19
|
attr_accessor created_at: Time
|
|
19
20
|
|
|
21
|
+
attr_accessor description: String?
|
|
22
|
+
|
|
20
23
|
attr_accessor display_name: String
|
|
21
24
|
|
|
22
25
|
attr_accessor updated_at: Time
|
|
@@ -25,6 +28,7 @@ module Stigg
|
|
|
25
28
|
id: String,
|
|
26
29
|
attribution_keys: ::Array[String],
|
|
27
30
|
created_at: Time,
|
|
31
|
+
description: String?,
|
|
28
32
|
display_name: String,
|
|
29
33
|
updated_at: Time
|
|
30
34
|
) -> void
|
|
@@ -33,6 +37,7 @@ module Stigg
|
|
|
33
37
|
id: String,
|
|
34
38
|
attribution_keys: ::Array[String],
|
|
35
39
|
created_at: Time,
|
|
40
|
+
description: String?,
|
|
36
41
|
display_name: String,
|
|
37
42
|
updated_at: Time
|
|
38
43
|
}
|
|
@@ -41,7 +41,8 @@ module Stigg
|
|
|
41
41
|
{
|
|
42
42
|
id: String,
|
|
43
43
|
attribution_keys: ::Array[String],
|
|
44
|
-
display_name: String
|
|
44
|
+
display_name: String,
|
|
45
|
+
description: String?
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
class Type < Stigg::Internal::Type::BaseModel
|
|
@@ -51,16 +52,20 @@ module Stigg
|
|
|
51
52
|
|
|
52
53
|
attr_accessor display_name: String
|
|
53
54
|
|
|
55
|
+
attr_accessor description: String?
|
|
56
|
+
|
|
54
57
|
def initialize: (
|
|
55
58
|
id: String,
|
|
56
59
|
attribution_keys: ::Array[String],
|
|
57
|
-
display_name: String
|
|
60
|
+
display_name: String,
|
|
61
|
+
?description: String?
|
|
58
62
|
) -> void
|
|
59
63
|
|
|
60
64
|
def to_hash: -> {
|
|
61
65
|
id: String,
|
|
62
66
|
attribution_keys: ::Array[String],
|
|
63
|
-
display_name: String
|
|
67
|
+
display_name: String,
|
|
68
|
+
description: String?
|
|
64
69
|
}
|
|
65
70
|
end
|
|
66
71
|
end
|
|
@@ -20,6 +20,7 @@ module Stigg
|
|
|
20
20
|
id: String,
|
|
21
21
|
attribution_keys: ::Array[String],
|
|
22
22
|
created_at: Time,
|
|
23
|
+
description: String?,
|
|
23
24
|
display_name: String,
|
|
24
25
|
updated_at: Time
|
|
25
26
|
}
|
|
@@ -31,6 +32,8 @@ module Stigg
|
|
|
31
32
|
|
|
32
33
|
attr_accessor created_at: Time
|
|
33
34
|
|
|
35
|
+
attr_accessor description: String?
|
|
36
|
+
|
|
34
37
|
attr_accessor display_name: String
|
|
35
38
|
|
|
36
39
|
attr_accessor updated_at: Time
|
|
@@ -39,6 +42,7 @@ module Stigg
|
|
|
39
42
|
id: String,
|
|
40
43
|
attribution_keys: ::Array[String],
|
|
41
44
|
created_at: Time,
|
|
45
|
+
description: String?,
|
|
42
46
|
display_name: String,
|
|
43
47
|
updated_at: Time
|
|
44
48
|
) -> void
|
|
@@ -47,6 +51,7 @@ module Stigg
|
|
|
47
51
|
id: String,
|
|
48
52
|
attribution_keys: ::Array[String],
|
|
49
53
|
created_at: Time,
|
|
54
|
+
description: String?,
|
|
50
55
|
display_name: String,
|
|
51
56
|
updated_at: Time
|
|
52
57
|
}
|