internal/autorest/out/downloads/Get-DracoonARDownloadAvatar.ps1
function Get-DracoonARDownloadAvatar { <# .SYNOPSIS Download avatar .DESCRIPTION <h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.11.0</h3> ### Description: Download avatar for given user ID and UUID. ### Precondition: Valid UUID. ### Postcondition: Stream is returned. ### Further Information: None. .PARAMETER User_id User ID .PARAMETER Connection Object of Class ARAHConnection, stores the authentication Token and the API Base-URL .PARAMETER Uuid UUID of the avatar .EXAMPLE PS C:\> Get-DracoonARDownloadAvatar -User_id $user_id -Connection $connection -Uuid $uuid <h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.11.0</h3> ### Description: Download avatar for given user ID and UUID. ### Precondition: Valid UUID. ### Postcondition: Stream is returned. ### Further Information: None. .LINK <unknown> #> [CmdletBinding(DefaultParameterSetName = 'default')] param ( [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, ParameterSetName = 'default')] [string] $User_id, [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, ParameterSetName = 'default')] [object] $Connection, [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, ParameterSetName = 'default')] [string] $Uuid ) process { $__mapping = @{ 'Connection' = 'Connection' } $__body = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping $__query = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping $__header = $PSBoundParameters | ConvertTo-DracoonARHashtable -Include @() -Mapping $__mapping $__path = 'downloads/avatar/{user_id}/{uuid}' -Replace '{user_id}',$User_id -Replace '{uuid}',$Uuid Invoke-DracoonAPI -Path $__path -Method get -Body $__body -Query $__query -Header $__header -Connection $Connection } } |