class Kubernetes::CRD::Spec::Version::Schema::OpenAPIV3Schema::Properties::Spec

Included Modules

Defined in:

crd.cr

Constructors

Instance Method Summary

Macros inherited from module Kubernetes::Serializable

add_field(type, getter_type, key = nil, **args, &block) add_field, field(type, key = nil, **args, &block) field, field?(type, key = nil, **args, &block) field?

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def default : YAML::Any | Nil #

def description : String | Nil #

def enum : Array(String) | Nil #

def items : Spec | Nil #

def nullable? : Bool #

def preserve_unknown_fields? : Bool #

def properties : Properties #

def required : Array(String) #

def to_crystal(name : String) #

[View source]
def type : String #