Record Class MCProfileBedrockResponse

java.lang.Object
java.lang.Record
com.zenith.feature.api.mcprofile.model.MCProfileBedrockResponse
All Implemented Interfaces:
ProfileData

public record MCProfileBedrockResponse(String gamertag, String xuid, UUID floodgateuid, String icon, String skin, boolean linked, String java_uuid, String java_name) extends Record implements ProfileData
  • Constructor Details

    • MCProfileBedrockResponse

      public MCProfileBedrockResponse(String gamertag, String xuid, UUID floodgateuid, String icon, String skin, boolean linked, String java_uuid, String java_name)
      Creates an instance of a MCProfileBedrockResponse record class.
      Parameters:
      gamertag - the value for the gamertag record component
      xuid - the value for the xuid record component
      floodgateuid - the value for the floodgateuid record component
      icon - the value for the icon record component
      skin - the value for the skin record component
      linked - the value for the linked record component
      java_uuid - the value for the java_uuid record component
      java_name - the value for the java_name record component
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface ProfileData
    • uuid

      public UUID uuid()
      Specified by:
      uuid in interface ProfileData
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • gamertag

      public String gamertag()
      Returns the value of the gamertag record component.
      Returns:
      the value of the gamertag record component
    • xuid

      public String xuid()
      Returns the value of the xuid record component.
      Returns:
      the value of the xuid record component
    • floodgateuid

      public UUID floodgateuid()
      Returns the value of the floodgateuid record component.
      Returns:
      the value of the floodgateuid record component
    • icon

      public String icon()
      Returns the value of the icon record component.
      Returns:
      the value of the icon record component
    • skin

      public String skin()
      Returns the value of the skin record component.
      Returns:
      the value of the skin record component
    • linked

      public boolean linked()
      Returns the value of the linked record component.
      Returns:
      the value of the linked record component
    • java_uuid

      public String java_uuid()
      Returns the value of the java_uuid record component.
      Returns:
      the value of the java_uuid record component
    • java_name

      public String java_name()
      Returns the value of the java_name record component.
      Returns:
      the value of the java_name record component