Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomerId" /> class.
 /// </summary>
 /// <param name="id">id (required).</param>
 /// <param name="integrationCode">This is the **alias** used when setting up a CRS datasource in the Marketing Cloud UI. (required).</param>
 /// <param name="authenticatedState">authenticatedState (required).</param>
 public CustomerId(string id = default(string), string integrationCode = default(string), AuthenticatedState authenticatedState = default(AuthenticatedState))
 {
     // to ensure "id" is required (not null)
     this.Id = id ?? throw new ArgumentNullException("id is a required property for CustomerId and cannot be null");
     // to ensure "integrationCode" is required (not null)
     this.IntegrationCode    = integrationCode ?? throw new ArgumentNullException("integrationCode is a required property for CustomerId and cannot be null");
     this.AuthenticatedState = authenticatedState;
 }
Ejemplo n.º 2
0
 override protected void SetAuthenticated()
 {
     State = new AuthenticatedState();
 }