1/* 2 * Copyright (C) 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package com.google.android.leanbackjank.model; 18 19import android.net.Uri; 20 21/** 22 * VideoInfo class represents video entity with title, description, image thumbs and video url. 23 */ 24public class VideoInfo { 25 private String mId; 26 private String mTitle; 27 private String mDescription; 28 private String mStudio; 29 private String mCategory; 30 private Uri mImageUri; 31 32 public VideoInfo() { 33 } 34 35 public String getId() { 36 return mId; 37 } 38 39 public void setId(String id) { 40 mId = id; 41 } 42 43 public String getTitle() { 44 return mTitle; 45 } 46 47 public void setTitle(String title) { 48 mTitle = title; 49 } 50 51 public String getDescription() { 52 return mDescription; 53 } 54 55 public void setDescription(String description) { 56 mDescription = description; 57 } 58 59 public String getStudio() { 60 return mStudio; 61 } 62 63 public void setStudio(String studio) { 64 mStudio = studio; 65 } 66 67 public String getCategory() { 68 return mCategory; 69 } 70 71 public void setCategory(String category) { 72 mCategory = category; 73 } 74 75 public Uri getImageUri() { 76 return mImageUri; 77 } 78 79 public void setImageUri(Uri imageUri) { 80 mImageUri = imageUri; 81 } 82} 83