CLASS

ClientOperationActionModel

Contents

public class ClientOperationActionModel: Decodable, Equatable

Base model for ClientOperationAction, containing the details to perform an external operation outside of the client application.

Properties

name

public let name: ClientOperationName

The name of the client operation.

continueActions

public let continueActions: [Action]

The actions that allow the client to proceed with the flow after the operation is completed.

errorActions

public let errorActions: [Action]

The actions which can be used if the operation ends with an error.

Methods

init(from:)

public required init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.

==(::)

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

Parameters

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