Class: Aws::SocialMessaging::Types::TemplateSummary

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb

Overview

Provides a summary of a WhatsApp message template's key attributes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#correct_category ⇒ String

The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#meta_template_id ⇒ String

The numeric ID assigned to the template by Meta.

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_category ⇒ String

The category of the template (for example, UTILITY or MARKETING).

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_language ⇒ String

The language code of the template (for example, en_US).

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_name ⇒ String

The name of the template.

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_quality_score ⇒ String

The quality score assigned to the template by Meta.

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_source ⇒ String

The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end

#template_status ⇒ String

The current status of the template (for example, APPROVED, PENDING, or REJECTED).

Returns:

  • (String)


2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2123

class TemplateSummary < Struct.new(
  :template_name,
  :meta_template_id,
  :template_status,
  :template_quality_score,
  :template_language,
  :template_category,
  :template_source,
  :correct_category)
  SENSITIVE = []
  include Aws::Structure
end