STRUCT
GenericClientOperationStep
Contents
- Properties
actionModel
metadata
type
actions
links
messages
properties
- Methods
init(from:)
encode(to:)
==(_:_:)
public struct GenericClientOperationStep: ClientOperationStep, Equatable
A step requiring a client operation not modelled by the SDK.
The instructions are limited unlike the other client operations. Therefore, actionModel
and properties
should be checked.
Properties
actionModel
public let actionModel: GenericClientOperationActionModel
A generic client operation action model represents a client operation that instructs a client that it should use the non-interactive device activation flow.
metadata
public let metadata: Metadata?
type
public let type: RepresentationType
actions
public let actions: [Action]
An array of Action
that contains possible actions a user or the client may choose to take to continue the flow.
links
public let links: [Link]
messages
public let messages: [UserMessage]
properties
public let properties: 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: GenericClientOperationStep, rhs: GenericClientOperationStep) -> Bool
Parameters
Name | Description |
---|---|
lhs | A value to compare. |
rhs | Another value to compare. |