Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import lombok.Setter;
import com.twilio.exception.ApiException;
import lombok.RequiredArgsConstructor;
import com.twilio.rest.previewiam.organizations.Token;
import com.twilio.rest.previewiam.organizations.TokenCreator;
import com.twilio.rest.previewiam.v1.Token;
import com.twilio.rest.previewiam.v1.TokenCreator;
public class OrgsTokenManager implements TokenManager{

private final String grantType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public Page<User> getPage(

private void addQueryParams(final BearerTokenRequest request) {
if (filter != null) {
request.addQueryParam("Filter", filter);
request.addQueryParam("filter", filter);
}

if (getPageSize() != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Do not edit the class manually.
*/

package com.twilio.rest.previewiam.organizations;
package com.twilio.rest.previewiam.v1;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Do not edit the class manually.
*/

package com.twilio.rest.previewiam.organizations;
package com.twilio.rest.previewiam.v1;

import com.twilio.base.noauth.Fetcher;
import com.twilio.constant.EnumConstants;
Expand Down Expand Up @@ -101,19 +101,19 @@ public Authorize fetch(final NoAuthTwilioRestClient client) {

private void addQueryParams(final NoAuthRequest request) {
if (responseType != null) {
request.addQueryParam("Response_type", responseType);
request.addQueryParam("response_type", responseType);
}
if (clientId != null) {
request.addQueryParam("Client_id", clientId);
request.addQueryParam("client_id", clientId);
}
if (redirectUri != null) {
request.addQueryParam("Redirect_uri", redirectUri);
request.addQueryParam("redirect_uri", redirectUri);
}
if (scope != null) {
request.addQueryParam("Scope", scope);
request.addQueryParam("scope", scope);
}
if (state != null) {
request.addQueryParam("State", state);
request.addQueryParam("state", state);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Do not edit the class manually.
*/

package com.twilio.rest.previewiam.organizations;
package com.twilio.rest.previewiam.v1;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Do not edit the class manually.
*/

package com.twilio.rest.previewiam.organizations;
package com.twilio.rest.previewiam.v1;

import com.twilio.base.noauth.Creator;
import com.twilio.constant.EnumConstants;
Expand Down