Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions generated/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/1.0.0/PHP';
protected $userAgent = 'OpenAPI-Generator/1.1.0/PHP';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -433,7 +433,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 1.0.0' . PHP_EOL;
$report .= ' SDK Package Version: 1.0.0' . PHP_EOL;
$report .= ' SDK Package Version: 1.1.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
8 changes: 1 addition & 7 deletions generated/Model/ContentStateEnd.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* ContentStateEnd Class Doc Comment
*
* @category Class
* @description End payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. Type is optional when ending an existing activity. You can send an updated number_of_steps here if the workflow changed after start.
* @description End payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Type is optional when ending an existing activity. You can send an updated number_of_steps here if the workflow changed after start.
* @package ActivitySmith\Generated
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
Expand Down Expand Up @@ -304,9 +304,6 @@ public function getModelName()
public const TYPE_SEGMENTED_PROGRESS = 'segmented_progress';
public const TYPE_PROGRESS = 'progress';
public const TYPE_METRICS = 'metrics';
public const TYPE_COUNTER = 'counter';
public const TYPE_TIMER = 'timer';
public const TYPE_COUNTDOWN = 'countdown';
public const COLOR_LIME = 'lime';
public const COLOR_GREEN = 'green';
public const COLOR_CYAN = 'cyan';
Expand Down Expand Up @@ -346,9 +343,6 @@ public function getTypeAllowableValues()
self::TYPE_SEGMENTED_PROGRESS,
self::TYPE_PROGRESS,
self::TYPE_METRICS,
self::TYPE_COUNTER,
self::TYPE_TIMER,
self::TYPE_COUNTDOWN,
];
}

Expand Down
8 changes: 1 addition & 7 deletions generated/Model/ContentStateStart.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* ContentStateStart Class Doc Comment
*
* @category Class
* @description Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.
* @description Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.
* @package ActivitySmith\Generated
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
Expand Down Expand Up @@ -298,9 +298,6 @@ public function getModelName()
public const TYPE_SEGMENTED_PROGRESS = 'segmented_progress';
public const TYPE_PROGRESS = 'progress';
public const TYPE_METRICS = 'metrics';
public const TYPE_COUNTER = 'counter';
public const TYPE_TIMER = 'timer';
public const TYPE_COUNTDOWN = 'countdown';
public const COLOR_LIME = 'lime';
public const COLOR_GREEN = 'green';
public const COLOR_CYAN = 'cyan';
Expand Down Expand Up @@ -340,9 +337,6 @@ public function getTypeAllowableValues()
self::TYPE_SEGMENTED_PROGRESS,
self::TYPE_PROGRESS,
self::TYPE_METRICS,
self::TYPE_COUNTER,
self::TYPE_TIMER,
self::TYPE_COUNTDOWN,
];
}

Expand Down
8 changes: 1 addition & 7 deletions generated/Model/ContentStateUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* ContentStateUpdate Class Doc Comment
*
* @category Class
* @description Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.
* @description Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.
* @package ActivitySmith\Generated
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
Expand Down Expand Up @@ -298,9 +298,6 @@ public function getModelName()
public const TYPE_SEGMENTED_PROGRESS = 'segmented_progress';
public const TYPE_PROGRESS = 'progress';
public const TYPE_METRICS = 'metrics';
public const TYPE_COUNTER = 'counter';
public const TYPE_TIMER = 'timer';
public const TYPE_COUNTDOWN = 'countdown';
public const COLOR_LIME = 'lime';
public const COLOR_GREEN = 'green';
public const COLOR_CYAN = 'cyan';
Expand Down Expand Up @@ -340,9 +337,6 @@ public function getTypeAllowableValues()
self::TYPE_SEGMENTED_PROGRESS,
self::TYPE_PROGRESS,
self::TYPE_METRICS,
self::TYPE_COUNTER,
self::TYPE_TIMER,
self::TYPE_COUNTDOWN,
];
}

Expand Down
12 changes: 3 additions & 9 deletions generated/Model/StreamContentState.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* StreamContentState Class Doc Comment
*
* @category Class
* @description Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based types.
* @description Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, and metrics types.
* @package ActivitySmith\Generated
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
Expand Down Expand Up @@ -310,9 +310,6 @@ public function getModelName()
public const TYPE_SEGMENTED_PROGRESS = 'segmented_progress';
public const TYPE_PROGRESS = 'progress';
public const TYPE_METRICS = 'metrics';
public const TYPE_COUNTER = 'counter';
public const TYPE_TIMER = 'timer';
public const TYPE_COUNTDOWN = 'countdown';
public const COLOR_LIME = 'lime';
public const COLOR_GREEN = 'green';
public const COLOR_CYAN = 'cyan';
Expand Down Expand Up @@ -352,9 +349,6 @@ public function getTypeAllowableValues()
self::TYPE_SEGMENTED_PROGRESS,
self::TYPE_PROGRESS,
self::TYPE_METRICS,
self::TYPE_COUNTER,
self::TYPE_TIMER,
self::TYPE_COUNTDOWN,
];
}

Expand Down Expand Up @@ -616,7 +610,7 @@ public function getNumberOfSteps()
/**
* Sets numberOfSteps
*
* @param int|null $numberOfSteps Use for segmented_progress, counter, timer, and countdown.
* @param int|null $numberOfSteps Use for segmented_progress.
*
* @return self
*/
Expand Down Expand Up @@ -648,7 +642,7 @@ public function getCurrentStep()
/**
* Sets currentStep
*
* @param int|null $currentStep Use for segmented_progress, counter, timer, and countdown.
* @param int|null $currentStep Use for segmented_progress.
*
* @return self
*/
Expand Down