RestXmlTrait class
A RESTful protocol that sends XML in structured payloads.
- Inheritance
-
- Object
- AWSProtocolTrait
- RestXmlTrait
- Annotations
-
- @JsonSerializable()
Constructors
-
RestXmlTrait.new({bool noErrorWrapping = false, List<
AlpnProtocol> http = AWSProtocolTrait.defaultHttpProtocols, List<AlpnProtocol> ? eventStreamHttp}) -
const
- RestXmlTrait.fromJson(Object? json)
-
factory
Properties
-
eventStreamHttp
→ List<
AlpnProtocol> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
http
→ List<
AlpnProtocol> -
no setterinherited
- isSynthetic → bool
-
Checks if this trait is persisted with the shape, or if it is a synthetic,
or transient trait, only meant to temporarily aid in some kind of
in-memory model transformation.
no setterinherited
- noErrorWrapping → bool
-
final
- noInlineDocumentSupport → bool
-
If set to
true
, indicates that this protocol does not supportdocument
type shapes. A service that uses such a protocol MUST NOT contain anydocument
shapes in their service closure.finalinherited -
props
→ List<
Object?> -
The type's equatable properties.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapeId → ShapeId
-
Returns the fully-qualified shape ID of the trait.
finalinherited
- timestampFormat → TimestampFormat
-
finalinherited
-
traits
→ List<
ShapeId> -
List of shape IDs that protocol implementations MUST understand in order
to successfully use the protocol. Each shape MUST exist and MUST be a
trait. Code generators SHOULD ensure that they support each listed trait.
no setteroverride
- value → AWSProtocolTrait
-
The value of the trait.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
this
as a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited