Package model
Class RiskProfileRule
java.lang.Object
model.RiskProfileRule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class RiskProfileRule
extends Object
RiskProfileRule
-
Nested Class Summary
Nested Classes -
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 Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) entityType(String entityType) booleanstatic RiskProfileRuleCreate an instance of RiskProfileRule given an JSON stringGet actionGet amountgetCount()Get countTimestamp of when the object was created.Get enabledGet entityTypegetId()Get idgetLinks()Get linksgetRatio()Get ratioThe ID of the resource.getTags()Key value pair for annotating custom meta data (e.g.Get trailingGet trailingUnitgetType()Get typeTimestamp of when the object was last updated.inthashCode()links(DisputeEvidenceLinks links) putTagsItem(String key, String tagsItem) riskProfile(String riskProfile) voidvoidvoidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetEnabled(Boolean enabled) voidsetEntityType(String entityType) voidvoidsetLinks(DisputeEvidenceLinks links) voidvoidsetRiskProfile(String riskProfile) voidvoidsetTrailing(Long trailing) voidsetTrailingUnit(String trailingUnit) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of RiskProfileRule to an JSON stringtoString()trailingUnit(String trailingUnit) updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_ACTION
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_COUNT
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_ENTITY_TYPE
- See Also:
-
SERIALIZED_NAME_RATIO
- See Also:
-
SERIALIZED_NAME_RISK_PROFILE
- See Also:
-
SERIALIZED_NAME_TRAILING
- See Also:
-
SERIALIZED_NAME_TRAILING_UNIT
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RiskProfileRule
public RiskProfileRule()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
type
-
getType
Get type- Returns:
- type
-
setType
-
id
-
getId
Get id- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
action
-
getAction
Get action- Returns:
- action
-
setAction
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
enabled
-
getEnabled
Get enabled- Returns:
- enabled
-
setEnabled
-
entityType
-
getEntityType
Get entityType- Returns:
- entityType
-
setEntityType
-
ratio
-
getRatio
Get ratio- Returns:
- ratio
-
setRatio
-
riskProfile
-
getRiskProfile
The ID of the resource.- Returns:
- riskProfile
-
setRiskProfile
-
trailing
-
getTrailing
Get trailing- Returns:
- trailing
-
setTrailing
-
trailingUnit
-
getTrailingUnit
Get trailingUnit- Returns:
- trailingUnit
-
setTrailingUnit
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to RiskProfileRule
-
fromJson
Create an instance of RiskProfileRule given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RiskProfileRule
- Throws:
IOException- if the JSON string is invalid with respect to RiskProfileRule
-
toJson
Convert an instance of RiskProfileRule to an JSON string- Returns:
- JSON string
-