modules/FeedProcessor/AuditLog/Event/SportData.psm1
using module '..\..\..\Enums.psm1' using module '..\..\..\Helper\ObjectHelper.psm1' using module '..\..\..\Helper\DateTimeHelper.psm1' class SportData{ [string] $sportId [string] $sport [string] $categoryId [string] $category [string] $leagueId [string] $league [string] $matchId [string] $match [string] $homeId [string] $home [string] $awayId [string] $away [string] $references SportData([string] $sportId, [string] $sport, [string] $categoryId, [string] $category, [string] $leagueId, [string] $league, ` [string] $matchId, [string] $match, [string] $homeId, [string] $homeTeam, [string] $awayId, [string] $awayTeam, [string] $references){ $this.sportId = $sportId $this.sport = $sport $this.categoryId = $categoryId $this.category = $category $this.leagueId = $leagueId $this.league = $league $this.matchId = $matchId $this.match = $match $this.homeId = $homeId $this.home = $homeTeam $this.awayId = $awayId $this.away = $awayTeam $this.references = $references } [SportData] Copy(){ $sportData = [SportData]::new($this.sportId, $this.sport, $this.categoryId, $this.category, $this.leagueId, $this.league, ` $this.matchId, $this.match, $this.homeId, $this.home, $this.awayId, $this.away, $this.references) return $sportData } } |