Class: DatadogAPIClient::V2::TeamsOwnershipMappingBatchOperation

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

Overview

A single add or remove operation, applied atomically with every other operation in the request.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation.rb', line 33

def additional_properties
  @additional_properties
end

#dataObject

The mapping to add. Required when op is add.



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

def data
  @data
end

#opObject

Whether this operation adds a new mapping or removes an existing one.



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

def op
  @op
end

#refObject

Identifies an existing mapping to remove. Required when op is remove.



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

def ref
  @ref
end