Structs
The following structs are available globally.
-
Grouped history states.
See moreDeclaration
Swift
public struct GroupedHistoryStates
-
Represents stand alone thing.
See moreDeclaration
Swift
public struct StandaloneThing: TargetThing, Equatable
-
Represents ErrorResponse from IoT Cloud
See moreDeclaration
Swift
public struct ErrorResponse
-
Form of a command.
This class contains data in order to create
Command
withThingIFAPI.postNewCommand(_:completionHandler:)
.Mandatory data are followings:
- Array of actions
Optional data are followings:
- Title of a command
- Description of a command
- Meta data of a command
Declaration
Swift
public struct CommandForm
-
Gateway inforamtion.
See moreDeclaration
Swift
public struct GatewayInformation
-
Represents end node.
See moreDeclaration
Swift
public struct EndNode: TargetThing, Equatable
-
Struct represents Equals clause for query methods.
See moreDeclaration
Swift
public struct EqualsClauseInQuery: QueryClause, BaseEquals
-
Struct represents Not Equals clause for query methods.
See moreDeclaration
Swift
public struct NotEqualsClauseInQuery: QueryClause, BaseNotEquals
-
Struct represents Range clause for query methods.
See moreDeclaration
Swift
public struct RangeClauseInQuery: QueryClause, BaseRange
-
Struct represents And clause for query methods.
See moreDeclaration
Swift
public struct AndClauseInQuery: QueryClause, BaseAnd
-
Struct represents Or clause for query methods.
See moreDeclaration
Swift
public struct OrClauseInQuery: QueryClause, BaseOr
-
Struct represents All clause for query methods.
If you want to get all history state, you can use this clause.
See moreDeclaration
Swift
public struct AllClause: QueryClause
-
Undocumented
See more
-
Optional parameters of
See moreThingIFAPI.onboardWith(thingID:thingPassword:options:completionHandler:)
.Declaration
Swift
public struct OnboardWithThingIDOptions
-
Query to retrieve grouped states of history.
See moreDeclaration
Swift
public struct GroupedHistoryStatesQuery
-
History of state.
See moreDeclaration
Swift
public struct HistoryState
-
Action with an alias.
See moreDeclaration
Swift
public struct AliasAction
-
Form of a command of a trigger.
This class contains data in order to create or modify
Command
inTrigger
with followings methods:ThingIFAPI.postNewTrigger(_:predicate:options:completionHandler:)
ThingIFAPI.patchTrigger(_:triggeredCommandForm:predicate:options:completionHandler:)
Mandatory data are followings:
- Array of actions
Optional data are followings:
- Target thing id
- Title of a triggered command
- Description of a triggered command
- Meta data of a triggered command
Declaration
Swift
public struct TriggeredCommandForm
-
Represents gateway.
See moreDeclaration
Swift
public struct Gateway: TargetThing, Equatable
-
Result of action for an alias.
See moreDeclaration
Swift
public struct AliasActionResult
-
Undocumented
See more
-
Query to retrieve history of states.
See moreDeclaration
Swift
public struct HistoryStatesQuery
-
Options of trigger.
This class contains optional data in order to create and modify
Trigger
with following methods:ThingIFAPI.postNewTrigger(_:predicate:options:completionHandler:)
ThingIFAPI.patchTrigger(_:triggeredCommandForm:predicate:options:completionHandler:)
Declaration
Swift
public struct TriggerOptions
-
Result of an action.
See moreDeclaration
Swift
public struct ActionResult
-
Represents entity type and its ID.
See moreDeclaration
Swift
public struct TypedID: Equatable
-
Optional parameters of
See moreThingIFAPI.onboardWith(vendorThingID:thingPassword:options:completionHandler:)
.Declaration
Swift
public struct OnboardWithVendorThingIDOptions
-
Aggregated result.
See moreDeclaration
Swift
public struct AggregatedResult<AggregatedValueType>
-
Aggregation.
See moreDeclaration
Swift
public struct Aggregation
-
Struct represents Equals clause for trigger methods.
See moreDeclaration
Swift
public struct EqualsClauseInTrigger: TriggerClause, BaseEquals
-
Struct represents Not Equals clause for trigger methods.
See moreDeclaration
Swift
public struct NotEqualsClauseInTrigger: TriggerClause, BaseNotEquals
-
Struct represents Range clause for trigger methods.
See moreDeclaration
Swift
public struct RangeClauseInTrigger: TriggerClause, BaseRange
-
Struct represents And clause for trigger methods.
See moreDeclaration
Swift
public struct AndClauseInTrigger: TriggerClause, BaseAnd
-
Struct represents Or clause for trigger methods.
See moreDeclaration
Swift
public struct OrClauseInTrigger: TriggerClause, BaseOr