Skip to content

Commit

Permalink
refactor: move metadata to seperate file
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebkq committed Sep 12, 2024
1 parent 9ebe135 commit 4cbc090
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.cryptlex.android.lexactivator;

public class Metadata {
/**
* The key of the metadata.
*/
public String key;

/**
* The value of the metadata.
*/
public String value;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package com.cryptlex.android.lexactivator;
import com.cryptlex.android.lexactivator.Metadata;

public class UserLicense {

Expand Down Expand Up @@ -26,16 +27,4 @@ public class UserLicense {
* License metadata with `view_permission` set to `"user"`.
*/
public Metadata[] metadata;

public static class Metadata {
/**
* The key of the metadata.
*/
public String key;

/**
* The value of the metadata.
*/
public String value;
}
}

0 comments on commit 4cbc090

Please sign in to comment.