-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from pulkit4tech/delete_privy
#30 : Added option for delete request
- Loading branch information
Showing
11 changed files
with
181 additions
and
31 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
20 changes: 20 additions & 0 deletions
20
app/src/main/java/com/pulkit4tech/privy/data/PostPrivyDeleteRequest.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,20 @@ | ||
package com.pulkit4tech.privy.data; | ||
|
||
public class PostPrivyDeleteRequest { | ||
private String place_id; | ||
|
||
public String getPlaceid() { | ||
return place_id; | ||
} | ||
|
||
public void setPlaceid(String place_id) { | ||
this.place_id = place_id; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "PostPrivyDeleteRequest{" + | ||
"place_id='" + place_id + '\'' + | ||
'}'; | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
app/src/main/java/com/pulkit4tech/privy/data/json/PostPrivyDeleteResponse.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,30 @@ | ||
package com.pulkit4tech.privy.data.json; | ||
|
||
public class PostPrivyDeleteResponse { | ||
private String status; | ||
private String error_message; | ||
|
||
public String getStatus() { | ||
return status; | ||
} | ||
|
||
public void setStatus(String status) { | ||
this.status = status; | ||
} | ||
|
||
public String getErrormessage() { | ||
return error_message; | ||
} | ||
|
||
public void setErrormessage(String error_message) { | ||
this.error_message = error_message; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "PostPrivyDeleteResponse{" + | ||
"status='" + status + '\'' + | ||
", error_message='" + error_message + '\'' + | ||
'}'; | ||
} | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.