ToneInput

public struct ToneInput : Codable, Equatable

Input for the general-purpose endpoint.

  • The input content that the service is to analyze.

    Declaration

    Swift

    public var text: String
  • Initialize a ToneInput with member variables.

    Declaration

    Swift

    public init(
        text: String
    )

    Parameters

    text

    The input content that the service is to analyze.

    Return Value

    An initialized ToneInput.