Synonym

public struct Synonym : Codable, Equatable

Synonym.

  • The text of the synonym. This string must conform to the following restrictions:

    • It cannot contain carriage return, newline, or tab characters.
    • It cannot consist of only whitespace characters.

    Declaration

    Swift

    public var synonym: String
  • The timestamp for creation of the object.

    Declaration

    Swift

    public var created: Date?
  • The timestamp for the most recent update to the object.

    Declaration

    Swift

    public var updated: Date?
  • Initialize a Synonym with member variables.

    Declaration

    Swift

    public init(
        synonym: String
    )

    Parameters

    synonym

    The text of the synonym. This string must conform to the following restrictions:

    • It cannot contain carriage return, newline, or tab characters.
    • It cannot consist of only whitespace characters.

    Return Value

    An initialized Synonym.