Class: DatadogAPIClient::V2::TeamReference

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/team_reference.rb

Overview

Provides a reference to a team, including ID, type, and basic attributes/relationships.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v2/models/team_reference.rb', line 36

def additional_properties
  @additional_properties
end

#attributesObject

Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.



25
26
27
# File 'lib/datadog_api_client/v2/models/team_reference.rb', line 25

def attributes
  @attributes
end

#idObject

The team's unique identifier.



28
29
30
# File 'lib/datadog_api_client/v2/models/team_reference.rb', line 28

def id
  @id
end

#relationshipsObject

Collects the key relationship fields for a team reference, specifically on-call users.



31
32
33
# File 'lib/datadog_api_client/v2/models/team_reference.rb', line 31

def relationships
  @relationships
end

#typeObject

Teams resource type.



34
35
36
# File 'lib/datadog_api_client/v2/models/team_reference.rb', line 34

def type
  @type
end