text: public override bool Equals(object o){if (this == o){return true;}var arn = o as Arn;if(arn == null){return false;}if (!Partition.Equals(arn.Partition)){return false;}if (!Service.Equals(arn.Service)){return false;}if (Region != arn.Region){return false;}if (AccountId != arn.AccountId){return false;}return Resource.Equals(arn.Resource);}