Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter4j
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
java
duniter4j
Commits
4872af40
Commit
4872af40
authored
5 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
[enh] Allow to get /wot/pending and /wot/requirements
parent
6f1e4c43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#7666
canceled
5 years ago
Stage: github-sync
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
duniter4j-core-client/src/main/java/org/duniter/core/client/model/bma/WotPendingMembership.java
+70
-51
70 additions, 51 deletions
...g/duniter/core/client/model/bma/WotPendingMembership.java
with
70 additions
and
51 deletions
duniter4j-core-client/src/main/java/org/duniter/core/client/model/bma/WotPendingMembership.java
+
70
−
51
View file @
4872af40
...
@@ -5,54 +5,73 @@ import java.io.Serializable;
...
@@ -5,54 +5,73 @@ import java.io.Serializable;
public
class
WotPendingMembership
implements
Serializable
{
public
class
WotPendingMembership
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
private
String
pubkey
;
private
String
uid
;
public
static
final
String
PROPERTY_PUBKEY
=
"pubkey"
;
private
String
version
;
public
static
final
String
PROPERTY_UID
=
"uid"
;
private
String
currency
;
public
static
final
String
PROPERTY_VERSION
=
"version"
;
private
String
membership
;
public
static
final
String
PROPERTY_CURRENCY
=
"currency"
;
private
long
blockNumber
;
public
static
final
String
PROPERTY_MEMBERSHIP
=
"membership"
;
private
String
blockHash
;
public
static
final
String
PROPERTY_BLOCK_NUMBER
=
"blockNumber"
;
public
static
final
String
PROPERTY_BLOCK_HASH
=
"blockHash"
;
public
String
getPubkey
()
{
public
static
final
String
PROPERTY_WRITTEN
=
"written"
;
return
pubkey
;
}
private
String
pubkey
;
public
void
setPubkey
(
String
pubkey
)
{
private
String
uid
;
this
.
pubkey
=
pubkey
;
private
String
version
;
}
private
String
currency
;
public
String
getUid
()
{
private
String
membership
;
return
uid
;
private
Integer
blockNumber
;
}
private
String
blockHash
;
public
void
setUid
(
String
uid
)
{
private
Boolean
written
;
this
.
uid
=
uid
;
}
public
String
getPubkey
()
{
public
String
getVersion
()
{
return
pubkey
;
return
version
;
}
}
public
void
setPubkey
(
String
pubkey
)
{
public
void
setVersion
(
String
version
)
{
this
.
pubkey
=
pubkey
;
this
.
version
=
version
;
}
}
public
String
getUid
()
{
public
String
getCurrency
()
{
return
uid
;
return
currency
;
}
}
public
void
setUid
(
String
uid
)
{
public
void
setCurrency
(
String
currency
)
{
this
.
uid
=
uid
;
this
.
currency
=
currency
;
}
}
public
String
getVersion
()
{
public
String
getMembership
()
{
return
version
;
return
membership
;
}
}
public
void
setVersion
(
String
version
)
{
public
void
setMembership
(
String
membership
)
{
this
.
version
=
version
;
this
.
membership
=
membership
;
}
}
public
String
getCurrency
()
{
public
long
getBlockNumber
()
{
return
currency
;
return
blockNumber
;
}
}
public
void
setCurrency
(
String
currency
)
{
public
void
setBlockNumber
(
long
blockNumber
)
{
this
.
currency
=
currency
;
this
.
blockNumber
=
blockNumber
;
}
}
public
String
getMembership
()
{
public
String
getBlockHash
()
{
return
membership
;
return
blockHash
;
}
}
public
void
setMembership
(
String
membership
)
{
public
void
setBlockHash
(
String
blockHash
)
{
this
.
membership
=
membership
;
this
.
blockHash
=
blockHash
;
}
}
public
long
getBlockNumber
()
{
}
return
blockNumber
;
\ No newline at end of file
}
public
void
setBlockNumber
(
Integer
blockNumber
)
{
this
.
blockNumber
=
blockNumber
;
}
public
String
getBlockHash
()
{
return
blockHash
;
}
public
void
setBlockHash
(
String
blockHash
)
{
this
.
blockHash
=
blockHash
;
}
public
Boolean
getWritten
()
{
return
written
;
}
public
void
setWritten
(
Boolean
written
)
{
this
.
written
=
written
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment