stigg 0.1.0.pre.beta.7 → 0.1.0.pre.beta.8

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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/stigg/models/v1_beta/entity_archive_params.rb +31 -0
  5. data/lib/stigg/models/v1_beta/entity_archive_response.rb +35 -0
  6. data/lib/stigg/models/v1_beta/entity_list_params.rb +74 -0
  7. data/lib/stigg/models/v1_beta/entity_list_response.rb +61 -0
  8. data/lib/stigg/models/v1_beta/entity_retrieve_params.rb +28 -0
  9. data/lib/stigg/models/v1_beta/entity_retrieve_response.rb +75 -0
  10. data/lib/stigg/models/v1_beta/entity_unarchive_params.rb +31 -0
  11. data/lib/stigg/models/v1_beta/entity_unarchive_response.rb +35 -0
  12. data/lib/stigg/models/v1_beta/entity_upsert_params.rb +66 -0
  13. data/lib/stigg/models/v1_beta/entity_upsert_response.rb +73 -0
  14. data/lib/stigg/resources/v1_beta/entities.rb +150 -0
  15. data/lib/stigg/resources/v1_beta.rb +4 -0
  16. data/lib/stigg/version.rb +1 -1
  17. data/lib/stigg.rb +11 -0
  18. data/rbi/stigg/models/v1_beta/entity_archive_params.rbi +51 -0
  19. data/rbi/stigg/models/v1_beta/entity_archive_response.rbi +74 -0
  20. data/rbi/stigg/models/v1_beta/entity_list_params.rbi +143 -0
  21. data/rbi/stigg/models/v1_beta/entity_list_response.rbi +83 -0
  22. data/rbi/stigg/models/v1_beta/entity_retrieve_params.rbi +45 -0
  23. data/rbi/stigg/models/v1_beta/entity_retrieve_response.rbi +124 -0
  24. data/rbi/stigg/models/v1_beta/entity_unarchive_params.rbi +54 -0
  25. data/rbi/stigg/models/v1_beta/entity_unarchive_response.rbi +74 -0
  26. data/rbi/stigg/models/v1_beta/entity_upsert_params.rbi +116 -0
  27. data/rbi/stigg/models/v1_beta/entity_upsert_response.rbi +120 -0
  28. data/rbi/stigg/resources/v1_beta/entities.rbi +118 -0
  29. data/rbi/stigg/resources/v1_beta.rbi +3 -0
  30. data/sig/stigg/models/v1_beta/entity_archive_params.rbs +30 -0
  31. data/sig/stigg/models/v1_beta/entity_archive_response.rbs +30 -0
  32. data/sig/stigg/models/v1_beta/entity_list_params.rbs +76 -0
  33. data/sig/stigg/models/v1_beta/entity_list_response.rbs +47 -0
  34. data/sig/stigg/models/v1_beta/entity_retrieve_params.rbs +30 -0
  35. data/sig/stigg/models/v1_beta/entity_retrieve_response.rbs +62 -0
  36. data/sig/stigg/models/v1_beta/entity_unarchive_params.rbs +30 -0
  37. data/sig/stigg/models/v1_beta/entity_unarchive_response.rbs +30 -0
  38. data/sig/stigg/models/v1_beta/entity_upsert_params.rbs +60 -0
  39. data/sig/stigg/models/v1_beta/entity_upsert_response.rbs +62 -0
  40. data/sig/stigg/resources/v1_beta/entities.rbs +43 -0
  41. data/sig/stigg/resources/v1_beta.rbs +2 -0
  42. metadata +35 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a5afda4b84c747345fd0affbfa58318e56e965c683bfd53e94e3bbdf8884daf
4
- data.tar.gz: 0d4bb82f404f308266322d8fd7def902240b385638933465514ba38bf06cec83
3
+ metadata.gz: 70f15c897729ecad045000897480e8eb6737149b27d193d81043bf0fb911ce29
4
+ data.tar.gz: 769b53256d12fb857e847ddbec044e1e8ffb0f6516309091949105f7470617c8
5
5
  SHA512:
