class Amazonite::Codegen::Service::Enum

Overview

TODO rename to Enumeration

Defined in:

codegen/service/enum.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Amazonite::Codegen::Service::Shape

documentation : String? documentation, name : String name, snake_case_name snake_case_name, type : String type

Constructor methods inherited from class Amazonite::Codegen::Service::Shape

new(name : String, json : JSON::Any) new

Constructor Detail

def self.new(name : String, json : JSON::Any) #

[View source]

Class Method Detail

def self.enum?(json : JSON::Any) #

[View source]

Instance Method Detail

def aws_mappings : Array(Tuple(String, String, String)) | Nil #

TODO cache

TODO don't calculate spacing here, it should be in the binding


[View source]
def aws_mappings? : Bool #

[View source]
def crystal_mappings : Array(Tuple(String, String, String)) #

TODO cache

TODO don't calculate spacing here, it should be in the binding


[View source]
def enums : Array(String) #

[View source]
def values #

[View source]