Interface SdkPojo

    • Method Detail

      • sdkFields

        List<SdkField<?>> sdkFields()
        Returns:
        List of SdkField in this POJO. May be empty list but should never be null.
      • equalsBySdkFields

        default boolean equalsBySdkFields​(Object other)
        Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

        If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

        Parameters:
        other - the object to be compared with
        Returns:
        true if the other object equals to this object by sdk fields, false otherwise.