Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#callback_endpointString

Returns Optional CallbackEndpoint.

Returns:

  • (String)

    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

#contentString

Returns Video content url to review.

Returns:

  • (String)

    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_idString

Returns Content Identifier.

Returns:

  • (String)

    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

#metadataArray<CreateVideoReviewsBodyItemMetadataItem>

metadata details.

Returns:



21
22
23
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/create_video_reviews_body_item.rb', line 21

def 
  
end

#statusEnum

Possible values include: ‘Complete’, ‘Unpublished’, ‘Pending’

Returns:

  • (Enum)

    Status of the video(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

#timescaleInteger

Returns Timescale of the video.

Returns:

  • (Integer)

    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

#typeEnum

Returns Type of the content. Possible values include: ‘Video’.

Returns:

  • (Enum)

    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_framesArray<CreateVideoReviewsBodyItemVideoFramesItem>

metadata details.

Returns:



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

.mapperObject

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