Class GetSlotTypeResponse

    • Method Detail

      • name

        public final String name()

        The name of the slot type.

        Returns:
        The name of the slot type.
      • description

        public final String description()

        A description of the slot type.

        Returns:
        A description of the slot type.
      • hasEnumerationValues

        public final boolean hasEnumerationValues()
        For responses, this returns true if the service returned a value for the EnumerationValues property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • enumerationValues

        public final List<EnumerationValue> enumerationValues()

        A list of EnumerationValue objects that defines the values that the slot type can take.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasEnumerationValues() method.

        Returns:
        A list of EnumerationValue objects that defines the values that the slot type can take.
      • lastUpdatedDate

        public final Instant lastUpdatedDate()

        The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.

        Returns:
        The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
      • createdDate

        public final Instant createdDate()

        The date that the slot type was created.

        Returns:
        The date that the slot type was created.
      • version

        public final String version()

        The version of the slot type.

        Returns:
        The version of the slot type.
      • checksum

        public final String checksum()

        Checksum of the $LATEST version of the slot type.

        Returns:
        Checksum of the $LATEST version of the slot type.
      • parentSlotTypeSignature

        public final String parentSlotTypeSignature()

        The built-in slot type used as a parent for the slot type.

        Returns:
        The built-in slot type used as a parent for the slot type.
      • hasSlotTypeConfigurations

        public final boolean hasSlotTypeConfigurations()
        For responses, this returns true if the service returned a value for the SlotTypeConfigurations property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • slotTypeConfigurations

        public final List<SlotTypeConfiguration> slotTypeConfigurations()

        Configuration information that extends the parent built-in slot type.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSlotTypeConfigurations() method.

        Returns:
        Configuration information that extends the parent built-in slot type.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object