Creates a new {@link CreativeSet}.

@param \Google\AdsApi\AdManager\v201902\CreativeSet $creativeSet
@return \Google\AdsApi\AdManager\v201902\CreativeSet
@throws \Google\AdsApi\AdManager\v201902\ApiException
488383
public function createCreativeSet(\Google\AdsApi\AdManager\v201902\CreativeSet $creativeSet)
    {
      return $this->__soapCall('createCreativeSet', array(array('creativeSet' => $creativeSet)))->getRval();
    }
141583
public function execute(DataSetInterface $dataSet): void
    {
        if (!$dataSet[MerchantRelationshipDataSetInterface::COMPANY_BUSINESS_UNIT_ASSIGNEE_KEYS]) {
            $dataSet[MerchantRelationshipDataSetInterface::ID_COMPANY_BUSINESS_UNIT_ASSIGNEE_COLLECTION] = [];

            return;
        }

        $companyBusinessUnitKeys = explode(
            $this->getAssigneeDelimiter(),
            $dataSet[MerchantRelationshipDataSetInterface::COMPANY_BUSINESS_UNIT_ASSIGNEE_KEYS]
        );

        $companyBusinessUnitAssignee = [];
        foreach ($companyBusinessUnitKeys as $companyBusinessUnitKey) {
            $companyBusinessUnitAssignee[] = $this->findIdCompanyBusinessUnit($companyBusinessUnitKey);
        }

        $dataSet[MerchantRelationshipDataSetInterface::ID_COMPANY_BUSINESS_UNIT_ASSIGNEE_COLLECTION] = $companyBusinessUnitAssignee;
    }
1287028
private function buildFirstQuartile(Dataset $dataset): self
    {
        $this->firstQuartile = new Quartile($this->buildQuartile(
            new Number\Number(0.25),
            $dataset->ordinates()
        ));

        return $this;
    }
784276
public function add(Dependency $dependency) : DependencySet
    {
        $clone = clone $this;
        if ($this->contains($dependency)
            || $dependency->count() === 0) {
            return $clone;
        }

        $clone->collection[] = $dependency;
        return $clone;
    }
963985
@VisibleForTesting
  public FeatureSet with(Feature... newFeatures) {
    return new FeatureSet(union(features, ImmutableSet.copyOf(newFeatures)));
  }
1314921
public function merge(ObjectSet $set)
    {
        foreach ($set as $object) {
            $this->insert($object);
        }

        return $this;
    }
723283
private function buildThirdQuartile(Dataset $dataset): self
    {
        $this->thirdQuartile = new Quartile($this->buildQuartile(
            new Number\Number(0.75),
            $dataset->ordinates()
        ));

        return $this;
    }
873963
private function buildMean(Dataset $dataset): self
    {
        $this->mean = mean(...$dataset->ordinates());

        return $this;
    }
349252
public function createFileSet()
    {
        $this->fileset = new ZipFileSet();
        $this->filesets[] = $this->fileset;

        return $this->fileset;
    }
1073809
def add_tileset(self, tileset):
        
        assert (isinstance(tileset, TiledTileset))
        self.tilesets.append(tileset)
1058136
public function setCustomStyleSet(\Concrete\Core\Entity\StyleCustomizer\Inline\StyleSet $set)
    {
        $db = Loader::db();
        $c = $this->getBlockCollectionObject();
        $cvID = $c->getVersionID();
        $db->Replace(
            'CollectionVersionBlockStyles',
            [
                'cID' => $this->getBlockCollectionID(),
                'cvID' => $cvID,
                'arHandle' => $this->getAreaHandle(),
                'bID' => $this->getBlockID(),
                'issID' => $set->getID(),
            ],
            [
                'cID',
                'cvID',
                'bID',
                'arHandle',
            ],
            true
        );
        $this->issID = (int) $set->getID();
    }
1076514
public static function instance( $set = null ) 
	{
		if ( is_null( $set ) ) 
		{
			return static::$_instance;
		}
		
		if ( !$set instanceof CCIn_Instance ) 
		{
			throw new \InvalidArgumentException('CCIn::set() - only CCIn_Instance object can be passed.');
		}
		
		static::$_instance = $set;
	}
135859
public function bind($dataset)
    {
        if ($dataset === null) {
            return $this;
        }

        if ($dataset instanceof \Traversable) {
            $dataset = iterator_to_array($dataset);
        } elseif (is_object($dataset)) {
            $dataset = [$dataset];
        } elseif (!is_array($dataset)) {
            throw new \InvalidArgumentException('Need an array or object');
        }

        foreach ($dataset as $k => $data) {
            $this[$k] = $data;
        }

        return $this;
    }
1363520
def get(self, adgroup_id=None, creative_ids=None, nick=None):
        ''''''
        request = TOPRequest('xxxxx.xxxxx.creatives.get')
        if adgroup_id!=None: request['adgroup_id'] = adgroup_id
        if creative_ids!=None: request['creative_ids'] = creative_ids
        if nick!=None: request['nick'] = nick
        self.create(self.execute(request), models = {'result':Creative})
        return self.result
568179
public void setCreativeFormat(com.google.api.ads.admanager.axis.v201902.RichMediaStudioCreativeFormat creativeFormat) {
        this.creativeFormat = creativeFormat;
    }
1026290
protected function add_child(Fieldset $fieldset)
	{
		if (is_null($fieldset->fieldset_tag))
		{
			$fieldset->fieldset_tag = 'fieldset';
		}

		$this->fieldset_children[$fieldset->name] = $fieldset;
		return $this;
	}
1344262
public function execute(DataSetInterface $dataSet)
    {
        $productDiscontinuedEntity = SpyProductDiscontinuedQuery::create()
            ->filterByFkProduct($dataSet[ProductDiscontinuedDataSetInterface::ID_PRODUCT])
            ->findOneOrCreate();

        $productDiscontinuedEntity->setActiveUntil($this->getActiveUntilDate());

        $productDiscontinuedEntity->save();

        $this->saveLocalizedNotes($productDiscontinuedEntity, $dataSet);

        $this->addPublishEvents(
            ProductDiscontinuedEvents::PRODUCT_DISCONTINUED_PUBLISH,
            $productDiscontinuedEntity->getIdProductDiscontinued()
        );
    }