Removing unused parameters (#1465)
This commit is contained in:
committed by
GitHub
parent
d8b387434b
commit
4a1ccf19a0
@@ -37,8 +37,12 @@ import (
|
||||
type BucketAccess string
|
||||
|
||||
func NewBucketAccess(value BucketAccess) *BucketAccess {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated BucketAccess.
|
||||
func (m BucketAccess) Pointer() *BucketAccess {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type BucketEncryptionType string
|
||||
|
||||
func NewBucketEncryptionType(value BucketEncryptionType) *BucketEncryptionType {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated BucketEncryptionType.
|
||||
func (m BucketEncryptionType) Pointer() *BucketEncryptionType {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type NofiticationService string
|
||||
|
||||
func NewNofiticationService(value NofiticationService) *NofiticationService {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated NofiticationService.
|
||||
func (m NofiticationService) Pointer() *NofiticationService {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type NotificationEventType string
|
||||
|
||||
func NewNotificationEventType(value NotificationEventType) *NotificationEventType {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated NotificationEventType.
|
||||
func (m NotificationEventType) Pointer() *NotificationEventType {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type ObjectLegalHoldStatus string
|
||||
|
||||
func NewObjectLegalHoldStatus(value ObjectLegalHoldStatus) *ObjectLegalHoldStatus {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated ObjectLegalHoldStatus.
|
||||
func (m ObjectLegalHoldStatus) Pointer() *ObjectLegalHoldStatus {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type ObjectRetentionMode string
|
||||
|
||||
func NewObjectRetentionMode(value ObjectRetentionMode) *ObjectRetentionMode {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated ObjectRetentionMode.
|
||||
func (m ObjectRetentionMode) Pointer() *ObjectRetentionMode {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type ObjectRetentionUnit string
|
||||
|
||||
func NewObjectRetentionUnit(value ObjectRetentionUnit) *ObjectRetentionUnit {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated ObjectRetentionUnit.
|
||||
func (m ObjectRetentionUnit) Pointer() *ObjectRetentionUnit {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type PolicyEntity string
|
||||
|
||||
func NewPolicyEntity(value PolicyEntity) *PolicyEntity {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated PolicyEntity.
|
||||
func (m PolicyEntity) Pointer() *PolicyEntity {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,8 +37,12 @@ import (
|
||||
type ProfilerType string
|
||||
|
||||
func NewProfilerType(value ProfilerType) *ProfilerType {
|
||||
v := value
|
||||
return &v
|
||||
return &value
|
||||
}
|
||||
|
||||
// Pointer returns a pointer to a freshly-allocated ProfilerType.
|
||||
func (m ProfilerType) Pointer() *ProfilerType {
|
||||
return &m
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user