Class: OpenActive::Models::Schema::PropertyValueSpecification

Inherits:
Intangible show all
Defined in:
lib/openactive/models/schema/property_value_specification.rb

Direct Known Subclasses

PropertyValueSpecification

Instance Attribute Summary collapse

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#default_valueOpenActive::Models::Schema::Thing, String



24
25
26
# File 'lib/openactive/models/schema/property_value_specification.rb', line 24

def default_value
  @default_value
end

#max_valueBigDecimal?

Returns:

  • (BigDecimal, nil)


41
42
43
# File 'lib/openactive/models/schema/property_value_specification.rb', line 41

def max_value
  @max_value
end

#min_valueBigDecimal?

Returns:

  • (BigDecimal, nil)


53
54
55
# File 'lib/openactive/models/schema/property_value_specification.rb', line 53

def min_value
  @min_value
end

#multiple_valuesBoolean?

Returns:

  • (Boolean, nil)


30
31
32
# File 'lib/openactive/models/schema/property_value_specification.rb', line 30

def multiple_values
  @multiple_values
end

#readonly_valueBoolean?

Returns:

  • (Boolean, nil)


12
13
14
# File 'lib/openactive/models/schema/property_value_specification.rb', line 12

def readonly_value
  @readonly_value
end

#step_valueBigDecimal?

Returns:

  • (BigDecimal, nil)


65
66
67
# File 'lib/openactive/models/schema/property_value_specification.rb', line 65

def step_value
  @step_value
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/property_value_specification.rb', line 7

def type
  "schema:PropertyValueSpecification"
end

#value_max_lengthBigDecimal?

Returns:

  • (BigDecimal, nil)


59
60
61
# File 'lib/openactive/models/schema/property_value_specification.rb', line 59

def value_max_length
  @value_max_length
end

#value_min_lengthBigDecimal?

Returns:

  • (BigDecimal, nil)


47
48
49
# File 'lib/openactive/models/schema/property_value_specification.rb', line 47

def value_min_length
  @value_min_length
end

#value_nameString

Returns:

  • (String)


36
37
38
# File 'lib/openactive/models/schema/property_value_specification.rb', line 36

def value_name
  @value_name
end

#value_patternString

Returns:

  • (String)


71
72
73
# File 'lib/openactive/models/schema/property_value_specification.rb', line 71

def value_pattern
  @value_pattern
end

#value_requiredBoolean?

Returns:

  • (Boolean, nil)


18
19
20
# File 'lib/openactive/models/schema/property_value_specification.rb', line 18

def value_required
  @value_required
end