Class NaruModelKey

java.lang.Object
net.thevpc.naru.api.model.NaruModelKey
All Implemented Interfaces:
net.thevpc.nuts.elem.NToElement

public class NaruModelKey extends Object implements net.thevpc.nuts.elem.NToElement
  • Constructor Details

    • NaruModelKey

      public NaruModelKey(net.thevpc.nuts.elem.NElement element)
    • NaruModelKey

      public NaruModelKey(String provider, String model)
  • Method Details

    • parse

      public static net.thevpc.nuts.util.NOptional<NaruModelKey> parse(String modelName)
    • provider

      public String provider()
    • model

      public String model()
    • toElement

      public net.thevpc.nuts.elem.NElement toElement()
      Specified by:
      toElement in interface net.thevpc.nuts.elem.NToElement
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toMsg

      public net.thevpc.nuts.text.NMsg toMsg()