BIDOrigin
public class BIDOrigin extends Object
↳ package com.onekosmos.blockid.sdk.datamodel
Model class to represent the origin data (attributes).
Field Summary
| type | parameter |
|---|---|
| String | api |
| String | authPage |
| String | community |
| String | communityId |
| String | communityName |
| String | name |
| String | publicKey |
| String | session |
| String | tag |
| String | url |
Constructor
public BIDOrigin()
- Creates an object of
BIDOrigin
Method Summary
| type | parameter | summary |
|---|---|---|
| boolean | equals(@Nullable Object object) | Overrides equals(Object) from java.lang.Object to determine equality between two BIDOrigin instances by comparing their api, community, and tag fields. Returns true if all these properties are equal; otherwise, returns false. |
| String | getApi() | Returns origin API |
| String | getAuthPage() | Returns origin authentication page |
| String | getCommunity() | Returns origin community |
| String | getCommunityId() | Returns origin community ID |
| String | getCommunityName() | Returns origin community name |
| String | getName() | Returns origin name |
| String | getPublicKey() | Returns origin public key |
| String | getSession() | Returns origin session |
| String | getTag() | Returns origin tag |
| String | getUrl() | Returns origin URL |
Method Detail
equals
public boolean equals(@Nullable Object obj)
- Overrides equals(Object) from java.lang.Object to determine equality between two BIDOrigin instances by comparing their api, community, and tag fields. Returns true if all these properties are equal; otherwise, returns false.
getApi
public String getApi()
- Returns origin's API
getAuthPage
public String getAuthPage()
- Returns origin's authentication page
getCommunity
public String getCommunity()
- Returns origin's community
getCommunityId
public String getCommunityId()
- Returns origin's community ID
getCommunityName
public String getCommunityName()
- Returns origin's community name
getName
public String getName()
- Returns origin's name
getPublicKey
public String getPublicKey()
- Returns origin's public key
getSession
public String getSession()
- Returns origin's session
getTag
public String getTag()
- Returns origin's tag
getUrl
public String getUrl()
- Returns origin's URL