Package com.datadog.api.client.v2.model
Class RumSdkConfigDynamicOption
java.lang.Object
com.datadog.api.client.v2.model.RumSdkConfigDynamicOption
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumSdkConfigDynamicOption
extends Object
A dynamic configuration option that extracts a value at runtime using a specified strategy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRumSdkConfigDynamicOption(RumSdkConfigDynamicOptionSerializedType rcSerializedType, RumSdkConfigDynamicOptionStrategy strategy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this RumSdkConfigDynamicOption object is equal to o.extractor(RumSdkConfigSerializedRegex extractor) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The element attribute to read.A serialized regex used as an extractor in dynamic options.getKey()ThelocalStoragekey to read.getName()The cookie name to read.getPath()The JavaScript path used to extract the value.The type identifier for a dynamic option.The CSS selector to read from the page.The strategy used to extract the dynamic value.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rcSerializedType(RumSdkConfigDynamicOptionSerializedType rcSerializedType) voidsetAttribute(String attribute) voidsetExtractor(RumSdkConfigSerializedRegex extractor) voidvoidvoidvoidsetRcSerializedType(RumSdkConfigDynamicOptionSerializedType rcSerializedType) voidsetSelector(String selector) voidsetStrategy(RumSdkConfigDynamicOptionStrategy strategy) strategy(RumSdkConfigDynamicOptionStrategy strategy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTE
- See Also:
-
JSON_PROPERTY_EXTRACTOR
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_RC_SERIALIZED_TYPE
- See Also:
-
JSON_PROPERTY_SELECTOR
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
-
Constructor Details
-
RumSdkConfigDynamicOption
public RumSdkConfigDynamicOption() -
RumSdkConfigDynamicOption
public RumSdkConfigDynamicOption(RumSdkConfigDynamicOptionSerializedType rcSerializedType, RumSdkConfigDynamicOptionStrategy strategy)
-
-
Method Details
-
attribute
-
getAttribute
The element attribute to read. Used whenstrategyisdom.- Returns:
- attribute
-
setAttribute
-
extractor
-
getExtractor
A serialized regex used as an extractor in dynamic options.- Returns:
- extractor
-
setExtractor
-
key
-
getKey
ThelocalStoragekey to read. Required whenstrategyislocalStorage.- Returns:
- key
-
setKey
-
name
-
getName
The cookie name to read. Required whenstrategyiscookie.- Returns:
- name
-
setName
-
path
-
getPath
The JavaScript path used to extract the value. Required whenstrategyisjs.- Returns:
- path
-
setPath
-
rcSerializedType
public RumSdkConfigDynamicOption rcSerializedType(RumSdkConfigDynamicOptionSerializedType rcSerializedType) -
getRcSerializedType
The type identifier for a dynamic option. Alwaysdynamic.- Returns:
- rcSerializedType
-
setRcSerializedType
-
selector
-
getSelector
The CSS selector to read from the page. Required whenstrategyisdom.- Returns:
- selector
-
setSelector
-
strategy
-
getStrategy
The strategy used to extract the dynamic value.- Returns:
- strategy
-
setStrategy
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- RumSdkConfigDynamicOption
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this RumSdkConfigDynamicOption object is equal to o. -
hashCode
public int hashCode() -
toString
-