STRUCT

ClientOperationAction

Contents

public struct ClientOperationAction: Action

Client operation actions instruct a client to perform an out-of-band action, such as launching an application or use some other device.

Properties

kind

public let kind: ActionKind

title

public let title: Message?

model

public let model: any ClientOperationActionModelRepresentation

A ClientOperationActionModelRepresentation that represents the available actions for client operation.

properties

public let properties: Properties?

The action properties.

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: ClientOperationAction, rhs: ClientOperationAction) -> Bool

Returns a Bool value that indicates whether the receiver and a given object are equal.