Class: DryCrudJsonapiSwagger::Param

Inherits:
Struct
  • Object
show all
Defined in:
lib/dry_crud_jsonapi_swagger/param.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



2
3
4
# File 'lib/dry_crud_jsonapi_swagger/param.rb', line 2

def description
  @description
end

#enumObject

Returns the value of attribute enum

Returns:

  • (Object)

    the current value of enum



2
3
4
# File 'lib/dry_crud_jsonapi_swagger/param.rb', line 2

def enum
  @enum
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/dry_crud_jsonapi_swagger/param.rb', line 2

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



2
3
4
# File 'lib/dry_crud_jsonapi_swagger/param.rb', line 2

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/dry_crud_jsonapi_swagger/param.rb', line 2

def type
  @type
end