Class: JsonSchema::Schema::Link

Inherits:
Object
  • Object
show all
Defined in:
lib/json_schema/schema.rb

Overview

Link subobject for a hyperschema.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

schema attributes



287
288
289
# File 'lib/json_schema/schema.rb', line 287

def description
  @description
end

#enc_typeObject

Returns the value of attribute enc_type.



288
289
290
# File 'lib/json_schema/schema.rb', line 288

def enc_type
  @enc_type
end

#hrefObject

Returns the value of attribute href.



289
290
291
# File 'lib/json_schema/schema.rb', line 289

def href
  @href
end

#media_typeObject

Returns the value of attribute media_type.



292
293
294
# File 'lib/json_schema/schema.rb', line 292

def media_type
  @media_type
end

#methodObject

Returns the value of attribute method.



290
291
292
# File 'lib/json_schema/schema.rb', line 290

def method
  @method
end

#parentObject

Returns the value of attribute parent.



284
285
286
# File 'lib/json_schema/schema.rb', line 284

def parent
  @parent
end

#relObject

Returns the value of attribute rel.



291
292
293
# File 'lib/json_schema/schema.rb', line 291

def rel
  @rel
end

#schemaObject

Returns the value of attribute schema.



293
294
295
# File 'lib/json_schema/schema.rb', line 293

def schema
  @schema
end

#target_schemaObject

Returns the value of attribute target_schema.



294
295
296
# File 'lib/json_schema/schema.rb', line 294

def target_schema
  @target_schema
end

#titleObject

Returns the value of attribute title.



295
296
297
# File 'lib/json_schema/schema.rb', line 295

def title
  @title
end