Class ListMeta

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ListMeta
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ListMeta.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      ListMeta()  
      ListMeta​(java.lang.String continues, java.lang.Number remainingItemCount, java.lang.String resourceVersion, java.lang.String selfLink)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ListMeta.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getContinues()
      continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.
      java.lang.Number getRemainingItemCount()
      remainingItemCount is the number of subsequent items in the list which are not included in this list response.
      java.lang.String getResourceVersion()
      String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
      java.lang.String getSelfLink()
      Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
      int hashCode()  
      void setContinues​(java.lang.String continues)
      continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.
      void setRemainingItemCount​(java.lang.Number remainingItemCount)
      remainingItemCount is the number of subsequent items in the list which are not included in this list response.
      void setResourceVersion​(java.lang.String resourceVersion)
      String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
      void setSelfLink​(java.lang.String selfLink)
      Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
      ListMeta.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • ListMeta

        public ListMeta​(java.lang.String continues,
                        java.lang.Number remainingItemCount,
                        java.lang.String resourceVersion,
                        java.lang.String selfLink)
      • ListMeta

        public ListMeta()
    • Method Detail

      • getContinues

        public java.lang.String getContinues()
        continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
      • getRemainingItemCount

        public java.lang.Number getRemainingItemCount()
        remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.
      • getResourceVersion

        public java.lang.String getResourceVersion()
        String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
      • getSelfLink

        public java.lang.String getSelfLink()
        Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
      • setContinues

        public void setContinues​(java.lang.String continues)
        continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
      • setRemainingItemCount

        public void setRemainingItemCount​(java.lang.Number remainingItemCount)
        remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.
      • setResourceVersion

        public void setResourceVersion​(java.lang.String resourceVersion)
        String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
      • setSelfLink

        public void setSelfLink​(java.lang.String selfLink)
        Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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