-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ Configurable media toggle (#167)
* feat: ✨ fetch media toggle endpoint+formatting changes * refactor: ♻️ correct error response type * feat: ✨ add api to update ug obs customisations
- Loading branch information
Showing
7 changed files
with
148 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/main/java/com/strandls/userGroup/pojo/ObservationCustomisations.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.strandls.userGroup.pojo; | ||
|
||
public class ObservationCustomisations { | ||
private Long userGroupId; | ||
private String mediaToggle; | ||
|
||
public ObservationCustomisations() { | ||
super(); | ||
} | ||
|
||
public ObservationCustomisations(Long userGroupId, String mediaToggle) { | ||
super(); | ||
this.userGroupId = userGroupId; | ||
this.mediaToggle = mediaToggle; | ||
} | ||
|
||
public Long getUserGroupId() { | ||
return userGroupId; | ||
} | ||
|
||
public void setUserGroupId(Long userGroupId) { | ||
this.userGroupId = userGroupId; | ||
} | ||
|
||
public String getMediaToggle() { | ||
return mediaToggle; | ||
} | ||
|
||
public void setMediaToggle(String mediaToggle) { | ||
this.mediaToggle = mediaToggle; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters