Class MigrationSafetyIssueRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2023-11-16T23:57:26.096741Z[Etc/UTC]")
    public class MigrationSafetyIssueRep
    extends java.lang.Object
    MigrationSafetyIssueRep
    • 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
    • Constructor Detail

      • MigrationSafetyIssueRep

        public MigrationSafetyIssueRep()
    • Method Detail

      • 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)
      • 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)
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws java.io.IOException
        Validates 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