ConfigWiseSDK Documentation Beta

Class Component​Entity

public class ComponentEntity: CatalogAwareEntity, PFSubclassing
ComponentEntity ComponentEntity PFSubclassing PFSubclassing ComponentEntity->PFSubclassing CatalogAwareEntity CatalogAwareEntity ComponentEntity->CatalogAwareEntity

Superclass

CatalogAwareEntity

Conforms To

PFSubclassing

Properties

parent

var parent: ComponentEntity?

name

var name: String

app​Name

var appName: String

generic​Name

var genericName: String

product​Number

var productNumber: String

price

var price: Double

desc

var desc: String

is​Floating

var isFloating: Bool

is​Non​Floating

var isNonFloating: Bool

thumbnail​File​Url

var thumbnailFileUrl: URL?

generic​Model​File​Url

var genericModelFileUrl: URL?

is​Generic​Model​File​Exists

var isGenericModelFileExists: Bool

snapping​Areas

var snappingAreas: [SnappingAreaEntity]

nodes​ToTags

var nodesToTags: [NodeToTagEntity]

tags​ToMaterials

var tagsToMaterials: [TagToMaterialsEntity]

combinations

var combinations: [CombinationEntity]

variances​Relation

var variancesRelation: PFRelation<ComponentEntity>?

product​Link​Url

var productLinkUrl: URL?

file​Sizes

var fileSizes: [FileSizeEntity]

total​Size

var totalSize: Int

is​Visible

var isVisible: Bool

images

var images: ImagesEntity

price​Prefix

var pricePrefix: String?

Methods

is​Thumbnail​File​Exist()

public func isThumbnailFileExist() -> Bool

get​Thumbnail​File​Data(block:​)

public func getThumbnailFileData(block: @escaping (Data?, Error?) -> Void)

is​Snapping​Areas​Exist()

public func isSnappingAreasExist() -> Bool

is​Nodes​ToTags​Exist()

public func isNodesToTagsExist() -> Bool

get​Node​Names​OrNode​Ids​ByTag(_:​)

public func getNodeNamesOrNodeIdsByTag(_ tag: String) -> [NodeNameOrNodeId]

get​Material​Ids​ByTag(_:​)

public func getMaterialIdsByTag(_ tag: String) -> [String]

is​Tags​ToMaterials​Exist()

public func isTagsToMaterialsExist() -> Bool

get​Tags​ToMaterials​ByMaterial​Id(_:​)

public func getTagsToMaterialsByMaterialId(_ materialId: String) -> [TagToMaterialsEntity]

is​Material​Assigned(material​Id:​)

public func isMaterialAssigned(materialId: String) -> Bool

is​Combinations​Exist()

public func isCombinationsExist() -> Bool

parse​Class​Name()

public static func parseClassName() -> String