Skip to content

Commit c76111e

Browse files
committed
Use transform key instead of transformation
1 parent 7e0ece3 commit c76111e

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/Model/Clip.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Clip implements ModelInterface, ArrayAccess, \JsonSerializable
7272
'effect' => 'string',
7373
'filter' => 'string',
7474
'opacity' => 'float',
75-
'transformation' => '\Shotstack\Client\Model\Transformation'
75+
'transform' => '\Shotstack\Client\Model\Transformation'
7676
];
7777

7878
/**
@@ -94,7 +94,7 @@ class Clip implements ModelInterface, ArrayAccess, \JsonSerializable
9494
'effect' => null,
9595
'filter' => null,
9696
'opacity' => null,
97-
'transformation' => null
97+
'transform' => null
9898
];
9999

100100
/**
@@ -135,7 +135,7 @@ public static function openAPIFormats()
135135
'effect' => 'effect',
136136
'filter' => 'filter',
137137
'opacity' => 'opacity',
138-
'transformation' => 'transformation'
138+
'transform' => 'transform'
139139
];
140140

141141
/**
@@ -155,7 +155,7 @@ public static function openAPIFormats()
155155
'effect' => 'setEffect',
156156
'filter' => 'setFilter',
157157
'opacity' => 'setOpacity',
158-
'transformation' => 'setTransformation'
158+
'transform' => 'setTransform'
159159
];
160160

161161
/**
@@ -175,7 +175,7 @@ public static function openAPIFormats()
175175
'effect' => 'getEffect',
176176
'filter' => 'getFilter',
177177
'opacity' => 'getOpacity',
178-
'transformation' => 'getTransformation'
178+
'transform' => 'getTransform'
179179
];
180180

181181
/**
@@ -345,7 +345,7 @@ public function __construct(array $data = null)
345345
$this->container['effect'] = $data['effect'] ?? null;
346346
$this->container['filter'] = $data['filter'] ?? null;
347347
$this->container['opacity'] = $data['opacity'] ?? 1;
348-
$this->container['transformation'] = $data['transformation'] ?? null;
348+
$this->container['transform'] = $data['transform'] ?? null;
349349
}
350350

351351
/**
@@ -722,25 +722,25 @@ public function setOpacity($opacity)
722722
}
723723

724724
/**
725-
* Gets transformation
725+
* Gets transform
726726
*
727727
* @return \Shotstack\Client\Model\Transformation|null
728728
*/
729-
public function getTransformation()
729+
public function getTransform()
730730
{
731-
return $this->container['transformation'];
731+
return $this->container['transform'];
732732
}
733733

734734
/**
735-
* Sets transformation
735+
* Sets transform
736736
*
737-
* @param \Shotstack\Client\Model\Transformation|null $transformation transformation
737+
* @param \Shotstack\Client\Model\Transformation|null $transform transform
738738
*
739739
* @return self
740740
*/
741-
public function setTransformation($transformation)
741+
public function setTransform($transform)
742742
{
743-
$this->container['transformation'] = $transformation;
743+
$this->container['transform'] = $transform;
744744

745745
return $this;
746746
}

0 commit comments

Comments
 (0)