Skip to content

Commit

Permalink
Merge pull request #1303 from microsoftgraph/kiota/v1.0/pipelinebuild…
Browse files Browse the repository at this point in the history
…/120794

Generated  models and request builders
  • Loading branch information
Ndiritu authored Jul 21, 2023
2 parents 805f2a4 + 2f3ec8a commit 05c47c3
Show file tree
Hide file tree
Showing 2,694 changed files with 6,814 additions and 13,010 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
4 changes: 2 additions & 2 deletions src/Generated/Agreements/Item/File/FileRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function delete(?FileRequestBuilderDeleteRequestConfiguration $requestCon
}

/**
* Retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
* Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
* @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0 Find more info here
Expand Down Expand Up @@ -113,7 +113,7 @@ public function toDeleteRequestInformation(?FileRequestBuilderDeleteRequestConfi
}

/**
* Retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
* Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
* @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
* Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
*/
class FileRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* The localized version of the terms of use agreement files attached to the agreement.
* Get a list of the default and localized agreement files.
* @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0 Find more info here
*/
public function get(?LocalizationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -90,7 +91,7 @@ public function post(AgreementFileLocalization $body, ?LocalizationsRequestBuild
}

/**
* The localized version of the terms of use agreement files attached to the agreement.
* Get a list of the default and localized agreement files.
* @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* The localized version of the terms of use agreement files attached to the agreement.
* Get a list of the default and localized agreement files.
*/
class LocalizationsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ public function serialize(SerializationWriter $writer): void {

/**
* Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param array<string,mixed> $value Value to set for the AdditionalData property.
* @param array<string,mixed> $value Value to set for the additionalData property.
*/
public function setAdditionalData(?array $value): void {
$this->getBackingStore()->set('additionalData', $value);
}

/**
* Sets the backingStore property value. Stores model information.
* @param BackingStore $value Value to set for the BackingStore property.
* @param BackingStore $value Value to set for the backingStore property.
*/
public function setBackingStore(BackingStore $value): void {
$this->backingStore = $value;
Expand Down
Loading

0 comments on commit 05c47c3

Please sign in to comment.