(self, def_dict)
return native_type
Gets an element's data type from its JSON definition.

    Overrides the default.

    Args:
      def_dict: (dict) The defintion dictionary for this type
    Returns:
      A name suitable for use as a C# data type
Gets an element's data type from its JSON definition.
Gets an element s data type from its JSON definition .
def GetCodeTypeFromDictionary(self, def_dict):
    """Gets an element's data type from its JSON definition.

    Overrides the default.

    Args:
      def_dict: (dict) The defintion dictionary for this type
    Returns:
      A name suitable for use as a C# data type
    """
    json_type = def_dict.get('type', 'string')
    json_format = def_dict.get('format')
    native_type = self._SCHEMA_TYPE_TO_CSHARP_TYPE.get((json_type, json_format))
    if not native_type:
      native_type = 'object'
    return native_type
def GetCodeTypeFromDictionary ( self , def_dict ) : json_type = def_dict . get ( 'type' , 'string' ) json_format = def_dict . get ( 'format' ) native_type = self . _SCHEMA_TYPE_TO_CSHARP_TYPE . get ( ( json_type , json_format ) ) if not native_type : native_type = 'object' return native_type