Package com.launchdarkly.api.model
Class MigrationSafetyIssueRep
- java.lang.Object
-
- com.launchdarkly.api.model.MigrationSafetyIssueRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-16T23:57:26.096741Z[Etc/UTC]") public class MigrationSafetyIssueRep extends java.lang.ObjectMigrationSafetyIssueRep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMigrationSafetyIssueRep.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_AFFECTED_RULE_IDSstatic java.lang.StringSERIALIZED_NAME_CAUSING_RULE_IDstatic java.lang.StringSERIALIZED_NAME_ISSUEstatic java.lang.StringSERIALIZED_NAME_OLD_SYSTEM_AFFECTED
-
Constructor Summary
Constructors Constructor Description MigrationSafetyIssueRep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationSafetyIssueRepaddAffectedRuleIdsItem(java.lang.String affectedRuleIdsItem)MigrationSafetyIssueRepaffectedRuleIds(java.util.List<java.lang.String> affectedRuleIds)MigrationSafetyIssueRepcausingRuleId(java.lang.String causingRuleId)booleanequals(java.lang.Object o)static MigrationSafetyIssueRepfromJson(java.lang.String jsonString)Create an instance of MigrationSafetyIssueRep given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.util.List<java.lang.String>getAffectedRuleIds()A list of the IDs of the rules which are affected by this issue.java.lang.StringgetCausingRuleId()The ID of the rule which caused this issuejava.lang.StringgetIssue()A description of the issue that <code>causingRuleId</code> has caused for <code>affectedRuleIds</code>.java.lang.BooleangetOldSystemAffected()Whether the changes caused by <code>causingRuleId</code> bring inconsistency to the old systeminthashCode()MigrationSafetyIssueRepissue(java.lang.String issue)MigrationSafetyIssueRepoldSystemAffected(java.lang.Boolean oldSystemAffected)MigrationSafetyIssueRepputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetAffectedRuleIds(java.util.List<java.lang.String> affectedRuleIds)voidsetCausingRuleId(java.lang.String causingRuleId)voidsetIssue(java.lang.String issue)voidsetOldSystemAffected(java.lang.Boolean oldSystemAffected)java.lang.StringtoJson()Convert an instance of MigrationSafetyIssueRep to an JSON stringjava.lang.StringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CAUSING_RULE_ID
public static final java.lang.String SERIALIZED_NAME_CAUSING_RULE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AFFECTED_RULE_IDS
public static final java.lang.String SERIALIZED_NAME_AFFECTED_RULE_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUE
public static final java.lang.String SERIALIZED_NAME_ISSUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OLD_SYSTEM_AFFECTED
public static final java.lang.String SERIALIZED_NAME_OLD_SYSTEM_AFFECTED
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
causingRuleId
public MigrationSafetyIssueRep causingRuleId(java.lang.String causingRuleId)
-
getCausingRuleId
@Nullable public java.lang.String getCausingRuleId()
The ID of the rule which caused this issue- Returns:
- causingRuleId
-
setCausingRuleId
public void setCausingRuleId(java.lang.String causingRuleId)
-
affectedRuleIds
public MigrationSafetyIssueRep affectedRuleIds(java.util.List<java.lang.String> affectedRuleIds)
-
addAffectedRuleIdsItem
public MigrationSafetyIssueRep addAffectedRuleIdsItem(java.lang.String affectedRuleIdsItem)
-
getAffectedRuleIds
@Nullable public java.util.List<java.lang.String> getAffectedRuleIds()
A list of the IDs of the rules which are affected by this issue. <code>fallthrough</code> is a sentinel value for the default rule.- Returns:
- affectedRuleIds
-
setAffectedRuleIds
public void setAffectedRuleIds(java.util.List<java.lang.String> affectedRuleIds)
-
issue
public MigrationSafetyIssueRep issue(java.lang.String issue)
-
getIssue
@Nullable public java.lang.String getIssue()
A description of the issue that <code>causingRuleId</code> has caused for <code>affectedRuleIds</code>.- Returns:
- issue
-
setIssue
public void setIssue(java.lang.String issue)
-
oldSystemAffected
public MigrationSafetyIssueRep oldSystemAffected(java.lang.Boolean oldSystemAffected)
-
getOldSystemAffected
@Nullable public java.lang.Boolean getOldSystemAffected()
Whether the changes caused by <code>causingRuleId</code> bring inconsistency to the old system- Returns:
- oldSystemAffected
-
setOldSystemAffected
public void setOldSystemAffected(java.lang.Boolean oldSystemAffected)
-
putAdditionalProperty
public MigrationSafetyIssueRep putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
java.io.IOException- if the JSON Object is invalid with respect to MigrationSafetyIssueRep
-
fromJson
public static MigrationSafetyIssueRep fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of MigrationSafetyIssueRep given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MigrationSafetyIssueRep
- Throws:
java.io.IOException- if the JSON string is invalid with respect to MigrationSafetyIssueRep
-
toJson
public java.lang.String toJson()
Convert an instance of MigrationSafetyIssueRep to an JSON string- Returns:
- JSON string
-
-