target.apidocs.com.google.api.services.androidenterprise.model.Enterprise.html Maven / Gradle / Ivy
Enterprise (Google Play EMM API v1-rev20210723-1.32.1)
com.google.api.services.androidenterprise.model
Class Enterprise
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.Enterprise
-
public final class Enterprise
extends GenericJson
An Enterprises resource represents the binding between an EMM and a specific organization. That
binding can be instantiated in one of two different ways using this API as follows: - For Google
managed domain customers, the process involves using Enterprises.enroll and
Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the
Google API Console) and submitted to the EMM through a more-or-less manual process. - For managed
Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and
Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-
provided mechanism) to create the binding without manual steps. As an EMM, you can support either
or both approaches in your EMM console. See Create an Enterprise for details.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Play EMM API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Enterprise()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Enterprise
clone()
List<Administrator>
getAdministrator()
Admins of the enterprise.
String
getId()
The unique ID for the enterprise.
String
getName()
The name of the enterprise, for example, "Example, Inc".
String
getPrimaryDomain()
The enterprise's primary domain, such as "example.com".
Enterprise
set(String fieldName,
Object value)
Enterprise
setAdministrator(List<Administrator> administrator)
Admins of the enterprise.
Enterprise
setId(String id)
The unique ID for the enterprise.
Enterprise
setName(String name)
The name of the enterprise, for example, "Example, Inc".
Enterprise
setPrimaryDomain(String primaryDomain)
The enterprise's primary domain, such as "example.com".
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdministrator
public List<Administrator> getAdministrator()
Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated
flow.
- Returns:
- value or
null
for none
-
setAdministrator
public Enterprise setAdministrator(List<Administrator> administrator)
Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated
flow.
- Parameters:
administrator
- administrator or null
for none
-
getId
public String getId()
The unique ID for the enterprise.
- Returns:
- value or
null
for none
-
setId
public Enterprise setId(String id)
The unique ID for the enterprise.
- Parameters:
id
- id or null
for none
-
getName
public String getName()
The name of the enterprise, for example, "Example, Inc".
- Returns:
- value or
null
for none
-
setName
public Enterprise setName(String name)
The name of the enterprise, for example, "Example, Inc".
- Parameters:
name
- name or null
for none
-
getPrimaryDomain
public String getPrimaryDomain()
The enterprise's primary domain, such as "example.com".
- Returns:
- value or
null
for none
-
setPrimaryDomain
public Enterprise setPrimaryDomain(String primaryDomain)
The enterprise's primary domain, such as "example.com".
- Parameters:
primaryDomain
- primaryDomain or null
for none
-
set
public Enterprise set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Enterprise clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy