Class: DatadogAPIClient::V1::SyntheticsAssertionType
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsAssertionType
- Includes:
- BaseEnumModel
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_assertion_type.rb,
lib/datadog_api_client/v1/models/synthetics_assertion_type.rb
Overview
Type of the assertion.
Constant Summary collapse
- BODY =
"body".freeze
- HEADER =
"header".freeze
- STATUS_CODE =
"statusCode".freeze
- CERTIFICATE =
"certificate".freeze
- RESPONSE_TIME =
"responseTime".freeze
- PROPERTY =
"property".freeze
- RECORD_EVERY =
"recordEvery".freeze
- RECORD_SOME =
"recordSome".freeze
- TLS_VERSION =
"tlsVersion".freeze
- MIN_TLS_VERSION =
"minTlsVersion".freeze
- LATENCY =
"latency".freeze
- PACKET_LOSS_PERCENTAGE =
"packetLossPercentage".freeze
- PACKETS_RECEIVED =
"packetsReceived".freeze
- NETWORK_HOP =
"networkHop".freeze
- RECEIVED_MESSAGE =
"receivedMessage".freeze
- GRPC_HEALTHCHECK_STATUS =
"grpcHealthcheckStatus".freeze
- GRPC_METADATA =
"grpcMetadata".freeze
- GRPC_PROTO =
"grpcProto".freeze
- CONNECTION =
"connection".freeze
Class Method Summary collapse
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Methods included from BaseEnumModel
Class Method Details
.build_from_hash(value) ⇒ String
Builds the enum from string
40 41 42 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_type.rb', line 40 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
47 48 49 50 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_type.rb', line 47 def build_from_hash(value) constantValues = SyntheticsAssertionType.constants.select { |c| SyntheticsAssertionType::const_get(c) == value } constantValues.empty? ? DatadogAPIClient::V1::UnparsedObject.new(value) : value end |