public SupportTicketsClient(IEncentivizeRestClient restClient)
 {
     var entitySettings = new EntitySettings(typeof(SupportTicket));
     _entityUpdateService = new EntityUpdateService<EditSupportTicketInput, SupportTicket>(restClient, entitySettings);
     _entityRetrievalService = new EntityRetrievalService<SupportTicket>(restClient, entitySettings);
     _entityCreationService = new EntityCreationService<SupportTicketInput, SupportTicket>(restClient, entitySettings);
 }
 public OneTimePinsClient(IEncentivizeRestClient restClient)
 {
     var createOneTimePinRequestSettings = new EntitySettings("One Time Pin", "One Time Pins", "Otp");
     _createOneTimePinRequestService = new EntityCreationService<CreateOneTimePinRequest>(restClient, createOneTimePinRequestSettings);
     var passwordResetSettings = new EntitySettings("One Time Pin Password Reset", "One Time Pin Password Resets", "OtpPasswordReset");
     _passwordResetCreationService = new EntityCreationService<OneTimePinPasswordResetInput>(restClient, passwordResetSettings);
 }
 public AchievementCategoriesClient(IEncentivizeRestClient restClient)
 {
     var entitySettings = new EntitySettings().Populate<AchievementCategory>();
     _entityUpdateService = new EntityUpdateService<AchievementCategoryInput, AchievementCategory>(restClient, entitySettings);
     _entityRetrievalService = new EntityRetrievalService<AchievementCategory>(restClient, entitySettings);
     _entityCreationService = new EntityCreationService<AchievementCategoryInput, AchievementCategory>(restClient, entitySettings);
     _entityDeletionService = new EntityDeletionService<AchievementCategoryInput, AchievementCategory>(restClient, entitySettings);
 }
 public OneTimePinConfigurationsClient(IEncentivizeRestClient restClient)
 {
     var entitySettings = new EntitySettings().Populate<OneTimePinConfiguration>();
     _entityUpdateService = new EntityUpdateService<OneTimePinConfigurationInput, OneTimePinConfiguration>(restClient, entitySettings);
     _entityRetrievalService = new EntityRetrievalService<OneTimePinConfiguration>(restClient, entitySettings);
     _entityCreationService = new EntityCreationService<OneTimePinConfigurationInput, OneTimePinConfiguration>(restClient, entitySettings);
     _entityDeletionService = new EntityDeletionService<OneTimePinConfigurationInput, OneTimePinConfiguration>(restClient, entitySettings);
 }
Exemplo n.º 5
0
 public GroupsClient(IEncentivizeRestClient restClient)
 {
     var entitySettings = new EntitySettings().Populate<Group>();
     _entityUpdateService = new EntityUpdateService<GroupInput, Group>(restClient, entitySettings);
     _entityRetrievalService = new EntityRetrievalService<Group>(restClient, entitySettings);
     _entityCreationService = new EntityCreationService<GroupInput, Group>(restClient, entitySettings);
     _entityDeletionService = new EntityDeletionService<GroupInput, Group>(restClient, entitySettings);
 }
 public SupportTicketsClient(IEntityUpdateService<EditSupportTicketInput, SupportTicket> entityUpdateService, 
     IEntityRetrievalService<SupportTicket> entityRetrievalService, 
     IEntityCreationService<SupportTicketInput, SupportTicket> entityCreationService)
 {
     _entityUpdateService = entityUpdateService;
     _entityRetrievalService = entityRetrievalService;
     _entityCreationService = entityCreationService;
 }
 public AchievementCategoriesClient(IEntityUpdateService<AchievementCategoryInput, AchievementCategory> entityUpdateService, 
     IEntityRetrievalService<AchievementCategory> entityRetrievalService, 
     IEntityCreationService<AchievementCategoryInput, AchievementCategory> entityCreationService,
     IEntityDeletionService<AchievementCategoryInput, AchievementCategory> entityDeletionService)
 {
     _entityUpdateService = entityUpdateService;
     _entityRetrievalService = entityRetrievalService;
     _entityCreationService = entityCreationService;
     _entityDeletionService = entityDeletionService;
 }
 public OneTimePinConfigurationsClient(IEntityUpdateService<OneTimePinConfigurationInput, OneTimePinConfiguration> entityUpdateService, 
     IEntityRetrievalService<OneTimePinConfiguration> entityRetrievalService, 
     IEntityCreationService<OneTimePinConfigurationInput, OneTimePinConfiguration> entityCreationService,
     IEntityDeletionService<OneTimePinConfigurationInput, OneTimePinConfiguration> entityDeletionService)
 {
     _entityUpdateService = entityUpdateService;
     _entityRetrievalService = entityRetrievalService;
     _entityCreationService = entityCreationService;
     _entityDeletionService = entityDeletionService;
 }
Exemplo n.º 9
0
 public GroupsClient(IEntityUpdateService<GroupInput, Group> entityUpdateService, 
     IEntityRetrievalService<Group> entityRetrievalService, 
     IEntityCreationService<GroupInput, Group> entityCreationService,
     IEntityDeletionService<GroupInput, Group> entityDeletionService)
 {
     _entityUpdateService = entityUpdateService;
     _entityRetrievalService = entityRetrievalService;
     _entityCreationService = entityCreationService;
     _entityDeletionService = entityDeletionService;
 }
Exemplo n.º 10
0
 public OneTimePinsClient(IEntityCreationService<CreateOneTimePinRequest> createOneTimePinRequestService, 
     IEntityCreationService<OneTimePinPasswordResetInput> passwordResetCreationService)
 {
     _createOneTimePinRequestService = createOneTimePinRequestService;
     _passwordResetCreationService = passwordResetCreationService;
 }
Exemplo n.º 11
0
 public CreateEntityCommandHandler(IEntityCreationService entityCreationService)
 {
     _entityCreationService = entityCreationService;
 }