Class V1alpha1Reference

java.lang.Object
co.permify.sdk.model.V1alpha1Reference

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class V1alpha1Reference extends Object
Describes a resolved reference to a declaration.
  • Field Details

  • Constructor Details

    • V1alpha1Reference

      public V1alpha1Reference()
  • Method Details

    • name

      public V1alpha1Reference name(String name)
    • getName

      @Nullable public String getName()
      The fully qualified name of the declaration.
      Returns:
      name
    • setName

      public void setName(String name)
    • overloadId

      public V1alpha1Reference overloadId(List<String> overloadId)
    • addOverloadIdItem

      public V1alpha1Reference addOverloadIdItem(String overloadIdItem)
    • getOverloadId

      @Nullable public List<String> getOverloadId()
      For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
      Returns:
      overloadId
    • setOverloadId

      public void setOverloadId(List<String> overloadId)
    • value

      public V1alpha1Reference value(Constant value)
    • getValue

      @Nullable public Constant getValue()
      Get value
      Returns:
      value
    • setValue

      public void setValue(Constant value)
    • equals

      public boolean equals(Object o)
      Return true if this v1alpha1.Reference object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

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

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string