Publish video review to make it available for review.

@param teamName Your team name.
@param reviewId Id of the review.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceResponse} object if successful.
341988
public Observable<Void> publishVideoReviewAsync(String teamName, String reviewId) {
        return publishVideoReviewWithServiceResponseAsync(teamName, reviewId).map(new Func1<ServiceResponse<Void>, Void>() {
            @Override
            public Void call(ServiceResponse<Void> response) {
                return response.body();
            }
        });
    }
1363271
public ApiKey createApiKey(final Team team) {
        final List<Team> teams = new ArrayList<>();
        teams.add(team);
        pm.currentTransaction().begin();
        final ApiKey apiKey = new ApiKey();
        apiKey.setKey(ApiKeyGenerator.generate());
        apiKey.setTeams(teams);
        pm.makePersistent(apiKey);
        pm.currentTransaction().commit();
        return pm.getObjectById(ApiKey.class, apiKey.getId());
    }
596059
public Team kickPlayer(long summonerId, TeamId teamId) {
        return client.sendRpcAndWait(SERVICE, "kickPlayer", summonerId, teamId);
    }
975013
def get_review(self, id):
        
        assert isinstance(id, (int, long)), id
        headers, data = self._requester.requestJsonAndCheck(
            "GET",
            self.url + "/reviews/" + str(id),
        )
        return github.PullRequestReview.PullRequestReview(self._requester, headers, data, completed=True)
1100283
public Team createTeam(String name) {
        return connection.execute(new TeamCreate(new Team(name)), apiKey);
    }
94392
func (cs *TeamService) Create(team Team) (*TeamResponse, error) {
	if err := team.Valid(); err != nil {
		return nil, err
	}

	req, err := cs.client.NewRequest("POST", "/teams", team.PostParams())
	if err != nil {
		return nil, err
	}

	t := &TeamResponse{}
	_, err = cs.client.Do(req, t)
	if err != nil {
		return nil, err
	}
	return t, err
}
1031982
public static void runExample(AdManagerServices adManagerServices, AdManagerSession session)
      throws RemoteException {
    // Get the TeamService.
    TeamServiceInterface teamService = adManagerServices.get(session, TeamServiceInterface.class);

    // Create a read/write team.
    Team readWriteTeam = new Team();
    readWriteTeam.setName("Read/write team #" + new Random().nextInt(Integer.MAX_VALUE));
    readWriteTeam.setTeamAccessType(TeamAccessType.READ_WRITE);
    readWriteTeam.setHasAllCompanies(false);
    readWriteTeam.setHasAllInventory(false);

    // Create a read-only team.
    Team readOnlyTeam = new Team();
    readOnlyTeam.setName("Read-only team #" + new Random().nextInt(Integer.MAX_VALUE));
    readOnlyTeam.setTeamAccessType(TeamAccessType.READ_ONLY);
    readOnlyTeam.setHasAllCompanies(false);
    readOnlyTeam.setHasAllInventory(false);

    // Create the teams on the server.
    Team[] teams = teamService.createTeams(new Team[] {readWriteTeam, readOnlyTeam});

    for (Team createdTeam : teams) {
      System.out.printf(
          "A team with ID %d and name '%s' was created.%n",
          createdTeam.getId(), createdTeam.getName());
    }
  }
967196
public OvhServiceMonitoring serviceName_serviceMonitoring_monitoringId_GET(String serviceName, Long monitoringId) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}";
		StringBuilder sb = path(qPath, serviceName, monitoringId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhServiceMonitoring.class);
	}
956082
public Observable<SummarizeResultsInner> summarizeForResourceAsync(String resourceId) {
        return summarizeForResourceWithServiceResponseAsync(resourceId).map(new Func1<ServiceResponse<SummarizeResultsInner>, SummarizeResultsInner>() {
            @Override
            public SummarizeResultsInner call(ServiceResponse<SummarizeResultsInner> response) {
                return response.body();
            }
        });
    }
1046103
private void snapshotService(SnapshotWriter writer, RaftServiceContext service) {
    writer.writeLong(service.serviceId().id());
    writer.writeString(service.serviceType().name());
    writer.writeString(service.serviceName());
    byte[] config = Serializer.using(service.serviceType().namespace()).encode(service.serviceConfig());
    writer.writeInt(config.length).writeBytes(config);
    try {
      service.takeSnapshot(writer);
    } catch (Exception e) {
      logger.error("Failed to take snapshot of service {}", service.serviceId(), e);
    }
  }
137448
public Observable<ServiceResponse<Review>> getReviewWithServiceResponseAsync(String teamName, String reviewId) {
        if (this.client.baseUrl() == null) {
            throw new IllegalArgumentException("Parameter this.client.baseUrl() is required and cannot be null.");
        }
        if (teamName == null) {
            throw new IllegalArgumentException("Parameter teamName is required and cannot be null.");
        }
        if (reviewId == null) {
            throw new IllegalArgumentException("Parameter reviewId is required and cannot be null.");
        }
        String parameterizedHost = Joiner.on(", ").join("{baseUrl}", this.client.baseUrl());
        return service.getReview(teamName, reviewId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
            .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Review>>>() {
                @Override
                public Observable<ServiceResponse<Review>> call(Response<ResponseBody> response) {
                    try {
                        ServiceResponse<Review> clientResponse = getReviewDelegate(response);
                        return Observable.just(clientResponse);
                    } catch (Throwable t) {
                        return Observable.error(t);
                    }
                }
            });
    }
1028106
public function addApplicationToTeam($teamUuid, $applicationUuid)
    {
        $options = [
            'form_params' => [
                'uuid' => $applicationUuid,
            ],
        ];

        return new OperationResponse(
            $this->connector->request('post', "/teams/${teamUuid}/applications", $this->query, $options)
        );
    }
322452
public JSONObject getByTeamFull(String company, String team, HashMap<String, String> params) throws JSONException {
        return _getByType(company, team, null, params, false);
    }
605708
public static String[] getServiceName(String[] argv, String[] serviceId) 
      throws IllegalArgumentException {
    ArrayList<String> newArgvList = new ArrayList<String>();
    for (int i = 0; i < argv.length; i++) {
      if ("-service".equals(argv[i])) {
        if (i+1 == argv.length ) {
          throw new IllegalArgumentException("Doesn't have service id");
        }
        serviceId[0] = argv[++i];
      } else {
        newArgvList.add(argv[i]);
      }
    }
    String[] newArgvs = new String[newArgvList.size()];
    newArgvList.toArray(newArgvs);
    return newArgvs;
  }
1267156
public Team getTeam() throws HelloSignException {
        return new Team(httpClient.withAuth(auth).get(BASE_URI + TEAM_URI).asJson());
    }
911217
public Team invitePlayer(long summonerId, TeamId teamId) {
        return client.sendRpcAndWait(SERVICE, "invitePlayer", summonerId, teamId);
    }
239404
public Team createTeam(String name, String tag) {
        return client.sendRpcAndWait(SERVICE, "createTeam", name, tag);
    }