Attribute

public struct Attribute : Decodable

Undocumented

  • type is a representation of a type specification that the attribute’s value must conform to.

    Declaration

    Swift

    public let type: Type
  • description is an English-language description of the purpose and usage of the attribute.

    Declaration

    Swift

    public let description: String?
  • optional, if set to true, specifies that an omitted or null value is permitted.

    Declaration

    Swift

    public let optional: Bool
  • computed, if set to true, indicates that the value comes from the provider rather than the configuration.

    Declaration

    Swift

    public let computed: Bool
  • required, if set to true, specifies that an omitted or null value is not permitted.

    Declaration

    Swift

    public let required: Bool
  • sensitive, if set to true, indicates that the attribute may contain sensitive information.

    Declaration

    Swift

    public let sensitive: Bool
  • Declaration

    Swift

    public init(from decoder: Decoder) throws