Skip to content

Commit 62d1753

Browse files
authored
Code Gen Enums Update (#541)
1 parent fdcb5f5 commit 62d1753

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

enum.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var AllAlertSourceStatusTypeEnum = []string{
2525
type AlertSourceTypeEnum string
2626

2727
var (
28+
AlertSourceTypeEnumCustom AlertSourceTypeEnum = "custom" // A custom alert source (aka service)
2829
AlertSourceTypeEnumDatadog AlertSourceTypeEnum = "datadog" // A Datadog alert source (aka monitor)
2930
AlertSourceTypeEnumFireHydrant AlertSourceTypeEnum = "fire_hydrant" // An FireHydrant alert source (aka service)
3031
AlertSourceTypeEnumIncidentIo AlertSourceTypeEnum = "incident_io" // An incident.io alert source (aka service)
@@ -35,6 +36,7 @@ var (
3536

3637
// All AlertSourceTypeEnum as []string
3738
var AllAlertSourceTypeEnum = []string{
39+
string(AlertSourceTypeEnumCustom),
3840
string(AlertSourceTypeEnumDatadog),
3941
string(AlertSourceTypeEnumFireHydrant),
4042
string(AlertSourceTypeEnumIncidentIo),
@@ -3041,7 +3043,9 @@ var (
30413043
RelatedResourceRelationshipTypeEnumContains RelatedResourceRelationshipTypeEnum = "contains" // The resource contains the node on the edge
30423044
RelatedResourceRelationshipTypeEnumDependencyOf RelatedResourceRelationshipTypeEnum = "dependency_of" // The resource is a dependency of the node on the edge
30433045
RelatedResourceRelationshipTypeEnumDependsOn RelatedResourceRelationshipTypeEnum = "depends_on" // The resource depends on the node on the edge
3046+
RelatedResourceRelationshipTypeEnumIsRelatedTo RelatedResourceRelationshipTypeEnum = "is_related_to" // The resource is part of a specialized relationship defined on another node
30443047
RelatedResourceRelationshipTypeEnumMemberOf RelatedResourceRelationshipTypeEnum = "member_of" // The resource is a member of the node on the edge
3048+
RelatedResourceRelationshipTypeEnumRelatedTo RelatedResourceRelationshipTypeEnum = "related_to" // The resource has a specialized relationship to another node
30453049
)
30463050

30473051
// All RelatedResourceRelationshipTypeEnum as []string
@@ -3050,21 +3054,25 @@ var AllRelatedResourceRelationshipTypeEnum = []string{
30503054
string(RelatedResourceRelationshipTypeEnumContains),
30513055
string(RelatedResourceRelationshipTypeEnumDependencyOf),
30523056
string(RelatedResourceRelationshipTypeEnumDependsOn),
3057+
string(RelatedResourceRelationshipTypeEnumIsRelatedTo),
30533058
string(RelatedResourceRelationshipTypeEnumMemberOf),
3059+
string(RelatedResourceRelationshipTypeEnumRelatedTo),
30543060
}
30553061

30563062
// RelationshipTypeEnum The type of relationship between two resources
30573063
type RelationshipTypeEnum string
30583064

30593065
var (
3060-
RelationshipTypeEnumBelongsTo RelationshipTypeEnum = "belongs_to" // The source resource belongs to the target resource
3061-
RelationshipTypeEnumDependsOn RelationshipTypeEnum = "depends_on" // The source resource depends on the target resource
3066+
RelationshipTypeEnumBelongsTo RelationshipTypeEnum = "belongs_to" // The source resource belongs to the target resource. Can be used to allow Components to belong to Systems and Domains, or for Infrastructure to belong to Components
3067+
RelationshipTypeEnumDependsOn RelationshipTypeEnum = "depends_on" // The source resource depends on the target resource. Can be used to specify that a Component depends on some Infrastructure, or that a System depends on a Component
3068+
RelationshipTypeEnumRelatedTo RelationshipTypeEnum = "related_to" // The source resource is related to the target resource through a custom relationship definition. These are dynamic and can be used to extend our out-of-the-box relationships
30623069
)
30633070

30643071
// All RelationshipTypeEnum as []string
30653072
var AllRelationshipTypeEnum = []string{
30663073
string(RelationshipTypeEnumBelongsTo),
30673074
string(RelationshipTypeEnumDependsOn),
3075+
string(RelationshipTypeEnumRelatedTo),
30683076
}
30693077

30703078
// RepositoryVisibilityEnum Possible visibility levels for repositories

0 commit comments

Comments
 (0)