Disruptive Documentation

Enumeration Connection​Status​Event.​Available

public enum Available: Codable, Equatable  

Indicates a connectivity that is available for a Cloud Connector.

%9 ConnectionStatusEvent.Available ConnectionStatusEvent.Available Codable Codable ConnectionStatusEvent.Available->Codable Equatable Equatable ConnectionStatusEvent.Available->Equatable

Member Of

ConnectionStatusEvent

Indicates the current connectivity of a Cloud Connector. This is sent when there is a change in the connectivity of a Cloud Connector.

Conforms To

Codable
Equatable

Initializers

init(from:​)

public init(from decoder: Decoder) throws  

Enumeration Cases

ethernet

case ethernet

Indicates that ethernet connectivity is available for a Cloud Connector.

cellular

case cellular

Indicates that cellular connectivity is available for a Cloud Connector.

unknown

case unknown(value: String) 

Used for backward compatibility in case a new available connectivity type is added on the backend before being added to this client library.

Methods

display​Name()

public func displayName() -> String  

Return a String representation of the Available that is suited for presenting to a user on screen.

encode(to:​)

public func encode(to encoder: Encoder) throws