Class CreateNamespaceRequest

  • All Implemented Interfaces:
    RESTMessage, RESTRequest

    public class CreateNamespaceRequest
    extends java.lang.Object
    implements RESTRequest
    A REST request to create a namespace, with an optional set of properties.
    • Constructor Detail

      • CreateNamespaceRequest

        public CreateNamespaceRequest()
    • Method Detail

      • validate

        public void validate()
        Description copied from interface: RESTMessage
        Ensures that a constructed instance of a REST message is valid according to the REST spec.

        This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.

        Specified by:
        validate in interface RESTMessage
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object