Class: PayPal::SDK::REST::DataTypes::Schema

Inherits:
Base show all
Defined in:
lib/paypal-sdk/rest/data_types.rb

Direct Known Subclasses

HyperSchema

Constant Summary

Constants inherited from Core::API::DataTypes::Base

Core::API::DataTypes::Base::ContentKey, Core::API::DataTypes::Base::HashOptions

Instance Attribute Summary

Attributes inherited from Base

#error, #header, #request_id

Class Method Summary collapse

Methods inherited from Base

#http_header, #merge!, #success?

Methods inherited from Core::API::DataTypes::Base

add_attribute, add_member, array_of, #convert_array, #convert_object, define_alias_methods, #hash_key, #initialize, #member_names, members, #members, #merge!, object_of, #set, #skip_value?, snakecase, #to_hash, #value_to_hash

Methods included from Core::Logging

#log_event, #logger, logger, logger=

Constructor Details

This class inherits a constructor from PayPal::SDK::Core::API::DataTypes::Base

Class Method Details

.load_membersObject


1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
# File 'lib/paypal-sdk/rest/data_types.rb', line 1451

def self.load_members
  object_of :type, Object
  object_of :properties, Schema
  object_of :patternProperties, Schema
  object_of :additionalProperties, Object
  object_of :items, Object
  object_of :additionalItems, Object
  object_of :required, Boolean
  object_of :dependencies, Object
  object_of :minimum, Number
  object_of :maximum, Number
  object_of :exclusiveMinimum, Boolean
  object_of :exclusiveMaximum, Boolean
  object_of :minItems, Integer
  object_of :maxItems, Integer
  object_of :uniqueItems, Boolean
  object_of :pattern, String
  object_of :minLength, Integer
  object_of :maxLength, Integer
  array_of  :enum, Array
  object_of :title, String
  object_of :description, String
  object_of :format, String
  object_of :divisibleBy, Number
  object_of :disallow, Object
  object_of :extends, Object
  object_of :id, String
  object_of :$ref, String
  object_of :$schema, String
end