public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(entityId_); break; } case 18: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } } } }
public void MergeFrom(Guest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.IsBlacklisted != false) { IsBlacklisted = other.IsBlacklisted; } }
public void MergeFrom(Group other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Groups.GroupIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Name.Length != 0) { Name = other.Name; } if (other.GroupType != 0) { GroupType = other.GroupType; } if (other.GroupNumber.Length != 0) { GroupNumber = other.GroupNumber; } if (other.creditLimit_ != null) { if (creditLimit_ == null) { creditLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } CreditLimit.MergeFrom(other.CreditLimit); } if (other.Active != false) { Active = other.Active; } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Groups.GroupIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Name = input.ReadString(); break; } case 24: { groupType_ = (global::HOLMS.Types.CRM.Groups.GroupType)input.ReadEnum(); break; } case 34: { GroupNumber = input.ReadString(); break; } case 42: { if (creditLimit_ == null) { creditLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(creditLimit_); break; } case 48: { Active = input.ReadBool(); break; } case 58: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } case 66: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.IAM.StaffMemberIndicator(); } input.ReadMessage(entityId_); break; } case 18: { UserId = input.ReadString(); break; } case 26: { Password = input.ReadString(); break; } case 34: { DisplayName = input.ReadString(); break; } case 42: { EmergencyContactPhoneNumber = input.ReadString(); break; } case 48: { IsPhoneDataDisplayable = input.ReadBool(); break; } case 58: { if (dateHired_ == null) { dateHired_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(dateHired_); break; } case 64: { IsActive = input.ReadBool(); break; } case 74: { if (department_ == null) { department_ = new global::HOLMS.Types.IAM.DepartmentIndicator(); } input.ReadMessage(department_); break; } case 82: { DepartmentName = input.ReadString(); break; } case 90: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } case 96: { IsIncluded = input.ReadBool(); break; } } } }
public void MergeFrom(StaffMember other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.IAM.StaffMemberIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.UserId.Length != 0) { UserId = other.UserId; } if (other.Password.Length != 0) { Password = other.Password; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.EmergencyContactPhoneNumber.Length != 0) { EmergencyContactPhoneNumber = other.EmergencyContactPhoneNumber; } if (other.IsPhoneDataDisplayable != false) { IsPhoneDataDisplayable = other.IsPhoneDataDisplayable; } if (other.dateHired_ != null) { if (dateHired_ == null) { dateHired_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } DateHired.MergeFrom(other.DateHired); } if (other.IsActive != false) { IsActive = other.IsActive; } if (other.department_ != null) { if (department_ == null) { department_ = new global::HOLMS.Types.IAM.DepartmentIndicator(); } Department.MergeFrom(other.Department); } if (other.DepartmentName.Length != 0) { DepartmentName = other.DepartmentName; } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.IsIncluded != false) { IsIncluded = other.IsIncluded; } }