# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdklive.endpoint import endpoint_data

class AddCasterVideoResourceRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'live', '2016-11-01', 'AddCasterVideoResource','live')
		self.set_method('POST')

		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

	def get_ImageId(self): # String
		return self.get_query_params().get('ImageId')

	def set_ImageId(self, ImageId):  # String
		self.add_query_param('ImageId', ImageId)
	def get_EndOffset(self): # Integer
		return self.get_query_params().get('EndOffset')

	def METHOD_NAME(self, EndOffset):  # Integer
		self.add_query_param('EndOffset', EndOffset)
	def get_MaterialId(self): # String
		return self.get_query_params().get('MaterialId')

	def set_MaterialId(self, MaterialId):  # String
		self.add_query_param('MaterialId', MaterialId)
	def get_VodUrl(self): # String
		return self.get_query_params().get('VodUrl')

	def set_VodUrl(self, VodUrl):  # String
		self.add_query_param('VodUrl', VodUrl)
	def get_StreamId(self): # String
		return self.get_query_params().get('StreamId')

	def set_StreamId(self, StreamId):  # String
		self.add_query_param('StreamId', StreamId)
	def get_CasterId(self): # String
		return self.get_query_params().get('CasterId')

	def set_CasterId(self, CasterId):  # String
		self.add_query_param('CasterId', CasterId)
	def get_OwnerId(self): # Long
		return self.get_query_params().get('OwnerId')

	def set_OwnerId(self, OwnerId):  # Long
		self.add_query_param('OwnerId', OwnerId)
	def get_BeginOffset(self): # Integer
		return self.get_query_params().get('BeginOffset')

	def set_BeginOffset(self, BeginOffset):  # Integer
		self.add_query_param('BeginOffset', BeginOffset)
	def get_FixedDelayDuration(self): # Integer
		return self.get_query_params().get('FixedDelayDuration')

	def set_FixedDelayDuration(self, FixedDelayDuration):  # Integer
		self.add_query_param('FixedDelayDuration', FixedDelayDuration)
	def get_LiveStreamUrl(self): # String
		return self.get_query_params().get('LiveStreamUrl')

	def set_LiveStreamUrl(self, LiveStreamUrl):  # String
		self.add_query_param('LiveStreamUrl', LiveStreamUrl)
	def get_LocationId(self): # String
		return self.get_query_params().get('LocationId')

	def set_LocationId(self, LocationId):  # String
		self.add_query_param('LocationId', LocationId)
	def get_ImageUrl(self): # String
		return self.get_query_params().get('ImageUrl')

	def set_ImageUrl(self, ImageUrl):  # String
		self.add_query_param('ImageUrl', ImageUrl)
	def get_PtsCallbackInterval(self): # Integer
		return self.get_query_params().get('PtsCallbackInterval')

	def set_PtsCallbackInterval(self, PtsCallbackInterval):  # Integer
		self.add_query_param('PtsCallbackInterval', PtsCallbackInterval)
	def get_ResourceName(self): # String
		return self.get_query_params().get('ResourceName')

	def set_ResourceName(self, ResourceName):  # String
		self.add_query_param('ResourceName', ResourceName)
	def get_RepeatNum(self): # Integer
		return self.get_query_params().get('RepeatNum')

	def set_RepeatNum(self, RepeatNum):  # Integer
		self.add_query_param('RepeatNum', RepeatNum)