class Organization (View source)

Organizations are independent instances of the Rokka service.

Images and stacks are always managed in the context of an organization.

Users can be part of multiple organizations.

Properties

string $id

UUID v4.

string $displayName

Public display name.

string $name

Organization name.

string $billingEmail Email.

Methods

__construct(string $id, string $name, string $displayName, string $billingEmail)

Constructor.

static Organization
createFromJsonResponse(string $jsonString)

Create an organization from the JSON data.

string
getId()

Get Id.

string
getDisplayName()

Get name for displaying.

string
getName()

Get name for url.

string
getBillingEmail()

Get Billing Email.

Details

__construct(string $id, string $name, string $displayName, string $billingEmail)

Constructor.

Parameters

string $id Id
string $name

Name, used in urls etc

string $displayName

Display name

string $billingEmail Email

static Organization createFromJsonResponse(string $jsonString)

Create an organization from the JSON data.

Parameters

string $jsonString

JSON as a string

Return Value

Organization

string getId()

Get Id.

Return Value

string

string getDisplayName()

Get name for displaying.

Return Value

string

string getName()

Get name for url.

Return Value

string

string getBillingEmail()

Get Billing Email.

Return Value

string