class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::JSONRegexFeature
Attributes
activated[RW]
@return [Boolean] Indicates if the Pattern
feature is enabled.
name[RW]
@return [String] Name of the feature.
pattern[RW]
@return [String] The Regular Expression to match.
Public Class Methods
mapper()
click to toggle source
Mapper for JSONRegexFeature
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JSONRegexFeature', type: { name: 'Composite', class_name: 'JSONRegexFeature', model_properties: { pattern: { client_side_validation: true, required: false, serialized_name: 'pattern', type: { name: 'String' } }, activated: { client_side_validation: true, required: false, serialized_name: 'activated', type: { name: 'Boolean' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } } } } } end