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!, #raise_error!, raise_on_api_error, #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



2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
# File 'lib/paypal-sdk/rest/data_types.rb', line 2183

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