azure_cognitiveservices_contentmoderator 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator.rb +22 -27
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/content_moderator_client.rb +5 -18
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/image_moderation.rb +24 -32
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb +12 -20
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image_lists.rb +12 -20
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term.rb +8 -16
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb +12 -20
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/body.rb +10 -3
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/evaluate.rb +1 -1
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_list.rb +10 -3
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb +11 -4
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/term_list.rb +10 -3
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb +24 -32
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/text_moderation.rb +4 -12
- data/lib/profiles/latest/modules/contentmoderator_profile_module.rb +66 -86
- data/lib/version.rb +1 -1
- metadata +2 -7
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/azure_region_base_url.rb +0 -27
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/body_metadata.rb +0 -57
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_list_metadata.rb +0 -57
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index_advanced_info_item.rb +0 -58
- data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/term_list_metadata.rb +0 -57
data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_list_metadata.rb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::CognitiveServices::ContentModerator::V1_0
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Image List Metadata.
|
10
|
-
#
|
11
|
-
class ImageListMetadata
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Optional Key value pair to describe your list.
|
16
|
-
attr_accessor :key_one
|
17
|
-
|
18
|
-
# @return [String] Optional Key value pair to describe your list.
|
19
|
-
attr_accessor :key_two
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# Mapper for ImageListMetadata class as Ruby Hash.
|
24
|
-
# This will be used for serialization/deserialization.
|
25
|
-
#
|
26
|
-
def self.mapper()
|
27
|
-
{
|
28
|
-
client_side_validation: true,
|
29
|
-
required: false,
|
30
|
-
serialized_name: 'ImageList_Metadata',
|
31
|
-
type: {
|
32
|
-
name: 'Composite',
|
33
|
-
class_name: 'ImageListMetadata',
|
34
|
-
model_properties: {
|
35
|
-
key_one: {
|
36
|
-
client_side_validation: true,
|
37
|
-
required: false,
|
38
|
-
serialized_name: 'Key One',
|
39
|
-
type: {
|
40
|
-
name: 'String'
|
41
|
-
}
|
42
|
-
},
|
43
|
-
key_two: {
|
44
|
-
client_side_validation: true,
|
45
|
-
required: false,
|
46
|
-
serialized_name: 'Key Two',
|
47
|
-
type: {
|
48
|
-
name: 'String'
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::CognitiveServices::ContentModerator::V1_0
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Model object.
|
10
|
-
#
|
11
|
-
#
|
12
|
-
class RefreshIndexAdvancedInfoItem
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [String] Key parameter to describe advanced info.
|
17
|
-
attr_accessor :key_one
|
18
|
-
|
19
|
-
# @return [String] Key parameter to describe advanced info.
|
20
|
-
attr_accessor :key_two
|
21
|
-
|
22
|
-
|
23
|
-
#
|
24
|
-
# Mapper for RefreshIndexAdvancedInfoItem class as Ruby Hash.
|
25
|
-
# This will be used for serialization/deserialization.
|
26
|
-
#
|
27
|
-
def self.mapper()
|
28
|
-
{
|
29
|
-
client_side_validation: true,
|
30
|
-
required: false,
|
31
|
-
serialized_name: 'RefreshIndex_AdvancedInfoItem',
|
32
|
-
type: {
|
33
|
-
name: 'Composite',
|
34
|
-
class_name: 'RefreshIndexAdvancedInfoItem',
|
35
|
-
model_properties: {
|
36
|
-
key_one: {
|
37
|
-
client_side_validation: true,
|
38
|
-
required: false,
|
39
|
-
serialized_name: 'Key One',
|
40
|
-
type: {
|
41
|
-
name: 'String'
|
42
|
-
}
|
43
|
-
},
|
44
|
-
key_two: {
|
45
|
-
client_side_validation: true,
|
46
|
-
required: false,
|
47
|
-
serialized_name: 'Key Two',
|
48
|
-
type: {
|
49
|
-
name: 'String'
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
data/lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/term_list_metadata.rb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::CognitiveServices::ContentModerator::V1_0
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Term list metadata.
|
10
|
-
#
|
11
|
-
class TermListMetadata
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Optional Key value pair to describe your list.
|
16
|
-
attr_accessor :key_one
|
17
|
-
|
18
|
-
# @return [String] Optional Key value pair to describe your list.
|
19
|
-
attr_accessor :key_two
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# Mapper for TermListMetadata class as Ruby Hash.
|
24
|
-
# This will be used for serialization/deserialization.
|
25
|
-
#
|
26
|
-
def self.mapper()
|
27
|
-
{
|
28
|
-
client_side_validation: true,
|
29
|
-
required: false,
|
30
|
-
serialized_name: 'TermList_Metadata',
|
31
|
-
type: {
|
32
|
-
name: 'Composite',
|
33
|
-
class_name: 'TermListMetadata',
|
34
|
-
model_properties: {
|
35
|
-
key_one: {
|
36
|
-
client_side_validation: true,
|
37
|
-
required: false,
|
38
|
-
serialized_name: 'Key One',
|
39
|
-
type: {
|
40
|
-
name: 'String'
|
41
|
-
}
|
42
|
-
},
|
43
|
-
key_two: {
|
44
|
-
client_side_validation: true,
|
45
|
-
required: false,
|
46
|
-
serialized_name: 'Key Two',
|
47
|
-
type: {
|
48
|
-
name: 'String'
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|