Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb
Overview
Schema items of the body.
Instance Attribute Summary collapse
-
#callback_endpoint ⇒ String
Optional CallbackEndpoint.
-
#content ⇒ String
Video content url to review.
-
#content_id ⇒ String
Content Identifier.
-
#metadata ⇒ Array<CreateVideoReviewsBodyItemMetadataItem>
metadata details.
-
#status ⇒ Enum
Possible values include: ‘Complete’, ‘Unpublished’, ‘Pending’.
-
#timescale ⇒ Integer
Timescale of the video.
-
#type ⇒ Enum
Type of the content.
-
#video_frames ⇒ Array<CreateVideoReviewsBodyItemVideoFramesItem>
metadata details.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CreateVideoReviewsBodyItem class as Ruby Hash.
Instance Attribute Details
#callback_endpoint ⇒ String
Returns Optional CallbackEndpoint.
40 41 42 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 40 def callback_endpoint @callback_endpoint end |
#content ⇒ String
Returns Video content url to review.
27 28 29 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 27 def content @content end |
#content_id ⇒ String
Returns Content Identifier.
30 31 32 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 30 def content_id @content_id end |
#metadata ⇒ Array<CreateVideoReviewsBodyItemMetadataItem>
metadata details.
21 22 23 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 21 def end |
#status ⇒ Enum
Possible values include: ‘Complete’, ‘Unpublished’, ‘Pending’
34 35 36 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 34 def status @status end |
#timescale ⇒ Integer
Returns Timescale of the video.
37 38 39 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 37 def timescale @timescale end |
#type ⇒ Enum
Returns Type of the content. Possible values include: ‘Video’.
24 25 26 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 24 def type @type end |
#video_frames ⇒ Array<CreateVideoReviewsBodyItemVideoFramesItem>
metadata details.
17 18 19 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 17 def video_frames @video_frames end |
Class Method Details
.mapper ⇒ Object
Mapper for CreateVideoReviewsBodyItem class as Ruby Hash. This will be used for serialization/deserialization.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CreateVideoReviewsBodyItem', type: { name: 'Composite', class_name: 'CreateVideoReviewsBodyItem', model_properties: { video_frames: { client_side_validation: true, required: false, serialized_name: 'VideoFrames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'CreateVideoReviewsBodyItemVideoFramesItemElementType', type: { name: 'Composite', class_name: 'CreateVideoReviewsBodyItemVideoFramesItem' } } } }, metadata: { client_side_validation: true, required: false, serialized_name: 'Metadata', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'CreateVideoReviewsBodyItemMetadataItemElementType', type: { name: 'Composite', class_name: 'CreateVideoReviewsBodyItemMetadataItem' } } } }, type: { client_side_validation: true, required: false, serialized_name: 'Type', type: { name: 'String' } }, content: { client_side_validation: true, required: false, serialized_name: 'Content', type: { name: 'String' } }, content_id: { client_side_validation: true, required: false, serialized_name: 'ContentId', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'String' } }, timescale: { client_side_validation: true, required: false, serialized_name: 'Timescale', type: { name: 'Number' } }, callback_endpoint: { client_side_validation: true, required: false, serialized_name: 'CallbackEndpoint', type: { name: 'String' } } } } } end |