Class AffectedMembership
Earlier we used to populate just the affected_members list and inferred the new membership state (roles didn't exist back then) from the Type. go/dynamite-finra required backend to know the previous membership state to reconstruct membership history. The proper solution involved cleaning up up Type enum, but it was used in many, many places. This was added as a stop-gap solution to unblock FINRA without breaking everything. Later role update and target audience update started relying on this to communicate information to clients about what transition happened. So this is now required to be populated and should be in sync with affected_members for new messages.
Inheritance
object
AffectedMembership
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class AffectedMembership : IDirectResponseSchema
Properties
AffectedMember
Declaration
[JsonProperty("affectedMember")]
public virtual MemberId AffectedMember { get; set; }
Property Value
| Type | Description |
|---|---|
| MemberId |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PriorMembershipRole
Declaration
[JsonProperty("priorMembershipRole")]
public virtual string PriorMembershipRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PriorMembershipState
Declaration
[JsonProperty("priorMembershipState")]
public virtual string PriorMembershipState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetMembershipRole
Declaration
[JsonProperty("targetMembershipRole")]
public virtual string TargetMembershipRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |