ApptiveGridHalVersion enum

Enumeration of possible HalVersion to be used to enable specific features/formats of responses

Inheritance

Constructors

ApptiveGridHalVersion({required String headerValue})
Constructor for Enum with halVersion
const

Values

v1 → const ApptiveGridHalVersion

The first version of hal

const ApptiveGridHalVersion(headerValue: 'application/vnd.apptivegrid.hal')
v2 → const ApptiveGridHalVersion

Second Version adding functionality to calls/models that already have specific behaviour for v1

const ApptiveGridHalVersion(headerValue: 'application/vnd.apptivegrid.hal;version=2')

Properties

hashCode int
The hash code for this object.
no setterinherited
A MapEntry to be used in a Header Map. Sets headerValue as the Accept value
no setter
headerValue String
Value that should be send as an Accept Header in a request in order for the halVersion to take effect
final
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ApptiveGridHalVersion>
A constant List of the values in this enum, in order of their declaration.