StoragePolicy

public class StoragePolicy : BoxModel

Storage policy

Properties

  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }
  • Box item type

    Declaration

    Swift

    public var type: String
  • id

    Id of the storage policy

    Declaration

    Swift

    public let id: String
  • Name for a storage zone

    Declaration

    Swift

    public let name: String?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.