text: # 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
  class CreateResourcePackageRequest(RpcRequest):
  
  	def __init__(self):
  		RpcRequest.__init__(self, 'BssOpenApi', '2017-12-14', 'CreateResourcePackage')
  
  	def get_Duration(self):
  		return self.get_query_params().get('Duration')
  
  	def set_Duration(self,Duration):
  		self.add_query_param('Duration',Duration)
  
  	def get_ProductCode(self):
  		return self.get_query_params().get('ProductCode')
  
  	def set_ProductCode(self,ProductCode):
  		self.add_query_param('ProductCode',ProductCode)
  
  	def get_Specification(self):
  		return self.get_query_params().get('Specification')
  
  	def set_Specification(self,Specification):
  		self.add_query_param('Specification',Specification)
  
  	def get_OwnerId(self):
  		return self.get_query_params().get('OwnerId')
  
  	def set_OwnerId(self,OwnerId):
  		self.add_query_param('OwnerId',OwnerId)
  
  	def get_PackageType(self):
  		return self.get_query_params().get('PackageType')
  
  	def set_PackageType(self,PackageType):
  		self.add_query_param('PackageType',PackageType)
  
  	def get_EffectiveDate(self):
  		return self.get_query_params().get('EffectiveDate')
  
  	def set_EffectiveDate(self,EffectiveDate):
  		self.add_query_param('EffectiveDate',EffectiveDate)
  
  	def get_PricingCycle(self):
  		return self.get_query_params().get('PricingCycle')
  
  	def set_PricingCycle(self,PricingCycle):
  		self.add_query_param('PricingCycle',PricingCycle)