Class: OpenActive::Models::OpenBookingError

Inherits:
Schema::Thing show all
Defined in:
lib/openactive/models/open_booking_error.rb

Instance Attribute Summary collapse

Attributes inherited from Schema::Thing

#additional_type, #alternate_name, #disambiguating_description, #identifier, #image, #main_entity_of_page, #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

#descriptionString

Returns:

  • (String)


16
17
18
# File 'lib/openactive/models/open_booking_error.rb', line 16

def description
  @description
end

#instanceURI

Returns:

  • (URI)


21
22
23
# File 'lib/openactive/models/open_booking_error.rb', line 21

def instance
  @instance
end

#invalid_paramsArray<String>

Returns:

  • (Array<String>)


26
27
28
# File 'lib/openactive/models/open_booking_error.rb', line 26

def invalid_params
  @invalid_params
end

#methodString

Returns:

  • (String)


31
32
33
# File 'lib/openactive/models/open_booking_error.rb', line 31

def method
  @method
end

#nameString

Returns:

  • (String)


11
12
13
# File 'lib/openactive/models/open_booking_error.rb', line 11

def name
  @name
end

#request_idString

Returns:

  • (String)


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

def request_id
  @request_id
end

#status_codeint?

Returns:

  • (int, nil)


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

def status_code
  @status_code
end

#typeString

Returns:

  • (String)


6
7
8
# File 'lib/openactive/models/open_booking_error.rb', line 6

def type
  "OpenBookingError"
end