Class ReservedDomainCertNsTarget

java.lang.Object
com.ngrok.definitions.ReservedDomainCertNsTarget

public class ReservedDomainCertNsTarget extends Object
A class encapsulating the ReservedDomainCertNsTarget resource.
  • Constructor Details

    • ReservedDomainCertNsTarget

      public ReservedDomainCertNsTarget(String zone, List<String> nameservers)
      Creates a new instance of ReservedDomainCertNsTarget.
      Parameters:
      zone - the zone that the nameservers need to be applied to
      nameservers - the nameservers the user must add
  • Method Details

    • getZone

      public String getZone()
      the zone that the nameservers need to be applied to
      Returns:
      the value of the property as a String
    • getNameservers

      public List<String> getNameservers()
      the nameservers the user must add
      Returns:
      the value of the property as a List<String>
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object