Class PodSecurityConfig

java.lang.Object
io.github.alersrt.pod4j.openapi.model.PodSecurityConfig
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PodSecurityConfig extends Object implements Serializable
PodSecurityConfig
See Also:
  • Field Details

  • Constructor Details

    • PodSecurityConfig

      public PodSecurityConfig()
  • Method Details

    • idmappings

      public PodSecurityConfig idmappings(IDMappingOptions idmappings)
    • getIdmappings

      @Nullable @Valid public @Valid IDMappingOptions getIdmappings()
      Get idmappings
      Returns:
      idmappings
    • setIdmappings

      public void setIdmappings(IDMappingOptions idmappings)
    • securityOpt

      public PodSecurityConfig securityOpt(List<String> securityOpt)
    • addSecurityOptItem

      public PodSecurityConfig addSecurityOptItem(String securityOptItem)
    • getSecurityOpt

      @Nullable public List<String> getSecurityOpt()
      Get securityOpt
      Returns:
      securityOpt
    • setSecurityOpt

      public void setSecurityOpt(List<String> securityOpt)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to PodSecurityConfig
    • fromJson

      public static PodSecurityConfig fromJson(String jsonString) throws IOException
      Create an instance of PodSecurityConfig given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of PodSecurityConfig
      Throws:
      IOException - if the JSON string is invalid with respect to PodSecurityConfig
    • toJson

      public String toJson()
      Convert an instance of PodSecurityConfig to an JSON string
      Returns:
      JSON string