STRUCT

ContinueSameStep

Contents

public struct ContinueSameStep: HaapiRepresentation, Equatable

A step that indicates that the client should continue on the same step because no progress could be made. It can only occur when the client had, in the previous step, alternative "continue actions" and implies that the user should try one of the previous alternative actions to proceed.

Properties

metadata

public let metadata: Metadata?

messages

public let messages: [UserMessage]

properties

public let properties: Properties?

type

public let type: RepresentationType = .continueSameStep

actions

public let actions: [Action] = []

Possible actions a user or the client may choose to take to continue the flow.

links

public let links: [Link] = []

Methods

init(from:)

public init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.

encode(to:)

public func encode(to encoder: Encoder) throws

Parameters

Name Description
encoder The encoder to write data to.

==(::)

public static func == (lhs: ContinueSameStep, rhs: ContinueSameStep) -> Bool

Parameters

Name Description
lhs A value to compare.
rhs Another value to compare.