Package com.datadog.api.client.v1.model
Class SyntheticsMobileStepParams
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsMobileStepParams
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsMobileStepParams
extends Object
The parameters of a mobile step.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPositionsItem(SyntheticsMobileStepParamsPositionsItems positionsItem) check(SyntheticsCheckType check) direction(SyntheticsMobileStepParamsDirection direction) element(SyntheticsMobileStepParamsElement element) booleanReturn true if this SyntheticsMobileStepParams object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCheck()Type of assertion to apply in an API test.getDelay()Number of milliseconds to wait between inputs in atypeTextstep type.The direction of the scroll for ascrollToElementstep type.Information about the element used for a step.Boolean to change the state of the wifi for atoggleWiFistep type.Maximum number of scrolls to do for ascrollToElementstep type.List of positions for theflickstep type.Public ID of the test to be played as part of aplaySubTeststep type.getValue()Values used in the step for in multiple step types.Variable object forextractVariablestep type.Boolean to indicate ifEntershould be pressed at the end of thetypeTextstep type.getX()Amount to scroll by on thexaxis for ascrollstep type.getY()Amount to scroll by on theyaxis for ascrollstep type.inthashCode()maxScrolls(Long maxScrolls) positions(List<SyntheticsMobileStepParamsPositionsItems> positions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCheck(SyntheticsCheckType check) voidvoidsetDirection(SyntheticsMobileStepParamsDirection direction) voidvoidsetEnabled(Boolean enabled) voidsetMaxScrolls(Long maxScrolls) voidsetPositions(List<SyntheticsMobileStepParamsPositionsItems> positions) voidsetSubtestPublicId(String subtestPublicId) voidvoidvoidsetWithEnter(Boolean withEnter) voidvoidsubtestPublicId(String subtestPublicId) toString()variable(SyntheticsMobileStepParamsVariable variable)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHECK
- See Also:
-
JSON_PROPERTY_DELAY
- See Also:
-
JSON_PROPERTY_DIRECTION
- See Also:
-
JSON_PROPERTY_ELEMENT
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_MAX_SCROLLS
- See Also:
-
JSON_PROPERTY_POSITIONS
- See Also:
-
JSON_PROPERTY_SUBTEST_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VARIABLE
- See Also:
-
JSON_PROPERTY_WITH_ENTER
- See Also:
-
JSON_PROPERTY_X
- See Also:
-
JSON_PROPERTY_Y
- See Also:
-
-
Constructor Details
-
SyntheticsMobileStepParams
public SyntheticsMobileStepParams()
-
-
Method Details
-
check
-
getCheck
Type of assertion to apply in an API test.- Returns:
- check
-
setCheck
-
delay
-
getDelay
Number of milliseconds to wait between inputs in atypeTextstep type. minimum: 0 maximum: 5000- Returns:
- delay
-
setDelay
-
direction
-
getDirection
The direction of the scroll for ascrollToElementstep type.- Returns:
- direction
-
setDirection
-
element
-
getElement
Information about the element used for a step.- Returns:
- element
-
setElement
-
enabled
-
getEnabled
Boolean to change the state of the wifi for atoggleWiFistep type.- Returns:
- enabled
-
setEnabled
-
maxScrolls
-
getMaxScrolls
Maximum number of scrolls to do for ascrollToElementstep type.- Returns:
- maxScrolls
-
setMaxScrolls
-
positions
public SyntheticsMobileStepParams positions(List<SyntheticsMobileStepParamsPositionsItems> positions) -
addPositionsItem
public SyntheticsMobileStepParams addPositionsItem(SyntheticsMobileStepParamsPositionsItems positionsItem) -
getPositions
List of positions for theflickstep type. The maximum is 10 flicks per step- Returns:
- positions
-
setPositions
-
subtestPublicId
-
getSubtestPublicId
Public ID of the test to be played as part of aplaySubTeststep type.- Returns:
- subtestPublicId
-
setSubtestPublicId
-
value
-
getValue
Values used in the step for in multiple step types.- Returns:
- value
-
setValue
-
variable
-
getVariable
Variable object forextractVariablestep type.- Returns:
- variable
-
setVariable
-
withEnter
-
getWithEnter
Boolean to indicate ifEntershould be pressed at the end of thetypeTextstep type.- Returns:
- withEnter
-
setWithEnter
-
x
-
getX
Amount to scroll by on thexaxis for ascrollstep type.- Returns:
- x
-
setX
-
y
-
getY
Amount to scroll by on theyaxis for ascrollstep type.- Returns:
- y
-
setY
-
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:
- SyntheticsMobileStepParams
-
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 SyntheticsMobileStepParams object is equal to o. -
hashCode
public int hashCode() -
toString
-