bin/account.cs



using Microsoft.Xrm.Sdk;
using System.Collections.Generic;
using System;

public class Partner : Entity
{
    #region Local OptionSets
        
    public enum StatusReason
    {
        Active = 1,
        Inactive = 2,
    }

    #endregion

    public Partner() : base("account") { }

    public Partner(Entity entity) : base(entity.LogicalName)
    {
        Id = entity.Id;
        Attributes.AddRange(entity.Attributes);
    }

    public Partner(EntityReference entityReference) : base(entityReference.LogicalName)
    {
        Id = entityReference.Id;
    }

    public Partner (string logicalName) : base(logicalName)
    {
    }

    public Partner (string logicalName, params KeyValuePair<string, object>[] attributes) : base(logicalName)
    {
        Attributes.AddRange(attributes);
    }

    public Partner (string logicalName, Guid id) : base(logicalName)
    {
        Id = id;
    }

    public Partner (string logicalName, Guid id, params KeyValuePair<string, object>[] attributes) : base(logicalName)
    {
        Id = id;
        Attributes.AddRange(attributes);
    }

    public Guid Id
    {
        get => GetAttributeValue<Guid>("accountidid");
        set => this["accountidid"] = value;
    }

    public virtual StatusReason? StatusReason
    {
        get => (account_statuscode?)GetAttributeValue<OptionSetValue>("statuscode")?.Value;
        set => this["statuscode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }

    public virtual Category? Category
    {
        get => (account_accountcategorycode?)GetAttributeValue<OptionSetValue>("accountcategorycode")?.Value;
        set => this["accountcategorycode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Classification? Classification
    {
        get => (account_accountclassificationcode?)GetAttributeValue<OptionSetValue>("accountclassificationcode")?.Value;
        set => this["accountclassificationcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual AccountRating? AccountRating
    {
        get => (account_accountratingcode?)GetAttributeValue<OptionSetValue>("accountratingcode")?.Value;
        set => this["accountratingcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address1AddressType? Address1AddressType
    {
        get => (account_address1_addresstypecode?)GetAttributeValue<OptionSetValue>("address1_addresstypecode")?.Value;
        set => this["address1_addresstypecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address1FreightTerms? Address1FreightTerms
    {
        get => (account_address1_freighttermscode?)GetAttributeValue<OptionSetValue>("address1_freighttermscode")?.Value;
        set => this["address1_freighttermscode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address1ShippingMethod? Address1ShippingMethod
    {
        get => (account_address1_shippingmethodcode?)GetAttributeValue<OptionSetValue>("address1_shippingmethodcode")?.Value;
        set => this["address1_shippingmethodcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address2AddressType? Address2AddressType
    {
        get => (account_address2_addresstypecode?)GetAttributeValue<OptionSetValue>("address2_addresstypecode")?.Value;
        set => this["address2_addresstypecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address2FreightTerms? Address2FreightTerms
    {
        get => (account_address2_freighttermscode?)GetAttributeValue<OptionSetValue>("address2_freighttermscode")?.Value;
        set => this["address2_freighttermscode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Address2ShippingMethod? Address2ShippingMethod
    {
        get => (account_address2_shippingmethodcode?)GetAttributeValue<OptionSetValue>("address2_shippingmethodcode")?.Value;
        set => this["address2_shippingmethodcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual BusinessType? BusinessType
    {
        get => (account_businesstypecode?)GetAttributeValue<OptionSetValue>("businesstypecode")?.Value;
        set => this["businesstypecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual CustomerSize? CustomerSize
    {
        get => (account_customersizecode?)GetAttributeValue<OptionSetValue>("customersizecode")?.Value;
        set => this["customersizecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual RelationshipType? RelationshipType
    {
        get => (account_customertypecode?)GetAttributeValue<OptionSetValue>("customertypecode")?.Value;
        set => this["customertypecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Industry? Industry
    {
        get => (account_industrycode?)GetAttributeValue<OptionSetValue>("industrycode")?.Value;
        set => this["industrycode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual Datastate? MsftDatastate
    {
        get => (msft_datastate?)GetAttributeValue<OptionSetValue>("msft_datastate")?.Value;
    }
    public virtual Ownership? Ownership
    {
        get => (account_ownershipcode?)GetAttributeValue<OptionSetValue>("ownershipcode")?.Value;
        set => this["ownershipcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual PaymentTerms? PaymentTerms
    {
        get => (account_paymenttermscode?)GetAttributeValue<OptionSetValue>("paymenttermscode")?.Value;
        set => this["paymenttermscode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual PreferredDay? PreferredDay
    {
        get => (account_preferredappointmentdaycode?)GetAttributeValue<OptionSetValue>("preferredappointmentdaycode")?.Value;
        set => this["preferredappointmentdaycode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual PreferredTime? PreferredTime
    {
        get => (account_preferredappointmenttimecode?)GetAttributeValue<OptionSetValue>("preferredappointmenttimecode")?.Value;
        set => this["preferredappointmenttimecode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual PreferredMethodOfContact? PreferredMethodOfContact
    {
        get => (account_preferredcontactmethodcode?)GetAttributeValue<OptionSetValue>("preferredcontactmethodcode")?.Value;
        set => this["preferredcontactmethodcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual ShippingMethod? ShippingMethod
    {
        get => (account_shippingmethodcode?)GetAttributeValue<OptionSetValue>("shippingmethodcode")?.Value;
        set => this["shippingmethodcode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }
    public virtual TerritoryCode? TerritoryCode
    {
        get => (account_territorycode?)GetAttributeValue<OptionSetValue>("territorycode")?.Value;
        set => this["territorycode"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }

    public virtual Supportedlanguages? Supportedlanguages
    {
        get
        {
            var optionSets = GetAttributeValue<OptionSetValueCollection>("cr22a_supportedlanguages");
            if (optionSets == null)
            {
                return Enumerable.Empty<cr22a_supportedlanguages?>();
            }
            return optionsets.Select(opt => (cr22a_supportedlanguages?)(opt.Value)).ToList();
        }
        set => this["cr22a_supportedlanguages"] = value.HasValue ? new OptionSetValue((int)value) : null;
    }

    public virtual decimal? Aging30
    {
        get => (decimal?)GetAttributeValue<Money>("aging30")?.Value;
    }
    public virtual decimal? Aging30Base
    {
        get => (decimal?)GetAttributeValue<Money>("aging30_base")?.Value;
    }
    public virtual decimal? Aging60
    {
        get => (decimal?)GetAttributeValue<Money>("aging60")?.Value;
    }
    public virtual decimal? Aging60Base
    {
        get => (decimal?)GetAttributeValue<Money>("aging60_base")?.Value;
    }
    public virtual decimal? Aging90
    {
        get => (decimal?)GetAttributeValue<Money>("aging90")?.Value;
    }
    public virtual decimal? Aging90Base
    {
        get => (decimal?)GetAttributeValue<Money>("aging90_base")?.Value;
    }
    public virtual decimal? CreditLimit
    {
        get => (decimal?)GetAttributeValue<Money>("creditlimit")?.Value;
        set => this["creditlimit"] = value.HasValue ? new Money(value) : null;
    }
    public virtual decimal? CreditLimitBase
    {
        get => (decimal?)GetAttributeValue<Money>("creditlimit_base")?.Value;
    }
    public virtual decimal? MarketCapitalization
    {
        get => (decimal?)GetAttributeValue<Money>("marketcap")?.Value;
        set => this["marketcap"] = value.HasValue ? new Money(value) : null;
    }
    public virtual decimal? MarketCapitalizationBase
    {
        get => (decimal?)GetAttributeValue<Money>("marketcap_base")?.Value;
    }
    public virtual decimal? AnnualRevenue
    {
        get => (decimal?)GetAttributeValue<Money>("revenue")?.Value;
        set => this["revenue"] = value.HasValue ? new Money(value) : null;
    }
    public virtual decimal? AnnualRevenueBase
    {
        get => (decimal?)GetAttributeValue<Money>("revenue_base")?.Value;
    }

    public virtual decimal? ExchangeRate
    {
        get => GetAttributeValue<decimal?>("exchangerate")?.Value;
    }

    public virtual BigInteger? EntityimageTimestamp
    {
        get => GetAttributeValue<BigInteger>("entityimage_timestamp")?.Value;
    }
    public virtual BigInteger? VersionNumber
    {
        get => GetAttributeValue<BigInteger>("versionnumber")?.Value;
    }

    public virtual int? Address1UtcOffset
    {
        get => GetAttributeValue<int>("address1_utcoffset")?.Value;
        set => this["address1_utcoffset"] = value.HasValue ? value : null;
    }
    public virtual int? Address2UtcOffset
    {
        get => GetAttributeValue<int>("address2_utcoffset")?.Value;
        set => this["address2_utcoffset"] = value.HasValue ? value : null;
    }
    public virtual int? ImportSequenceNumber
    {
        get => GetAttributeValue<int>("importsequencenumber")?.Value;
    }
    public virtual int? NumberOfEmployees
    {
        get => GetAttributeValue<int>("numberofemployees")?.Value;
        set => this["numberofemployees"] = value.HasValue ? value : null;
    }
    public virtual int? OnHoldTimeMinutes
    {
        get => GetAttributeValue<int>("onholdtime")?.Value;
    }
    public virtual int? SharesOutstanding
    {
        get => GetAttributeValue<int>("sharesoutstanding")?.Value;
        set => this["sharesoutstanding"] = value.HasValue ? value : null;
    }
    public virtual int? TimeZoneRuleVersionNumber
    {
        get => GetAttributeValue<int>("timezoneruleversionnumber")?.Value;
        set => this["timezoneruleversionnumber"] = value.HasValue ? value : null;
    }
    public virtual int? UtcConversionTimeZoneCode
    {
        get => GetAttributeValue<int>("utcconversiontimezonecode")?.Value;
        set => this["utcconversiontimezonecode"] = value.HasValue ? value : null;
    }

    public virtual double? Address1Latitude
    {
        get => GetAttributeValue<double>("address1_latitude")?.Value;
        set => this["address1_latitude"] = value.HasValue ? value : null;
    }
    public virtual double? Address1Longitude
    {
        get => GetAttributeValue<double>("address1_longitude")?.Value;
        set => this["address1_longitude"] = value.HasValue ? value : null;
    }
    public virtual double? Address2Latitude
    {
        get => GetAttributeValue<double>("address2_latitude")?.Value;
        set => this["address2_latitude"] = value.HasValue ? value : null;
    }
    public virtual double? Address2Longitude
    {
        get => GetAttributeValue<double>("address2_longitude")?.Value;
        set => this["address2_longitude"] = value.HasValue ? value : null;
    }

    public virtual DateTime? CreatedOn
    {
        get => GetAttributeValue<DateTime>("createdon")?.Value;
    }
    public virtual DateTime? LastOnHoldTime
    {
        get => GetAttributeValue<DateTime>("lastonholdtime")?.Value;
        set => this["lastonholdtime"] = value.HasValue ? value : null;
    }
    public virtual DateTime? LastDateIncludedInCampaign
    {
        get => GetAttributeValue<DateTime>("lastusedincampaign")?.Value;
        set => this["lastusedincampaign"] = value.HasValue ? value : null;
    }
    public virtual DateTime? ModifiedOn
    {
        get => GetAttributeValue<DateTime>("modifiedon")?.Value;
    }
    public virtual DateTime? RecordCreatedOn
    {
        get => GetAttributeValue<DateTime>("overriddencreatedon")?.Value;
    }

    public virtual bool? CreditHold
    {
        get => GetAttributeValue<bool>("creditonhold")?.Value;
        set => this["creditonhold"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowBulkEmails
    {
        get => GetAttributeValue<bool>("donotbulkemail")?.Value;
        set => this["donotbulkemail"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowBulkMails
    {
        get => GetAttributeValue<bool>("donotbulkpostalmail")?.Value;
        set => this["donotbulkpostalmail"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowEmails
    {
        get => GetAttributeValue<bool>("donotemail")?.Value;
        set => this["donotemail"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowFaxes
    {
        get => GetAttributeValue<bool>("donotfax")?.Value;
        set => this["donotfax"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowPhoneCalls
    {
        get => GetAttributeValue<bool>("donotphone")?.Value;
        set => this["donotphone"] = value.HasValue ? value : null;
    }
    public virtual bool? DoNotAllowMails
    {
        get => GetAttributeValue<bool>("donotpostalmail")?.Value;
        set => this["donotpostalmail"] = value.HasValue ? value : null;
    }
    public virtual bool? SendMarketingMaterials
    {
        get => GetAttributeValue<bool>("donotsendmm")?.Value;
        set => this["donotsendmm"] = value.HasValue ? value : null;
    }
    public virtual bool? FollowEmailActivity
    {
        get => GetAttributeValue<bool>("followemail")?.Value;
        set => this["followemail"] = value.HasValue ? value : null;
    }
    public virtual bool? MarketingOnly
    {
        get => GetAttributeValue<bool>("marketingonly")?.Value;
        set => this["marketingonly"] = value.HasValue ? value : null;
    }
    public virtual bool? Merged
    {
        get => GetAttributeValue<bool>("merged")?.Value;
    }
    public virtual bool? ParticipatesInWorkflow
    {
        get => GetAttributeValue<bool>("participatesinworkflow")?.Value;
        set => this["participatesinworkflow"] = value.HasValue ? value : null;
    }

    public virtual Guid? Account
    {
        get => GetAttributeValue<Guid>("accountid")?.Value;
    }
    public virtual Guid? Address1Id
    {
        get => GetAttributeValue<Guid>("address1_addressid")?.Value;
        set => this["address1_addressid"] = value.HasValue ? value : null;
    }
    public virtual Guid? Address2Id
    {
        get => GetAttributeValue<Guid>("address2_addressid")?.Value;
        set => this["address2_addressid"] = value.HasValue ? value : null;
    }
    public virtual Guid? EntityImageId
    {
        get => GetAttributeValue<Guid>("entityimageid")?.Value;
    }
    public virtual Guid? Process
    {
        get => GetAttributeValue<Guid>("processid")?.Value;
        set => this["processid"] = value.HasValue ? value : null;
    }
    public virtual Guid? DeprecatedProcessStage
    {
        get => GetAttributeValue<Guid>("stageid")?.Value;
        set => this["stageid"] = value.HasValue ? value : null;
    }

    public virtual string AccountNumber
    {
        get => GetAttributeValue<string>("accountnumber")?.Value;
        set => this["accountnumber"] = value;
    }
    public virtual string Address1City
    {
        get => GetAttributeValue<string>("address1_city")?.Value;
        set => this["address1_city"] = value;
    }
    public virtual string Address1CountryRegion
    {
        get => GetAttributeValue<string>("address1_country")?.Value;
        set => this["address1_country"] = value;
    }
    public virtual string Address1County
    {
        get => GetAttributeValue<string>("address1_county")?.Value;
        set => this["address1_county"] = value;
    }
    public virtual string Address1Fax
    {
        get => GetAttributeValue<string>("address1_fax")?.Value;
        set => this["address1_fax"] = value;
    }
    public virtual string Address1Street1
    {
        get => GetAttributeValue<string>("address1_line1")?.Value;
        set => this["address1_line1"] = value;
    }
    public virtual string Address1Street2
    {
        get => GetAttributeValue<string>("address1_line2")?.Value;
        set => this["address1_line2"] = value;
    }
    public virtual string Address1Street3
    {
        get => GetAttributeValue<string>("address1_line3")?.Value;
        set => this["address1_line3"] = value;
    }
    public virtual string Address1Name
    {
        get => GetAttributeValue<string>("address1_name")?.Value;
        set => this["address1_name"] = value;
    }
    public virtual string Address1ZipPostalCode
    {
        get => GetAttributeValue<string>("address1_postalcode")?.Value;
        set => this["address1_postalcode"] = value;
    }
    public virtual string Address1PostOfficeBox
    {
        get => GetAttributeValue<string>("address1_postofficebox")?.Value;
        set => this["address1_postofficebox"] = value;
    }
    public virtual string Address1PrimaryContactName
    {
        get => GetAttributeValue<string>("address1_primarycontactname")?.Value;
        set => this["address1_primarycontactname"] = value;
    }
    public virtual string Address1StateProvince
    {
        get => GetAttributeValue<string>("address1_stateorprovince")?.Value;
        set => this["address1_stateorprovince"] = value;
    }
    public virtual string AddressPhone
    {
        get => GetAttributeValue<string>("address1_telephone1")?.Value;
        set => this["address1_telephone1"] = value;
    }
    public virtual string Address1Telephone2
    {
        get => GetAttributeValue<string>("address1_telephone2")?.Value;
        set => this["address1_telephone2"] = value;
    }
    public virtual string Address1Telephone3
    {
        get => GetAttributeValue<string>("address1_telephone3")?.Value;
        set => this["address1_telephone3"] = value;
    }
    public virtual string Address1UpsZone
    {
        get => GetAttributeValue<string>("address1_upszone")?.Value;
        set => this["address1_upszone"] = value;
    }
    public virtual string Address2City
    {
        get => GetAttributeValue<string>("address2_city")?.Value;
        set => this["address2_city"] = value;
    }
    public virtual string Address2CountryRegion
    {
        get => GetAttributeValue<string>("address2_country")?.Value;
        set => this["address2_country"] = value;
    }
    public virtual string Address2County
    {
        get => GetAttributeValue<string>("address2_county")?.Value;
        set => this["address2_county"] = value;
    }
    public virtual string Address2Fax
    {
        get => GetAttributeValue<string>("address2_fax")?.Value;
        set => this["address2_fax"] = value;
    }
    public virtual string Address2Street1
    {
        get => GetAttributeValue<string>("address2_line1")?.Value;
        set => this["address2_line1"] = value;
    }
    public virtual string Address2Street2
    {
        get => GetAttributeValue<string>("address2_line2")?.Value;
        set => this["address2_line2"] = value;
    }
    public virtual string Address2Street3
    {
        get => GetAttributeValue<string>("address2_line3")?.Value;
        set => this["address2_line3"] = value;
    }
    public virtual string Address2Name
    {
        get => GetAttributeValue<string>("address2_name")?.Value;
        set => this["address2_name"] = value;
    }
    public virtual string Address2ZipPostalCode
    {
        get => GetAttributeValue<string>("address2_postalcode")?.Value;
        set => this["address2_postalcode"] = value;
    }
    public virtual string Address2PostOfficeBox
    {
        get => GetAttributeValue<string>("address2_postofficebox")?.Value;
        set => this["address2_postofficebox"] = value;
    }
    public virtual string Address2PrimaryContactName
    {
        get => GetAttributeValue<string>("address2_primarycontactname")?.Value;
        set => this["address2_primarycontactname"] = value;
    }
    public virtual string Address2StateProvince
    {
        get => GetAttributeValue<string>("address2_stateorprovince")?.Value;
        set => this["address2_stateorprovince"] = value;
    }
    public virtual string Address2Telephone1
    {
        get => GetAttributeValue<string>("address2_telephone1")?.Value;
        set => this["address2_telephone1"] = value;
    }
    public virtual string Address2Telephone2
    {
        get => GetAttributeValue<string>("address2_telephone2")?.Value;
        set => this["address2_telephone2"] = value;
    }
    public virtual string Address2Telephone3
    {
        get => GetAttributeValue<string>("address2_telephone3")?.Value;
        set => this["address2_telephone3"] = value;
    }
    public virtual string Address2UpsZone
    {
        get => GetAttributeValue<string>("address2_upszone")?.Value;
        set => this["address2_upszone"] = value;
    }
    public virtual string CreatedByIpAddress
    {
        get => GetAttributeValue<string>("adx_createdbyipaddress")?.Value;
        set => this["adx_createdbyipaddress"] = value;
    }
    public virtual string CreatedByUserName
    {
        get => GetAttributeValue<string>("adx_createdbyusername")?.Value;
        set => this["adx_createdbyusername"] = value;
    }
    public virtual string ModifiedByIpAddress
    {
        get => GetAttributeValue<string>("adx_modifiedbyipaddress")?.Value;
        set => this["adx_modifiedbyipaddress"] = value;
    }
    public virtual string ModifiedByUserName
    {
        get => GetAttributeValue<string>("adx_modifiedbyusername")?.Value;
        set => this["adx_modifiedbyusername"] = value;
    }
    public virtual string Createdbyexternalpartyname
    {
        get => GetAttributeValue<string>("createdbyexternalpartyname")?.Value;
    }
    public virtual string Createdbyexternalpartyyominame
    {
        get => GetAttributeValue<string>("createdbyexternalpartyyominame")?.Value;
    }
    public virtual string Createdbyname
    {
        get => GetAttributeValue<string>("createdbyname")?.Value;
    }
    public virtual string Createdbyyominame
    {
        get => GetAttributeValue<string>("createdbyyominame")?.Value;
    }
    public virtual string Createdonbehalfbyname
    {
        get => GetAttributeValue<string>("createdonbehalfbyname")?.Value;
    }
    public virtual string Createdonbehalfbyyominame
    {
        get => GetAttributeValue<string>("createdonbehalfbyyominame")?.Value;
    }
    public virtual string Email
    {
        get => GetAttributeValue<string>("emailaddress1")?.Value;
        set => this["emailaddress1"] = value;
    }
    public virtual string EmailAddress2
    {
        get => GetAttributeValue<string>("emailaddress2")?.Value;
        set => this["emailaddress2"] = value;
    }
    public virtual string EmailAddress3
    {
        get => GetAttributeValue<string>("emailaddress3")?.Value;
        set => this["emailaddress3"] = value;
    }
    public virtual string EntityimageUrl
    {
        get => GetAttributeValue<string>("entityimage_url")?.Value;
    }
    public virtual string Fax
    {
        get => GetAttributeValue<string>("fax")?.Value;
        set => this["fax"] = value;
    }
    public virtual string FtpSite
    {
        get => GetAttributeValue<string>("ftpsiteurl")?.Value;
        set => this["ftpsiteurl"] = value;
    }
    public virtual string Masteraccountidname
    {
        get => GetAttributeValue<string>("masteraccountidname")?.Value;
    }
    public virtual string Masteraccountidyominame
    {
        get => GetAttributeValue<string>("masteraccountidyominame")?.Value;
    }
    public virtual string Modifiedbyexternalpartyname
    {
        get => GetAttributeValue<string>("modifiedbyexternalpartyname")?.Value;
    }
    public virtual string Modifiedbyexternalpartyyominame
    {
        get => GetAttributeValue<string>("modifiedbyexternalpartyyominame")?.Value;
    }
    public virtual string Modifiedbyname
    {
        get => GetAttributeValue<string>("modifiedbyname")?.Value;
    }
    public virtual string Modifiedbyyominame
    {
        get => GetAttributeValue<string>("modifiedbyyominame")?.Value;
    }
    public virtual string Modifiedonbehalfbyname
    {
        get => GetAttributeValue<string>("modifiedonbehalfbyname")?.Value;
    }
    public virtual string Modifiedonbehalfbyyominame
    {
        get => GetAttributeValue<string>("modifiedonbehalfbyyominame")?.Value;
    }
    public virtual string MsaManagingpartneridname
    {
        get => GetAttributeValue<string>("msa_managingpartneridname")?.Value;
    }
    public virtual string MsaManagingpartneridyominame
    {
        get => GetAttributeValue<string>("msa_managingpartneridyominame")?.Value;
    }
    public virtual string AccountName
    {
        get => GetAttributeValue<string>("name")?.Value;
        set => this["name"] = value;
    }
    public virtual string Owneridname
    {
        get => GetAttributeValue<string>("owneridname")?.Value;
    }
    public virtual string Owneridyominame
    {
        get => GetAttributeValue<string>("owneridyominame")?.Value;
    }
    public virtual string Owningbusinessunitname
    {
        get => GetAttributeValue<string>("owningbusinessunitname")?.Value;
    }
    public virtual string Parentaccountidname
    {
        get => GetAttributeValue<string>("parentaccountidname")?.Value;
    }
    public virtual string Parentaccountidyominame
    {
        get => GetAttributeValue<string>("parentaccountidyominame")?.Value;
    }
    public virtual string Preferredsystemuseridname
    {
        get => GetAttributeValue<string>("preferredsystemuseridname")?.Value;
    }
    public virtual string Preferredsystemuseridyominame
    {
        get => GetAttributeValue<string>("preferredsystemuseridyominame")?.Value;
    }
    public virtual string Primarycontactidname
    {
        get => GetAttributeValue<string>("primarycontactidname")?.Value;
    }
    public virtual string Primarycontactidyominame
    {
        get => GetAttributeValue<string>("primarycontactidyominame")?.Value;
    }
    public virtual string PrimarySatoriId
    {
        get => GetAttributeValue<string>("primarysatoriid")?.Value;
        set => this["primarysatoriid"] = value;
    }
    public virtual string PrimaryTwitterId
    {
        get => GetAttributeValue<string>("primarytwitterid")?.Value;
        set => this["primarytwitterid"] = value;
    }
    public virtual string SicCode
    {
        get => GetAttributeValue<string>("sic")?.Value;
        set => this["sic"] = value;
    }
    public virtual string Slainvokedidname
    {
        get => GetAttributeValue<string>("slainvokedidname")?.Value;
    }
    public virtual string Slaname
    {
        get => GetAttributeValue<string>("slaname")?.Value;
    }
    public virtual string StockExchange
    {
        get => GetAttributeValue<string>("stockexchange")?.Value;
        set => this["stockexchange"] = value;
    }
    public virtual string MainPhone
    {
        get => GetAttributeValue<string>("telephone1")?.Value;
        set => this["telephone1"] = value;
    }
    public virtual string OtherPhone
    {
        get => GetAttributeValue<string>("telephone2")?.Value;
        set => this["telephone2"] = value;
    }
    public virtual string Telephone3
    {
        get => GetAttributeValue<string>("telephone3")?.Value;
        set => this["telephone3"] = value;
    }
    public virtual string TickerSymbol
    {
        get => GetAttributeValue<string>("tickersymbol")?.Value;
        set => this["tickersymbol"] = value;
    }
    public virtual string TimeSpentByMe
    {
        get => GetAttributeValue<string>("timespentbymeonemailandmeetings")?.Value;
    }
    public virtual string Transactioncurrencyidname
    {
        get => GetAttributeValue<string>("transactioncurrencyidname")?.Value;
    }
    public virtual string DeprecatedTraversedPath
    {
        get => GetAttributeValue<string>("traversedpath")?.Value;
        set => this["traversedpath"] = value;
    }
    public virtual string Website
    {
        get => GetAttributeValue<string>("websiteurl")?.Value;
        set => this["websiteurl"] = value;
    }
    public virtual string YomiAccountName
    {
        get => GetAttributeValue<string>("yominame")?.Value;
        set => this["yominame"] = value;
    }

    public virtual string Address1
    {
        get => GetAttributeValue<string>("address1_composite")?.Value;
    }
    public virtual string Address2
    {
        get => GetAttributeValue<string>("address2_composite")?.Value;
    }
    public virtual string Description
    {
        get => GetAttributeValue<string>("description")?.Value;
        set => this["description"] = value;
    }
}