STRUCT

# RoomleConfiguration

Contents

  • Properties
    • id
    • created
    • lastAccess
    • parts
    • configuration
    • configurationHash
    • rootComponentID
    • perspectiveImage
    • topImage
    • catalog
    • height
    • width
    • depth
  • Methods
    • init(from:)
public struct RoomleConfiguration: Codable

Struct describing a RoomleConfiguration object.

# Properties

# id

public let id: String

The ID of the configuration.

# created

public var created: Date?

Date when the configuration was created.

# lastAccess

public var lastAccess: Date?

Date when the configuration was last accessed.

# parts

public var parts: String?

The individual parts of the configuration.

# configuration

public let configuration: String

The actual configuration string.

# configurationHash

public var configurationHash: String?

The hash of the configuration string.

# rootComponentID

public var rootComponentID: String?

Root component ID of the configuration.

# perspectiveImage

public var perspectiveImage: String?

Image URL string of a perspective view of the configured product.

# topImage

public var topImage: String?

Image URL string of a top view of the configured product.

# catalog

public var catalog: String?

Identifier of the Roomle Catalog this configuration is part of.

# height

public var height: Int?

The height of the configured product in mm.

# width

public var width: Int?

The width of the configured product in mm.

# depth

public var depth: Int?

The depth of the configured product in mm.

# Methods

# init(from:)

public init(from decoder: Decoder) throws

# Parameters

Name Description
decoder The decoder to read data from.