# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CognitiveServices::ContentModerator::V1_0
  module Models
    #
    # Model object.
    #
    #
    class CreateVideoReviewsBodyItemVideoFramesItem

      include MsRestAzure

      # @return [String] Id of the frame.
      attr_accessor :id

      # @return [Integer] Timestamp of the frame.
      attr_accessor :timestamp

      # @return [String] Frame image Url.
      attr_accessor :frame_image

      # @return
      # [Array<CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem>]
      attr_accessor :reviewer_result_tags

      # @return [Array<CreateVideoReviewsBodyItemVideoFramesItemMetadataItem>]
      # Optional metadata details.
      attr_accessor :metadata


      #
      # Mapper for CreateVideoReviewsBodyItemVideoFramesItem class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreateVideoReviewsBodyItem_VideoFramesItem',
          type: {
            name: 'Composite',
            class_name: 'CreateVideoReviewsBodyItemVideoFramesItem',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Id',
                type: {
                  name: 'String'
                }
              },
              timestamp: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Timestamp',
                type: {
                  name: 'Number'
                }
              },
              frame_image: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FrameImage',
                type: {
                  name: 'String'
                }
              },
              reviewer_result_tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ReviewerResultTags',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItemElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem'
                      }
                  }
                }
              },
              metadata: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Metadata',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'CreateVideoReviewsBodyItemVideoFramesItemMetadataItemElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'CreateVideoReviewsBodyItemVideoFramesItemMetadataItem'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
