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
1 change: 1 addition & 0 deletions clients/line-liff-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ src/main/java/com/linecorp/bot/liff/model/LiffFeatures.java
src/main/java/com/linecorp/bot/liff/model/LiffScope.java
src/main/java/com/linecorp/bot/liff/model/LiffView.java
src/main/java/com/linecorp/bot/liff/model/UpdateLiffAppRequest.java
src/main/java/com/linecorp/bot/liff/model/UpdateLiffView.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@javax.annotation.Generated(value = "com.linecorp.bot.codegen.LineJavaCodegenGenerator")
public record UpdateLiffAppRequest(
/** Get view */
@JsonProperty("view") LiffView view,
@JsonProperty("view") UpdateLiffView view,
/**
* Name of the LIFF app. The LIFF app name can't include \"LINE\" or similar
* strings, or inappropriate strings.
Expand All @@ -53,7 +53,7 @@ public record UpdateLiffAppRequest(
@JsonProperty("botPrompt") LiffBotPrompt botPrompt) {

public static class Builder {
private LiffView view;
private UpdateLiffView view;
private String description;
private LiffFeatures features;
private String permanentLinkPattern;
Expand All @@ -62,7 +62,7 @@ public static class Builder {

public Builder() {}

public Builder view(LiffView view) {
public Builder view(UpdateLiffView view) {
this.view = view;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* Copyright 2023 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/

/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech Do not edit the class manually.
*/
package com.linecorp.bot.liff.model;



import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.net.URI;

/**
* UpdateLiffView
*
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">
* Documentation</a>
*/
@JsonInclude(Include.NON_NULL)
@javax.annotation.Generated(value = "com.linecorp.bot.codegen.LineJavaCodegenGenerator")
public record UpdateLiffView(
/** Size of the LIFF app view. Specify one of these values: - compact - tall - full */
@JsonProperty("type") Type type,
/**
* Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g.
* https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme
* must be https. URL fragments (#URL-fragment) can&#39;t be specified.
*/
@JsonProperty("url") URI url,
/**
* &#x60;true&#x60; to use the LIFF app in modular mode. When in modular mode, the action button
* in the header is not displayed.
*/
@JsonProperty("moduleMode") Boolean moduleMode) {

/** Size of the LIFF app view. Specify one of these values: - compact - tall - full */
public enum Type {
@JsonProperty("compact")
COMPACT,
@JsonProperty("tall")
TALL,
@JsonProperty("full")
FULL,

@JsonEnumDefaultValue
UNDEFINED;
}

public static class Builder {
private Type type;
private URI url;
private Boolean moduleMode;

public Builder() {}

public Builder type(Type type) {
this.type = type;
return this;
}

public Builder url(URI url) {
this.url = url;
return this;
}

public Builder moduleMode(Boolean moduleMode) {
this.moduleMode = moduleMode;
return this;
}

public UpdateLiffView build() {
return new UpdateLiffView(type, url, moduleMode);
}
}
}
2 changes: 1 addition & 1 deletion line-openapi
Submodule line-openapi updated 1 files
+30 −1 liff.yml