Get this object properties

REST: GET /email/pro/{service}/account/{email}/alias/{alias}
@param service [required] The internal name of your pro organization
@param email [required] Default email for this mailbox
@param alias [required] Alias

API beta
540976
public OvhAccountAlias service_account_email_alias_alias_GET(String service, String email, String alias) throws IOException {
		String qPath = "/email/pro/{service}/account/{email}/alias/{alias}";
		StringBuilder sb = path(qPath, service, email, alias);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhAccountAlias.class);
	}
304953
public OvhDomain service_domain_domainName_GET(String service, String domainName) throws IOException {
		String qPath = "/email/pro/{service}/domain/{domainName}";
		StringBuilder sb = path(qPath, service, domainName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDomain.class);
	}
632175
@GET
  @Path("search")
  @RolesAllowed({"ROLE_ADMIN"})
  public Response search(@QueryParam("email") String email,
                         @QueryParam("username") String username,
                         @QueryParam("pageSize") @DefaultValue("10") int pageSize,
                         @QueryParam("cursorKey") String cursorKey) {

    final CursorPage<DUser> page;
    if (null != email) {
      page = userService.findMatchingUsersByEmail(email, pageSize, cursorKey);
    } else if (null != username) {
      page = userService.findMatchingUsersByUserName(username, pageSize, cursorKey);
    } else {
      throw new BadRequestRestException("No search key provided");
    }

    return Response.ok(page).build();
  }
1340784
public static Credentials getUserByEmail(DAO serverDao, String email) throws DAO.DAOException {
        Query query = new QueryBuilder()
                .select()
                .from(Credentials.class)
                .where(Credentials.EMAIL_KEY, OPERAND.EQ,email)
                .build();

        TransientObject to = (TransientObject) ObjectUtils.get1stOrNull(serverDao.query(query));
        if(to==null){
            return null;
        } else {
            return to(Credentials.class, to);
        }
    }
498169
public OvhFilter domain_account_accountName_filter_name_GET(String domain, String accountName, String name) throws IOException {
		String qPath = "/email/domain/{domain}/account/{accountName}/filter/{name}";
		StringBuilder sb = path(qPath, domain, accountName, name);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhFilter.class);
	}
1330773
public void service_PUT(String service, OvhService body) throws IOException {
		String qPath = "/email/pro/{service}";
		StringBuilder sb = path(qPath, service);
		exec(qPath, "PUT", sb.toString(), body);
	}
305178
public Collection<EmailAlias> getEmailAliases() {
        URL url = EMAIL_ALIASES_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID());
        BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
        BoxJSONResponse response = (BoxJSONResponse) request.send();
        JsonObject responseJSON = JsonObject.readFrom(response.getJSON());

        int totalCount = responseJSON.get("total_count").asInt();
        Collection<EmailAlias> emailAliases = new ArrayList<EmailAlias>(totalCount);
        JsonArray entries = responseJSON.get("entries").asArray();
        for (JsonValue value : entries) {
            JsonObject emailAliasJSON = value.asObject();
            emailAliases.add(new EmailAlias(emailAliasJSON));
        }

        return emailAliases;
    }
102589
public OvhModerator domain_mailingList_name_moderator_email_GET(String domain, String name, String email) throws IOException {
		String qPath = "/email/domain/{domain}/mailingList/{name}/moderator/{email}";
		StringBuilder sb = path(qPath, domain, name, email);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhModerator.class);
	}
276202
public OvhDisclaimer service_domain_domainName_disclaimer_GET(String service, String domainName) throws IOException {
		String qPath = "/email/pro/{service}/domain/{domainName}/disclaimer";
		StringBuilder sb = path(qPath, service, domainName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDisclaimer.class);
	}
260736
private boolean isEmailPropertiesSet() {
        return properties != null &&
                properties.containsKey(EMAIL_HOST) &&
                properties.containsKey(EMAIL_PORT) &&
                properties.containsKey(EMAIL_USERNAME) &&
                properties.containsKey(EMAIL_PASSWORD) &&
                properties.containsKey(EMAIL_FROM) &&
                properties.containsKey(EMAIL_TO);
    }
1165016
def alias(self, aliases, stats):
        
        login = email = None
        if stats is None:
            return
        # Attempt to use alias directly from the config section
        try:
            config = dict(Config().section(stats))
            try:
                email = config["email"]
            except KeyError:
                pass
            try:
                login = config["login"]
            except KeyError:
                pass
        except (ConfigFileError, NoSectionError):
            pass
        # Check for aliases specified in the email string
        if aliases is not None:
            try:
                aliases = dict([
                    re.split(r"\s*:\s*", definition, 1)
                    for definition in re.split(r"\s*;\s*", aliases.strip())])
            except ValueError:
                raise ConfigError(
                    "Invalid alias definition: '{0}'".format(aliases))
            if stats in aliases:
                if "@" in aliases[stats]:
                    email = aliases[stats]
                else:
                    login = aliases[stats]
        # Update login/email if alias detected
        if email is not None:
            self.email = email
            log.info("Using email alias '{0}' for '{1}'".format(email, stats))
            if login is None:
                login = email.split("@")[0]
        if login is not None:
            self.login = login
            log.info("Using login alias '{0}' for '{1}'".format(login, stats))
100389
public ArrayList<OvhVolumeHistory> serviceName_email_volumes_GET(String serviceName) throws IOException {
		String qPath = "/hosting/web/{serviceName}/email/volumes";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t10);
	}
1049123
@Nullable
  public static EmailAddress getAsEmailAddress (@Nullable final InternetAddress aInternetAddress)
  {
    return aInternetAddress == null ? null : new EmailAddress (aInternetAddress.getAddress (),
                                                               aInternetAddress.getPersonal ());
  }
458010
@Override
    public Future<Option<BasicProfile>> findByEmailAndProvider(String email, String providerId) {
        return toScala(doFindByEmailAndProvider(email, providerId).thenApply(Scala::Option));
    }
953691
public OvhExternalContact service_externalContact_externalEmailAddress_GET(String service, String externalEmailAddress) throws IOException {
		String qPath = "/email/pro/{service}/externalContact/{externalEmailAddress}";
		StringBuilder sb = path(qPath, service, externalEmailAddress);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhExternalContact.class);
	}
1370648
public String getAccountEmail() {
    if (emails != null) {
      for (final Entry<String, String> entry : emails.entrySet()) {
        if (entry.getValue().equals("account")) {
          return entry.getKey();
        }
      }
    }
    return null;
  }
734949
public OvhTask packName_emailPro_services_POST(String packName, String email, String password) throws IOException {
		String qPath = "/pack/xdsl/{packName}/emailPro/services";
		StringBuilder sb = path(qPath, packName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "email", email);
		addBody(o, "password", password);
		String resp = exec(qPath, "POST", sb.toString(), o);
		return convertTo(resp, OvhTask.class);
	}