Class Deprecation

    • Constructor Summary

      Constructors 
      Constructor Description
      Deprecation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Deprecation actor​(java.lang.String actor)  
      Deprecation decommissionTime​(java.lang.Long decommissionTime)  
      Deprecation deprecated​(java.lang.Boolean deprecated)  
      boolean equals​(java.lang.Object o)  
      @NotNull java.lang.String get__type()
      Name of this subclass in SimpleClassName format
      @NotNull java.lang.String getActor()
      The user URN which will be credited for modifying this deprecation content.
      @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getDecommissionTime()
      The time user plan to decommission this entity.
      @NotNull java.lang.String getNote()
      Additional information about the entity deprecation plan, such as the wiki, doc, RB.
      int hashCode()  
      @NotNull java.lang.Boolean isDeprecated()
      Whether the entity is deprecated.
      Deprecation note​(java.lang.String note)  
      void setActor​(java.lang.String actor)  
      void setDecommissionTime​(java.lang.Long decommissionTime)  
      void setDeprecated​(java.lang.Boolean deprecated)  
      void setNote​(java.lang.String note)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Deprecation

        public Deprecation()
    • Method Detail

      • get__type

        @NotNull
        public @NotNull java.lang.String get__type()
        Name of this subclass in SimpleClassName format
        Returns:
        __type
      • deprecated

        public Deprecation deprecated​(java.lang.Boolean deprecated)
      • isDeprecated

        @NotNull
        public @NotNull java.lang.Boolean isDeprecated()
        Whether the entity is deprecated.
        Returns:
        deprecated
      • setDeprecated

        public void setDeprecated​(java.lang.Boolean deprecated)
      • decommissionTime

        public Deprecation decommissionTime​(java.lang.Long decommissionTime)
      • getDecommissionTime

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getDecommissionTime()
        The time user plan to decommission this entity. minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        decommissionTime
      • setDecommissionTime

        public void setDecommissionTime​(java.lang.Long decommissionTime)
      • note

        public Deprecation note​(java.lang.String note)
      • getNote

        @NotNull
        public @NotNull java.lang.String getNote()
        Additional information about the entity deprecation plan, such as the wiki, doc, RB.
        Returns:
        note
      • setNote

        public void setNote​(java.lang.String note)
      • actor

        public Deprecation actor​(java.lang.String actor)
      • getActor

        @NotNull
        public @NotNull java.lang.String getActor()
        The user URN which will be credited for modifying this deprecation content.
        Returns:
        actor
      • setActor

        public void setActor​(java.lang.String actor)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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