Skip to content

Commit

Permalink
Merge pull request #29 from soracom/add-delete-immediately-to-sigfox-…
Browse files Browse the repository at this point in the history
…device-termination

Add --delete-immediately option to "sigfox-devices terminate"
  • Loading branch information
bearmini authored Jun 16, 2021
2 parents 54019ff + 748b389 commit 2382bcc
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 3 deletions.
6 changes: 6 additions & 0 deletions generators/assets/soracom-api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11521,6 +11521,12 @@ paths:
name: device_id
required: true
type: string
- default: false
description: If the Sigfox device is deleted immediately
in: query
name: delete_immediately
required: false
type: boolean
produces:
- application/json
responses:
Expand Down
6 changes: 6 additions & 0 deletions generators/assets/soracom-api.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11337,6 +11337,12 @@ paths:
name: device_id
required: true
type: string
- default: false
description: Sigfox デバイスを即座に削除する
in: query
name: delete_immediately
required: false
type: boolean
produces:
- application/json
responses:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
gopkg.in/yaml.v2 v2.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139 h1:C+AwYEtBp/VQwoLntUmQ/yx3MS9vmZaKNdw5eOpoQe8=
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
Expand Down
6 changes: 6 additions & 0 deletions soracom/generated/cmd/assets/soracom-api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11521,6 +11521,12 @@ paths:
name: device_id
required: true
type: string
- default: false
description: If the Sigfox device is deleted immediately
in: query
name: delete_immediately
required: false
type: boolean
produces:
- application/json
responses:
Expand Down
6 changes: 6 additions & 0 deletions soracom/generated/cmd/assets/soracom-api.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11337,6 +11337,12 @@ paths:
name: device_id
required: true
type: string
- default: false
description: Sigfox デバイスを即座に削除する
in: query
name: delete_immediately
required: false
type: boolean
produces:
- application/json
responses:
Expand Down
9 changes: 9 additions & 0 deletions soracom/generated/cmd/sigfox_devices_terminate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2382bcc

Please sign in to comment.