Class CustomResourceColumnDefinition

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

    public class CustomResourceColumnDefinition
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    CustomResourceColumnDefinition specifies a column for server side printing.
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomResourceColumnDefinition()  
      CustomResourceColumnDefinition​(@NonNull java.lang.String jSONPath, java.lang.String description, java.lang.String format, @NonNull java.lang.String name, java.lang.Number priority, @NonNull java.lang.String type)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CustomResourceColumnDefinition.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getDescription()
      description is a human readable description of this column.
      java.lang.String getFormat()
      format is an optional OpenAPI type definition for this column.
      @NonNull java.lang.String getJSONPath()
      JSONPath is a simple JSON path (i.e.
      @NonNull java.lang.String getName()
      name is a human readable name for the column.
      java.lang.Number getPriority()
      priority is an integer defining the relative importance of this column compared to others.
      @NonNull java.lang.String getType()
      type is an OpenAPI type definition for this column.
      int hashCode()  
      void setDescription​(java.lang.String description)
      description is a human readable description of this column.
      void setFormat​(java.lang.String format)
      format is an optional OpenAPI type definition for this column.
      void setJSONPath​(@NonNull java.lang.String jSONPath)
      JSONPath is a simple JSON path (i.e.
      void setName​(@NonNull java.lang.String name)
      name is a human readable name for the column.
      void setPriority​(java.lang.Number priority)
      priority is an integer defining the relative importance of this column compared to others.
      void setType​(@NonNull java.lang.String type)
      type is an OpenAPI type definition for this column.
      CustomResourceColumnDefinition.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • CustomResourceColumnDefinition

        public CustomResourceColumnDefinition​(@NonNull
                                              @NonNull java.lang.String jSONPath,
                                              java.lang.String description,
                                              java.lang.String format,
                                              @NonNull
                                              @NonNull java.lang.String name,
                                              java.lang.Number priority,
                                              @NonNull
                                              @NonNull java.lang.String type)
      • CustomResourceColumnDefinition

        public CustomResourceColumnDefinition()
    • Method Detail

      • getJSONPath

        @NonNull
        public @NonNull java.lang.String getJSONPath()
        JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
      • getDescription

        public java.lang.String getDescription()
        description is a human readable description of this column.
      • getFormat

        public java.lang.String getFormat()
        format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        name is a human readable name for the column.
      • getPriority

        public java.lang.Number getPriority()
        priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
      • getType

        @NonNull
        public @NonNull java.lang.String getType()
        type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
      • setJSONPath

        public void setJSONPath​(@NonNull
                                @NonNull java.lang.String jSONPath)
        JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
      • setDescription

        public void setDescription​(java.lang.String description)
        description is a human readable description of this column.
      • setFormat

        public void setFormat​(java.lang.String format)
        format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        name is a human readable name for the column.
      • setPriority

        public void setPriority​(java.lang.Number priority)
        priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
      • setType

        public void setType​(@NonNull
                            @NonNull java.lang.String type)
        type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
      • 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