Package com.alfresco.content.models
Class PersonNetwork
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class PersonNetworkA network is the group of users and sites that belong to an organization. Networks are organized by email domain. When a user signs up for an Alfresco account , their email domain becomes their Home Network.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPersonNetwork.SubscriptionLevelEnumValues: FREE, STANDARD, ENTERPRISE
-
Field Summary
Fields Modifier and Type Field Description private Stringidprivate BooleanisEnabledprivate BooleanhomeNetworkprivate ZonedDateTimecreatedAtprivate BooleanpaidNetworkprivate PersonNetwork.SubscriptionLevelEnumsubscriptionLevelprivate List<NetworkQuota>quotas
-
Constructor Summary
Constructors Constructor Description PersonNetwork(String id, Boolean isEnabled, Boolean homeNetwork, ZonedDateTime createdAt, Boolean paidNetwork, PersonNetwork.SubscriptionLevelEnum subscriptionLevel, List<NetworkQuota> quotas)
-
Method Summary
Modifier and Type Method Description final StringgetId()This network's unique id final UnitsetId(@Json(name = "id") String id)This network's unique id final BooleanisEnabled()final UnitsetEnabled(@Json(name = "isEnabled") Boolean isEnabled)final BooleangetHomeNetwork()Is this the home network? final UnitsetHomeNetwork(@Json(name = "homeNetwork") Boolean homeNetwork)Is this the home network? final ZonedDateTimegetCreatedAt()final UnitsetCreatedAt(@Json(name = "createdAt") ZonedDateTime createdAt)final BooleangetPaidNetwork()final UnitsetPaidNetwork(@Json(name = "paidNetwork") Boolean paidNetwork)final PersonNetwork.SubscriptionLevelEnumgetSubscriptionLevel()final UnitsetSubscriptionLevel(@Json(name = "subscriptionLevel") PersonNetwork.SubscriptionLevelEnum subscriptionLevel)final List<NetworkQuota>getQuotas()final UnitsetQuotas(@Json(name = "quotas") List<NetworkQuota> quotas)-
-
Constructor Detail
-
PersonNetwork
PersonNetwork(String id, Boolean isEnabled, Boolean homeNetwork, ZonedDateTime createdAt, Boolean paidNetwork, PersonNetwork.SubscriptionLevelEnum subscriptionLevel, List<NetworkQuota> quotas)
-
-
Method Detail
-
setEnabled
final Unit setEnabled(@Json(name = "isEnabled") Boolean isEnabled)
-
getHomeNetwork
final Boolean getHomeNetwork()
Is this the home network?
-
setHomeNetwork
final Unit setHomeNetwork(@Json(name = "homeNetwork") Boolean homeNetwork)
Is this the home network?
-
getCreatedAt
final ZonedDateTime getCreatedAt()
-
setCreatedAt
final Unit setCreatedAt(@Json(name = "createdAt") ZonedDateTime createdAt)
-
getPaidNetwork
final Boolean getPaidNetwork()
-
setPaidNetwork
final Unit setPaidNetwork(@Json(name = "paidNetwork") Boolean paidNetwork)
-
getSubscriptionLevel
final PersonNetwork.SubscriptionLevelEnum getSubscriptionLevel()
-
setSubscriptionLevel
final Unit setSubscriptionLevel(@Json(name = "subscriptionLevel") PersonNetwork.SubscriptionLevelEnum subscriptionLevel)
-
getQuotas
final List<NetworkQuota> getQuotas()
-
setQuotas
final Unit setQuotas(@Json(name = "quotas") List<NetworkQuota> quotas)
-
-
-
-