CLASS

ClientOperationActionModel

Contents

public class ClientOperationActionModel: RepresentationActionModel

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.

encode(to:)

public func encode(to encoder: Encoder) throws

Parameters

Name Description
encoder The encoder to write data to.

==(::)

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

Parameters

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