com.ibm.streamsx.rest.internal.icp4d

Class JobDescription.MetaData

  • java.lang.Object
    • com.ibm.streamsx.rest.internal.icp4d.JobDescription.MetaData
  • Enclosing class:
    JobDescription


    public static class JobDescription.MetaData
    extends java.lang.Object
    metadata sub-structure "metadata": { "asset_id": "19561431-e6bd-4bfa-8f71-630821ed4e14", "description": "jobs for test", "name": "python job", "owner_id": "1000330999", "version": 0 }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      protected static class  Element.ElementArray<E extends com.ibm.streamsx.rest.internal.icp4d.Element>
      internal usage to get the list of elements
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static com.google.gson.Gson gson 
    • Constructor Summary

      Constructors 
      Constructor and Description
      MetaData() 
    • Field Detail

      • gson

        protected static final com.google.gson.Gson gson
    • Constructor Detail

      • MetaData

        public MetaData()
    • Method Detail

      • getAsset_id

        public java.lang.String getAsset_id()
        Returns:
        the asset_id
      • setProject_id

        public void setProject_id(java.lang.String project_id)
        Parameters:
        project_id - the project_id to set
      • setSpace_id

        public void setSpace_id(java.lang.String space_id)
        Parameters:
        space_id - the space_id to set
      • getProject_id

        public java.lang.String getProject_id()
        Returns:
        the project_id the job is associated with or null if the job is associated with a deployment space
      • getSpace_id

        public java.lang.String getSpace_id()
        Returns:
        the space_id the job is associated with or null if the job is associated with a project
      • getDescription

        public java.lang.String getDescription()
        Returns:
        the description
      • getName

        public java.lang.String getName()
        Returns:
        the name
      • getOwner_id

        public java.lang.String getOwner_id()
        Returns:
        the owner_id
      • getVersion

        public int getVersion()
        Returns:
        the version
      • toString

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

        protected static final <E extends com.ibm.streamsx.rest.internal.icp4d.Element,A extends Element.ElementArray<E>> java.util.List<E> createList(AbstractConnection sc,
                                                                                                                                                       java.lang.String uri,
                                                                                                                                                       java.lang.Class<A> arrayClass)
                                                                                                                                                throws java.io.IOException
        Throws:
        java.io.IOException
streamsx.topology 2.1 @ IBMStreams GitHub