6
- metadata.gz: b6e8104b0d1e7248e4d3149c918cd0928cb9c14fa25ad1240afe06c8e98b2e60d85a4bad2614775c500190fab64808f09749f1f8bb911b129c7d6ecefb72bc27
7
- data.tar.gz: fc2a4d76b2e6be6025851e6df11d3194e87ce195f71831498cdb49a93ddfe5bc3a0f172c89f537ff79a428a802a9f66bb604480b5d486745fc2bde1852f98a4f
6
+ metadata.gz: fd0793b0bac6d6fb76e48c484a91d1b987665aac31a4ce5782e02acf94f044ebc50275df08406a33d3c98ab68bda1fd4704fe1c988b36e1f396ee94574dd423f
7
+ data.tar.gz: 21763c72383e15868a6919d4b4734e623ff1194a7095ab3b12ecd08ac9bd2781cb01c2464d3ed0164ba6f2abd140b239ffd3d86318a8dbd586ec2b0e8cf66678
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-beta.8 (2026-05-25)
4
+
5
+ Full Changelog: [v0.1.0-beta.7...v0.1.0-beta.8](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.7...v0.1.0-beta.8)
6
+
7
+ ### Features
8
+
9
+ * **api:** add entities resource with retrieve/list/archive/unarchive/upsert methods ([7ed5106](https://github.com/stiggio/stigg-ruby/commit/7ed5106db56d60583655a9750cf2a3e58c9fb3c7))
10
+
3
11
  ## 0.1.0-beta.7 (2026-05-24)
4
12
 
5
13
  Full Changelog: [v0.1.0-beta.6...v0.1.0-beta.7](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.6...v0.1.0-beta.7)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "stigg", "~> 0.1.0.pre.beta.7"
27
+ gem "stigg", "~> 0.1.0.pre.beta.8"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#archive
7
+ class EntityArchiveParams < Stigg::Internal::Type::BaseModel
8
+ extend Stigg::Internal::Type::RequestParameters::Converter
9
+ include Stigg::Internal::Type::RequestParameters
10
+
11
+ # @!attribute id
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute ids
17
+ # Entity identifiers to act on
18
+ #
19
+ # @return [Array<String>]
20
+ required :ids, Stigg::Internal::Type::ArrayOf[String]
21
+
22
+ # @!method initialize(id:, ids:, request_options: {})
23
+ # @param id [String]
24
+ #
25
+ # @param ids [Array<String>] Entity identifiers to act on
26
+ #
27
+ # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#archive
7
+ class EntityArchiveResponse < Stigg::Internal::Type::BaseModel
8
+ # @!attribute data
9
+ # List of entity identifiers that were acted on
10
+ #
11
+ # @return [Stigg::Models::V1Beta::EntityArchiveResponse::Data]
12
+ required :data, -> { Stigg::Models::V1Beta::EntityArchiveResponse::Data }
13
+
14
+ # @!method initialize(data:)
15
+ # Wrapped response echoing the ids that were acted on by an archive/unarchive call
16
+ #
17
+ # @param data [Stigg::Models::V1Beta::EntityArchiveResponse::Data] List of entity identifiers that were acted on
18
+
19
+ # @see Stigg::Models::V1Beta::EntityArchiveResponse#data
20
+ class Data < Stigg::Internal::Type::BaseModel
21
+ # @!attribute ids
22
+ # Entity identifiers to act on
23
+ #
24
+ # @return [Array<String>]
25
+ required :ids, Stigg::Internal::Type::ArrayOf[String]
26
+
27
+ # @!method initialize(ids:)
28
+ # List of entity identifiers that were acted on
29
+ #
30
+ # @param ids [Array<String>] Entity identifiers to act on
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#list
7
+ class EntityListParams < Stigg::Internal::Type::BaseModel
8
+ extend Stigg::Internal::Type::RequestParameters::Converter
9
+ include Stigg::Internal::Type::RequestParameters
10
+
11
+ # @!attribute id
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute after
17
+ # Return items that come after this cursor
18
+ #
19
+ # @return [String, nil]
20
+ optional :after, String
21
+
22
+ # @!attribute before
23
+ # Return items that come before this cursor
24
+ #
25
+ # @return [String, nil]
26
+ optional :before, String
27
+
28
+ # @!attribute include_archived
29
+ # Whether to include archived entities. One of: true, false
30
+ #
31
+ # @return [Symbol, Stigg::Models::V1Beta::EntityListParams::IncludeArchived, nil]
32
+ optional :include_archived, enum: -> { Stigg::V1Beta::EntityListParams::IncludeArchived }
33
+
34
+ # @!attribute limit
35
+ # Maximum number of items to return
36
+ #
37
+ # @return [Integer, nil]
38
+ optional :limit, Integer
39
+
40
+ # @!attribute type_ref_id
41
+ # Filter results to entities of a specific entity type, by the type's refId
42
+ #
43
+ # @return [String, nil]
44
+ optional :type_ref_id, String
45
+
46
+ # @!method initialize(id:, after: nil, before: nil, include_archived: nil, limit: nil, type_ref_id: nil, request_options: {})
47
+ # @param id [String]
48
+ #
49
+ # @param after [String] Return items that come after this cursor
50
+ #
51
+ # @param before [String] Return items that come before this cursor
52
+ #
53
+ # @param include_archived [Symbol, Stigg::Models::V1Beta::EntityListParams::IncludeArchived] Whether to include archived entities. One of: true, false
54
+ #
55
+ # @param limit [Integer] Maximum number of items to return
56
+ #
57
+ # @param type_ref_id [String] Filter results to entities of a specific entity type, by the type's refId
58
+ #
59
+ # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
60
+
61
+ # Whether to include archived entities. One of: true, false
62
+ module IncludeArchived
63
+ extend Stigg::Internal::Type::Enum
64
+
65
+ TRUE = :true
66
+ FALSE = :false
67
+
68
+ # @!method self.values
69
+ # @return [Array<Symbol>]
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#list
7
+ class EntityListResponse < Stigg::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # The unique identifier for the entity
10
+ #
11
+ # @return [String]
12
+ required :id, String
13
+
14
+ # @!attribute archived_at
15
+ # Timestamp of when the record was deleted
16
+ #
17
+ # @return [Time, nil]
18
+ required :archived_at, Time, api_name: :archivedAt, nil?: true
19
+
20
+ # @!attribute created_at
21
+ # Timestamp of when the record was created
22
+ #
23
+ # @return [Time]
24
+ required :created_at, Time, api_name: :createdAt
25
+
26
+ # @!attribute metadata
27
+ # Free-form key/value metadata attached to the entity
28
+ #
29
+ # @return [Hash{Symbol=>String}]
30
+ required :metadata, Stigg::Internal::Type::HashOf[String]
31
+
32
+ # @!attribute type_id
33
+ # The entity type identifier this entity instantiates
34
+ #
35
+ # @return [String]
36
+ required :type_id, String, api_name: :typeId
37
+
38
+ # @!attribute updated_at
39
+ # Timestamp of when the record was last updated
40
+ #
41
+ # @return [Time]
42
+ required :updated_at, Time, api_name: :updatedAt
43
+
44
+ # @!method initialize(id:, archived_at:, created_at:, metadata:, type_id:, updated_at:)
45
+ # A stored entity instance tracked by the governance service for a given customer
46
+ #
47
+ # @param id [String] The unique identifier for the entity
48
+ #
49
+ # @param archived_at [Time, nil] Timestamp of when the record was deleted
50
+ #
51
+ # @param created_at [Time] Timestamp of when the record was created
52
+ #
53
+ # @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
54
+ #
55
+ # @param type_id [String] The entity type identifier this entity instantiates
56
+ #
57
+ # @param updated_at [Time] Timestamp of when the record was last updated
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#retrieve
7
+ class EntityRetrieveParams < Stigg::Internal::Type::BaseModel
8
+ extend Stigg::Internal::Type::RequestParameters::Converter
9
+ include Stigg::Internal::Type::RequestParameters
10
+
11
+ # @!attribute id
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute entity_id
17
+ #
18
+ # @return [String]
19
+ required :entity_id, String
20
+
21
+ # @!method initialize(id:, entity_id:, request_options: {})
22
+ # @param id [String]
23
+ # @param entity_id [String]
24
+ # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#retrieve
7
+ class EntityRetrieveResponse < Stigg::Internal::Type::BaseModel
8
+ # @!attribute data
9
+ # A stored entity instance tracked by the governance service for a given customer
10
+ #
11
+ # @return [Stigg::Models::V1Beta::EntityRetrieveResponse::Data]
12
+ required :data, -> { Stigg::Models::V1Beta::EntityRetrieveResponse::Data }
13
+
14
+ # @!method initialize(data:)
15
+ # Response object
16
+ #
17
+ # @param data [Stigg::Models::V1Beta::EntityRetrieveResponse::Data] A stored entity instance tracked by the governance service for a given customer
18
+
19
+ # @see Stigg::Models::V1Beta::EntityRetrieveResponse#data
20
+ class Data < Stigg::Internal::Type::BaseModel
21
+ # @!attribute id
22
+ # The unique identifier for the entity
23
+ #
24
+ # @return [String]
25
+ required :id, String
26
+
27
+ # @!attribute archived_at
28
+ # Timestamp of when the record was deleted
29
+ #
30
+ # @return [Time, nil]
31
+ required :archived_at, Time, api_name: :archivedAt, nil?: true
32
+
33
+ # @!attribute created_at
34
+ # Timestamp of when the record was created
35
+ #
36
+ # @return [Time]
37
+ required :created_at, Time, api_name: :createdAt
38
+
39
+ # @!attribute metadata
40
+ # Free-form key/value metadata attached to the entity
41
+ #
42
+ # @return [Hash{Symbol=>String}]
43
+ required :metadata, Stigg::Internal::Type::HashOf[String]
44
+
45
+ # @!attribute type_id
46
+ # The entity type identifier this entity instantiates
47
+ #
48
+ # @return [String]
49
+ required :type_id, String, api_name: :typeId
50
+
51
+ # @!attribute updated_at
52
+ # Timestamp of when the record was last updated
53
+ #
54
+ # @return [Time]
55
+ required :updated_at, Time, api_name: :updatedAt
56
+
57
+ # @!method initialize(id:, archived_at:, created_at:, metadata:, type_id:, updated_at:)
58
+ # A stored entity instance tracked by the governance service for a given customer
59
+ #
60
+ # @param id [String] The unique identifier for the entity
61
+ #
62
+ # @param archived_at [Time, nil] Timestamp of when the record was deleted
63
+ #
64
+ # @param created_at [Time] Timestamp of when the record was created
65
+ #
66
+ # @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
67
+ #
68
+ # @param type_id [String] The entity type identifier this entity instantiates
69
+ #
70
+ # @param updated_at [Time] Timestamp of when the record was last updated
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#unarchive
7
+ class EntityUnarchiveParams < Stigg::Internal::Type::BaseModel
8
+ extend Stigg::Internal::Type::RequestParameters::Converter
9
+ include Stigg::Internal::Type::RequestParameters
10
+
11
+ # @!attribute id
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute ids
17
+ # Entity identifiers to act on
18
+ #
19
+ # @return [Array<String>]
20
+ required :ids, Stigg::Internal::Type::ArrayOf[String]
21
+
22
+ # @!method initialize(id:, ids:, request_options: {})
23
+ # @param id [String]
24
+ #
25
+ # @param ids [Array<String>] Entity identifiers to act on
26
+ #
27
+ # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#unarchive
7
+ class EntityUnarchiveResponse < Stigg::Internal::Type::BaseModel
8
+ # @!attribute data
9
+ # List of entity identifiers that were acted on
10
+ #
11
+ # @return [Stigg::Models::V1Beta::EntityUnarchiveResponse::Data]
12
+ required :data, -> { Stigg::Models::V1Beta::EntityUnarchiveResponse::Data }
13
+
14
+ # @!method initialize(data:)
15
+ # Wrapped response echoing the ids that were acted on by an archive/unarchive call
16
+ #
17
+ # @param data [Stigg::Models::V1Beta::EntityUnarchiveResponse::Data] List of entity identifiers that were acted on
18
+
19
+ # @see Stigg::Models::V1Beta::EntityUnarchiveResponse#data
20
+ class Data < Stigg::Internal::Type::BaseModel
21
+ # @!attribute ids
22
+ # Entity identifiers to act on
23
+ #
24
+ # @return [Array<String>]
25
+ required :ids, Stigg::Internal::Type::ArrayOf[String]
26
+
27
+ # @!method initialize(ids:)
28
+ # List of entity identifiers that were acted on
29
+ #
30
+ # @param ids [Array<String>] Entity identifiers to act on
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#upsert
7
+ class EntityUpsertParams < Stigg::Internal::Type::BaseModel
8
+ extend Stigg::Internal::Type::RequestParameters::Converter
9
+ include Stigg::Internal::Type::RequestParameters
10
+
11
+ # @!attribute id
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute entities
17
+ # List of entities to create or update (1-100 entries)
18
+ #
19
+ # @return [Array<Stigg::Models::V1Beta::EntityUpsertParams::Entity>]
20
+ required :entities, -> { Stigg::Internal::Type::ArrayOf[Stigg::V1Beta::EntityUpsertParams::Entity] }
21
+
22
+ # @!method initialize(id:, entities:, request_options: {})
23
+ # @param id [String]
24
+ #
25
+ # @param entities [Array<Stigg::Models::V1Beta::EntityUpsertParams::Entity>] List of entities to create or update (1-100 entries)
26
+ #
27
+ # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
28
+
29
+ class Entity < Stigg::Internal::Type::BaseModel
30
+ # @!attribute id
31
+ # The unique identifier for the entity
32
+ #
33
+ # @return [String]
34
+ required :id, String
35
+
36
+ # @!attribute metadata
37
+ # Free-form key/value metadata. Patch semantics: empty-string value removes a key,
38
+ # omitted keys are preserved.
39
+ #
40
+ # @return [Hash{Symbol=>String}, nil]
41
+ optional :metadata, Stigg::Internal::Type::HashOf[String]
42
+
43
+ # @!attribute type_ref_id
44
+ # The entity type refId this entity instantiates. Required when creating a new
45
+ # entity; on a re-upsert may be omitted to preserve the existing type. Governance
46
+ # returns 400 if missing on create.
47
+ #
48
+ # @return [String, nil]
49
+ optional :type_ref_id, String, api_name: :typeRefId
50
+
51
+ # @!method initialize(id:, metadata: nil, type_ref_id: nil)
52
+ # Some parameter documentations has been truncated, see
53
+ # {Stigg::Models::V1Beta::EntityUpsertParams::Entity} for more details.
54
+ #
55
+ # A single entity to create or update.
56
+ #
57
+ # @param id [String] The unique identifier for the entity
58
+ #
59
+ # @param metadata [Hash{Symbol=>String}] Free-form key/value metadata. Patch semantics: empty-string value removes a key,
60
+ #
61
+ # @param type_ref_id [String] The entity type refId this entity instantiates. Required when creating a new ent
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Stigg
4
+ module Models
5
+ module V1Beta
6
+ # @see Stigg::Resources::V1Beta::Entities#upsert
7
+ class EntityUpsertResponse < Stigg::Internal::Type::BaseModel
8
+ # @!attribute data
9
+ #
10
+ # @return [Array<Stigg::Models::V1Beta::EntityUpsertResponse::Data>]
11
+ required :data, -> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1Beta::EntityUpsertResponse::Data] }
12
+
13
+ # @!method initialize(data:)
14
+ # List of entities created or updated by an upsert request
15
+ #
16
+ # @param data [Array<Stigg::Models::V1Beta::EntityUpsertResponse::Data>]
17
+
18
+ class Data < Stigg::Internal::Type::BaseModel
19
+ # @!attribute id
20
+ # The unique identifier for the entity
21
+ #
22
+ # @return [String]
23
+ required :id, String
24
+
25
+ # @!attribute archived_at
26
+ # Timestamp of when the record was deleted
27
+ #
28
+ # @return [Time, nil]
29
+ required :archived_at, Time, api_name: :archivedAt, nil?: true
30
+
31
+ # @!attribute created_at
32
+ # Timestamp of when the record was created
33
+ #
34
+ # @return [Time]
35
+ required :created_at, Time, api_name: :createdAt
36
+
37
+ # @!attribute metadata
38
+ # Free-form key/value metadata attached to the entity
39
+ #
40
+ # @return [Hash{Symbol=>String}]
41
+ required :metadata, Stigg::Internal::Type::HashOf[String]
42
+
43
+ # @!attribute type_id
44
+ # The entity type identifier this entity instantiates
45
+ #
46
+ # @return [String]
47
+ required :type_id, String, api_name: :typeId
48
+
49
+ # @!attribute updated_at
50
+ # Timestamp of when the record was last updated
51
+ #
52
+ # @return [Time]
53
+ required :updated_at, Time, api_name: :updatedAt
54
+
55
+ # @!method initialize(id:, archived_at:, created_at:, metadata:, type_id:, updated_at:)
56
+ # A stored entity instance tracked by the governance service for a given customer
57
+ #
58
+ # @param id [String] The unique identifier for the entity
59
+ #
60
+ # @param archived_at [Time, nil] Timestamp of when the record was deleted
61
+ #
62
+ # @param created_at [Time] Timestamp of when the record was created
63
+ #
64
+ # @param metadata [Hash{Symbol=>String}] Free-form key/value metadata attached to the entity
65
+ #
66
+ # @param type_id [String] The entity type identifier this entity instantiates
67
+ #
68
+ # @param updated_at [Time] Timestamp of when the record was last updated
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end