For Babelfish Release 1.12.5.15

Match Class

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.5.15+bc7490f802416c9e774304c66372b6a26afede1d
C#
[SerializableAttribute]
public class Match : ICheckSum
Inheritance
Object    Match
Implements
ICheckSum

Constructors

MatchInitializes a new instance of the Match class

Properties

AttributeNames List of Attribute SetNames used in this match.
AttributesObsolete
Authorization A list of authorized capabilities the caller has for this match. These values are returned by the Rest API, but are not sent to the cloud. Instead 'AuthorizationList' is sent, and the list of Authorizations is derved using it and the caller's identificaiton.
CheckSum A hashed value that is unique to this instance. The value is calculated by the CalculateChecksum() method.
CourseOfFireDef The COURSE OF FIRE definition used in the conduct of this match.
Creator String holding the software (Orion Scoring System) and Version number of the software that created or last updated this match.
EndDate the end date of the match.
HtmlReports A list of MatchHtmlReports (e.g. pressrelease.html) that exist for this match.
IsOnGoing Helper function that indicates if this Match is currently going on. Which is determined by the Match's Start and End Date.
JSONVersion 
LastUpdated UTC time the match data was last updated.
Location The location of the match.
MatchContacts Contact information for the match administrators.
MatchID Unique MatchID for the competition to get squadding for. Will match exactly (assuming no errors) of the MatchID in the GetMatchDetailRequest This is a required field.
MatchType The type of match, as specified by the Match Director.
Name The name of the Match
OwnerId The orion account or at home account who owns this match.
ParentID 
ResultEvents The list of Events in the Match that have Result Lists associated with them.
ResultEventsLastUpdate The UTC time that the ResultEvent (scores for the match) were last updated.
ResultURL External Result URL
ScoreConfigName SetName of the ScoreConfig used in this match. NOTE: The name of the ScoreFormatCollection is specified in the Course of Fire
ScoringSystems A list of scoring system names used in this match.
ScoringSystemType The type of scoring system used in this match.
SharedKey The SharedKey is a defacto password. Allowing systems on the outside to make change requests to the match, such as add athletes or teams, insert shot data, etc.
Obsolete
SquaddingEvents The list of Events in the Match that have squadding. Also contains definitions on the types of OrionTargets used. To pull the full squadding, use GetSquaddingListRequest()
StartDate The start date of the match.
TargetCollectionName Name of the TargetCollection used in this match.
Visibility Sets the public visibility for the match. Valid values are Private : No visibility Protected : Only athletes, their coaches, and match officials may see Club : Same as participant, but also includes all club members of the sponsoring club Public : Everyone may view

Methods

CalculateChecksum Calculates a checksum value that represents the current state of the instance's properties, excluding the LastUpdated and CheckSum properties. Assuming the underlying data did not change, the value of this method should be the same across multiple serializations and deserializations of the same instance.

The intent of this method is two-fold. First to provide a way to verify the integrity of the instance's data after deserialization. If someone (or something) modified the serialized values then CalculateChecksum should return a different value. While we may not know what changed, we can at least detect something manipulated the data.

The second intent is to compare the value of the instance on the server to the local copy. If the value is the same (on the server and locally) then the server has the up to date instance value.

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetParentId Returns the .ParentID as a MatchID instance.
Obsolete
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnDeserialized After an object is deserialized form JSON, adds defaults to empty properties
ShouldSerializeAuthorization NewtonSoft helper method to determine if Authoirazation should be serialized.
ShouldSerializeHtmlReports Newtonsoft.json helper method, to determine if HtmlReports property should be serialized.
ShouldSerializeScoringSystems Newtonsoft.json helper method, to determine if ScoreSystems property should be serialized.
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

See Also