Class CheckNameAvailabilityResultInner


  • public final class CheckNameAvailabilityResultInner
    extends Object
    CheckNameAvailabilityResult CheckNameAvailability Result.
    • Constructor Detail

      • CheckNameAvailabilityResultInner

        public CheckNameAvailabilityResultInner()
    • Method Detail

      • message

        public String message()
        Get the message property: Gets or sets the message.
        Returns:
        the message value.
      • withMessage

        public CheckNameAvailabilityResultInner withMessage​(String message)
        Set the message property: Gets or sets the message.
        Parameters:
        message - the message value to set.
        Returns:
        the CheckNameAvailabilityResultInner object itself.
      • nameAvailable

        public Boolean nameAvailable()
        Get the nameAvailable property: Gets or sets a value indicating whether [name available].
        Returns:
        the nameAvailable value.
      • withNameAvailable

        public CheckNameAvailabilityResultInner withNameAvailable​(Boolean nameAvailable)
        Set the nameAvailable property: Gets or sets a value indicating whether [name available].
        Parameters:
        nameAvailable - the nameAvailable value to set.
        Returns:
        the CheckNameAvailabilityResultInner object itself.
      • reason

        public String reason()
        Get the reason property: Gets or sets the reason.
        Returns:
        the reason value.
      • withReason

        public CheckNameAvailabilityResultInner withReason​(String reason)
        Set the reason property: Gets or sets the reason.
        Parameters:
        reason - the reason value to set.
        Returns:
        the CheckNameAvailabilityResultInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.